/* 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 */

* { 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 clamp(24px, 5vw, 48px);
  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;
}
