/* ==========================================================================
   WingTsun Schule Dieburg — Landingpage Design-System
   CI: Weinrot #8C1B28 · Anthrazit #272D38 · Gold #F9C73F · Font: Mukta
   Ein Stylesheet für alle Kampagnen-Landingpages (Google Ads).
   ========================================================================== */

:root {
  --wine:        #8C1B28;
  --wine-dark:   #6E1420;
  --wine-deep:   #500e17;
  --ink:         #272D38;
  --ink-soft:    #3a4150;
  --gold:        #F9C73F;
  --gold-dark:   #e0ac1f;
  --paper:       #ffffff;
  --mist:        #f6f3f1;
  --mist-2:      #efe9e6;
  --line:        #e4ddd9;
  --text:        #262a30;
  --text-soft:   #5d636e;
  --star:        #f5a623;

  --maxw: 1160px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 48px -20px rgba(39,45,56,.35);
  --shadow-sm: 0 8px 24px -12px rgba(39,45,56,.28);
  --ff: "Mukta", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff);
  font-weight: 400;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { margin: 0 0 1rem; }
strong { font-weight: 700; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(48px, 7vw, 92px) 0; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: #eef0f3; }
.section--ink h2, .section--ink h3 { color: #fff; }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--wine); margin-bottom: .9rem;
}
.section--ink .eyebrow { color: var(--gold); }
.lead { font-size: 1.16rem; color: var(--text-soft); max-width: 62ch; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--ff); font-weight: 700; font-size: 1.02rem; line-height: 1;
  padding: 1.05em 1.7em; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-align: center; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 26px -10px rgba(249,199,63,.75); }
.btn--gold:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn--wine { background: var(--wine); color: #fff; }
.btn--wine:hover { background: var(--wine-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--ghost-ink { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost-ink:hover { border-color: var(--wine); color: var(--wine); }
.btn--lg { font-size: 1.12rem; padding: 1.15em 2.1em; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.lp-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.lp-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 22px; max-width: var(--maxw); margin: 0 auto; }
.lp-header__logo img { height: 42px; width: auto; }
.lp-header__actions { display: flex; align-items: center; gap: 18px; }
.lp-header__tel { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: .5em; font-size: 1.05rem; }
.lp-header__tel span { opacity: .7; font-weight: 400; font-size: .8rem; display: block; }
.lp-header .btn { padding: .75em 1.25em; font-size: .95rem; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(30,10,14,.94) 0%, rgba(80,14,23,.86) 42%, rgba(39,45,56,.55) 100%);
}
.hero__inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: clamp(46px, 7vw, 96px) 22px clamp(52px, 7vw, 96px); }
.hero__grid { max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 .hl { color: var(--gold); }
.hero__sub { font-size: 1.22rem; color: rgba(255,255,255,.92); margin-bottom: 1.8rem; max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 1.4rem; }
.hero__note { font-size: .95rem; color: rgba(255,255,255,.78); display: flex; align-items: center; gap: .5em; }

/* Mobiles Hero-Bild (unter der H1) – auf Desktop ausgeblendet */
.hero__media-mobile { display: none; }
.hero__media-mobile img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); box-shadow: 0 16px 40px -18px rgba(0,0,0,.6); }

/* trust badges row inside hero */
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 1.9rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.16); }
.hero__trust-item { display: flex; align-items: center; gap: .55em; font-size: .95rem; color: rgba(255,255,255,.9); font-weight: 600; }
.hero__trust-item .stars { color: var(--gold); letter-spacing: 1px; }

/* ---------- Trust strip ---------- */
.trustbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.trustbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 44px; padding: 20px 22px; max-width: var(--maxw); margin: 0 auto; }
.trustbar__item { display: flex; align-items: center; gap: .6em; font-weight: 600; color: var(--ink); font-size: .98rem; }
.trustbar__item .ic { color: var(--wine); font-size: 1.3em; line-height: 1; }
.trustbar__item .stars { color: var(--star); letter-spacing: 1px; }

/* ---------- Feature / USP cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
}
.card__ic {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(140,27,40,.08); color: var(--wine); margin-bottom: 16px;
}
.card__ic svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--text-soft); margin: 0; font-size: 1rem; }

/* ---------- Split (text + image) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 66px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: 12px; }
.checklist li { display: flex; gap: .7em; align-items: flex-start; font-size: 1.05rem; }
.checklist li::before {
  content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--wine); color: #fff; font-weight: 700; font-size: .9rem;
  display: grid; place-items: center; margin-top: 2px;
}

/* ---------- Classes ---------- */
.classcard { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--ink); min-height: 300px; display: flex; }
.classcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.classcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(39,45,56,.15) 30%, rgba(39,45,56,.92) 100%); z-index: 1; }
.classcard__body { position: relative; z-index: 2; margin-top: auto; padding: 24px; color: #fff; }
.classcard__body h3 { color: #fff; margin-bottom: .15em; }
.classcard__body .age { color: var(--gold); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.classcard__body p { color: rgba(255,255,255,.85); font-size: .98rem; margin: .4em 0 0; }

/* ---------- Video ---------- */
.video { position: relative; max-width: 900px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; border: 1px solid rgba(255,255,255,.12); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Testimonials ---------- */
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; height: 100%; }
.quote .stars { color: var(--star); letter-spacing: 2px; margin-bottom: 12px; font-size: 1.1rem; }
.quote p { font-size: 1.02rem; color: var(--ink-soft); }
.quote__author { margin-top: auto; padding-top: 14px; font-weight: 700; color: var(--ink); font-size: .95rem; }
.quote__author span { display: block; font-weight: 400; color: var(--text-soft); font-size: .85rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(3,1fr); }
.step { position: relative; padding-left: 0; }
.step__n { width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 1.2rem; display: grid; place-items: center; margin-bottom: 14px; }
.step h3 { margin-bottom: .25em; }
.step p { color: var(--text-soft); margin: 0; font-size: 1rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; background: none; border: 0; text-align: left; cursor: pointer; font-family: var(--ff);
  font-size: 1.12rem; font-weight: 700; color: var(--ink); padding: 22px 44px 22px 0; position: relative; }
.faq__q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--wine); transition: transform .25s ease; font-weight: 400; }
.faq__item.open .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 0 22px; margin: 0; color: var(--text-soft); }

/* ---------- Lead form / offer ---------- */
.offer { background: linear-gradient(120deg, var(--wine-deep), var(--wine)); color: #fff; }
.offer__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px,5vw,60px); align-items: center; }
.offer h2 { color: #fff; }
.offer__list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 12px; }
.offer__list li { display: flex; gap: .6em; align-items: flex-start; color: rgba(255,255,255,.94); font-size: 1.05rem; }
.offer__list li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 700; font-size: .85rem; display: grid; place-items: center; margin-top: 3px; }
.formcard { background: #fff; color: var(--text); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.formcard h3 { margin-bottom: .2em; }
.formcard .muted { color: var(--text-soft); font-size: .95rem; margin-bottom: 1.2rem; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 5px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--ff); font-size: 1rem; padding: .8em .9em;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fdfcfb; color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(140,27,40,.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: .6em; align-items: flex-start; font-size: .86rem; color: var(--text-soft); margin: 6px 0 16px; }
.check input { margin-top: 3px; }
.formcard__note { text-align: center; font-size: .85rem; color: var(--text-soft); margin: 12px 0 0; }
/* Verhindert horizontalen Überlauf durch intrinsische Mindestbreiten
   (z. B. langer <select>-Optionstext oder lange Wörter in Grid-Spalten) */
.offer__grid > *, .split > *, .contact > * { min-width: 0; }
.formcard, .field, .field-row, .field-row > * { min-width: 0; }
.field input, .field select, .field textarea { min-width: 0; max-width: 100%; }

/* ---------- Contact / map ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.contact__info dl { margin: 0; display: grid; gap: 16px; }
.contact__info dt { font-weight: 700; color: var(--wine); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.contact__info dd { margin: 2px 0 0; font-size: 1.1rem; }
.contact__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 320px; border: 0; width: 100%; }

/* ---------- Footer ---------- */
.lp-footer { background: var(--ink); color: rgba(255,255,255,.7); font-size: .9rem; }
.lp-footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 34px 22px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.lp-footer a { color: rgba(255,255,255,.8); }
.lp-footer a:hover { color: var(--gold); }
.lp-footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: 10px; padding: 10px 14px; background: rgba(39,45,56,.97); border-top: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(6px); }
.sticky-cta .btn { flex: 1; padding: .95em 1em; font-size: 1rem; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.section-head { max-width: 720px; margin: 0 auto 44px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(1, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .offer__grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .lp-header__tel span { display: none; }
  /* Header auf Mobil entschlacken: nur Logo + Telefonnummer, CTA-Button raus (verhindert Stauchung) */
  .lp-header__actions .btn { display: none; }
  /* Kein Hintergrundbild im Hero auf Mobil – stattdessen Verlauf + Bild unter der H1 */
  .hero__bg { display: none; }
  .hero { background: linear-gradient(158deg, var(--wine-deep) 0%, var(--wine) 52%, var(--ink) 100%); }
  .hero__media-mobile { display: block; margin: 6px 0 22px; }
  .hero__cta .btn { flex: 1; }
  /* Lange dt. Button-Texte dürfen umbrechen statt über den Rand zu laufen */
  .btn { white-space: normal; }
  .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 74px; }
  .lp-header { position: static; }
}
@media (max-width: 420px) {
  .hero__trust { gap: 8px 18px; }
}
