/* ============ TorPro Zugangstechnik – Public Site ============ */
:root {
  --blue: #1f6fd6;
  --blue-dark: #155bb5;
  --orange: #f47a1f;
  --orange-dark: #d8650f;
  --ink: #0e1116;
  --ink-2: #171c24;
  --ink-3: #222a35;
  --grey: #b8bcc4;
  --grey-2: #6b7280;
  --line: #e5e7eb;
  --bg: #f6f7f9;
  --card: #ffffff;
  --text: #1a1f2b;
  --muted: #5b6472;
  --ok: #16a34a;
  --warn: #f59e0b;
  --danger: #dc2626;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 17, 22, .08);
  --logo-blue: var(--blue);
  --logo-orange: var(--orange);
  --logo-grey: var(--grey);
  --font-head: 'Exo 2', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
.container { width: min(1180px, 100% - 2rem); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section.alt { background: #fff; }
.section.dark { background: var(--ink); color: #e6e8ec; }
.section.dark h2, .section.dark h3 { color: #fff; }
.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: .6rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.dark .lead { color: #aab1bc; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 10px; font-weight: 700; font-family: var(--font-head); border: 2px solid transparent; cursor: pointer; transition: .18s; font-size: 1rem; line-height: 1.1; text-decoration: none !important; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-outline { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost { border-color: var(--line); color: var(--text); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: .5rem .9rem; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Header */
.topbar { background: var(--ink); color: #c8cdd6; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: .35rem; }
.topbar a { color: #fff; }
.topbar span { white-space: nowrap; }
header.site { position: sticky; top: 0; z-index: 50; background: rgba(14,17,22,.96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.06); }
header.site .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.brand { display: inline-flex; align-items: center; }
.brand svg { height: 44px; width: auto; }
nav.main ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.4rem; align-items: center; }
nav.main a { color: #d5d9e0; font-weight: 600; font-size: .95rem; }
nav.main a:hover { color: #fff; text-decoration: none; }
nav.main .btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.7rem; cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  nav.main { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); display: none; padding: 1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  nav.main a { display: block; padding: .7rem .4rem; }
}

/* Hero */
.hero { background: radial-gradient(1200px 600px at 80% -10%, rgba(31,111,214,.35), transparent 60%), radial-gradient(900px 500px at 10% 110%, rgba(244,122,31,.25), transparent 60%), var(--ink); color: #fff; padding-block: clamp(3.5rem, 9vw, 7rem); position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 span { color: var(--orange); }
.hero .lead { color: #c6ccd6; font-size: 1.2rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-badges { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 2rem; font-size: .9rem; color: #c6ccd6; }
.hero-badges span::before { content: "✓"; color: var(--orange); font-weight: 800; margin-right: .4rem; }
.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; } .hero-visual { max-width: 460px; margin-inline: auto; } }

/* Cards */
.card { background: var(--card); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
.card .icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), #4c8fe6); color: #fff; margin-bottom: 1rem; font-size: 1.5rem; }
.card.orange .icon { background: linear-gradient(135deg, var(--orange), #f79a55); }
.card p { color: var(--muted); margin: 0; }
.card ul { margin: .6rem 0 0; padding-left: 1.1rem; color: var(--muted); }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 4rem; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; }
.step h3 { margin-bottom: .2rem; }
.step p { color: #aab1bc; margin: 0; }

/* Partner */
.partner { display: grid; grid-template-columns: 200px 1fr; gap: 1.6rem; align-items: start; }
.partner .plogo { background: var(--ink); color: #fff; border-radius: 12px; height: 110px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; text-align: center; padding: .5rem; letter-spacing: .02em; }
.partner .plogo small { display: block; font-weight: 500; font-size: .75rem; color: var(--grey); letter-spacing: .1em; text-transform: uppercase; }
.partner .tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .8rem; }
.tag { background: #eef3fb; color: var(--blue-dark); border-radius: 999px; padding: .2rem .7rem; font-size: .8rem; font-weight: 600; }
@media (max-width: 640px) { .partner { grid-template-columns: 1fr; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-top: 2rem; }
.stat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 1.2rem; text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--orange); }
.stat span { color: #aab1bc; font-size: .9rem; }

/* Forms */
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
input, select, textarea { width: 100%; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: #fff; color: var(--text); transition: .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,111,214,.15); }
textarea { min-height: 110px; resize: vertical; }
.field { margin-bottom: 1rem; }
.row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.hint { font-size: .82rem; color: var(--muted); margin-top: .3rem; }
.checkbox { display: flex; align-items: flex-start; gap: .6rem; font-weight: 500; cursor: pointer; }
.checkbox input { width: auto; margin-top: .3rem; }
.honeypot { position: absolute; left: -9999px; }

/* Konfigurator */
.konfigurator { display: grid; grid-template-columns: 1fr 380px; gap: 1.6rem; align-items: start; }
@media (max-width: 1000px) { .konfigurator { grid-template-columns: 1fr; } }
.konf-steps { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.konf-steps button { border: 1.5px solid var(--line); background: #fff; padding: .45rem .8rem; border-radius: 999px; font-weight: 600; font-size: .85rem; cursor: pointer; color: var(--muted); }
.konf-steps button.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.konf-steps button.done { border-color: var(--ok); color: var(--ok); }
.konf-panel { display: none; }
.konf-panel.active { display: block; }
.konf-panel h3 { margin-bottom: 1rem; }
.options { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.opt { border: 2px solid var(--line); border-radius: 12px; padding: .9rem; cursor: pointer; background: #fff; text-align: left; transition: .15s; font: inherit; }
.opt:hover { border-color: #9cc0f2; }
.opt.selected { border-color: var(--orange); background: #fff7f0; box-shadow: 0 0 0 3px rgba(244,122,31,.15); }
.opt b { display: block; font-family: var(--font-head); font-size: .95rem; }
.opt small { color: var(--muted); display: block; font-size: .8rem; margin-top: .15rem; }
.opt .price { display: block; margin-top: .4rem; font-weight: 700; color: var(--blue); font-size: .85rem; }
.opt .swatch { width: 100%; height: 34px; border-radius: 8px; margin-bottom: .5rem; border: 1px solid rgba(0,0,0,.12); }
.range-row { display: grid; grid-template-columns: 1fr 120px; gap: 1rem; align-items: center; }
.range-row input[type=range] { padding: 0; }
.konf-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; flex-wrap: wrap; }
.summary { position: sticky; top: 90px; }
.summary .preview { background: linear-gradient(#e9eef5, #cfd8e3); border-radius: 12px; padding: 1rem; margin-bottom: 1rem; }
.summary .preview svg { width: 100%; height: auto; display: block; }
.summary table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.summary td { padding: .35rem 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.summary td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.summary .total { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--ink); margin-top: .8rem; }
.summary .total small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .8rem; color: var(--muted); }
.notice { background: #fff7f0; border: 1px solid #fcd9b8; border-radius: 10px; padding: .8rem 1rem; font-size: .88rem; color: #7a3d00; }
.notice.ok { background: #ecfdf3; border-color: #a7f3c4; color: #065f46; }
.notice.err { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; margin: 0 0 1.2rem; }
.contact-info dt { font-weight: 700; color: var(--muted); }
.contact-info dd { margin: 0; }
#map-public { height: 320px; border-radius: 12px; border: 1px solid var(--line); }

/* Footer */
footer.site { background: var(--ink); color: #aab1bc; padding-block: 3rem 1.5rem; font-size: .9rem; }
footer.site .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
footer.site h4 { color: #fff; font-size: 1rem; margin-bottom: .6rem; }
footer.site a { color: #d5d9e0; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: .35rem; }
footer.site .brand svg { height: 56px; margin-bottom: .8rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 2rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; }
@media (max-width: 800px) { footer.site .container { grid-template-columns: 1fr; } }

/* Legal pages */
.legal { max-width: 800px; margin-inline: auto; padding-block: 3rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: 10px; box-shadow: var(--shadow); z-index: 999; opacity: 0; pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; }

/* Floating call button (mobile) */
.call-fab { display: none; position: fixed; right: 1rem; bottom: 1rem; z-index: 60; background: var(--orange); color: #fff; width: 56px; height: 56px; border-radius: 50%; place-items: center; font-size: 1.5rem; box-shadow: 0 10px 25px rgba(244,122,31,.45); }
@media (max-width: 700px) { .call-fab { display: grid; } }

/* Mobile-Feinschliff */
@media (max-width: 700px) {
  .topbar span { white-space: normal; }
  .topbar .container > span:first-child { display: none; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .row .field[style*="span 2"] { grid-column: auto !important; }
}

/* ================= Mehrseitige Struktur ================= */
nav.main a.active { color: #fff; position: relative; }
nav.main a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--orange); border-radius: 2px; }

/* Hero-Diashow */
.hero-slider { position: relative; background: var(--ink); height: clamp(380px, 62vh, 720px); overflow: hidden; }
.hero-slider .slides, .hero-slider .slide { position: absolute; inset: 0; }
.hero-slider .slide { opacity: 0; transition: opacity 1.1s ease; }
.hero-slider .slide.active { opacity: 1; z-index: 1; }
.hero-slider .slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transform: scale(1.02); transition: transform 7s ease-out; }
.hero-slider .slide.active img { transform: scale(1.08); }
.hero-slider .slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,17,22,.35) 0%, rgba(14,17,22,.05) 40%, rgba(14,17,22,.75) 100%); }
.hero-slider .slide-caption { position: absolute; right: 1.5rem; bottom: 1.2rem; z-index: 2; font-size: .8rem; color: #d5d9e0; }
.hero-slider .slide-caption span { background: rgba(14,17,22,.6); padding: .35rem .7rem; border-radius: 6px; backdrop-filter: blur(4px); }
.hero-slider .slide-content { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end; pointer-events: none; }
.hero-slider .slide-content .container { padding-bottom: clamp(2.5rem, 7vh, 5rem); pointer-events: auto; }
.hero-slider .slide-content h1 { color: #fff; text-shadow: 0 4px 24px rgba(0,0,0,.5); max-width: 18ch; text-wrap: balance; margin-bottom: .4rem; }
.hero-slider .slide-content h1 span { color: var(--orange); }
.hero-slider .slide-content .lead { color: #e2e6ec; max-width: 56ch; text-shadow: 0 2px 12px rgba(0,0,0,.6); margin-bottom: 1.2rem; }
.hero-slider .slide-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(14,17,22,.55); color: #fff; font-size: 1.3rem; cursor: pointer; display: grid; place-items: center; transition: .15s; }
.hero-slider .slide-nav:hover { background: var(--orange); }
.hero-slider .slide-prev { left: 1rem; } .hero-slider .slide-next { right: 1rem; }
.hero-slider .slide-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: .9rem; z-index: 4; display: flex; gap: .4rem; }
.hero-slider .slide-dots button { width: 34px; height: 4px; border-radius: 2px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; transition: .2s; }
.hero-slider .slide-dots button.active { background: var(--orange); }
.hero-slider.single .slide-nav, .hero-slider.single .slide-dots { display: none; }
.hero-slider.no-images .slide-nav, .hero-slider.no-images .slide-dots, .hero-slider.no-images .slides { display: none; }
.hero-slider.no-images { background: radial-gradient(1200px 600px at 80% -10%, rgba(31,111,214,.35), transparent 60%), radial-gradient(900px 500px at 10% 110%, rgba(244,122,31,.25), transparent 60%), var(--ink); }
@media (max-width: 700px) { .hero-slider { height: clamp(420px, 78vh, 640px); } .hero-slider .slide-nav { display: none; } .hero-slider .slide-caption { display: none; } .hero-slider .slide-content h1 { font-size: 2rem; } }

/* Vertrauensleiste unter der Diashow */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; }
.trust div { padding: 1.1rem 1rem; display: flex; align-items: center; gap: .8rem; font-weight: 600; font-size: .92rem; border-right: 1px solid var(--line); }
.trust div:last-child { border-right: 0; }
.trust i { font-style: normal; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #eef3fb; color: var(--blue); font-size: 1.1rem; flex-shrink: 0; }
.trust small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
@media (max-width: 700px) { .trust div { border-right: 0; border-bottom: 1px solid var(--line); padding: .8rem .2rem; } }

/* Unterseiten-Kopf */
.page-hero { background: radial-gradient(900px 400px at 85% 0%, rgba(31,111,214,.3), transparent 60%), var(--ink); color: #fff; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero h1 { margin-bottom: .4rem; text-wrap: balance; }
.page-hero .lead { color: #c6ccd6; }
.breadcrumb { font-size: .82rem; color: #8b93a1; margin-bottom: .8rem; }
.breadcrumb a { color: #c6ccd6; }

/* Leistungen – Detailblöcke */
.service { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; padding-block: 2.5rem; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.service:last-child { border-bottom: 0; }
.service:nth-child(even) > div:first-child { order: 2; }
.service ul { padding-left: 1.1rem; color: var(--muted); line-height: 1.8; }
.service .visual { border-radius: var(--radius); overflow: hidden; background: var(--ink); aspect-ratio: 4 / 3; display: grid; place-items: center; }
.service .visual img { width: 100%; height: 100%; object-fit: cover; }
.service .visual svg { width: 70%; height: auto; }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; } .service:nth-child(even) > div:first-child { order: 0; } }

/* Standort-Karte */
.location { position: relative; background: var(--ink); color: #fff; }
.location .map-wrap { position: relative; height: clamp(420px, 60vh, 640px); }
.location #map-standort { position: absolute; inset: 0; background: #1b212b; }
.location .map-card { position: absolute; z-index: 500; left: max(1rem, calc((100% - 1180px) / 2)); top: 50%; transform: translateY(-50%); width: min(400px, calc(100% - 2rem)); background: rgba(14,17,22,.92); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 1.5rem; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.location .map-card h2 { font-size: 1.5rem; }
.location .map-card dl { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 1rem 0; font-size: .92rem; }
.location .map-card dt { color: #8b93a1; font-weight: 600; }
.location .map-card dd { margin: 0; color: #e6e8ec; }
.location .map-card a { color: #fff; }
.location .map-card .btns { display: flex; gap: .6rem; flex-wrap: wrap; }
.map-pin { width: 46px; height: 46px; }
.map-pin .ring { position: absolute; inset: 0; border-radius: 50%; background: rgba(244,122,31,.35); animation: pulse 2.2s ease-out infinite; }
.map-pin .dot { position: absolute; inset: 12px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.5); }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .map-pin .ring { animation: none; } .hero-slider .slide img { transition: none; transform: none; } }
@media (max-width: 700px) { .location .map-wrap { height: auto; } .location #map-standort { position: relative; height: 320px; } .location .map-card { position: static; transform: none; width: auto; margin: 0 1rem; border-radius: 16px 16px 0 0; } .location .map-wrap { display: flex; flex-direction: column-reverse; } }
.leaflet-container { font-family: var(--font-body); }

/* Referenzen-Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.gallery figure { margin: 0; border-radius: 12px; overflow: hidden; background: var(--ink); aspect-ratio: 4 / 3; position: relative; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .7rem .9rem; background: linear-gradient(transparent, rgba(14,17,22,.85)); color: #fff; font-size: .85rem; font-weight: 600; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 200; display: none; place-items: center; padding: 1rem; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; }
.lightbox button { position: absolute; top: 1rem; right: 1rem; background: rgba(255,255,255,.15); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .2rem 1.2rem; margin-bottom: .6rem; }
.faq summary { cursor: pointer; font-weight: 700; font-family: var(--font-head); padding: .8rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 1rem; }

/* CTA-Band */
.cta-band { background: linear-gradient(135deg, var(--blue) 0%, #144f9f 100%); color: #fff; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-block: 2.5rem; }
.cta-band h2 { color: #fff; margin: 0 0 .3rem; }
.cta-band p { margin: 0; color: #d6e4fb; }
.cta-band .btn-primary { box-shadow: 0 10px 25px rgba(0,0,0,.25); }

/* Teaser-Karten mit Link */
.card.link { transition: .2s; display: block; color: inherit; text-decoration: none !important; }
.card.link:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(14,17,22,.12); border-color: #cfe0f8; }
.card.link .more { display: inline-block; margin-top: .8rem; color: var(--blue); font-weight: 700; font-size: .9rem; }

/* OSM-Kacheln im dunklen Kartendesign */
.location .leaflet-tile-pane { filter: invert(1) hue-rotate(195deg) brightness(.78) contrast(1.05) saturate(.55); }
.location .leaflet-control-attribution { background: rgba(14,17,22,.75); color: #8b93a1; }
.location .leaflet-control-attribution a { color: #c6ccd6; }
.location .leaflet-control-zoom a { background: #1b212b; color: #fff; border-color: rgba(255,255,255,.1); }

/* ================= Konfigurator v2 ================= */
.konf-progress { height: 4px; background: var(--line); border-radius: 2px; margin-bottom: 1rem; overflow: hidden; }
.konf-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--orange)); width: 0; transition: width .3s; }
.summary .preview { padding: 0; background: #dfe5ec; }
.konf-summary dl { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 0 0 1rem; font-size: .92rem; background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; }
.konf-summary dt { color: var(--muted); font-weight: 600; }
.konf-summary dd { margin: 0; }
.konf-tools { display: flex; gap: .5rem; flex-wrap: wrap; }
.konf-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(14,17,22,.96); color: #fff; padding: .7rem 1rem; align-items: center; justify-content: space-between; gap: 1rem; backdrop-filter: blur(8px); box-shadow: 0 -10px 30px rgba(0,0,0,.25); }
.konf-bar span { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; }
@media (max-width: 1000px) { .konf-bar { display: flex; } .konfigurator { padding-bottom: 4rem; } .call-fab { bottom: 4.6rem; } .summary { position: static; } }
@media (max-width: 640px) { .konf-summary dl { grid-template-columns: 1fr; gap: .1rem; } .konf-summary dt { margin-top: .5rem; } }

.opt .brand-tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); margin-bottom: .2rem; }
.brands { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.brand-box { flex: 1 1 240px; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; background: #fff; }
.brand-box b { font-family: var(--font-head); font-size: 1.05rem; display: block; margin-bottom: .3rem; }
.brand-box ul { margin: .4rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: .9rem; line-height: 1.7; }
