/* deinwunschvorort.de – THIEME-Landingpage für Küchenstudios und Möbelhäuser (Sie-Form, THIEME-Look) */
@font-face { font-family: "Gotham"; src: url("../fonts/gotham-book.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("../fonts/gotham-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("../fonts/gotham-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --teal: #076266;
  --teal-hell: #45aeb2;        /* Teal als Text/Linie auf Dunkel */
  --dark: #2e2e2e;
  --bg: #1b1d1d;
  --ink: #f2f4f4;
  --soft: #d0d8d8;
  --muted: #a3adad;
  --line: rgba(255, 255, 255, .13);
  --paper: #f2f5f5;
  --paper-ink: #1d2222;
  --paper-muted: #546060;
  --paper-line: rgba(0, 0, 0, .1);
  --gold: #c8941e;
  --gutter: 20px;
  --maxw: 1120px;
  --radius: 6px;
  --space: clamp(72px, 12vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Gotham", "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal-hell); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 6.4vw, 3rem); max-width: 17em; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.kicker { font-weight: 500; color: var(--teal-hell); margin-bottom: 12px; }
.lead { margin-top: 18px; max-width: 40em; color: var(--soft); font-size: 1.05rem; }
.stars { color: var(--gold); letter-spacing: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border: 0; border-radius: var(--radius);
  background: var(--teal); color: #fff; font-weight: 500; font-size: 1rem; text-decoration: none; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  transition: filter .15s ease;
}
.btn:hover { filter: brightness(1.15); }
.btn svg { width: 18px; height: 18px; }
.btn--line { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 80% 26%, var(--teal) 0%, var(--dark) 50%);
  padding: 20px 0 64px;
}
.rings { position: absolute; right: -300px; top: -250px; width: 560px; height: 560px; pointer-events: none; opacity: .9; }
.rings i { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.rings i:nth-child(2) { inset: 95px; border-color: rgba(255,255,255,.15); }
.rings i:nth-child(3) { inset: 190px; border-color: rgba(255,255,255,.22); }
.rings b { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 7px rgba(255,255,255,.14); }
.rings s { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); text-decoration: none; display: none; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 64px; }
.top__logo { height: 28px; width: auto; }
.top__tel { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; font-size: .9rem; }
.top__tel svg { width: 16px; height: 16px; }
.top__tel span { display: none; }
.hero h1 { font-size: clamp(2rem, 8.2vw, 3.9rem); max-width: 14em; }
.hero__sub { margin-top: 20px; max-width: 36em; color: var(--soft); font-size: 1.05rem; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 30px; }
.hero__note { font-size: .85rem; color: var(--muted); }
.proof { list-style: none; display: grid; gap: 8px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--soft); }
.proof strong { color: #fff; }

/* ---------- Was der Händler bekommt (dunkel) ---------- */
.system { padding: var(--space) 0; background: linear-gradient(var(--bg), #172122 60%, var(--bg)); }
.system__grid { display: grid; gap: 40px; margin-top: 40px; align-items: center; }
.phone { position: relative; width: min(100%, 300px); margin: 0 auto; border-radius: 28px; padding: 12px; background: #0f1111; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.12); }
.phone__screen { border-radius: 18px; overflow: hidden; background: #fff; color: #191a1a; font-family: "Gotham", system-ui, sans-serif; font-size: 11px; line-height: 1.4; }
.phone__hero { height: 118px; background: linear-gradient(transparent, rgba(0,0,0,.6)), linear-gradient(135deg, #8d8f87, #4a4c47); position: relative; }
.phone__hero b { position: absolute; left: 12px; right: 12px; bottom: 10px; color: #fff; font-size: 15px; line-height: 1.1; font-weight: 700; }
.phone__logo { padding: 8px 12px; border-bottom: 1px solid rgba(0,0,0,.1); font-weight: 700; font-size: 10px; color: #9a1b1b; }
.phone__quiz { padding: 12px; background: #f3f3f2; }
.phone__quiz small { display: block; color: #666; font-size: 9px; margin-bottom: 6px; }
.phone__quiz p { font-weight: 700; font-size: 12px; margin-bottom: 8px; }
.phone__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.phone__tiles span { background: #fff; border: 1px solid rgba(0,0,0,.14); border-radius: 2px; padding: 12px 8px 6px; font-weight: 600; font-size: 10px; }
.phone__tiles span.on { border-color: #191a1a; box-shadow: inset 0 0 0 1px #191a1a; }
.phone__bar { margin: 8px 12px 12px; height: 28px; border-radius: 2px; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 10px; }
.system__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.system__list > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.system__list dt { font-weight: 700; font-size: 1.05rem; }
.system__list dd { margin-top: 4px; color: var(--soft); }

/* ---------- Nutzen (hell) ---------- */
.gain { background: var(--paper); color: var(--paper-ink); padding: var(--space) 0; }
.gain__list { margin-top: 36px; border-top: 1px solid var(--paper-line); }
.gain__list > div { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--paper-line); }
.gain__list dt { font-weight: 700; font-size: 1.08rem; line-height: 1.35; }
.gain__list dd { color: var(--paper-muted); }

/* ---------- Fallstudien (hell) ---------- */
.cases { background: #fff; color: var(--paper-ink); padding: var(--space) 0; }
.rows { margin-top: 36px; border-top: 1px solid var(--paper-line); }
.row { display: grid; gap: 4px; padding: 26px 0; border-bottom: 1px solid var(--paper-line); }
.row__tag { font-size: .85rem; color: var(--paper-muted); }
.row h3 { font-size: 1.15rem; }
.row__before { color: var(--paper-muted); font-size: .95rem; }
.row__big { margin-top: 10px; font-weight: 700; font-size: clamp(1.4rem, 5vw, 1.8rem); line-height: 1.2; color: var(--teal); }
.row__after { font-size: .95rem; }

/* ---------- Über THIEME (hell) ---------- */
.about { background: var(--paper); color: var(--paper-ink); padding: var(--space) 0; }
.about__grid { display: grid; gap: 28px; margin-top: 28px; }
.about__grid p { color: var(--paper-muted); max-width: 36em; }
.about__grid p + p { margin-top: 12px; }
.about__list { border-top: 1px solid var(--paper-line); }
.about__list > div { padding: 14px 0; border-bottom: 1px solid var(--paper-line); }
.about__list dt { font-weight: 700; }
.about__list dd { color: var(--paper-muted); font-size: .95rem; }
.about .logos__head { margin-top: 44px; }

/* ---------- Stimmen + Logos (hell) ---------- */
.voices { background: var(--paper); color: var(--paper-ink); padding: var(--space) 0; }
.voices__list { display: grid; gap: 16px; margin-top: 36px; }
.voices figure { margin: 0; padding: 24px 22px; border-radius: 10px; background: #fff; }
.voices blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; }
.voices blockquote::before { content: "„"; }
.voices blockquote::after { content: "“"; }
.voices figcaption { margin-top: 14px; font-size: .9rem; color: var(--paper-muted); }
.voices figcaption strong { color: var(--paper-ink); font-weight: 500; }
.voices__rating { margin-top: 20px; font-size: .95rem; }
.logos__head { margin-top: 56px; color: var(--paper-muted); max-width: 40em; }
.logos { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.logos li { background: #fff; border-radius: 8px; padding: 6px 8px; display: grid; place-items: center; }
.logos img { width: 100%; max-width: 150px; height: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.logos li:hover img { filter: none; opacity: 1; }

/* ---------- Ablauf ---------- */
.steps { padding: var(--space) 0; }
.steps__list { list-style: none; counter-reset: s; display: grid; gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.steps__list li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 0 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps__list li::before { content: counter(s); grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); font-weight: 700; font-size: .9rem; }
.steps__list h3 { font-size: 1.1rem; }
.steps__list p { color: var(--soft); margin-top: 4px; }

/* ---------- Kontakt ---------- */
.contact { padding: var(--space) 0; background: radial-gradient(circle at 10% 90%, rgba(7,98,102,.6) 0%, transparent 55%), #1f2323; }
.contact__person { display: grid; gap: 22px; }
.contact__person img { width: 140px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--radius); }
.contact h2 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
.contact__person p { margin-top: 14px; color: var(--soft); max-width: 30em; }
.contact__name { font-weight: 500; color: var(--ink) !important; }
.contact__name span { font-weight: 400; color: var(--muted); font-size: .9rem; }
.contact .btn--line { margin-top: 20px; }
.form { margin-top: 40px; display: grid; gap: 14px; max-width: 560px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .9rem; font-weight: 500; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 0; border-radius: var(--radius);
  background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line); font-size: 1rem; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--teal-hell); }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 2px #e5675c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { margin-top: 6px; }
.form__error { color: #f08a80; font-weight: 500; font-size: .95rem; }
.form__error:empty { display: none; }
.form__legal { font-size: .8rem; color: var(--muted); }
.form__done { margin-top: 40px; max-width: 560px; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.06); }
.form__done h3 { font-size: 1.3rem; margin-bottom: 8px; }

/* ---------- Consent (nur wenn $PIXEL_ID gesetzt) ---------- */
.consent {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 560px;
  background: #fff; color: var(--paper-ink); border-radius: 10px; padding: 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,.45); font-size: .86rem; line-height: 1.5;
  max-height: calc(100vh - 24px); overflow-y: auto;
}
.consent__h { font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.consent__links { margin: 10px 0 14px; }
.consent__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent__btns .btn { min-height: 46px; padding: 0 12px; }   /* beide Buttons identisch */

/* ---------- Footer + mobile Leiste ---------- */
.foot { padding: 40px 0 110px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.foot .wrap { display: grid; gap: 14px; }
.foot img { height: 26px; width: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot a { text-underline-offset: 3px; }
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(27,29,29,.9); backdrop-filter: blur(8px); box-shadow: 0 -1px 0 var(--line);
  transform: translateY(110%); transition: transform .25s ease;
}
.dock.is-on { transform: none; }
.dock .btn { width: 100%; min-height: 50px; }

/* ---------- Tablet ---------- */
@media (min-width: 720px) {
  :root { --gutter: 36px; }
  .top__tel span { display: inline; }
  .rings s { display: block; }
  .proof { grid-template-columns: repeat(2, auto); justify-content: start; gap: 8px 36px; }
  .gain__list > div { grid-template-columns: 5fr 6fr; gap: 40px; align-items: baseline; }
  .about__grid { grid-template-columns: 6fr 5fr; gap: 56px; align-items: start; }
  .voices__list { grid-template-columns: repeat(2, 1fr); }
  .row { grid-template-columns: 4fr 5fr; column-gap: 48px; }
  .row > :nth-child(-n+3) { grid-column: 1; }
  .row__big { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; align-self: end; }
  .row__after { grid-column: 2; grid-row: 3; }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .steps__list { grid-template-columns: repeat(2, 1fr); column-gap: 40px; border-top: 0; }
  .steps__list li { border-top: 1px solid var(--line); border-bottom: 0; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  .hero { padding: 28px 0 104px; }
  .top { margin-bottom: 104px; }
  .rings { right: -40px; top: -60px; width: 660px; height: 660px; }
  .rings i:nth-child(2) { inset: 110px; }
  .rings i:nth-child(3) { inset: 220px; }
  .logos { grid-template-columns: repeat(8, 1fr); }
  .steps__list { grid-template-columns: repeat(4, 1fr); }
  .contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .contact__person { grid-template-columns: 140px 1fr; }
  .form, .form__done { margin-top: 0; }
  .dock { display: none; }
  .foot { padding-bottom: 48px; }
  .foot .wrap { grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
