/* Selbst gehostete Schriften — Newsreader, DM Sans, DM Mono.

   Bewusst NICHT von fonts.googleapis.com: das wäre ein ausgehender Aufruf, den
   der Browser des *Besuchers* bei jedem Seitenaufruf macht, und macht Google zum
   Auftragsverarbeiter (docs/COMPLIANCE.md §4). Genau darum hostet auch
   Murikual.Platform.UI seine Inter selbst. Nicht zurück auf einen CDN-Link
   "vereinfachen".

   Alle drei stehen unter der SIL Open Font License 1.1 — siehe fonts/README.md.
   Erzeugt aus der Google-Fonts-CSS2-API; Vietnamesisch ist weggelassen, Latin
   und Latin-Ext bleiben (deutsche Umlaute, spanische Akzente).
*/

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('fonts/newsreader-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url('fonts/newsreader-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/newsreader-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/newsreader-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dm-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/dm-mono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/dm-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Faden's Language School — shared styles
   Extracted from the Claude Design canvas so all five pages share one stylesheet.
   Palette: sand #FBF6EC · ink #211C17 · gold #E3AE24 · deep gold #B8891A */

:root {
  /* Seitenrand. Auf dem Handy greift der Minimalwert — der war 24px und ist
     bewusst auf 32px erhöht (Notion-Punkt 4, "links und rechts mehr Platz"). */
  --pad: clamp(32px, 5vw, 48px);
  --pad-sm: clamp(32px, 5vw, 40px);   /* Footer, etwas schmaler auf Desktop */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #FBF6EC;
  color: #211C17;
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: #B8891A; text-decoration: none; }
a:hover { color: #8A6612; }
::selection { background: #E3AE24; color: #211C17; }

img { max-width: 100%; }

/* Skip link — keyboard users get past the sticky header */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: #211C17; color: #F4EEE3; padding: 12px 20px; border-radius: 0 0 12px 0;
  font-size: 15px; font-weight: 600;
}
.skip:focus { left: 0; color: #F4EEE3; }

/* ── Header / navigation ─────────────────────────────────────────────── */

.header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 14px var(--pad);
  background: rgba(251, 246, 236, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #EAE0CF;
  transition: box-shadow .3s ease, background .3s ease, border-color .3s ease;
}
.header.is-scrolled {
  box-shadow: 0 10px 30px -24px rgba(60, 40, 20, .7);
  border-bottom-color: #E0D3BB;
}

.brand {
  display: flex; align-items: center; gap: 11px;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 18px; font-weight: 600; color: #211C17;
  letter-spacing: -0.01em; text-decoration: none;
}
.brand img { height: 38px; width: auto; display: block; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.brand:hover { color: #211C17; }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); flex-wrap: wrap; }

.nav__link {
  position: relative;
  font-size: 15px; font-weight: 500; color: #5B5245;
  padding: 4px 2px;
  transition: color .25s ease;
}
.nav__link:hover { color: #211C17; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
  background: #E3AE24;
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__link--active { color: #211C17; font-weight: 600; }
.nav__link--active::after { transform: scaleX(1); }

/* ── Buttons and links ───────────────────────────────────────────────── */

.btn {
  display: inline-block;
  background: #E3AE24; color: #211C17;
  font-size: 16px; font-weight: 600;
  padding: 15px 30px;
  border: none; border-radius: 999px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover {
  color: #211C17;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -12px rgba(180, 140, 20, .6);
}
.btn--nav { font-size: 15px; padding: 10px 22px; margin-left: 6px; }
.btn--sm { font-size: 15px; padding: 14px 26px; white-space: nowrap; }

.lnk { font-size: 16px; font-weight: 600; transition: color .25s ease; }
.lnk .arw { display: inline-block; transition: transform .25s ease; }
.lnk:hover .arw { transform: translateX(4px); }
.lnk--gold { color: #E3AE24; }
.lnk--gold:hover { color: #F4D06A; }

.portrait img { transition: transform .9s cubic-bezier(.22, 1, .36, 1); }
.portrait:hover img { transform: scale(1.05); }

/* ── Typography helpers ──────────────────────────────────────────────── */

.eyebrow {
  font-family: 'DM Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #B8891A;
}
.eyebrow--red { color: #D93A2B; }
.eyebrow--gold { color: #E3AE24; }

.serif { font-family: 'Newsreader', Georgia, serif; }

/* ── Reveal-on-scroll (JS adds .reveal, removes it when in view) ─────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ── Kurse: language dots, goal carousel ─────────────────────────────── */

.langdot {
  cursor: pointer;
  border: none;
  box-shadow: 0 0 0 0 rgba(227, 174, 36, 0);
  transition: box-shadow .3s ease, transform .3s cubic-bezier(.22, 1, .36, 1);
}
.langdot:hover, .langdot:focus-visible { box-shadow: 0 0 0 5px #E3AE24; transform: scale(1.05); }

.caro {
  display: flex;
  gap: clamp(16px, 2.4vw, 22px);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 6px 2px 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.caro::-webkit-scrollbar { display: none; }

.goal {
  scroll-snap-align: start;
  flex: 0 0 clamp(210px, 20vw, 248px);
  border-radius: 20px;
  padding: clamp(24px, 2.4vw, 30px);
  min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease;
}
.goal:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -28px rgba(60, 40, 20, .5); }

.caro-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid #E0D3BB; background: #fff; color: #211C17;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease;
}
.caro-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(60, 40, 20, .5); background: #E3AE24; }

/* ── Kontakt: form controls ──────────────────────────────────────────── */

input, textarea, select { font-family: inherit; }
input:focus, textarea:focus, select:focus { outline: none; border-color: #E3AE24 !important; }
input::placeholder, textarea::placeholder { color: #A89A82; }

.field { display: block; font-size: 13px; font-weight: 600; color: #3D362C; margin-bottom: 7px; }
.field span { color: #A89A82; font-weight: 400; }

.control {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid #E4D9C6;
  border-radius: 11px;
  font-size: 15px;
  background: #FDFBF6;
  color: #211C17;
}
textarea.control { resize: vertical; }

.btn--block { width: 100%; padding: 15px; border-radius: 12px; }
.btn--block:hover { background: #C6961C; }

/* Honeypot — a bot fills it, a person never sees it (see FormService spam rules) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Visible to screen readers only. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   Änderungen aus der Notion-Liste (Punkte 2–7)
   ═══════════════════════════════════════════════════════════════════════ */

/* 2 · Startseite: der Englisch-Block wird eine helle Karte, damit er das
   Gegenstück zur dunklen Spanisch-Karte darunter bildet. */
.lang-card {
  max-width: 900px;
  background: #fff;
  border: 1px solid #EBE1D0;
  border-radius: 24px;
  padding: clamp(28px, 5vw, 60px);
  box-shadow: 0 18px 40px -30px rgba(60, 40, 20, .45);
}

/* 3 · Handy: Nav klappt hinter einen Hamburger.
   Der Umschaltpunkt ist bewusst derselbe wie bei .footer-grid (768px). */
.nav-toggle { display: none; }

@media (max-width: 767px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;          /* volle Touch-Zielgrösse */
    padding: 0 10px;
    background: none; border: none;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block; height: 2px; width: 100%;
    background: #211C17; border-radius: 2px;
    transition: transform .3s cubic-bezier(.22, 1, .36, 1), opacity .2s ease;
  }
  /* Drei Striche werden zum Kreuz, sobald das Menü offen ist. */
  .header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    display: none;                      /* Desktop-Regel oben bleibt unberührt */
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    gap: 0;
    padding: 6px var(--pad) 22px;
    background: #FBF6EC;
    border-bottom: 1px solid #EAE0CF;
    box-shadow: 0 18px 30px -24px rgba(60, 40, 20, .7);
  }
  .header.is-open .nav { display: flex; }

  .nav .nav__link { padding: 14px 0; border-bottom: 1px solid #EFE6D6; }
  .nav .nav__link::after { display: none; }   /* Unterstreichung ergibt gestapelt keinen Sinn */
  .nav .btn--nav { margin: 16px 0 0; text-align: center; }
}

/* 5 · Handy-Footer: Marke oben über die volle Breite, darunter
   "Seiten" und "Standort" nebeneinander statt gestapelt. */
.footer-grid {
  max-width: 1240px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

/* 6 · Kurse: der Trenner zwischen "Kleine Gruppe" und "Einzelunterricht".
   Feste zwei Spalten statt auto-fit, damit der Umbruchpunkt und die
   Rahmen-Regel exakt derselbe sind — mit auto-fit standen Strich und
   Umbruch nicht am gleichen Punkt. */
.formate { display: grid; grid-template-columns: 1fr 1fr; }
.formate__col { padding-top: clamp(4px, 1vw, 8px); }
.formate__col--first { padding-right: clamp(32px, 5vw, 64px); }
.formate__col--second {
  padding-left: clamp(32px, 5vw, 64px);
  border-left: 1px solid #E4D9C6;
}
@media (max-width: 679px) {
  .formate { grid-template-columns: 1fr; }
  .formate__col--first { padding-right: 0; padding-bottom: 30px; }
  .formate__col--second {
    padding-left: 0; padding-top: 30px;
    border-left: 0;
    border-top: 1px solid #E4D9C6;      /* liegt jetzt waagrecht dazwischen */
  }
}

/* 7 · Ablauf: beide Pills auf einer Zeile, gestrichelte Linie dazwischen.
   nowrap + Verkleinern statt Umbruch — sonst rutscht "Echtes Gespräch"
   auf die nächste Zeile und die Linie hängt daneben in der Luft. */
.flow { display: flex; align-items: center; gap: clamp(12px, 2vw, 20px); flex-wrap: nowrap; }
.flow__pill {
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 999px; padding: 10px 20px;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: clamp(12px, 1.4vw, 14px); letter-spacing: 0.04em;
  white-space: nowrap; flex: none;
}
.flow__pill--light { background: #fff; border: 1px solid #E4D9C6; color: #544B3E; }
.flow__pill--dark { background: #211C17; border: 1px solid #211C17; color: #F4EEE3; }
.flow__dot { width: 9px; height: 9px; border-radius: 50%; background: #E3AE24; flex: none; }
.flow__dash {
  flex: 1 1 16px; min-width: 14px; height: 2px;
  background: repeating-linear-gradient(90deg, #D8C9AE 0 7px, transparent 7px 14px);
}
@media (max-width: 539px) {
  .flow { gap: 8px; }
  .flow__pill { padding: 8px 13px; font-size: 11px; gap: 7px; letter-spacing: 0.02em; }
  .flow__dot { width: 7px; height: 7px; }
}

/* ── Rechtsseiten (Impressum, Datenschutz) ───────────────────────────────
   Reiner Fliesstext, deshalb eine eigene schmale Spalte statt der
   Sektionslayouts der Marketingseiten. */
.prose { max-width: 68ch; }
.prose h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.15; letter-spacing: -0.015em;
  margin: clamp(38px, 5vw, 56px) 0 14px;
}
.prose h3 {
  font-size: 1rem; font-weight: 700; color: #3D362C;
  margin: 26px 0 8px;
}
.prose p, .prose li { font-size: 1.02rem; line-height: 1.7; color: #544B3E; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 14px 1.15em; }
.prose li { margin-bottom: 7px; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose address { font-style: normal; line-height: 1.7; color: #544B3E; }
.prose strong { color: #3D362C; }

/* Offene Angabe, die vor dem Livegang gefüllt werden muss. Absichtlich
   auffällig — ein stiller Platzhalter im Impressum ist ein Rechtsproblem. */
.todo {
  background: #FDE8E5; color: #B02116;
  border: 1px dashed #D93A2B; border-radius: 6px;
  padding: 1px 7px; font-weight: 600; font-size: .95em;
  font-family: 'DM Mono', ui-monospace, monospace;
}

.prose__updated {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: #8A8175; margin-top: clamp(40px, 5vw, 60px);
  padding-top: 18px; border-top: 1px solid #E4D9C6;
}
