/* sunisfun – SIF GmbH · Website-Styles */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 400 900; font-style: normal; font-display: swap;
  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: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 400 900; font-style: normal; font-display: swap;
  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 {
  --sun: #F28A1C;
  --sun-deep: #C9650A;
  --sun-soft: #FFE6C7;
  --navy: #17496B;
  --navy-deep: #0D3048;
  --sky: #E4EEF3;
  --ink: #15222D;
  --muted: #5B6873;
  --line: #EADFCE;
  --bg: #FFF9F1;
  --tint: #FBF0E1;
  --card: #FFFFFF;
  --ok: #2F7D4F;
  --err: #B3261E;
  --logo-gap: #FFFFFF;
  --icon-gap: #FFFFFF;
  --r: 20px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(21, 34, 45, .05), 0 10px 30px -14px rgba(21, 34, 45, .22);
  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6; font-weight: 420;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;

}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--sun-deep); }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 780; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 1.4rem + 4vw, 4.3rem); font-weight: 820; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); }
h3 { font-size: 1.22rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 6px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.plain { list-style: none; padding: 0; margin: 0; }
[hidden] { display: none !important; }
.kicker {
  display: inline-flex; align-items: center; gap: .5em; margin: 0 0 .9rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sun-deep);
}
.kicker::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--sun); }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.28rem); color: #33414C; max-width: 36em; }
.mark {
  font-style: normal; white-space: nowrap;
  background: linear-gradient(transparent 58%, var(--sun-soft) 58%, var(--sun-soft) 92%, transparent 92%);
  color: var(--sun-deep); padding: 0 .06em;
}
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.chip { display: inline-block; padding: .28em .8em; border-radius: 999px; background: var(--sun-soft); color: var(--sun-deep); font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
.chip-ok { background: #E3F2E8; color: var(--ok); padding: .7em 1.1em; font-size: .92rem; }

/* Buttons */
.btn {
  --b: var(--ink); --c: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .82em 1.35em; border-radius: 999px; border: 2px solid var(--b); background: var(--b); color: var(--c);
  font: inherit; font-weight: 680; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { color: var(--c); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-sun { --b: var(--sun); --c: #1F1305; box-shadow: 0 8px 20px -10px rgba(242, 138, 28, .8); }
.btn-sun:hover { --b: #F79A33; }
.btn-navy { --b: var(--navy); }
.btn-navy:hover { --b: var(--navy-deep); }
.btn-ghost { background: transparent; --c: var(--ink); border-color: var(--line); }
.btn-ghost:hover { --c: var(--ink); border-color: var(--ink); }
.btn-lg { padding: 1em 1.6em; font-size: 1.06rem; }
.btn-sm { padding: .6em 1.1em; font-size: .93rem; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 680; text-decoration: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; cursor: pointer; font-size: .9rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 249, 241, .9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.logo-mark { width: 50px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 1.45rem; font-weight: 820; letter-spacing: -.04em; color: var(--navy); }
.brand-name b { color: var(--sun); font-weight: inherit; }
.brand-sub { font-size: .72rem; color: var(--muted); font-weight: 560; letter-spacing: .04em; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: .5em .8em; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 560; font-size: .97rem; }
.nav a:not(.btn):hover { background: var(--tint); }
.nav .btn { margin-left: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; padding: 0 11px; flex-direction: column; justify-content: center; gap: 6px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.25);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: .8em .6em; border-radius: 10px; }
  .nav .btn { margin: 10px 0 0; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 90px); }
.hero-sun {
  position: absolute; width: 760px; height: 760px; right: -220px; top: -330px; border-radius: 50%;
  background: radial-gradient(circle at center, #FFD49B 0 30%, rgba(255, 212, 155, .55) 30.2% 44%, rgba(255, 226, 186, .35) 44.2% 60%, transparent 60.2%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #3A4751; font-weight: 560; font-size: .95rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: .5em; }
.hero-trust li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--sun-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5 9.3 2.6 2.6L13 6.5' fill='none' stroke='%23C9650A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

.quick { padding: clamp(22px, 3vw, 32px); position: relative; }
.quick-head h2 { font-size: 1.55rem; margin: .6rem 0 1.2rem; }
.quick .field > span { font-weight: 650; }
.range-row { display: flex; align-items: center; gap: 14px; }
.range-row output { min-width: 6.8em; text-align: right; font-weight: 750; font-size: 1.1rem; }
input[type="range"] { flex: 1; accent-color: var(--sun); height: 28px; min-width: 0; }
.toggles { display: flex; gap: 10px; margin: 16px 0 20px; flex-wrap: wrap; }
.toggle { position: relative; }
.toggle input { position: absolute; opacity: 0; }
.toggle span { display: inline-flex; align-items: center; gap: .5em; padding: .55em 1em; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .95rem; cursor: pointer; user-select: none; }
.toggle span::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #B8AC9B; background: #fff; }
.toggle input:checked + span { border-color: var(--sun); background: #FFF4E6; }
.toggle input:checked + span::before { background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.3 2.6 2.5L12 5.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100%; border-color: var(--sun); }
.toggle input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.quick-result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; margin-bottom: 18px; }
.quick-result div { background: #FFFCF7; padding: 12px 12px 10px; display: flex; flex-direction: column; gap: 2px; }
.quick-result span { font-size: .76rem; }
.quick-result strong { font-size: 1.12rem; letter-spacing: -.01em; white-space: nowrap; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-sun { width: 520px; height: 520px; right: -240px; top: -220px; }
}
@media (max-width: 420px) {
  .quick-result { grid-template-columns: 1fr 1fr; }
  .quick-result div:last-child { grid-column: span 2; }
}

/* Stats */
.stats { background: var(--navy); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 28px 24px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid rgba(255,255,255,.14); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; color: #FFC27A; }
.stat span { color: #D3E1EA; }
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat, .stat:first-child { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding: 20px 0; }
  .stat:first-child { border-top: 0; }
}

/* Sections */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc { padding: 26px 24px 22px; transition: transform .2s, box-shadow .2s; }
.svc:hover { transform: translateY(-3px); }
.svc-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--tint); display: grid; place-items: center; margin-bottom: 18px; }
.svc-icon svg { width: 36px; height: 36px; }
.svc p { color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

.parts { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.parts .section-head { margin: 0; }
.parts-list { display: grid; gap: 12px; }
.part { display: grid; grid-template-columns: 150px 1fr; column-gap: 18px; row-gap: 2px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); }
.part-tag { grid-row: span 2; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); padding-top: 3px; }
.part strong { font-size: 1.06rem; }
@media (max-width: 860px) { .parts { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .part { grid-template-columns: 1fr; } .part-tag { grid-row: auto; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 24px 22px 20px; border-top: 3px solid var(--navy); background: linear-gradient(var(--bg), var(--bg)); }
.step:first-child { border-top-color: var(--sun); }
.step-no { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 14px; }
.step:first-child .step-no { background: var(--sun); color: #1F1305; }
.step p { margin: 0; font-size: 1.02rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proj { overflow: hidden; display: flex; flex-direction: column; }
.proj-img { aspect-ratio: 4 / 3; background: var(--sky); overflow: hidden; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; }
.proj-img-empty { display: grid; place-items: center; }
.proj-img-empty.v0 { background: linear-gradient(160deg, #FFE3C0, #FFF4E6); }
.proj-img-empty.v1 { background: linear-gradient(160deg, #D9E8F0, #F0F6F9); }
.proj-img-empty.v2 { background: linear-gradient(160deg, #F6E7D2, #E4EEF3); }
.proj-mark { width: 38%; opacity: .92; }
.proj-body { padding: 20px 22px 22px; }
.proj-place { margin: 0 0 4px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sun-deep); }
.proj-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.proj-facts span { font-size: .85rem; font-weight: 650; padding: .3em .75em; border-radius: 999px; background: var(--sky); color: var(--navy); }
@media (max-width: 900px) { .proj-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .proj-grid { grid-template-columns: 1fr; } }

.about { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.prose p:last-child { margin-bottom: 0; }
.about .prose { font-size: 1.1rem; color: #33414C; }
.person { padding: 24px; display: flex; gap: 18px; align-items: center; }
.person p { margin: 0; }
.person-avatar { flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.6rem; letter-spacing: -.02em; box-shadow: inset 0 -8px 0 var(--sun); }
.person-name { display: block; font-size: 1.25rem; margin-bottom: 6px; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } }

.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 70px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-weight: 680; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--sun-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 6v10M6 11h10' stroke='%23C9650A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/100%; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .prose { padding: 0 0 20px; color: #33414C; max-width: 60ch; }
@media (max-width: 820px) { .faq-wrap { grid-template-columns: 1fr; } }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-cta p { font-size: 1.12rem; color: #33414C; }
.contact-data { margin: 34px 0 0; display: grid; gap: 14px; }
.contact-data div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.contact-data dt { color: var(--muted); font-weight: 560; }
.contact-data dd { margin: 0; font-weight: 650; }
.contact-form { padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; }
.contact-form h3 { margin: 0 0 4px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Forms */
.field { display: grid; gap: 6px; min-width: 0; }
.field > span, .label { font-weight: 620; font-size: .95rem; }
.label em, .field em.muted { font-style: normal; font-weight: 450; }
input:not([type="range"]):not([type="checkbox"]):not([type="radio"]), select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #DDD1BF; border-radius: 12px; padding: .72em .9em; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(23, 73, 107, .12); }
.is-invalid { border-color: var(--err) !important; box-shadow: 0 0 0 4px rgba(179, 38, 30, .1) !important; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row3 { display: grid; grid-template-columns: .6fr 1fr 1fr; gap: 14px; }
.row-zip { grid-template-columns: .45fr 1fr; }
@media (max-width: 560px) { .row2, .row3 { grid-template-columns: 1fr; } .row-zip { grid-template-columns: .5fr 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: #3A4751; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.form-msg { margin: 0; font-weight: 600; min-height: 1.2em; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--err); }

/* Footer */
.site-footer { background: var(--navy-deep); color: #C9D8E2; padding: 64px 0 24px; --logo-gap: var(--navy-deep); }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #FFC27A; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .9em; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer .muted { color: #9DB3C2; max-width: 30em; margin-top: 16px; }
.brand-footer .brand-name { color: #fff; }
.brand-footer .brand-sub { color: #9DB3C2; }
.site-footer .logo-mark { --navy: #3D7AA3; }
.site-footer .plain li { margin-bottom: .35em; }
.site-footer .plain a { text-decoration: none; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; color: #8FA6B6; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

.fab-wa { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.35); transition: transform .15s; }
.fab-wa:hover { color: #fff; transform: scale(1.06); }
.fab-wa svg { width: 30px; height: 30px; }

/* Online-Angebot */
.offer-hero { padding: clamp(36px, 5vw, 64px) 0 26px; }
.offer-hero h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.4rem); }
.offer-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 26px; align-items: start; padding-bottom: 90px; }
.stepper { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stepper li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; font-weight: 620; font-size: .92rem; color: var(--muted); background: #fff; border: 1px solid var(--line); cursor: default; }
.stepper li span { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tint); font-size: .85rem; font-weight: 750; }
.stepper li.is-done { color: var(--ink); cursor: pointer; }
.stepper li.is-done span { background: var(--navy); color: #fff; }
.stepper li.is-active { color: var(--ink); border-color: var(--sun); box-shadow: 0 0 0 3px var(--sun-soft); }
.stepper li.is-active span { background: var(--sun); color: #1F1305; }
@media (max-width: 620px) { .stepper li { font-size: 0; justify-content: center; } .stepper li span { font-size: .85rem; } }

.step-panel { border: 1px solid var(--line); margin: 0; padding: clamp(22px, 3vw, 34px); display: grid; gap: 24px; min-width: 0; }
.step-panel legend { float: left; width: 100%; padding: 0; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); font-weight: 780; letter-spacing: -.02em; line-height: 1.15; }
.step-panel legend + * { clear: both; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; flex-wrap: wrap; }
.num-input { position: relative; display: inline-flex; align-items: center; justify-self: start; }
.num-input input { width: 8.5em !important; padding-right: 3.2em !important; text-align: right; font-weight: 700; }
.num-input em { position: absolute; right: .9em; font-style: normal; color: var(--muted); pointer-events: none; }
.field-narrow { max-width: 340px; }

.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg-btn, .seg-radio span { min-width: 52px; padding: .6em 1em; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; font: inherit; font-weight: 650; cursor: pointer; text-align: center; }
.seg-btn:hover, .seg-radio span:hover { border-color: #CDBFA9; }
.seg-btn.is-on { border-color: var(--navy); background: var(--sky); }
.seg-radio input, .choice input, .roof input, .bat input { position: absolute; opacity: 0; pointer-events: none; }
.seg-radio input:checked + span { border-color: var(--navy); background: var(--sky); }
.seg-radio input:focus-visible + span, .choice input:focus-visible + span, .roof input:focus-visible + span, .bat input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }

.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .choice-row { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice span { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 14px 48px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: #fff; position: relative; }
.choice span::before { content: ""; position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #B8AC9B; background: #fff; }
.choice small { color: var(--muted); font-size: .86rem; }
.choice input:checked + span { border-color: var(--sun); background: #FFF6EB; }
.choice input:checked + span::before { background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8.3 2.6 2.5L12 5.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100%; border-color: var(--sun); }

.roof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 560px) { .roof-grid { grid-template-columns: 1fr 1fr; } }
.roof { position: relative; }
.roof span { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px 12px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; font-weight: 620; font-size: .93rem; }
.roof svg { width: 64px; height: 52px; fill: none; stroke: var(--muted); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.roof input:checked + span { border-color: var(--navy); background: var(--sky); }
.roof input:checked + span svg { stroke: var(--navy); }

.stepper-input { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 1.5rem; font-weight: 500; cursor: pointer; line-height: 1; }
.round-btn:hover { border-color: var(--navy); }
.mod-count { min-width: 2.2em; text-align: center; font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em; }
.mod-meta { display: flex; flex-direction: column; margin-left: 8px; }
.mod-meta strong { font-size: 1.1rem; }

.bat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.bat { position: relative; }
.bat span { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; height: 100%; position: relative; }
.bat strong { font-size: 1.15rem; }
.bat small { color: var(--muted); font-size: .84rem; }
.bat input:checked + span { border-color: var(--navy); background: var(--sky); }
.badge { position: absolute; top: -9px; right: 10px; font-style: normal; font-size: .7rem; font-weight: 750; letter-spacing: .04em; background: var(--sun); color: #1F1305; padding: .2em .6em; border-radius: 999px; }
.choice-wide span { padding-top: 16px; padding-bottom: 16px; }

.summary { position: sticky; top: 96px; padding: 24px; display: grid; gap: 16px; }
.summary-head p { margin: 0; }
.summary-kwp { display: flex; align-items: baseline; gap: 6px; }
.summary-kwp strong { font-size: 2.6rem; letter-spacing: -.04em; font-weight: 820; line-height: 1.1; }
.summary-kwp span { font-weight: 700; color: var(--muted); }
.summary-items { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: .9rem; max-height: 300px; overflow: auto; border-top: 1px solid var(--line); padding-top: 14px; }
.summary-items li { display: flex; justify-content: space-between; gap: 12px; }
.summary-items li span:first-child { color: #3A4751; }
.summary-items li span:last-child { white-space: nowrap; font-weight: 600; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 16px; margin: 0 -8px; background: var(--navy); color: #fff; border-radius: 14px; }
.summary-total span { font-size: .9rem; color: #D3E1EA; }
.summary-total strong { font-size: 1.55rem; letter-spacing: -.02em; }
.summary-est { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.summary-est div { background: var(--tint); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; }
.summary-est span { font-size: .76rem; color: var(--muted); font-weight: 560; }
.summary-est strong { font-size: 1.02rem; }
.summary .small { margin: 0; }
.summary.is-loading [data-s-total], .summary.is-loading [data-s-kwp] { opacity: .45; }
.offer-mini { display: none; }
@media (max-width: 980px) {
  .offer-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .offer-mini {
    position: fixed; left: 12px; right: 84px; bottom: 16px; z-index: 29; display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 10px 16px; min-height: 56px; border-radius: 16px; background: var(--navy); color: #fff; text-decoration: none; box-shadow: 0 12px 30px -10px rgba(13, 48, 72, .6);
  }
  .offer-mini:hover { color: #fff; }
  .offer-mini strong { font-size: 1.15rem; }
  .offer-mini-total { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
  .offer-mini small { color: #BFD2DE; font-size: .75rem; }
  .page-offer .site-footer { padding-bottom: 90px; }
}
.notice { padding: 20px; }

/* Angebotsdokument */
.page-doc { background: #EFE7DB; }
.doc-bar { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; padding: 34px 0 18px; }
.doc-bar-title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); margin: 0 0 .3em; }
.doc-bar p { margin: 0; }
.doc-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.doc-actions form { margin: 0; }
.est-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 22px; }
.est-strip div { background: #fff; border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; border: 1px solid var(--line); }
.est-strip span { color: var(--muted); font-size: .82rem; }
.est-strip strong { font-size: 1.12rem; }
.doc-stage { padding: 0 16px 80px; overflow-x: auto; }

.doc {
  --doc-ink: #1b1b1b;
  width: 210mm; min-height: 297mm; margin: 0 auto; background: #fff; color: var(--doc-ink);
  padding: 16mm 17mm 12mm; font-size: 9.6pt; line-height: 1.42; box-shadow: 0 20px 50px -24px rgba(0,0,0,.35);
  display: flex; flex-direction: column; font-weight: 420; --logo-gap: #fff;
}
.doc-top { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 12mm; }
.doc-sender { font-size: 7.6pt; margin: 0 0 1.5mm; color: #333; }
.doc-logo { width: 42mm; height: auto; }
.doc-address { display: flex; justify-content: space-between; gap: 10mm; margin-bottom: 12mm; }
.doc-address address { font-style: normal; }
.doc-meta { margin: 0; text-align: right; }
.doc-meta div { display: flex; justify-content: flex-end; gap: 1.5mm; }
.doc-meta dt, .doc-meta dd { margin: 0; }
.doc-title { font-size: 11.5pt; font-weight: 750; letter-spacing: 0; margin: 0 0 1mm; }
.doc-title span { background: #D9D9D9; padding: 0 1mm; }
.doc-intro p { margin: 0 0 3mm; }
.doc-table { width: 100%; border-collapse: collapse; margin: 3mm 0 0; }
.doc-table th { background: #C9C9C9; text-align: left; font-weight: 750; padding: .6mm 1.5mm; font-size: 9.6pt; }
.doc-table td { padding: 2.2mm 1.5mm 2.6mm; vertical-align: top; }
.doc-table td small { display: block; font-size: 7.6pt; color: #333; }
.c-pos { width: 12mm; }
.c-num { text-align: right; white-space: nowrap; width: 30mm; }
.c-qty { text-align: center; width: 22mm; }
.doc-table th.c-num:nth-child(3) { text-align: center; }
.doc-table td.c-num:nth-child(3) { text-align: center; }
.doc-totals { margin-top: 1mm; }
.doc-totals div { display: flex; justify-content: space-between; padding: 3.2mm 1.5mm; border-top: .7mm solid #111; font-size: 10.4pt; }
.doc-grand { font-weight: 420; }
.doc-outro { margin-top: 5mm; font-size: 10pt; }
.doc-outro p { margin: 0 0 4mm; }
.doc-note { font-size: 8pt; color: #444; border-left: 1mm solid var(--sun); padding-left: 3mm; }
.doc-foot-note { font-size: 7.4pt; color: #222; }
.doc-sign { display: flex; justify-content: space-between; align-items: flex-end; gap: 10mm; margin: 6mm 0 8mm; }
.doc-sign p { margin: 0; }
.doc-sign div { display: flex; flex-direction: column; align-items: center; width: 70mm; }
.doc-sign span { width: 100%; border-bottom: .3mm solid #111; height: 10mm; }
.doc-sign small { font-size: 7.6pt; margin-top: 1mm; }
.doc-footer { margin-top: auto; padding-top: 8mm; display: grid; grid-template-columns: 1fr 1.25fr 1.2fr 1.6fr; gap: 4mm; font-size: 7.8pt; line-height: 1.35; }

/* Rechtliches */
.legal { padding: clamp(40px, 6vw, 80px) 0 100px; max-width: 760px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal-404 { text-align: left; }

@media print {
  @page { size: A4; margin: 0; }
  body, .page-doc { background: #fff; }
  .site-header, .site-footer, .fab-wa, .no-print, .skip { display: none !important; }
  .doc-stage { padding: 0; overflow: visible; }
  .doc { box-shadow: none; margin: 0; width: 210mm; min-height: 296mm; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

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

/* Tabellenziffern nur dort, wo Zahlen untereinander stehen */
.a-items input, .a-totals { font-variant-numeric: tabular-nums; }

/* Demo-Hinweis */
.demo-bar { background: var(--sun); color: #1F1305; text-align: center; font-size: .9rem; font-weight: 650; padding: 8px 16px; }
.demo-bar a { color: #1F1305; margin-left: .4em; }
@media print { .demo-bar { display: none; } }
