/* ==========================================================================
   WendlandDigital – Hauptstil
   Schriften liegen lokal in /fonts (keine Verbindung zu Google, DSGVO).
   ========================================================================== */

@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* Flächen */
  --black: #0c1220;          /* Nachtblau */
  --black-2: #141c2e;
  --white: #ffffff;
  --paper: #f6f4ef;
  /* Text */
  --ink: #101828;
  --ink-muted: #4f5869;      /* 7.3:1 auf Weiß */
  --light: #eef1f6;
  --light-muted: #a3adc0;    /* 8.4:1 auf --black */
  /* Gold */
  --gold: #cc9900;           /* Buttons & Akzente auf Dunkel (7.5:1 auf --black) */
  --gold-hover: #ddaa14;
  --gold-ink: #8f6b00;       /* Gold-Text auf Hell (4.9:1 auf Weiß) */
  --line-dark: rgba(255, 255, 255, 0.11);
  --line-light: rgba(17, 17, 17, 0.12);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: var(--sans);
  --mono: var(--sans);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2 { font-family: var(--sans); font-weight: 750; letter-spacing: -0.035em; line-height: 1.06; }
h3 { font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--black); padding: 10px 16px; font-weight: 600; text-decoration: none; border-radius: 6px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

section { padding: 112px 0; position: relative; }
@media (max-width: 760px) { section { padding: 76px 0; } }

/* Abschnittsfarben */
.dark { background: var(--black); color: var(--light); }
.paper { background: var(--paper); }

/* Kleine Überschrift mit Goldlinie */
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--gold-ink);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; flex: none; }
.dark .eyebrow { color: var(--gold); }
h2.title { font-size: clamp(34px, 4.6vw, 54px); max-width: 20ch; }
.dark h2.title { color: #fff; }
h2.title em, h1 em { font-style: normal; color: var(--gold-ink); }
.dark h2.title em, .dark h1 em { color: var(--gold); }
.lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--ink-muted); max-width: 46ch; margin-top: 20px; }
.dark .lead { color: var(--light-muted); }
.head { margin-bottom: 56px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  font: 600 16px/1.2 var(--sans); text-decoration: none; text-align: center;
  border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-line { background: transparent; color: inherit; border-color: var(--line-light); font-weight: 500; }
.btn-line:hover { border-color: var(--ink); }
.dark .btn-line { border-color: rgba(255,255,255,.28); }
.dark .btn-line:hover { border-color: #fff; }
.textlink { display: inline-flex; gap: 8px; align-items: center; color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; font-size: 16px; opacity: .85; }
.textlink:hover { opacity: 1; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--black); color: var(--light); border-bottom: 1px solid var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.logo .mark { width: 36px; height: 36px; border-radius: 9px; background: var(--gold); display: grid; place-items: center; font-weight: 800; font-size: 19px; color: var(--black); line-height: 1; }
.logo .word { font-family: var(--sans); font-weight: 650; font-size: 18px; letter-spacing: 0.02em; }
.logo .word span { font-weight: 400; color: var(--light-muted); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--light-muted); text-decoration: none; font-size: 15px; padding: 10px 12px; transition: color .2s; }
.nav a:hover, .nav a.active { color: #fff; }
.header .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.menu-btn { display: none; width: 44px; height: 44px; background: transparent; border: 0; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .25s, background .25s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; } .menu-btn span::after { top: 7px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  .header .header-cta { display: none; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--black); border-bottom: 1px solid var(--line-dark); padding: 8px 16px 24px; display: none; }
  .nav a { font-size: 19px; padding: 16px 4px; border-bottom: 1px solid var(--line-dark); }
  .nav .btn { margin-top: 18px; border: 0; }
  .menu-open .nav { display: flex; }
}
@media (min-width: 981px) { .nav .nav-cta { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; }
.hero h1 { font-size: clamp(42px, 5.6vw, 72px); letter-spacing: -0.045em; color: #fff; max-width: 13ch; }
.hero .lead { font-size: clamp(19px, 1.8vw, 22px); color: #c3cbda; max-width: 32ch; margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-contact { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 36px 0 96px; font-size: 16px; color: var(--light-muted); }
.hero-contact a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--line-dark); padding-bottom: 2px; }
.hero-contact a:hover { border-color: var(--gold); }
.hero-contact span { font-size: 14px; margin-right: 8px; }

/* Bildschirm-Collage im Hero: echte Beispielseiten */
.screens { position: relative; height: 560px; }
.screen { position: absolute; background: #fff; border-radius: 10px 10px 0 0; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(0,0,0,.8); }
.screen .bar { height: 26px; background: #1d1c1a; display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.screen .bar i { width: 8px; height: 8px; border-radius: 50%; background: #45423c; }
.screen .bar span { margin-left: 8px; font-family: var(--mono); font-size: 10px; color: #8c877d; }
.screen .vp { position: relative; overflow: hidden; }
.screen iframe { position: absolute; left: 0; top: 0; width: 1280px; max-width: none; height: 1000px; border: 0; transform-origin: 0 0; pointer-events: none; }
.screen.s1 { width: 74%; left: 0; bottom: 0; z-index: 2; }
.screen.s1 .vp { height: 380px; }
.screen.s2 { width: 62%; right: 0; bottom: 120px; }
.screen.s2 .vp { height: 340px; }
.screen.s3 { width: 34%; right: 4%; bottom: 0; z-index: 3; border-radius: 22px; border: 6px solid #1d1c1a; }
.screen.s3 .vp { height: 300px; }
.screen.s3 iframe { width: 390px; height: 844px; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-contact { margin-bottom: 56px; }
  .screens { height: 420px; }
  .screen.s1 .vp { height: 300px; } .screen.s2 .vp { height: 260px; } .screen.s3 .vp { height: 250px; }
}
@media (max-width: 520px) { .screens { height: 330px; } .screen.s1 .vp { height: 230px; } .screen.s2 { display: none; } .screen.s3 .vp { height: 210px; } }

/* ---------- Problem ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 8px; }
.problem-grid div { border-top: 2px solid var(--gold); padding-top: 22px; }
.problem-grid h3 { font-size: 20px; margin-bottom: 8px; }
.problem-grid p { color: var(--ink-muted); }
.problem-end { margin-top: 64px; font-weight: 700; letter-spacing: -0.02em; font-size: clamp(24px, 2.8vw, 32px); line-height: 1.3; max-width: 32ch; }
.problem-end em { font-style: normal; color: var(--gold-ink); }
@media (max-width: 860px) { .problem-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Beispiele ---------- */
.showcase { display: grid; grid-template-columns: 290px 1fr; gap: 32px; align-items: start; }
.tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line-dark); }
.tab {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; font: inherit; color: var(--light-muted);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-dark); padding: 14px 4px; cursor: pointer; transition: color .2s;
}
.tab img { width: 52px; height: 52px; object-fit: cover; border-radius: 4px; flex: none; filter: grayscale(1) brightness(.7); transition: filter .25s; }
.tab b { display: block; font-weight: 600; font-size: 16px; color: inherit; }
.tab small { display: block; font-size: 14px; }
.tab:hover { color: #fff; }
.tab[aria-selected="true"] { color: #fff; }
.tab[aria-selected="true"] img { filter: none; }
.tab[aria-selected="true"] b::after { content: " ←"; color: var(--gold); }
.browser { border-radius: 10px; overflow: hidden; background: #1d1c1a; border: 1px solid var(--line-dark); }
.browser .bar { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px; }
.browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: #45423c; }
.browser .bar span { flex: 1; max-width: 340px; margin: 0 auto; text-align: center; font-family: var(--mono); font-size: 12px; color: #a9a49a; background: rgba(255,255,255,.06); padding: 5px 12px; border-radius: 4px; }
.browser .bar a { font-size: 14px; color: var(--gold); text-decoration: none; white-space: nowrap; padding: 6px 2px; }
.browser .bar a:hover { text-decoration: underline; }
.browser iframe { display: block; width: 100%; height: 660px; border: 0; background: #fff; }
.note { margin-top: 16px; font-size: 14px; color: var(--light-muted); }
@media (max-width: 980px) {
  .showcase { grid-template-columns: 1fr; }
  .tabs { flex-direction: row; overflow-x: auto; border: 0; gap: 8px; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { width: auto; flex: none; border: 1px solid var(--line-dark); border-radius: 6px; padding: 8px 14px 8px 8px; }
  .tab[aria-selected="true"] { border-color: var(--gold); }
  .tab[aria-selected="true"] b::after { content: ""; }
  .tab img { width: 36px; height: 36px; }
  .tab small { display: none; }
  .browser iframe { height: 580px; }
  .browser .bar span { display: none; }
  .browser .bar a { margin-left: auto; }
}

/* ---------- Leistungen ---------- */
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
.split .sticky { position: sticky; top: 120px; }
.rows { border-top: 1px solid var(--line-light); }
.row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line-light); }
.row h3 { font-size: 19px; }
.row p { color: var(--ink-muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .split .sticky { position: static; } }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Ablauf ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { border-top: 1px solid var(--line-light); padding-top: 24px; }
.steps .n { font-weight: 800; letter-spacing: -0.04em; font-size: 52px; line-height: 1; color: var(--gold-ink); display: block; margin-bottom: 18px; }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--ink-muted); font-size: 16px; }
.steps .time { display: block; margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Paket ---------- */
.offer { display: grid; grid-template-columns: 1.1fr 0.9fr; border: 1px solid var(--line-dark); border-radius: 22px; overflow: hidden; }
.offer-main { padding: 44px 40px; }
.offer-main h3 { font-size: 30px; letter-spacing: -0.03em; color: #fff; }
.offer-main .for { color: var(--light-muted); margin-top: 6px; }
.offer-main ul { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.offer-main li { padding-left: 26px; position: relative; color: #d9dfea; font-size: 16px; }
.offer-main li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.offer-price { background: var(--black-2); padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line-dark); }
.offer-price .tag { font-size: 14px; font-weight: 600; color: var(--gold); }
.offer-price strong { font-size: clamp(28px, 3vw, 38px); font-weight: 750; letter-spacing: -0.035em; color: #fff; line-height: 1.1; margin: 10px 0 14px; }
.offer-price p { color: var(--light-muted); margin-bottom: 28px; }
.offer-price small { color: var(--light-muted); font-size: 14px; margin-top: 16px; }
@media (max-width: 900px) { .offer { grid-template-columns: 1fr; } .offer-price { border-left: 0; border-top: 1px solid var(--line-dark); } .offer-main, .offer-price { padding: 32px 24px; } }
@media (max-width: 560px) { .offer-main ul { grid-template-columns: 1fr; } }

/* ---------- Über uns ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: start; }
.about-text p { color: var(--ink-muted); font-size: 18px; margin-top: 18px; max-width: 58ch; }
.about-text p strong { color: var(--ink); font-weight: 600; }
.sign { margin-top: 28px; font-weight: 600; font-size: 18px; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.person { border: 1px solid var(--line-light); border-radius: 18px; padding: 26px 22px; }
.person .mono { width: 64px; height: 64px; border-radius: 18px; background: var(--black); color: var(--gold); display: grid; place-items: center; font-weight: 800; font-size: 26px; margin-bottom: 20px; }
.person h3 { font-size: 18px; }
.person p { color: var(--ink-muted); font-size: 15px; margin-top: 4px; }
.notfor { grid-column: 1 / -1; background: var(--paper); border-radius: 18px; padding: 26px 24px; }
.notfor h3 { font-size: 20px; margin-bottom: 12px; }
.notfor ul { margin: 0; padding-left: 18px; color: var(--ink-muted); font-size: 16px; display: grid; gap: 6px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font-size: 19px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 400; color: var(--gold-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 48px 26px 0; color: var(--ink-muted); max-width: 70ch; }

/* ---------- Kontakt ---------- */
.contact-top { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 72px; }
.contact h2.title { font-size: clamp(42px, 6vw, 80px); max-width: 12ch; }
.big-links { display: grid; gap: 4px; }
.big-links a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; text-decoration: none; padding: 20px 0; border-bottom: 1px solid var(--line-dark); transition: color .2s; }
.big-links a:first-child { border-top: 1px solid var(--line-dark); }
.big-links small { font-size: 15px; color: var(--light-muted); flex: none; }
.big-links strong { font-weight: 700; letter-spacing: -0.02em; font-size: clamp(22px, 2.6vw, 30px); color: #fff; word-break: break-word; text-align: right; }
.big-links a:hover strong { color: var(--gold); }
@media (max-width: 900px) { .contact-top { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 520px) { .big-links a { flex-direction: column; gap: 4px; } .big-links strong { text-align: left; } }

.form-wrap { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 56px; border-top: 1px solid var(--line-dark); padding-top: 56px; }
.form-wrap h3 { font-size: 26px; letter-spacing: -0.02em; color: #fff; }
.form-wrap .side p { color: var(--light-muted); margin-top: 12px; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; gap: 28px; } }
form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { form .two { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 15px; font-weight: 500; color: #e6e1d6; }
.field label span { color: var(--light-muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: #fff; background: var(--black-2);
  border: 1px solid rgba(255,255,255,.18); border-radius: 6px; padding: 13px 16px; min-height: 52px; transition: border-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #77736b; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field [aria-invalid="true"] { border-color: #ff8a7a; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--light-muted); margin: 4px 0 24px; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--gold); flex: none; }
.check a { color: var(--gold); }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 6px; font-size: 16px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(204,153,0,.12); color: #f1d98c; border: 1px solid rgba(204,153,0,.45); }
.form-status.err { background: rgba(255,138,122,.1); color: #ffc4bb; border: 1px solid rgba(255,138,122,.35); }
.form-status a { color: inherit; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--light-muted); border-top: 1px solid var(--line-dark); padding: 40px 0; font-size: 15px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer a { color: var(--light-muted); text-decoration: none; padding: 4px 0; }
.footer a:hover { color: #fff; }

/* ---------- WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--black); box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); transition: background .2s; }
.wa-float:hover { background: var(--gold-hover); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Rechtsseiten ---------- */
.legal { padding: 100px 0; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-size: clamp(40px, 5vw, 58px); margin-bottom: 40px; }
.legal h2 { font-family: var(--sans); font-weight: 650; font-size: 22px; letter-spacing: -0.01em; margin: 44px 0 12px; }
.legal h3 { font-size: 18px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink-muted); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal a { color: var(--gold-ink); }
.legal .note-box { background: var(--paper); border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; padding: 4px 22px 18px; margin: 28px 0; }
.legal address { font-style: normal; font-size: 18px; line-height: 1.7; }

/* ---------- Einblenden ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
