@import url(/fonts/fonts.css);

/* Optik 1:1 von der Duo-Prime-Landingpage (Stand 28.10.2026) */

:root {
    --dark: #1c4983;
    --black: #14253f;
    --key: #ffdf06;
    --ink: #17202e;
    --muted: #5a6678;
    --line: #d9dfe8;
    --soft: #f4f6f9;
    --tint: #e3ebf6;
    --head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --text: 'Barlow', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--text);
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink);
    background: #fff;
}
img { max-width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }

/* Typo */
.title {
    font-family: var(--head);
    text-transform: uppercase;
    line-height: 1.02;
    margin: 0;
    letter-spacing: 0.01em;
    text-wrap: balance;
    color: var(--dark);
    font-weight: 800;
}
.title.h1 { font-size: clamp(44px, 8vw, 92px); color: #fff; margin-top: 14px; max-width: 16ch; }
.title.h2 { font-size: clamp(34px, 5vw, 52px); margin-top: 12px; }
.title.h3 { font-size: 24px; font-weight: 700; }
.title.white { color: #fff; }

.eyebrow { margin: 0; font-weight: 600; font-size: 13px; line-height: 1; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.eyebrow.yellow { color: var(--key); }
.lead { max-width: 44em; margin: 16px 0 0; color: var(--muted); font-size: 19px; }

.button {
    display: inline-block;
    background: var(--key);
    color: var(--black);
    font-family: var(--head);
    font-weight: 700;
    font-size: 20px;
    padding: 18px 30px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
    border: 0;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: filter 0.15s ease;
}
.button:hover { filter: brightness(0.95); }
.button:focus-visible { outline: 3px solid var(--key); outline-offset: 2px; }
.button.shadow { box-shadow: 0 10px 30px #00000040; }

/* Kopf: weiß, mit Logo-Bild */
.bar { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.logoImg { display: block; height: 56px; width: auto; }

/* Hero */
.hero { position: relative; color: #fff; background: #0b1b33 url(/img/aussen-1.jpg) center / cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0a1b33e0 0%, #0a1b338c 55%, #0a1b3326 100%); }
.hero .wrap { position: relative; padding-top: 88px; padding-bottom: 56px; }
.hero .sub { max-width: 34em; margin: 20px 0 0; font-size: 19px; }
.price { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.price strong { font-family: var(--head); font-weight: 800; font-size: clamp(38px, 6vw, 60px); line-height: 1; }
.price span { background: var(--key); color: var(--black); font-family: var(--head); font-weight: 700; font-size: 20px; line-height: 1.1; text-transform: uppercase; padding: 10px 14px; border-radius: 10px; }
.hero .cta { margin-top: 28px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.kpi { background: #fffffff5; color: var(--ink); border-radius: 14px; padding: 22px; }
.kpi b { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(34px, 5vw, 50px); line-height: 1; color: var(--dark); }
.kpi span { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); }
.kpiNote { margin: 16px 0 0; max-width: 46em; font-size: 13px; color: var(--tint); }

/* Sektionen */
section { padding: 72px 0; }
.soft { background: var(--soft); }
.ruled { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta { margin-top: 32px; }
.note { margin: 20px 0 0; max-width: 60em; font-size: 14px; color: var(--muted); }

/* Gründe */
.head { margin-bottom: 40px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.card p { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.icon { width: 52px; height: 52px; border-radius: 12px; background: var(--tint); color: var(--dark); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Rechnung */
.calc { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; margin-top: 40px; align-items: start; }
.rows { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--soft); }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row.hl { background: var(--key); color: var(--black); }
.row .k { font-size: 16px; }
.row .v { font-family: var(--head); font-weight: 800; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bars { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.bar-item { margin-top: 18px; }
.bar-item:first-child { margin-top: 0; }
.lab { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; margin-bottom: 6px; }
.track { height: 34px; background: var(--tint); border-radius: 8px; overflow: hidden; }
.fill { height: 100%; border-radius: 8px; background: var(--dark); }
.fill.accent { background: var(--key); }
.barNote { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

/* Das Haus: Text + Galerie */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split > * { min-width: 0; }
.gallery { min-width: 0; }
.stage { position: relative; }
.gtrack { display: flex; align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; border-radius: 14px; }
.gtrack::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; }
.frame { position: relative; border-radius: 14px; overflow: hidden; background: var(--tint); }
.frame img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.frame .badge { position: absolute; right: 8px; bottom: 8px; padding: 3px 8px; border-radius: 6px; background: #14253fb3; color: #ffffffe6; font-size: 11px; line-height: 1.2; letter-spacing: 0.02em; }
.slide figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); }
.arrow { position: absolute; top: 42%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: #ffffffee; color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px #0003; }
.arrow.prev { left: 10px; }
.arrow.next { right: 10px; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #c4ccd8; cursor: pointer; }
.dot.on { background: var(--dark); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.fact { border-top: 3px solid var(--key); padding-top: 10px; }
.fact b { display: block; font-family: var(--head); font-weight: 800; font-size: 36px; line-height: 1; color: var(--dark); }
.fact span { font-size: 15px; color: var(--muted); }
.list { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.list li { position: relative; padding-left: 28px; }
.list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 8px; border-left: 3px solid var(--dark); border-bottom: 3px solid var(--dark); transform: rotate(-45deg) translateY(-3px); }

/* Blauer Block */
.owner { background: var(--dark); color: #fff; }
.owner .lead { color: #d6e3f5; }
.rate { margin-top: 22px; font-family: var(--head); font-weight: 800; font-size: clamp(52px, 9vw, 96px); line-height: 1; color: var(--key); }
.rate small { font-size: 0.38em; color: #fff; margin-left: 8px; }
.owner .note { color: #c4d5ec; margin-top: 22px; }
.options { margin-top: 44px; }
.optionGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.option { border-top: 3px solid var(--key); background: #ffffff14; padding: 20px 22px 22px; }
.option .title.h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.25; }
.option p { margin: 0; font-size: 16px; color: #d6e3f5; }

/* Lage */
.lagesplit { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: center; }
.lagesplit > * { min-width: 0; }
.lagesplit .img { width: 100%; display: block; border-radius: 14px; aspect-ratio: 7 / 5; object-fit: cover; }
.text { margin: 16px 0 0; color: var(--muted); font-size: 17px; }
.plot { margin-top: 24px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--key); border-radius: 10px; }
.plot p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }

/* Footer */
.band { background: var(--dark); color: #fff; padding: 56px 0; }
.cols { max-width: 1120px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: 11fr 7fr 6fr; gap: 40px; }
.company { margin: 0; font-family: var(--head); font-weight: 700; font-size: 30px; line-height: 1.2; text-transform: uppercase; }
.lines { margin: 14px 0 0; font-size: 15px; color: #cdd9ea; }
.colTitle { margin: 0; font-family: var(--head); font-weight: 700; font-size: 24px; line-height: 1.2; text-transform: uppercase; }
.line { margin: 14px 0 18px; border: 0; border-top: 1px solid #fff; }
.menu, .contacts { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.menu a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.contacts li { display: flex; align-items: center; gap: 12px; }
.contacts .ic { display: inline-flex; flex: none; color: var(--key); }
.contacts a { color: #fff; text-decoration: none; }
.contacts a:hover { text-decoration: underline; }

/* Consent */
#consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; max-width: 640px; margin: 0 auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 40px #14253f40; padding: 18px 20px; font-size: 15px; line-height: 1.45; }
#consent[hidden] { display: none; }
#consent p { margin: 0 0 12px; }
#consent .btns { display: flex; gap: 10px; flex-wrap: wrap; }
#consent button { font-family: var(--head); text-transform: uppercase; font-weight: 700; font-size: 17px; letter-spacing: 0.04em; padding: 12px 18px; border-radius: 10px; border: 0; cursor: pointer; }
#consent .yes { background: var(--key); color: var(--black); }
#consent .no { background: var(--tint); color: var(--black); }

/* Quiz (Optik wie Duo Prime: zentriert, ohne Kopf) */
.q { max-width: 632px; margin: 0 auto; padding: 150px 16px 80px; color: var(--dark); }
.qp { width: 150px; margin: 0 auto; text-align: center; }
.qp span { display: block; font-size: 16px; line-height: 1.2; color: var(--dark); }
.qbar { height: 5px; margin-top: 6px; background: #e3e8ee; border-radius: 3px; overflow: hidden; }
.qbar i { display: block; height: 100%; width: 0; background: var(--key); border-radius: 3px; transition: width 0.25s ease; }
.step[hidden] { display: none; }
.qt { margin: 94px 0 0; text-align: center; font-family: var(--head); font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--black); }
.qc { margin: 24px 0 0; text-align: center; font-size: 16px; color: #14253f99; }
.qopts { display: grid; gap: 8px; margin-top: 28px; }
.qopt {
    width: 100%; text-align: left; font-family: var(--text); font-size: 18px; font-weight: 400; line-height: 1.4;
    color: var(--dark); background: #1c49830d; border: 1px solid #1c49831a; border-radius: 6px;
    padding: 18px 25px; cursor: pointer; transition: border-color 0.12s, background 0.12s;
}
.qopt:hover, .qopt:focus-visible { background: #1c498314; border-color: #1c498340; outline: 0; }
.qsub { margin: 24px 0 0; text-align: center; font-size: 16px; color: #14253f99; }
.qform { margin-top: 32px; }
.qform .f { margin-bottom: 18px; position: relative; }
.qform input, .qform select { width: 100%; height: 64px; font: inherit; font-size: 18px; padding: 0 20px; color: var(--dark); background: #fff; border: 1px solid #1c498333; border-radius: 6px; appearance: none; -webkit-appearance: none; }
.qform select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23999'/%3E%3C/svg%3E") no-repeat right 20px center; }
.qform input::placeholder { color: #9aa5b4; }
.qform input:focus, .qform select:focus { border-color: var(--key); outline: 0; }
.qform .phone { display: flex; align-items: center; border: 1px solid #1c498333; border-radius: 6px; background: #fff; height: 64px; }
.qform .phone:focus-within { border-color: var(--key); }
.qform .phone .cc { display: flex; align-items: center; gap: 12px; padding: 0 12px 0 20px; font-size: 18px; color: var(--black); }
.qform .phone input { border: 0; height: 62px; padding-left: 4px; }
.qform .hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 34px 0 0; font-size: 18px; line-height: 1.35; color: var(--dark); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; padding: 0; accent-color: var(--dark); appearance: auto; -webkit-appearance: checkbox; border-radius: 3px; }
.check a { color: var(--dark); }
.err { color: #b3261e; font-size: 15px; margin: 12px 0 0; min-height: 1.2em; text-align: center; }
.send { display: block; margin: 20px auto 0; background: var(--key); color: var(--dark); font-family: var(--text); font-weight: 700; font-size: 17px; border: 0; border-radius: 4px; padding: 20px 40px; cursor: pointer; }
.send:hover { filter: brightness(0.96); }
.thanks .qt { margin-top: 94px; }

@media (max-width: 860px) {
    section { padding: 52px 0; }
    .logoImg { height: 44px; }
    .hero .wrap { padding-top: 28px; padding-bottom: 36px; }
    .hero::before { background: linear-gradient(180deg, #0a1b33d9, #0a1b3399); }
    .kpis, .cards { grid-template-columns: 1fr; }
    .hero .cta { margin-top: 24px; }
    .button { display: block; width: 100%; }
    .calc, .split { grid-template-columns: 1fr; gap: 28px; }
    .row { flex-direction: column; gap: 4px; }
    .frame img { aspect-ratio: 3 / 2; }
    .arrow { display: none; }
    .optionGrid { grid-template-columns: 1fr; }
    .lagesplit { grid-template-columns: 1fr; gap: 28px; }
    .lagesplit .copy { order: -1; }
    .band { padding: 40px 0; }
    .cols { grid-template-columns: 1fr; gap: 32px; }
    .q { padding-top: 56px; }
    .qt, .thanks .qt { margin-top: 56px; }
}

.qback { margin: 32px 0 0; text-align: center; }
.qback .button { display: inline-block; }
.hint { margin: 14px 0 0; font-size: 13px; color: #14253f99; text-align: center; }

.lagekarte { margin-top: 20px; }
.lagekarte .note { margin: 0; }
