/* ============================================================
   Finest Academy — statische Webseite
   Ralf Hofmann, Oberursel
   Erstellt 20.08.2026 als Ersatz der kompromittierten
   WordPress-Installation. Kein PHP, keine Datenbank,
   keine externen Aufrufe.
   ============================================================ */

/* ---------- Schriften, selbst gehostet ---------- */
@font-face{font-family:'Poppins';src:url('schriften/poppins-v20-latin-regular.woff2') format('woff2');
           font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Poppins';src:url('schriften/poppins-v20-latin-500.woff2') format('woff2');
           font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Poppins';src:url('schriften/poppins-v20-latin-600.woff2') format('woff2');
           font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Poppins';src:url('schriften/poppins-v20-latin-700.woff2') format('woff2');
           font-weight:700;font-style:normal;font-display:swap}

/* ---------- Farben ---------- */
:root{
  --marke:#019cc6;
  --marke-dunkel:#017a9c;
  --akzent:#fe9b38;
  --akzent-dunkel:#e8871f;
  --text:#2c2c2c;
  --text-leise:#5f6b70;
  --linie:#e3e8ea;
  --flaeche:#ffffff;
  --flaeche-leise:#f4f8f9;
  --dunkel:#12333f;
  --max:1140px;
  --radius:10px;
  color-scheme:light;
}

/* ---------- Grundlagen ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;font-family:'Poppins',system-ui,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;
  font-size:17px;line-height:1.75;color:var(--text);background:var(--flaeche);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--marke-dunkel)}
h1,h2,h3,h4,h5{line-height:1.25;margin:0 0 .6em;font-weight:600;color:var(--dunkel);text-wrap:balance}
h1{font-size:clamp(1.9rem,1.2rem + 2.6vw,3rem)}
h2{font-size:clamp(1.5rem,1.1rem + 1.6vw,2.15rem)}
h3{font-size:clamp(1.15rem,1rem + .7vw,1.45rem)}
p{margin:0 0 1.15em}
.umschlag{max-width:var(--max);margin-inline:auto;padding-inline:clamp(1.1rem,4vw,2rem)}
.eng{max-width:800px}

/* Sprungmarke für Tastatur- und Screenreader-Nutzung */
.skip{position:absolute;left:-9999px;top:0;background:var(--dunkel);color:#fff;
      padding:.7rem 1.1rem;z-index:200;border-radius:0 0 var(--radius) 0}
.skip:focus{left:0}
:focus-visible{outline:3px solid var(--akzent);outline-offset:3px;border-radius:4px}

/* ---------- Kopfbereich ---------- */
.kopf{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);
      backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid var(--linie)}
.kopf-innen{display:flex;align-items:center;justify-content:space-between;gap:1rem;
            min-height:76px;max-width:var(--max);margin-inline:auto;
            padding-inline:clamp(1.1rem,4vw,2rem)}
.logo{display:flex;align-items:center;gap:.6rem;text-decoration:none;min-width:0}
.logo img{height:44px;width:auto;flex-shrink:0}
.logo span{font-weight:600;font-size:1.05rem;color:var(--dunkel);letter-spacing:.01em;
           white-space:nowrap}

/* Schaltflächen nebeneinander, auf schmalen Geräten untereinander */
.knopfgruppe{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.8rem}
@media (max-width:430px){.knopfgruppe{flex-direction:column;align-items:stretch}
  .knopfgruppe .knopf{justify-content:center}}

.menue{display:flex;align-items:center;gap:.35rem;list-style:none;margin:0;padding:0}
.menue a{display:inline-block;padding:.5rem .85rem;border-radius:var(--radius);
         text-decoration:none;color:var(--text);font-weight:500;font-size:.97rem}
.menue a:hover{background:var(--flaeche-leise);color:var(--marke-dunkel)}
.menue a[aria-current="page"]{color:var(--marke-dunkel);background:var(--flaeche-leise)}
.menue .tel{background:var(--marke);color:#fff;margin-left:.4rem}
.menue .tel:hover{background:var(--marke-dunkel);color:#fff}

/* Menü auf dem Handy: eigene Reihenfolge, nicht nur umgebrochen */
.schalter{display:none;background:none;border:1px solid var(--linie);border-radius:var(--radius);
          padding:.55rem .7rem;cursor:pointer;line-height:0}
.schalter span{display:block;width:22px;height:2px;background:var(--dunkel);margin:4px 0;border-radius:2px}

@media (max-width:820px){
  .schalter{display:block;flex-shrink:0}
  /* Logo verkleinern, sonst verdrängt es den Menüknopf */
  .logo img{height:34px}
  .logo span{font-size:.98rem}
  .menue{position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;
         gap:0;background:#fff;border-bottom:1px solid var(--linie);padding:.5rem 1.1rem 1.1rem;
         box-shadow:0 14px 30px rgba(0,0,0,.09);display:none}
  .kopf.offen .menue{display:flex}
  .menue li{display:block;width:100%}
  .menue a{display:block;width:100%;padding:.85rem .6rem;border-radius:8px;font-size:1.05rem}
  /* Telefonnummer zuerst: auf dem Handy ist der Anruf der Hauptweg.
     Das Ordnungsmerkmal muss auf das li, denn das ist das Flex-Element. */
  .menue li:last-child{order:-1;margin-bottom:.5rem}
  .menue .tel{text-align:center;padding:.9rem}
}
@media (max-width:400px){
  /* Wortmarke weglassen, das Bildlogo trägt den Namen bereits */
  .logo span{display:none}
}

/* ---------- Bühne ---------- */
.buehne{position:relative;background:var(--dunkel);color:#fff;overflow:hidden}
.buehne::after{content:"";position:absolute;inset:0;
  background:linear-gradient(105deg,rgba(18,51,63,.93) 0%,rgba(18,51,63,.74) 52%,rgba(1,156,198,.42) 100%)}
.buehne img.hintergrund{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}
.buehne .umschlag{position:relative;z-index:2;padding-block:clamp(3.4rem,10vw,6.4rem)}
.buehne h1{color:#fff;margin-bottom:.35em}
.buehne .unterzeile{font-size:clamp(1.05rem,.95rem + .55vw,1.4rem);color:#d6ecf3;
                    font-weight:500;max-width:36ch;margin-bottom:1.6rem}
.buehne p.fliess{color:#e4f2f7;max-width:60ch}

/* ---------- Abschnitte ---------- */
section{padding-block:clamp(2.8rem,7vw,4.8rem)}
section.leise{background:var(--flaeche-leise)}
.vorzeile{display:block;font-size:.82rem;letter-spacing:.16em;text-transform:uppercase;
          color:var(--marke);font-weight:600;margin-bottom:.55rem}
.zweispalt{display:grid;gap:clamp(1.8rem,4vw,3.2rem);align-items:center}
@media (min-width:900px){
  .zweispalt{grid-template-columns:1fr 1fr}
  .zweispalt.schmal-bild{grid-template-columns:1.25fr .85fr}
  .zweispalt.bild-links > figure{order:-1}
}
.zweispalt figure{margin:0}
.zweispalt img{border-radius:var(--radius);box-shadow:0 18px 42px rgba(18,51,63,.15)}

/* ---------- Merkmalsliste ---------- */
ul.haken{list-style:none;margin:0 0 1.4rem;padding:0}
ul.haken li{position:relative;padding-left:2rem;margin-bottom:.6rem}
ul.haken li::before{content:"";position:absolute;left:0;top:.62em;width:.75rem;height:.42rem;
  border-left:2.5px solid var(--marke);border-bottom:2.5px solid var(--marke);
  transform:rotate(-45deg)}

/* ---------- Karten ---------- */
.karten{display:grid;gap:1.4rem;grid-template-columns:repeat(auto-fit,minmax(255px,1fr))}
.karte{background:#fff;border:1px solid var(--linie);border-radius:var(--radius);
       padding:1.6rem 1.5rem}
.karte h3{margin-bottom:.4rem;font-size:1.15rem}
.karte p:last-child{margin-bottom:0}

/* ---------- Stimmen ---------- */
.stimmen{display:grid;gap:1.4rem;grid-template-columns:repeat(auto-fit,minmax(290px,1fr))}
.stimme{background:#fff;border:1px solid var(--linie);border-left:4px solid var(--akzent);
        border-radius:var(--radius);padding:1.5rem 1.6rem;display:flex;flex-direction:column}
.stimme blockquote{margin:0 0 1.1rem;font-size:.97rem;color:var(--text-leise);flex:1}
.stimme figcaption{display:flex;align-items:center;gap:.7rem;font-weight:600;font-size:.95rem;
                   color:var(--dunkel)}
.stimme figcaption img{width:42px;height:42px;border-radius:50%;object-fit:cover;flex-shrink:0}

/* ---------- Fragen und Antworten ---------- */
.faq{max-width:820px}
.faq details{border:1px solid var(--linie);border-radius:var(--radius);margin-bottom:.8rem;
             background:#fff;overflow:hidden}
.faq summary{cursor:pointer;padding:1.05rem 3rem 1.05rem 1.3rem;font-weight:600;color:var(--dunkel);
             position:relative;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";position:absolute;right:1.3rem;top:1.45rem;width:.6rem;height:.6rem;
  border-right:2.5px solid var(--marke);border-bottom:2.5px solid var(--marke);
  transform:rotate(45deg);transition:transform .2s}
.faq details[open] summary::after{transform:rotate(-135deg)}
.faq details[open] summary{background:var(--flaeche-leise)}
.faq .antwort{padding:1.1rem 1.3rem 1.3rem;border-top:1px solid var(--linie)}
.faq .antwort p:last-child{margin-bottom:0}

/* ---------- Schaltflächen ---------- */
.knopf{display:inline-flex;align-items:center;gap:.55rem;padding:.85rem 1.6rem;border-radius:var(--radius);
       text-decoration:none;font-weight:600;font-size:1rem;border:2px solid transparent;
       transition:background .15s,border-color .15s,color .15s}
.knopf-haupt{background:var(--akzent);color:#12333f}
.knopf-haupt:hover{background:var(--akzent-dunkel);color:#12333f}
.knopf-rand{border-color:currentColor;color:var(--marke-dunkel);background:transparent}
.knopf-rand:hover{background:var(--marke);border-color:var(--marke);color:#fff}
.buehne .knopf-rand{color:#fff}
.buehne .knopf-rand:hover{background:#fff;border-color:#fff;color:var(--dunkel)}
.knopf::after{content:"→";font-weight:400}

/* ---------- Kontaktband ---------- */
.band{background:var(--dunkel);color:#fff}
.band h2{color:#fff}
.band p{color:#cfe4ec}
.band-innen{display:grid;gap:1.8rem;align-items:center}
@media (min-width:820px){.band-innen{grid-template-columns:1.2fr .8fr}}
.kontaktliste{list-style:none;margin:0;padding:0}
.kontaktliste li{margin-bottom:.7rem}
.kontaktliste a{color:#fff;text-decoration:none;font-weight:600;font-size:1.2rem;
                display:inline-flex;align-items:center;gap:.6rem}
.kontaktliste a:hover{color:var(--akzent)}
.kontaktliste .zeichen{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.12);
                       display:inline-grid;place-items:center;font-size:1.05rem;flex-shrink:0}

/* ---------- Fußbereich ---------- */
.fuss{background:#0d2833;color:#a8c3cd;padding-block:2.8rem 2rem;font-size:.93rem}
.fuss-raster{display:grid;gap:1.8rem;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));
             margin-bottom:2rem}
.fuss h3{color:#fff;font-size:1rem;margin-bottom:.8rem}
.fuss ul{list-style:none;margin:0;padding:0}
.fuss li{margin-bottom:.45rem}
.fuss a{color:#a8c3cd;text-decoration:none}
.fuss a:hover{color:#fff;text-decoration:underline}
.fuss-schluss{border-top:1px solid rgba(255,255,255,.13);padding-top:1.4rem;
              display:flex;flex-wrap:wrap;gap:.6rem 1.4rem;justify-content:space-between;
              font-size:.87rem}

/* ---------- Rechtstexte ---------- */
.rechtstext{max-width:800px}
.rechtstext h2{font-size:1.35rem;margin-top:2.2rem}
.rechtstext h3{font-size:1.1rem;margin-top:1.6rem}
.rechtstext h2:first-child,.rechtstext h3:first-child{margin-top:0}
.rechtstext ul{padding-left:1.3rem}
.rechtstext li{margin-bottom:.4rem}
.rechtstext address{font-style:normal;background:var(--flaeche-leise);border-radius:var(--radius);
                    padding:1.2rem 1.4rem;margin-bottom:1.4rem}

/* ---------- Rücksicht auf Bewegungsempfindlichkeit ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition-duration:.01ms !important;animation-duration:.01ms !important}
}

/* ---------- Druck ---------- */
@media print{
  .kopf,.band,.fuss .fuss-raster,.knopf{display:none}
  body{font-size:11pt;color:#000}
  .buehne::after,.buehne img{display:none}
  .buehne{background:none;color:#000}
  .buehne h1,.buehne .unterzeile,.buehne p{color:#000}
}
