/* Homepage hierarchy: orientation, trust, process, planning, learning, proof, contact.
   Spacing scale: 8 / 12 / 16 / 24 / 32 / 48 / 64; section space is shared. */
.fp-home .hero{min-height:0;padding-block:clamp(48px,5.5vw,80px)}
.fp-home .hero>.wrap{min-height:0}
.fp-home .hero .intro{max-width:43ch;margin-bottom:0}
.fp-home .hero .hero-meta{margin:16px 0 0;color:var(--text-2);font-size:.875rem;line-height:1.6}
.fp-home .hero .hero-side{display:block;max-width:430px;margin-top:24px;padding:0}
.fp-home .hero-side .review-pill{padding:12px 0;border:0;border-radius:0;background:transparent;box-shadow:none;gap:12px}
.fp-home .hero-side a.review-pill:hover{box-shadow:none;transform:none}
.fp-home .hero-side .review-pill .g-mark{width:32px;height:32px;background:transparent}
.fp-home .hero-side .review-pill .num{font-size:24px}
.fp-home .hero-side .review-pill .lbl{font-size:.75rem;line-height:1.5}
.fp-home .hero-side .review-pill .lbl b{display:inline}
.fp-home .fp-section-head,.fp-home .section-head{margin-bottom:48px}
.fp-home .fp-home-choices{padding-block:64px}
.fp-home .fp-home-class-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-block:1px solid var(--line)}
.fp-home .fp-home-class{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:32px 24px;color:var(--text);text-decoration:none;transition:background-color 180ms ease}
.fp-home .fp-home-class+.fp-home-class{border-left:1px solid var(--line)}
.fp-home .fp-home-class>img{display:block;margin-bottom:24px;width:48px;height:48px}
.fp-home .fp-home-class h3{margin:0 0 8px;font-size:2rem}
.fp-home .fp-home-class-label{font-size:.875rem;font-weight:600;color:var(--green-deep)}
.fp-home .fp-home-class p{font-size:.9375rem;line-height:1.6;margin:16px 0 24px;color:var(--text-2)}
.fp-home .fp-home-class-link{display:inline-flex;align-items:center;gap:8px;margin-top:auto;color:var(--green-deep);font-size:.9375rem;font-weight:600}
.fp-home .fp-home-class:hover{background:var(--paper)}
.fp-home .fp-home-class:hover .fp-home-class-link{text-decoration:underline;text-underline-offset:4px}
.fp-home .fp-home-class:focus-visible{outline:2px solid var(--green-deep);outline-offset:5px;z-index:1}
.fp-home .fp-home-career{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:center;gap:48px;margin-top:32px;padding:32px;background:var(--green-tint);border-radius:20px}
.fp-home .fp-home-kicker{display:block;font-size:.875rem;font-weight:600;color:var(--green-deep);margin-bottom:8px}
.fp-home .fp-home-career h3{font-size:1.8rem;margin:0 0 12px}
.fp-home .fp-home-career p{font-size:1rem;color:var(--text-2);margin:0 0 12px;max-width:64ch}
.fp-home .fp-home-career .azav-badge{display:grid;grid-template-columns:80px 1fr;align-items:center;gap:16px;padding:0;background:transparent;box-shadow:none;border:0;border-radius:0;max-width:none}
.fp-home .fp-home-career .azav-badge img{width:80px;height:auto;object-fit:contain;border-radius:0}
.fp-home .fp-home-career .azav-badge .t{font-family:var(--display);font-size:1.25rem;line-height:1.15;font-weight:700}
.fp-home .fp-home-career .azav-badge .s{display:flex;align-items:flex-start;gap:6px;font-size:.75rem;line-height:1.5;margin-top:8px;color:var(--text-2)}
.fp-home .fp-home-career .azav-badge .s svg{flex:none;width:16px;height:16px;margin-top:1px;color:var(--green-deep)}
.fp-home main>.howto{background:var(--paper)}
/* One ordered path, rather than four independently clickable cards.
   All icons come from the existing Ultimate Light sprite. */
.fp-home #dein-weg .howto-head{align-items:end;gap:32px 64px;margin-bottom:56px}
.fp-home #dein-weg .h2{max-width:22ch;margin:16px 0 0;text-wrap:balance}
.fp-home #dein-weg .lead{max-width:44ch;margin:0;color:var(--text-2);font-size:1.125rem;line-height:1.65}
.fp-home .howto-path{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px;list-style:none;margin:0;padding:0}
.fp-home .howto-step{min-width:0}
.fp-home .howto-stage{display:flex;align-items:center;gap:24px;margin-bottom:24px;color:var(--green-deep)}
.fp-home .howto-number{flex:none;font-family:var(--display);font-weight:600;font-size:4rem;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.fp-home .howto-stage::after{content:"";order:1;flex:1;height:1px;background:#bdcec4}
.fp-home .howto-icon{order:2;flex:none;width:48px;height:48px;color:var(--green-deep)}
.fp-home .howto-content h3{font-family:var(--display);font-size:clamp(1.75rem,2.3vw,2rem);font-weight:700;line-height:1.15;letter-spacing:-.01em;margin:0 0 20px;text-wrap:balance}
.fp-home .howto-details{display:flex;flex-direction:column;gap:8px;list-style:none;margin:0;padding:0}
.fp-home .howto-details li{margin:0;color:var(--text-2);font-size:1rem;line-height:1.6;overflow-wrap:break-word}
@media(max-width:1040px){
  .fp-home .howto-path{grid-template-columns:repeat(2,minmax(0,1fr));gap:48px}
  .fp-home #dein-weg .howto-head{gap:24px;margin-bottom:40px}
  .fp-home .howto-stage{margin-bottom:20px}
}
@media(max-width:600px){
  .fp-home #dein-weg .howto-head{margin-bottom:40px}
  .fp-home #dein-weg .lead{font-size:1rem}
  .fp-home .howto-path{grid-template-columns:minmax(0,1fr);gap:32px}
  .fp-home .howto-step{display:grid;grid-template-columns:56px minmax(0,1fr);gap:24px}
  .fp-home .howto-stage{position:relative;display:flex;flex-direction:column;gap:16px;align-items:center;margin:0}
  .fp-home .howto-number{font-size:2.75rem}
  .fp-home .howto-icon{order:1;width:32px;height:32px}
  .fp-home .howto-stage::after{order:2;flex:1;width:1px;height:auto;min-height:24px;margin-bottom:-16px}
  .fp-home .howto-step:last-child .howto-stage::after{display:none}
  .fp-home .howto-content{padding-top:4px}
  .fp-home .howto-content h3{font-size:1.75rem;margin-bottom:16px}
}
.fp-home .ferien,.fp-home .simulator{padding-block:var(--fp-page-space)}
.fp-home .ferien-head{display:grid;grid-template-columns:1fr .8fr;column-gap:48px;max-width:none;margin-bottom:48px;text-align:left}
.fp-home .ferien-head .eyebrow{grid-column:1/-1;justify-content:flex-start;margin-bottom:16px}
.fp-home .ferien-h2{font-size:clamp(2.25rem,4vw,3.8rem)}
.fp-home .ferien-sub{align-self:end;max-width:48ch;margin:0;font-size:1.125rem;line-height:1.65}
.fp-home .fp-home-calendar{margin-top:32px;border-block:1px solid var(--line);padding-block:8px}
.fp-home .fp-home-calendar>summary,.fp-home .fp-home-about-more>summary{cursor:pointer;padding:16px 0;font-size:1rem;font-weight:600;color:var(--green-deep)}
.fp-home .fp-home-calendar>summary:focus-visible,.fp-home .fp-home-about-more>summary:focus-visible{outline:2px solid var(--green-deep);outline-offset:4px}
.fp-home .fp-home-calendar .fk-railbar{margin-top:16px}
.fp-home .fp-home-calendar .fk-dots{margin-bottom:24px}
.fp-home .simulator{background:var(--paper)}
.fp-home .simulator .besonders-title{font-size:clamp(1.6rem,2.6vw,2.4rem)}
.fp-home .intro-block .copy p:first-child::first-letter{font:inherit;line-height:inherit;float:none;padding:0;color:inherit}
.fp-home .fp-home-about-more{border-block:1px solid var(--line);margin:24px 0 16px}
.fp-home .fp-home-about-more p{font-size:1rem}
.fp-home .reviews-band{padding-block:64px}
.fp-home .insta{padding-block:64px}
.fp-home .insta .insta-head{margin-bottom:24px}
.fp-home .insta .h2{font-size:clamp(2rem,3vw,2.75rem)}
.fp-home .insta .insta-profile{margin-bottom:24px}
@media(max-width:1040px){
  .fp-home .fp-home-career{grid-template-columns:minmax(0,1fr) 260px;gap:32px}
  .fp-home .fp-home-class{padding-inline:20px}
}
@media(max-width:720px){
  .fp-home .hero{padding-block:40px}
  .fp-home .hero .intro{max-width:36ch}
  .fp-home .fp-home-choices{padding-block:48px}
  .fp-home .fp-section-head,.fp-home .section-head{margin-bottom:32px}
  .fp-home .fp-home-class-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fp-home .fp-home-class{padding:24px 16px}
  .fp-home .fp-home-class:nth-child(odd){border-left:0}
  .fp-home .fp-home-class:nth-child(n+3){border-top:1px solid var(--line)}
  .fp-home .fp-home-class>img{width:40px;height:40px;margin-bottom:16px}
  .fp-home .fp-home-class h3{font-size:1.7rem}
  .fp-home .fp-home-class p{font-size:.875rem}
  .fp-home .fp-home-career{grid-template-columns:1fr;gap:24px;margin-top:24px;padding:24px}
  .fp-home .fp-home-career .azav-badge{border-top:1px solid rgb(15 110 69 / 18%);padding-top:24px;grid-template-columns:80px minmax(0,1fr)}
  .fp-home .ferien-head{grid-template-columns:1fr;gap:0;margin-bottom:32px}
  .fp-home .ferien-sub{margin-top:24px;font-size:1.0625rem}
  .fp-home .reviews-band,.fp-home .insta{padding-block:48px}
}
@media(prefers-reduced-motion:reduce){.fp-home .fp-home-class{transition:none}}

/* Homepage hierarchy: people before process, dates before details. */
.fp-home #ueber-uns{background:var(--green-tint)}
.fp-home #ueber-uns>.wrap{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:64px;align-items:start}
.fp-home #ueber-uns .h2{margin:16px 0 24px;max-width:25ch}
.fp-home .fp-home-trust-copy>p{font-size:1rem;line-height:1.65;color:var(--text-2);margin:0;max-width:64ch}
.fp-home .fp-home-people{display:flex;gap:24px;margin:32px 0}
.fp-home .fp-home-people figure{flex:1;min-width:0;margin:0}
.fp-home .fp-home-people img{display:block;width:80px;height:80px;object-fit:cover;border-radius:16px;margin:0 0 12px}
.fp-home .fp-home-people figcaption{display:flex;flex-direction:column;gap:4px;font-size:.875rem;line-height:1.5;color:var(--text-2)}
.fp-home .fp-home-people strong{font-size:1rem;color:var(--text)}
.fp-home .fp-home-trust-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px 24px;margin-top:24px}
.fp-home .fp-home-trust-actions .fp-link{min-height:44px}
.fp-home #ueber-uns .fp-home-about-more{margin:24px 0 0}
.fp-home .fp-home-testimonial{min-width:0;border-left:1px solid #bdcec4;padding-left:40px;margin-top:32px}
.fp-home .fp-home-review-heading{display:flex;align-items:center;gap:12px;color:var(--text-2);font-size:.875rem;line-height:1.5}
.fp-home .fp-home-review-heading svg{flex:none;width:24px;height:24px}
.fp-home .fp-home-review-stars{display:flex;gap:4px;margin:24px 0 16px;color:#a56500}
.fp-home .fp-home-review-stars .fp-rating-star{fill:currentColor;stroke:currentColor;width:20px;height:20px}
.fp-home .fp-home-review-stars .is-empty{fill:none}
.fp-home .fp-home-testimonial blockquote{margin:0;font-size:1.125rem;line-height:1.7;color:var(--text);font-style:normal;max-width:60ch}
.fp-home .fp-home-review-source{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 16px;margin:20px 0;font-size:1rem;line-height:1.5}
.fp-home .fp-home-review-source a,.fp-home .fp-home-review-more{display:inline-flex;align-items:center;min-height:44px;color:var(--green-deep);text-decoration:underline;text-underline-offset:4px;font-size:.875rem}
.fp-home .fp-home-review-method{font-size:.875rem;line-height:1.6;color:var(--text-2);margin:0 0 8px}
.fp-home .fp-home-courses#ferienkurse .fk-hero-card{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:32px;box-shadow:none;border:1px solid var(--line)}
.fp-home .fp-home-courses#ferienkurse .fk-hero-main{padding:32px;min-height:0}
.fp-home .fp-home-courses#ferienkurse .fk-learning-aside{display:flex;align-items:center;background:#f5f5f3}
.fp-home .fp-home-courses#ferienkurse .fk-learning-art{width:100%;margin:0;padding:0}
.fp-home .fp-home-courses#ferienkurse .fk-learning-art img{width:100%;max-width:none;height:auto;max-height:none;aspect-ratio:3/2;object-fit:contain;mix-blend-mode:normal;mask-image:none;-webkit-mask-image:none}
.fp-home .fp-home-courses#ferienkurse .fk-learning-art figcaption{gap:8px;margin:0;padding:16px 24px 24px}
@media(max-width:980px){.fp-home .fp-home-courses#ferienkurse .fk-hero-card{grid-template-columns:minmax(0,1fr)}}
.fp-home .fp-home-courses#ferienkurse .fk-content{margin-top:16px;gap:12px}
.fp-home .fp-home-courses#ferienkurse .fk-cta-row{margin-top:24px;gap:12px}
.fp-home .fp-home-courses#ferienkurse .fk-name{font-size:2rem}
.fp-home .fp-home-course-list-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin:0 0 16px}
.fp-home .fp-home-course-list-head h3{margin:0;font-size:1.75rem}
.fp-home .fp-home-course-list-head .fp-link{min-height:44px}
.fp-home .fp-home-course-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0;border-top:1px solid var(--line);scroll-margin-top:120px}
.fp-home .fp-home-course-row>div:first-child{min-width:0}
.fp-home .fp-home-course-row h3{font-size:1.5rem;line-height:1.2;margin:0 0 8px}
.fp-home .fp-home-course-kind{display:inline;font-size:.875rem;color:var(--green-deep);font-weight:600;margin:0}
.fp-home .fp-home-course-date{display:inline;margin:0 0 0 16px;font-size:1rem;font-weight:600;color:var(--text)}
.fp-home .fp-home-course-note{margin:8px 0 0;font-size:.875rem;color:var(--text-2);line-height:1.55;max-width:68ch}
.fp-home .fp-home-course-row .fp-course-actions{flex:none;flex-wrap:nowrap;margin:0}
.fp-home .fp-home-course-common{font-size:.875rem;line-height:1.6;color:var(--text-2);margin:8px 0 24px}
.fp-home .fp-home-theory-details{border-block:1px solid var(--line);margin:0}
.fp-home .fp-home-theory-details>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;cursor:pointer;padding:20px 0;font-weight:600;color:var(--green-deep);list-style:none}
.fp-home .fp-home-theory-details>summary::-webkit-details-marker{display:none}
.fp-home .fp-home-theory-details>summary svg{flex:none}
.fp-home .fp-home-theory-details[open]>summary svg{transform:rotate(45deg)}
.fp-home .fp-home-courses#ferienkurse .fk-theory-info{margin:0;padding:8px 0 16px;border:0;max-width:75ch}
.fp-home .fp-home-courses#ferienkurse .fk-foot{margin:0 0 24px;text-align:left;max-width:85ch;font-size:.875rem;line-height:1.6;color:var(--text-2)}
.fp-home #unterricht .sim-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.45fr);align-items:center;gap:40px}
.fp-home #unterricht .sim-intro .lead{font-size:1rem;line-height:1.65;margin-bottom:20px}
.fp-home #unterricht .sim-intro .fp-link{min-height:44px}
.fp-home #unterricht .sim-media{width:100%;margin-right:0}
.fp-home #unterricht .besonders-point+.besonders-point{margin-top:40px;padding-top:40px}
.fp-home #unterricht .lernapp-grid{display:grid;grid-template-columns:minmax(200px,.7fr) minmax(0,1fr);gap:48px;align-items:center}
.fp-home #unterricht .fp-app-device{width:min(100%,220px)}
.fp-home #unterricht .fp-app-device-stage{padding:0;gap:12px}
.fp-home #unterricht .lernapp-text>.lead{font-size:1rem;line-height:1.65;max-width:60ch}
.fp-home #unterricht .lernapp-features{margin-block:24px;gap:12px}
.fp-home #unterricht .lernapp-features li{font-size:1rem;line-height:1.6}
.fp-home .fp-home-insights{padding-bottom:48px}
.fp-home :is(.fp-home-testimonial a,.fp-home-trust-actions a,.fp-home-theory-details>summary,.fp-home-course-list a):focus-visible{outline:2px solid var(--green-deep);outline-offset:4px}
@media(max-width:1040px){
  .fp-home #ueber-uns>.wrap{gap:32px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .fp-home .fp-home-testimonial{padding-left:24px}
  .fp-home .fp-home-people{gap:16px}
  .fp-home .fp-home-course-row .fp-course-actions{flex-wrap:wrap;max-width:260px}
  .fp-home .fp-home-course-date{display:block;margin:8px 0 0}
}
@media(max-width:760px){
  .fp-home #ueber-uns>.wrap{grid-template-columns:minmax(0,1fr);gap:32px}
  .fp-home .fp-home-testimonial{margin:0;padding:32px 0 0;border-left:0;border-top:1px solid #bdcec4}
  .fp-home .fp-home-review-stars{margin-top:20px}
  .fp-home .fp-home-courses#ferienkurse .fk-hero-card{grid-template-columns:minmax(0,1fr)}
  .fp-home .fp-home-courses#ferienkurse .fk-hero-main{padding:24px}
  .fp-home .fp-home-course-row{align-items:flex-start;flex-direction:column;gap:16px}
  .fp-home .fp-home-course-row .fp-course-actions{max-width:none;flex-wrap:wrap}
  .fp-home #unterricht .sim-top{grid-template-columns:minmax(0,1fr);gap:24px}
  .fp-home #unterricht .lernapp-grid{grid-template-columns:160px minmax(0,1fr);gap:24px}
  .fp-home #unterricht .lernapp-text>.lead{margin-top:16px}
}
@media(max-width:500px){
  .fp-home .fp-home-people{gap:12px}
  .fp-home .fp-home-people img{width:72px;height:72px}
  .fp-home .fp-home-people figcaption{font-size:.8125rem}
  .fp-home .fp-home-testimonial blockquote{font-size:1rem}
  .fp-home #unterricht .lernapp-grid{grid-template-columns:minmax(0,1fr)}
  .fp-home #unterricht .fp-app-device{width:180px}
  .fp-home #unterricht .fp-app-device-stage{margin-bottom:8px}
}

/* Keep hidden social-link labels inside each horizontally scrolling item. */
.fp-home .fp-social-card,.fp-home .fp-home-review-source a{position:relative}
@media(min-width:761px) and (max-width:1540px){
  .fp-home :is(#ueber-uns,#ferienkurse,#unterricht,#instagram,#bewertungen,#einblicke)>.wrap{width:calc(100% - 128px)}
}
/* Existing deep brand green keeps the new headings legible on their light surfaces. */
.fp-home :is(#home-trust-title,#ferien-h2,#simulator-h2,#unterricht .besonders-title) .green{color:var(--green-deep)}
.fp-home .fp-home-review-stars .fp-rating-star{color:#9c6100;margin:0}

/* On phones the complete driving scene sits above the copy. A portrait crop
   behind a nearly opaque text overlay hid both the car and its movement. */
.fp-home .hero-film-label{display:none}
@media(max-width:760px){
  .fp-home .hero.fp-hero{--fp-mobile-film-height:56.25vw;display:block;padding:calc(var(--fp-mobile-film-height) + 20px) 0 36px}
  .fp-home .hero.fp-hero>.hero-video{inset:0 auto auto 0;width:100%;height:var(--fp-mobile-film-height);object-fit:cover;object-position:center;transform:none}
  .fp-home .hero.fp-hero>.hero-overlay{inset:0 auto auto 0;width:100%;height:var(--fp-mobile-film-height);background:linear-gradient(180deg,transparent 94%,#f5f5f7 100%)}
  .fp-home .hero.fp-hero>.hero-film-toggle{top:14px;right:14px;bottom:auto;display:flex;gap:8px;width:auto;min-width:44px;height:44px;padding:0 14px;border-radius:24px;background:rgb(255 255 255 / 94%);color:var(--green-deep);opacity:1}
  .fp-home .hero-film-label{display:inline;font-family:var(--sans);font-size:.8125rem;font-weight:600;line-height:1}
  .fp-home .hero.fp-hero h1{margin-block:16px 20px}
  .fp-home .hero.fp-hero .cta-row{margin-top:24px}
  .fp-home .hero.fp-hero .hero-side{margin-top:20px}
}
