/* ==========================================================================
   BIIT-Systems, Entwurf v12: Apple-Look (große zentrierte Schrift, viel
   Weißraum, schwarzer Block, graues Band) mit den allgemeinen Strichzeichnungen
   aus dem ruhigen Entwurf. Keine konkreten App-Vorschauen.
   ========================================================================== */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('assets/fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('assets/fonts/inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --fg: #1D1D1F;
  --fg2: #6E6E73;
  --fg3: #86868B;
  --bg2: #F5F5F7;
  --line: #E5E5EA;
  --line2: #D2D2D7;
  --blue: #0071E3;
  --blue2: #0077ED;
  --dark: #000;
  --tile: #1D1D1F;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--fg); font: 400 17px/1.5 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; padding: 8px 12px; background: var(--fg); color: #fff; z-index: 50; }
.skip:focus { top: 12px; }
.w { width: min(1080px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.h-grey { color: var(--fg3); }

/* Knöpfe: Apple-Pille */
.btn { display: inline-block; background: var(--blue); color: #fff; border: 0; border-radius: 980px; padding: 12px 23px; font-family: inherit; font-size: 17px; font-weight: 500; line-height: 1.2; cursor: pointer; }
.btn:hover { background: var(--blue2); color: #fff; text-decoration: none; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn[disabled] { opacity: .6; cursor: default; }
.more { font-size: 17px; }
.more::after { content: " ›"; }

/* Kopfzeile: durchscheinend */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(251,251,253,.86); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.06); }
.nav-row { height: 52px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); font-weight: 600; font-size: 15px; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 24px; height: 18px; }
.nav-links { margin: 0 auto; display: flex; gap: 32px; }
.nav-links a { color: var(--fg); opacity: .8; font-size: 13px; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang { background: none; border: 0; font-family: inherit; font-size: 12px; font-weight: 500; color: var(--fg2); cursor: pointer; padding: 4px 6px; }
.lang:hover { color: var(--fg); }

/* Einstieg */
.hero { text-align: center; padding: clamp(64px, 9vw, 96px) 0 clamp(72px, 9vw, 112px); }
.hero h1 { font-size: clamp(42px, 8vw, 96px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; }
.hero h1 span { display: block; }
.hero-sub { font-size: clamp(19px, 2vw, 24px); line-height: 1.4; color: var(--fg2); max-width: 32ch; margin: 22px auto 0; font-weight: 500; letter-spacing: -.01em; }
.cta { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 32px; flex-wrap: wrap; }
.hero-fig { max-width: 780px; margin: clamp(48px, 7vw, 80px) auto 0; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(56px, 7vw, 88px); text-align: center; }
.facts li { padding: 0 18px; display: grid; gap: 6px; align-content: start; }
.facts li + li { border-left: 1px solid var(--line); }
.facts b { font-size: 19px; font-weight: 650; line-height: 1.3; letter-spacing: -.01em; }
.facts span { color: var(--fg2); font-size: 14px; }

/* Strichzeichnungen */
.sk { width: 100%; height: auto; display: block; overflow: visible; }
.sk-box { fill: #fff; stroke: var(--fg); stroke-width: 1.5; }
.sk-sh { fill: var(--line); }
.sk-ln { fill: none; stroke: var(--fg); stroke-width: 1.5; stroke-linecap: round; }
.sk-g { stroke: var(--line2); }
.sk-o { fill: none; stroke: var(--line2); stroke-width: 1.5; }
.sk-dot, .sk-btn { fill: var(--blue); }
.sk-bb, .sk-bl { stroke: var(--blue); }
.sk-flow { fill: none; stroke: var(--fg3); stroke-width: 1.5; stroke-dasharray: 4 5; stroke-linecap: round; }
.hero-fig .sk-flow { animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -18; } }
.sk-sig { fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; }
.sk-t { font: 600 14px 'Inter', sans-serif; fill: var(--fg); }
.sk-big { font-size: 17px; }
.sk-s { font: 400 12px 'Inter', sans-serif; fill: var(--fg2); }

/* Große Überschriften */
.big { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; text-align: center; }
.mid { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.03em; font-weight: 700; }
.lead { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; color: var(--fg2); max-width: 44ch; margin: 22px auto 0; text-align: center; }
.sec { padding: clamp(96px, 11vw, 140px) 0; }

/* Schwarzer Block: Leistungen als Kacheln */
.dark { background: var(--dark); color: #F5F5F7; padding: clamp(96px, 11vw, 140px) 0; }
.dark .h-grey { color: #86868B; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(48px, 6vw, 72px); }
.tile { background: var(--tile); border-radius: 28px; padding: 14px 14px 32px; display: grid; gap: 10px; align-content: start; }
.tile-art { background: #F5F5F7; border-radius: 18px; padding: 24px 20px 18px; margin-bottom: 14px; }
.tile h3 { font-size: 24px; letter-spacing: -.02em; font-weight: 700; line-height: 1.2; padding: 0 14px; }
.tile p { color: #A1A1A6; font-size: 16px; line-height: 1.5; padding: 0 14px; }
.tiles-note { text-align: center; color: #A1A1A6; font-size: 17px; max-width: 52ch; margin: 40px auto 0; }

/* Arbeitsweise: Vergleich + Ablauf */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(48px, 6vw, 72px); }
.vs-panel { border-radius: 28px; padding: 30px 32px 14px; }
.vs-old { background: var(--bg2); }
.vs-new { background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0,0,0,.18); }
.vs-title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; letter-spacing: -.01em; padding-bottom: 14px; }
.vs-title .mark { width: 26px; height: 20px; }
.vs-old .vs-title { color: var(--fg3); }
.vs dl > div { padding: 14px 0 14px 32px; border-top: 1px solid var(--line); position: relative; }
.vs dt { font-size: 13px; color: var(--fg3); }
.vs dd { font-size: 17px; line-height: 1.4; }
.vs-old dd { color: var(--fg2); }
.vs-old dl > div::before, .vs-old dl > div::after { content: ""; position: absolute; left: 4px; top: 50%; width: 12px; height: 1.5px; background: var(--fg3); transform: rotate(45deg); }
.vs-old dl > div::after { transform: rotate(-45deg); }
.vs-new dl > div::before { content: ""; position: absolute; left: 3px; top: 50%; width: 11px; height: 6px; margin-top: -5px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.sub { text-align: center; font-size: clamp(28px, 3vw, 36px); font-weight: 700; letter-spacing: -.02em; margin: clamp(80px, 9vw, 112px) 0 clamp(32px, 4vw, 48px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--bg2); border-radius: 28px; padding: 14px 14px 30px; display: grid; gap: 10px; align-content: start; }
.step-art { background: #fff; border-radius: 18px; padding: 24px 20px 18px; margin-bottom: 10px; }
.step-n { margin: 0 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 650; font-size: 15px; }
.step h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; padding: 0 14px; }
.step p { color: var(--fg2); font-size: 16px; line-height: 1.5; padding: 0 14px; }

/* Preis: graues Band mit Monatsrechnung */
.band { background: var(--bg2); }
.band .big .h-grey { color: var(--fg3); }
.bill { max-width: 560px; margin: clamp(48px, 6vw, 64px) auto 36px; background: #fff; border-radius: 24px; padding: 30px 32px 24px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0,0,0,.2); }
.bill-head { display: flex; justify-content: space-between; align-items: start; padding-bottom: 16px; border-bottom: 1.5px solid var(--fg); }
.bill-head b { display: block; font-size: 19px; }
.bill-head small { font-size: 13px; color: var(--fg2); }
.bill-head .mark { width: 30px; height: 23px; }
.bill-items li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line2); font-size: 16px; }
.bill-items em { font-style: normal; color: var(--blue); font-size: 14px; white-space: nowrap; padding-top: 2px; }
.bill-sum { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; font-size: 16px; }
.bill-sum b { font-size: 21px; letter-spacing: -.01em; }

/* Über uns */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.duo figure { display: grid; gap: 10px; }
.duo .ph { aspect-ratio: 4 / 5; border-radius: 24px; background: var(--bg2); border: 2px dashed var(--line2); display: grid; place-items: center; color: var(--fg3); font-size: 14px; }
.duo figcaption { font-weight: 600; font-size: 16px; }
.duo figcaption small { display: block; font-weight: 400; font-size: 14px; color: var(--fg2); }
.body { font-size: 18px; color: var(--fg2); line-height: 1.55; margin-top: 18px; }
.facts-card { margin-top: 28px; display: grid; background: var(--bg2); border-radius: 20px; padding: 6px 24px; }
.facts-card > div { padding: 14px 0; display: grid; grid-template-columns: 140px 1fr; gap: 16px; font-size: 16px; }
.facts-card > div + div { border-top: 1px solid var(--line2); }
.facts-card dt { color: var(--fg2); font-size: 14px; padding-top: 2px; }

/* Fragen */
.faq { margin-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line2); }
.faq details { border-bottom: 1px solid var(--line2); }
.faq summary { cursor: pointer; padding: 20px 36px 20px 0; font-weight: 600; font-size: 19px; letter-spacing: -.01em; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 15px; font-weight: 300; font-size: 28px; color: var(--fg2); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 36px 22px 0; color: var(--fg2); font-size: 17px; line-height: 1.55; }

/* Anfrage: schwarzer Abschluss mit Formularkarte */
.form-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.ask h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -.03em; font-weight: 700; color: #F5F5F7; }
.ask-lead { margin-top: 18px; color: #A1A1A6; font-size: 19px; }
.ask-sub { margin-top: 44px; font-weight: 600; color: #F5F5F7; }
.next { margin-top: 16px; display: grid; gap: 16px; }
.next li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; color: #D2D2D7; }
.next b { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #6E6E73; display: grid; place-items: center; font-size: 14px; color: #fff; }
.next span { padding-top: 3px; }
.ask-mail { margin-top: 40px; color: #86868B; font-size: 15px; }
.ask-mail a { color: #2997FF; }
.form { background: #fff; color: var(--fg); border-radius: 28px; padding: 32px; display: grid; gap: 20px; }
.types { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.types legend { grid-column: 1 / -1; padding: 0; margin-bottom: 10px; font-weight: 600; font-size: 15px; }
.types label { position: relative; }
.types input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.types span { display: block; text-align: center; padding: 11px 12px; border: 1px solid var(--line2); border-radius: 12px; font-size: 15px; color: var(--fg); }
.types input:checked + span { border-color: var(--blue); background: #EAF3FE; color: var(--blue); font-weight: 600; }
.types input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
small { font-weight: 400; color: var(--fg3); font-size: .9em; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line2); border-radius: 12px; font: inherit; font-size: 16px; color: var(--fg); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,113,227,.15); }
.field .bad { border-color: #E30000; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-wide { width: 100%; padding: 15px 22px; }
.small { font-size: 13px; color: var(--fg2); }
.form-msg { font-size: 16px; }
.form-msg:empty { display: none; }
.form-msg.ok { padding: 16px 18px; background: #E9F6EE; color: #1B6E3A; border-radius: 12px; }
.form-msg.err { color: #E30000; }

/* Fußzeile */
.foot { background: var(--bg2); border-top: 1px solid var(--line2); padding: 22px 0 30px; font-size: 12px; color: var(--fg2); }
.foot-row { display: flex; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 18px; }
.foot a { color: var(--fg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-fig .sk-flow { animation: none; }
}
@media (max-width: 960px) {
  .tiles, .steps, .vs, .team, .form-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .facts li:nth-child(3) { border-left: 0; }
  .tile, .step { max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-right { margin-left: auto; }
  .facts-card > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 640px) {
  .hero-fig .sk-t { font-size: 19px; }
  .hero-fig .sk-big { font-size: 20px; }
  .hero-fig .sk-s { display: none; }
  .types, .two { grid-template-columns: 1fr; }
  .form { padding: 22px; border-radius: 22px; }
  .vs-panel { padding: 24px 22px 10px; }
  .bill { padding: 24px 22px 20px; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts li, .facts li + li { border-left: 0; padding: 16px 0; border-top: 1px solid var(--line); }
}

.duo .ph.has-img { border: 0; overflow: hidden; }
.duo .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* ---------- Rechtsseiten (Impressum, Datenschutz) ---------- */
html[lang="de"] .l-en, html[lang="en"] .l-de { display: none; }
.brand img { width: 24px; height: auto; }
.legal { padding: clamp(64px, 9vw, 104px) 0 clamp(80px, 10vw, 128px); }
.legal-w { max-width: 760px; }
.legal .index { display: flex; gap: 10px; align-items: baseline; font-size: 14px; color: var(--fg2); margin-bottom: 14px; }
.legal .index b { font-weight: 600; color: var(--blue); }
.legal h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; margin-bottom: clamp(32px, 4vw, 48px); }
.legal h2 { font-size: 22px; line-height: 1.3; letter-spacing: -.015em; font-weight: 700; margin: 40px 0 10px; }
.legal h3 { font-size: 18px; font-weight: 650; margin: 26px 0 8px; }
.legal p, .legal li { font-size: 17px; line-height: 1.6; color: #424245; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 10px 0; display: grid; gap: 6px; }
.legal a { word-break: break-word; }
.legal-more { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.nav-row > .brand + .nav-right { margin-left: auto; }
.legal h1 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 480px) { .legal h1 { font-size: 34px; } }

/* Gründer-Kacheln bis zu den Fotos: Initialen im gezeichneten Kreis */
.duo .ph.mono { aspect-ratio: 1 / 1; border: 0; background: var(--bg2); }
.mono span { width: 62%; aspect-ratio: 1; border-radius: 50%; background: #fff; border: 1.5px solid var(--fg); box-shadow: 7px 7px 0 var(--line2); display: grid; place-items: center; font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; letter-spacing: -.03em; color: var(--fg); }
.duo figure:last-child .mono span { color: var(--blue); }

/* v13: allgemeine Bausteine, einzeln oder zusammen */
.fig-note { margin-top: 18px; color: var(--fg2); font-size: 17px; font-weight: 500; }
.tiles { grid-template-columns: repeat(2, 1fr); }
.combo { margin-top: clamp(48px, 6vw, 72px); text-align: center; }
.combo-row { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
.combo-row span { border: 1.5px solid #48484A; border-radius: 980px; padding: 9px 18px; font-weight: 600; font-size: 17px; color: #F5F5F7; }
.combo-row i { font-style: normal; color: #86868B; font-size: 20px; font-weight: 300; }
.combo .tiles-note { margin-top: 22px; }
.types { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } .types { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .combo-row { gap: 6px; flex-wrap: nowrap; }
  .combo-row span { padding: 7px 11px; font-size: 14px; }
  .combo-row i { font-size: 16px; }
}
@media (max-width: 560px) { .types span { padding: 11px 6px; font-size: 14px; white-space: nowrap; } }
