/* Werkbuch – Website. Schwarz + Werkbuch-Orange, abgeleitet vom Flyer.
   Schriften lokal (keine Verbindung zu Google): Barlow Condensed (Überschriften), Inter (Text). */

@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-display: swap; src: url("fonts/inter-latin-800-normal.woff2") format("woff2"); }

:root {
  --bg: #0a0a0a;
  --bg-2: #111110;
  --card: #171615;
  --card-2: #1e1c1a;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f5f3f0;
  --muted: #a9a49d;
  --dim: #7d7871;
  --orange: #ff7a21;
  --orange-2: #ffa25c;
  --orange-ink: #1b0e04;
  --green: #4fd18b;
  --radius: 22px;
  --max: 1180px;
  --head: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: fixed; left: 1rem; top: 1rem; transform: translateY(-200%); z-index: 100; padding: .8rem 1rem; border-radius: 12px; background: var(--orange); color: var(--orange-ink); font-weight: 800; }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 32px), 780px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section + .section { padding-top: 0; }
.band { background: var(--bg-2); border-block: 1px solid var(--line); }
.band + .section, .section + .band { padding-top: clamp(64px, 9vw, 120px); }

/* Typografie */
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--head); font-weight: 800; text-transform: uppercase; letter-spacing: .005em; line-height: .95; }
h1 { font-size: clamp(3.1rem, 9vw, 6.6rem); }
h2 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
h3 { font-size: 1.18rem; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0; }
.accent { color: var(--orange); }
.eyebrow { margin-bottom: 14px; color: var(--orange); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.lead { max-width: 640px; color: #d9d4ce; font-size: clamp(1.06rem, 1.9vw, 1.28rem); line-height: 1.55; }
.intro { max-width: 720px; margin-top: 18px; color: var(--muted); font-size: 1.08rem; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { text-align: center; }
.section-head.center .intro { margin-inline: auto; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.04); color: #e4dfd8; font-size: .8rem; font-weight: 600; }
.pill::before { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,122,33,.18); content: ""; }
.pill.warn::before { background: #f5c542; box-shadow: 0 0 0 4px rgba(245,197,66,.18); }

/* Kopfzeile */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(10,10,10,.86); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); }
.nav-wrap { min-height: 68px; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-size: 1.55rem; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a { padding: 9px 12px; border-radius: 10px; color: #c9c4bd; text-decoration: none; font-size: .92rem; font-weight: 600; }
.nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.08); }
.nav .nav-cta { margin-left: 10px; background: var(--orange); color: var(--orange-ink); font-weight: 800; }
.nav .nav-cta:hover { background: var(--orange-2); color: var(--orange-ink); }
.menu-toggle { display: none; margin-left: auto; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; font-weight: 700; cursor: pointer; }

/* Schaltflächen */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid transparent; border-radius: 14px; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--orange); color: var(--orange-ink); box-shadow: 0 12px 34px rgba(255,122,33,.28); }
.button-primary:hover { background: var(--orange-2); }
.button-ghost { border-color: var(--line-2); background: rgba(255,255,255,.04); color: var(--text); }
.button-ghost:hover { border-color: rgba(255,255,255,.3); }
.button svg { width: 18px; height: 18px; flex: none; }
.microcopy { margin-top: 14px; color: var(--muted); font-size: .86rem; }
.text-link { color: var(--orange); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Smartphone-Rahmen: genau ein Rahmen um einen echten Screenshot */
.phone { position: relative; width: 100%; padding: 2.6%; border-radius: 15% / 7%; background: linear-gradient(145deg, #3a3633, #121110 45%, #2a2725); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px rgba(0,0,0,.55), 0 10px 30px rgba(0,0,0,.4); }
.phone img { width: 100%; aspect-ratio: 1320 / 2868; border-radius: 12.6% / 5.9%; background: #000; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero::before { position: absolute; inset: auto -10% -40% 30%; height: 90%; background: radial-gradient(closest-side, rgba(255,122,33,.30), transparent 72%); content: ""; pointer-events: none; }
.hero::after { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); content: ""; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(36px, 6vw, 90px); padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 8vw, 110px); }
.hero h1 { margin-top: 22px; }
.hero h1 .accent { display: block; }
.hero .lead { margin-top: 24px; }
.hero-phone { justify-self: center; width: min(330px, 74vw); }

/* Fakten-Leiste */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { display: flex; gap: 14px; align-items: flex-start; padding: 26px 22px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact svg { width: 26px; height: 26px; flex: none; margin-top: 2px; color: var(--orange); }
.fact b { display: block; font-size: .98rem; }
.fact span { color: var(--muted); font-size: .86rem; }

/* Probleme */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pain { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.pain .q { font-family: var(--head); font-size: 1.6rem; font-weight: 800; line-height: 1.05; text-transform: uppercase; }
.pain p { margin-top: 12px; color: var(--muted); }

/* Ablauf mit Screenshots */
.flow { display: grid; gap: clamp(40px, 5vw, 64px); }
.flow-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 90px); }
.flow-row:nth-child(even) .flow-media { order: 2; }
.flow-media { position: relative; display: grid; place-items: center; padding: clamp(24px, 4vw, 48px) 0; }
.flow-media::before { position: absolute; inset: 8% 10%; border-radius: 40px; background: radial-gradient(closest-side, rgba(255,122,33,.16), transparent 75%); content: ""; }
.flow-media .phone { width: min(290px, 70vw); }
.step-no { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 14px; background: var(--orange); color: var(--orange-ink); font-family: var(--head); font-size: 1.6rem; font-weight: 800; }
.flow-copy h3 { font-family: var(--head); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: .98; text-transform: uppercase; letter-spacing: .005em; }
.flow-copy > p { margin-top: 16px; color: var(--muted); font-size: 1.06rem; }

/* Listen */
.checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: #dcd7d0; }
.checks li::before { position: absolute; left: 0; top: .2em; width: 19px; height: 19px; border-radius: 6px; background: rgba(255,122,33,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23ff7a21' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7'/%3E%3C/svg%3E") center / 15px no-repeat; content: ""; }

/* Karten */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; padding: clamp(22px, 3vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.card p { margin-top: 10px; color: var(--muted); }
.card .icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 13px; background: rgba(255,122,33,.12); color: var(--orange); }
.card .icon svg { width: 24px; height: 24px; }
.card.highlight { border-color: rgba(255,122,33,.45); background: linear-gradient(160deg, rgba(255,122,33,.12), var(--card) 55%); }
.tag { display: inline-flex; padding: 4px 9px; border-radius: 8px; background: rgba(255,122,33,.14); color: var(--orange-2); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tag.soon { background: rgba(245,197,66,.14); color: #f5c542; }
.role-card h3 { font-family: var(--head); font-size: 2.2rem; font-weight: 800; text-transform: uppercase; line-height: 1; }
.role-card .who { margin-top: 6px; color: var(--orange); font-weight: 700; }

/* Gewerke */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.03); font-weight: 600; }

/* Preise */
.price-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 18px; align-items: stretch; }
.price-card { padding: clamp(26px, 4vw, 40px); border: 1px solid rgba(255,122,33,.45); border-radius: 28px; background: radial-gradient(120% 90% at 100% 0%, rgba(255,122,33,.22), transparent 60%), var(--card); }
.price-big { margin-top: 10px; font-family: var(--head); font-size: clamp(4rem, 10vw, 6.4rem); font-weight: 800; line-height: .9; text-transform: uppercase; }
.price-sub { color: #d9d4ce; font-size: 1.1rem; font-weight: 600; }
.price-rows { display: grid; gap: 10px; margin-top: 26px; }
.price-rows div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(0,0,0,.25); }
.price-rows span { color: var(--muted); }
.price-rows strong { font-size: 1.15rem; }
.fine { margin-top: 14px; color: var(--dim); font-size: .84rem; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.faq summary { position: relative; padding: 20px 56px 20px 22px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; content: ""; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p + p { margin-top: 10px; }

/* Abschluss-Aufruf */
.cta { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: clamp(30px, 5vw, 56px); border-radius: 30px; background: var(--orange); color: var(--orange-ink); }
.cta::after { position: absolute; right: -60px; bottom: -120px; width: 320px; height: 320px; border: 46px solid rgba(0,0,0,.08); border-radius: 50%; content: ""; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.cta p { margin-top: 12px; max-width: 560px; font-weight: 600; opacity: .85; }
.cta .button { position: relative; z-index: 1; background: var(--orange-ink); color: #fff; box-shadow: none; }
.cta .button:hover { background: #000; }

/* Unterseiten */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero::before { position: absolute; right: -120px; top: -200px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,122,33,.22), transparent 70%); content: ""; }
.page-hero .container, .page-hero .narrow { position: relative; }
.page-hero h1 { margin-top: 20px; font-size: clamp(2.7rem, 7vw, 5.2rem); }
.page-hero .lead { margin-top: 20px; }
.breadcrumb { display: flex; gap: 8px; color: var(--dim); font-size: .85rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }

.gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 14px; color: var(--muted); font-size: .86rem; text-align: center; }

.note { padding: 18px 20px; border: 1px solid var(--line-2); border-left: 4px solid var(--orange); border-radius: 14px; background: var(--card); color: #d9d4ce; font-size: .95rem; }
.note.warn { border-left-color: #f5c542; }
.note strong { color: var(--text); }

/* Rechtstexte */
.legal { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 110px); }
.legal h1 { display: none; }
.legal h2 { margin: 44px 0 14px; font-size: clamp(1.7rem, 3.4vw, 2.2rem); }
.legal h3 { margin: 26px 0 8px; font-size: 1.05rem; }
.legal p, .legal li { color: #d6d1ca; }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { margin: 12px 0; padding-left: 1.3em; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--orange); }
.legal strong { color: var(--text); }
.legal .stand { color: var(--muted); font-size: .9rem; }
.placeholder { padding: 1px 6px; border-radius: 6px; background: rgba(245,197,66,.16); color: #f5c542; font-weight: 600; }
.legal-index { display: grid; gap: 10px; margin-top: 26px; }
.legal-index a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); text-decoration: none; font-weight: 700; }
.legal-index a span { color: var(--muted); font-weight: 400; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 22px; align-items: start; }
.contact-box { padding: clamp(24px, 4vw, 36px); border: 1px solid var(--line); border-radius: 26px; background: var(--card); }
.contact-box .big-mail { display: inline-block; margin-top: 10px; color: var(--orange); font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .9rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #0e0d0c; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px rgba(255,122,33,.2); }
.checkbox { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: .9rem; }
.checkbox input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); flex: none; }
.checkbox a { color: var(--orange); }
.form-status { min-height: 1.4em; color: var(--green); font-size: .9rem; }

/* Fußzeile */
.site-footer { margin-top: 0; padding: 56px 0 34px; border-top: 1px solid var(--line); background: #070707; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-copy { max-width: 340px; margin-top: 14px; color: var(--muted); font-size: .92rem; }
.footer-title { margin-bottom: 12px; color: var(--text); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--muted); font-size: .93rem; text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: .84rem; }

/* Einblenden beim Scrollen (nur mit JavaScript) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsiv */
@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav { position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 10px; border: 1px solid var(--line-2); border-radius: 18px; background: #121110; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 14px; font-size: 1rem; }
  .nav .nav-cta { margin: 6px 0 0; text-align: center; }
  .site-header .container { position: relative; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero-grid, .flow-row, .price-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { padding-top: 44px; }
  .hero-phone { width: min(300px, 76vw); }
  .flow-row:nth-child(even) .flow-media { order: 0; }
  .flow-media { padding: 0; }
  .grid-3, .pains { grid-template-columns: minmax(0, 1fr); }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .cta { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .grid-4, .facts { grid-template-columns: minmax(0, 1fr); }
  .fact { border-left: 0 !important; padding-left: 0 !important; padding-right: 0; }
  .fact + .fact { border-top: 1px solid var(--line); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .actions .button { width: 100%; }
  .price-rows div { flex-direction: column; gap: 2px; }
}
