/* ═══════════════════════════════════════════════════════════════
   Klarwort – Produktseite (Redesign Oktober 2026, minimal)
   Farbwelt der App: Creme-Grund, Markenrot, Tinte, Gold-Akzent.
   Schrift: Inter (lokal, wie die App). Wenig Elemente, viel Luft.
   ═══════════════════════════════════════════════════════════════ */

@font-face { font-family: 'Inter'; src: url('fonts/Inter-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/Inter-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/Inter-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/Inter-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/Inter-ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --paper: #FBF8F3;
  --card: #FFFEFB;
  --ink: #14171F;
  --ink2: #474A52;
  --ink3: #62646B;          /* Sekundärtext: 4,9:1 auf Papier */
  --line: #EAE4DB;
  --red: #CC1B22;          /* Marke: Deko, Fokus */
  --red-fill: #B3141B;     /* gefüllte Flächen mit weißer Schrift: 5,2:1 */
  --red-deep: #8E1016;
  --red-soft: #FCE4DF;
  --gold: #F6AE2D;
  --dark: #171311;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1080px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-wrap: balance;
}

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red-fill); color: #fff; }

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--dark);
  color: #fff;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 12px;
}
.skip:focus { top: 12px; }
main:focus { outline: none; }

/* ═════════════════════ Header ═════════════════════ */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 248, 243, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { flex: none; display: flex; }
.brand img { height: 28px; width: auto; }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 600; color: var(--ink2); transition: color .2s; }
.nav a:hover { color: var(--red-deep); }

.lang { display: flex; gap: 2px; }
.lang button {
  border: 0;
  background: transparent;
  font: 700 13px var(--font);
  letter-spacing: .04em;
  color: var(--ink3);
  padding: 6px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .2s, background .2s;
}
.lang button:hover { color: var(--ink); }
.lang button.active { color: var(--ink); background: #EFE9E1; }

/* ═════════════════════ Buttons ═════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  background: var(--red-fill);
  color: #fff;
  font: 700 15.5px var(--font);
  padding: 13px 26px;
  border-radius: 999px;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--red-deep); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* ═════════════════════ Hero ═════════════════════ */

.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 56px 24px 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 150px);
}
.hero-copy { max-width: 560px; }

.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px 8px 14px;
  margin-bottom: 28px;
}
.soon i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

.hero h1 {
  font-size: clamp(38px, 5.6vw, 64px);
  margin-bottom: 24px;
}
.lead {
  font-size: 19px;
  color: var(--ink2);
  max-width: 470px;
  margin-bottom: 22px;
}
.micro { font-size: 14px; font-weight: 600; color: var(--ink3); }

/* iPhone mit animiertem Logo ------------------------------------ */

.hero-art { display: flex; justify-content: center; }

.phone {
  position: relative;
  width: min(280px, 70vw);
  aspect-ratio: 9 / 19;
  border-radius: 48px;
  background: var(--dark);
  padding: 10px;
  box-shadow:
    0 0 0 1.5px #3a302b inset,
    0 30px 60px -20px rgba(48, 32, 22, .35),
    0 12px 24px -12px rgba(48, 32, 22, .25);
}
.phone-island {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 24px;
  border-radius: 999px;
  background: var(--dark);
  z-index: 2;
}
.phone-screen {
  height: 100%;
  border-radius: 39px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
}
.phone-bar {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 4px;
  border-radius: 4px;
  background: rgba(20, 23, 31, .22);
}

.mark {
  position: relative;
  width: 52%;
  aspect-ratio: 1;
  margin-bottom: 14px;
  animation:
    mark-in 1.5s cubic-bezier(.22, .8, .24, 1) both,
    mark-float 6s ease-in-out 1.5s infinite;
}
.mark img { width: 100%; height: 100%; }
/* Lichtschimmer läuft nur über die Form des Logos */
.mark::after {
  content: '';
  position: absolute;
  inset: 0;
  -webkit-mask: url('assets/logo_mark_512.png') center / 100% 100% no-repeat;
  mask: url('assets/logo_mark_512.png') center / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .8) 50%, transparent 62%) 0 0 / 300% 100% no-repeat;
  background-position: 0% 0;
  animation: mark-shine 5.5s ease-in-out 1.8s infinite;
}
.screen-name { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.screen-date { font-size: 12.5px; font-weight: 600; color: var(--ink3); letter-spacing: .02em; }

/* Das K zeichnet sich von links nach rechts auf, danach ruhiges Schweben und Schimmern */
@keyframes mark-in {
  from { clip-path: inset(0 100% 0 0); transform: translateY(16px) scale(.94); }
  to { clip-path: inset(0 0 0 0); transform: none; }
}
@keyframes mark-float { 50% { transform: translateY(-8px); } }
@keyframes mark-shine {
  0%, 30% { background-position: 0% 0; }
  55%, 100% { background-position: 100% 0; }
}

/* ═════════════════════ Eckdaten ═════════════════════ */

.facts {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.fact { border-top: 1.5px solid var(--ink); padding-top: 20px; }
.fact strong {
  display: block;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--red-deep);
  margin-bottom: 6px;
}
.fact span { font-size: 15.5px; color: var(--ink2); }

/* ═════════════════════ Sektionen ═════════════════════ */

.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 120px 24px 0;
}
.section-head { margin-bottom: 40px; max-width: 640px; }
.section-head h2, .schools h2 { font-size: clamp(28px, 3.6vw, 42px); }
.section-lead { font-size: 17.5px; color: var(--ink2); margin-top: 14px; }

/* ═════════════════════ Preise ═════════════════════ */

.price-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}
.price-grid.plans-single { grid-template-columns: minmax(0, 480px); }

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px;
}
.price-card.is-featured { border: 2px solid var(--red-fill); padding: 35px; }

.price-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--red-fill);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: 999px;
  padding: 5px 13px;
}
.price-card h3 { font-size: 24px; margin-bottom: 4px; }
.price-tag { color: var(--ink3); font-size: 15px; margin-bottom: 26px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 28px; }
.price span { font-size: 36px; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.price small { font-size: 15px; color: var(--ink3); font-weight: 600; }

.plan-list { list-style: none; display: grid; gap: 12px; }
.plan-list li { position: relative; padding-left: 28px; font-size: 15.5px; }
.plan-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: .35em;
  width: 6px;
  height: 11px;
  border: solid var(--red);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(40deg);
}
.plan-desc { font-size: 15.5px; color: var(--ink2); }
.plan-terms {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.55;
}

.price-note {
  max-width: 720px;
  margin-top: 28px;
  font-size: 13.5px;
  color: var(--ink3);
}
.price-note a { color: var(--red-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ═════════════════════ Sprachschulen ═════════════════════ */

.schools-box {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 48px;
}
.cities { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.cities[hidden] { display: none; }
.city {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 14px 4px 4px;
  font-size: 14px;
  font-weight: 600;
}
.city img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.city-pin {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red-deep);
  display: grid;
  place-items: center;
}
.city-pin svg { width: 16px; height: 16px; }
.city-more { padding: 4px 14px; color: var(--ink3); background: transparent; border-style: dashed; }

.school-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-left: 1.5px solid var(--line);
  padding-left: 48px;
}
.school-cta > b { font-size: 19px; font-weight: 800; }
.school-cta > span { color: var(--ink2); font-size: 15.5px; margin-bottom: 8px; }
.founding-note {
  font-size: 14.5px;
  color: var(--ink2);
  border-left: 3px solid var(--gold);
  padding: 2px 0 2px 14px;
  margin: -2px 0 10px;
}
.founding-note b { color: var(--ink); font-weight: 700; }
.school-meta { font-size: 13.5px; color: var(--ink3); margin-top: 4px; }
.school-meta a { color: var(--red-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.founding-note[hidden], .school-meta[hidden] { display: none; }

/* ═════════════════════ FAQ ═════════════════════ */

.faq-list { max-width: 760px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 17.5px;
  font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}
.faq-list summary i::before,
.faq-list summary i::after {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  transition: transform .25s;
}
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-list details p { padding: 0 40px 24px 0; color: var(--ink2); font-size: 16px; }
.faq-list a { color: var(--red-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ═════════════════════ Footer ═════════════════════ */

.footer { margin-top: 140px; border-top: 1px solid var(--line); }
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 44px 24px 24px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.footer-brand { max-width: 300px; }
.footer-brand img { height: 24px; width: auto; margin-bottom: 12px; }
.footer-brand p { font-size: 13.5px; color: var(--ink3); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; max-width: 520px; align-content: flex-start; }
.footer-links a { font-size: 14px; font-weight: 600; color: var(--ink2); }
.footer-links a:hover { color: var(--red-deep); }
.footer-line {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px 36px;
  font-size: 12.5px;
  color: var(--ink3);
}

/* ═════════════════════ Schmal ═════════════════════ */

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-top: 32px;
    min-height: 0;
  }
  .phone { width: min(220px, 56vw); border-radius: 40px; padding: 8px; }
  .phone-screen { border-radius: 33px; }
  .phone-island { top: 16px; width: 66px; height: 19px; }
  .screen-name { font-size: 21px; }
  .facts { grid-template-columns: 1fr; gap: 28px; }
  .section { padding-top: 88px; }
  .price-grid { grid-template-columns: 1fr; }
  .schools-box { grid-template-columns: 1fr; gap: 32px; padding: 32px 26px; }
  .school-cta { border-left: 0; border-top: 1.5px solid var(--line); padding: 28px 0 0; }
  .footer-inner { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .price-card, .price-card.is-featured { padding: 28px 24px; }
  .price-card.is-featured { padding: 27px 23px; }
  .price span { font-size: 30px; }
}

/* Weniger Bewegung: das Logo steht still */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mark, .mark::after { animation: none; }
  .mark::after { display: none; }
}
