:root {
  --navy: #0d1b3e;
  --navy-soft: #16264f;
  --cream: #f5f2ec;
  --ink: #0d1b3e;
  --muted: #5b6473;
  --lime: #dfe86a;
  --maxw: 1240px;
  --pad: 40px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* ── Header ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s, box-shadow .3s;
  padding: 18px 0;
}
.site-header.solid { background: rgba(255,255,255,.96); box-shadow: 0 1px 0 rgba(13,27,62,.08); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { height: 24px; width: auto; }
.brand-name { font-weight: 600; font-size: 22px; letter-spacing: -.02em; color: #fff; transition: color .3s; }
.brand-name sup { font-size: .5em; top: -.7em; }
.site-header.solid .brand-name { color: var(--navy); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 15px; font-weight: 500; color: #fff; transition: color .3s, opacity .2s; }
.site-header.solid .nav a { color: var(--navy); }
.nav a:hover { opacity: .65; }
.nav-cta {
  border: 1.5px solid currentColor; border-radius: 40px; padding: 9px 20px !important;
}
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { width: 26px; height: 2px; background: #fff; transition: .3s; }
.site-header.solid .burger span { background: var(--navy); }

/* ── Hero ── */
.hero { position: relative; height: 100vh; min-height: 640px; display: flex; align-items: center; overflow: hidden;
  background: url('assets/img/hero-poster.jpg') center / cover no-repeat; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.hero-video.laeuft { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,27,62,.55) 0%, rgba(13,27,62,.15) 60%, rgba(13,27,62,0) 100%); }
.hero-content { position: relative; z-index: 2; color: #fff; }
.kicker { font-size: 20px; font-weight: 500; letter-spacing: .01em; margin-bottom: 18px; opacity: .95; }
.kicker .rotator { display: inline-block; min-width: 3.5em; font-style: italic; }
.hero-title { font-size: clamp(44px, 7vw, 104px); font-weight: 500; line-height: 1.02; letter-spacing: -.03em; margin-bottom: 26px; }
.hero-sub { font-size: clamp(16px, 1.6vw, 20px); max-width: 560px; font-weight: 400; margin-bottom: 34px; opacity: .95; }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-hint span { display: block; width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; position: relative; }
.scroll-hint span::after { content: ''; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; border-radius: 2px; background: #fff; animation: scroll 1.6s infinite; }
@keyframes scroll { 0% { opacity: 0; top: 6px; } 40% { opacity: 1; } 80% { opacity: 0; top: 16px; } }

/* ── Buttons ── */
.btn { display: inline-block; font-size: 15px; font-weight: 600; padding: 14px 30px; border-radius: 40px; cursor: pointer; border: none; transition: transform .2s, background .2s, color .2s; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); }
.btn-ghost { background: none; border: 1.5px solid var(--navy); color: var(--navy); border-radius: 40px; padding: 12px 24px; font-weight: 600; cursor: pointer; font-family: inherit; }
.btn-ghost.on-dark { border-color: rgba(255,255,255,.75); color: #fff; display: inline-block; font-size: 15px; padding: 14px 30px; transition: transform .2s, border-color .2s; }
.btn-ghost.on-dark:hover { transform: translateY(-2px); border-color: #fff; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ── Sections ── */
.section { padding: 100px 0; }
.light-bg { background: var(--cream); }
.two-col { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.two-col.reverse .col-head { order: 2; }
.col-body p { color: var(--muted); font-size: 17px; margin-bottom: 20px; }
.col-body .lead { font-size: clamp(19px, 2vw, 24px); color: var(--ink); font-weight: 400; line-height: 1.4; margin-bottom: 28px; }
.label { font-size: 22px; font-weight: 500; color: var(--muted); margin-bottom: 4px; }
.label.navy { color: var(--navy); }
.label.light { color: rgba(255,255,255,.9); }
.label.lime { color: var(--lime); }
.big { font-size: clamp(46px, 6.5vw, 96px); font-weight: 500; line-height: .98; letter-spacing: -.03em; color: var(--navy); }
.big.light { color: #fff; }
.big.lime { color: var(--lime); }
.big.italic { font-style: italic; }
.navy { color: var(--navy); }
.sub-head { font-size: 22px; font-weight: 600; margin: 40px 0 20px; }

/* Ticks */
.ticks { list-style: none; margin: 24px 0 28px; }
.ticks li { position: relative; padding-left: 30px; font-size: 17px; color: var(--ink); margin-bottom: 12px; font-weight: 500; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 8px; width: 16px; height: 9px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }
.ticks.small li { font-size: 15px; font-weight: 400; margin-bottom: 9px; }
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; }

/* Vorteile-Band (Produkt zuerst: Zahlen statt Text) */
.vorteile { padding: 56px 0; }
.vorteile .specs { margin-top: 0; }

/* Nachklapp: Erklaertexte unter den Bildern */
.nachklapp { margin-top: 44px; }
.nachklapp p { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 860px; margin-bottom: 14px; }

/* Statement */
.statement { padding: 100px 0 0; text-align: center; }
.statement-title { font-size: clamp(30px, 4.5vw, 62px); font-weight: 500; line-height: 1.06; letter-spacing: -.02em; color: var(--navy); }
.dash-line { font-size: clamp(20px, 2.4vw, 30px); font-style: italic; color: var(--navy); margin-top: 24px; font-weight: 400; }
.dash-line.lime { color: var(--lime); }
.media-band { margin-top: 70px; }
.media-band video, .media-band img { width: 100%; height: clamp(320px, 62vh, 720px); object-fit: cover; }

/* Images */
.image-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 60px; }
.image-duo img { width: 100%; height: 440px; object-fit: cover; border-radius: 2px; }
.full-img { width: 100%; height: clamp(340px, 60vh, 680px); object-fit: cover; margin-top: 50px; }

/* Slider */
.slider { position: relative; }
.slider .slides { display: flex; overflow: hidden; scroll-behavior: smooth; }
.slider .slide { min-width: 100%; }
.slider .slide img { width: 100%; height: clamp(320px, 52vh, 560px); object-fit: cover; }
.slider.wide .slide img { height: clamp(360px, 64vh, 720px); }
.slider figcaption { font-size: 14px; color: var(--muted); padding: 14px 4px 0; }
.slider-nav { display: flex; gap: 12px; margin-top: 18px; }
.slider-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); font-size: 22px; cursor: pointer; transition: .2s; line-height: 1; }
.slider-nav button:hover { background: var(--navy); color: #fff; }

/* Feature band (full-bleed image with overlay text) */
.feature-band { position: relative; padding: 120px 0; background-image: var(--bg); background-size: cover; background-position: center; }
.feature-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,27,62,.7), rgba(13,27,62,.25)); }
.feature-band.tall { padding: 200px 0 140px; }
.feature-band .container { position: relative; z-index: 2; }
.feature-text { font-size: clamp(17px, 1.9vw, 22px); color: #fff; max-width: 720px; margin-top: 22px; }
.feature-text.lime { color: var(--lime); }

/* Vision */
.vision { padding: 130px 0; text-align: center; background: #fff; }
.vision-title { font-size: clamp(32px, 5vw, 68px); font-weight: 500; line-height: 1.05; letter-spacing: -.02em; color: var(--navy); max-width: 900px; margin: 14px auto 0; }

/* Specs */
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2px; margin-top: 50px; background: rgba(13,27,62,.08); border: 1px solid rgba(13,27,62,.08); }
.spec { background: #fff; padding: 28px 22px; display: flex; flex-direction: column; gap: 6px; }
.spec-val { font-size: 30px; font-weight: 600; color: var(--navy); letter-spacing: -.02em; }
.spec-key { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

/* Partner */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.partner-card { background: var(--cream); border-radius: 6px; padding: 40px; display: flex; flex-direction: column; }
.partner-card h3 { font-size: 22px; font-weight: 600; line-height: 1.25; color: var(--navy); margin-bottom: 16px; min-height: calc(2 * 22px * 1.25); }
.partner-card p { color: var(--muted); font-size: 16px; margin-bottom: 26px; }
.partner-card .btn { margin-top: auto; align-self: flex-start; }

/* Footer */
.site-footer { background: var(--navy); color: #fff; padding: 80px 0 46px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 22px; }
.footer-word { font-size: 40px; font-weight: 600; letter-spacing: -.02em; }
.footer-word sup { font-size: .4em; top: -1em; }
.footer-mark { height: 40px; }
.footer-socials { display: flex; gap: 14px; }
.soc { width: 42px; height: 42px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: .2s; }
.soc:hover { background: #fff; color: var(--navy); }
.footer-claim { font-size: 22px; margin-top: 24px; font-weight: 400; }
.site-footer hr { border: none; border-top: 1px solid rgba(255,255,255,.2); margin: 34px 0 20px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: rgba(255,255,255,.75); }
.footer-links { display: flex; gap: 40px; }
.footer-links a:hover { color: #fff; }

/* Rechte Leiste */
.rail { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; }
.rail-btn { width: 52px; height: 52px; border: none; cursor: pointer; font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; font-family: inherit; }
.rail-btn.lang { background: #eceae2; color: var(--navy); }
.rail-btn.chat { background: var(--lime); color: var(--navy); font-size: 20px; }
.rail-btn.top { background: var(--navy); color: #fff; font-size: 20px; }
.rail-btn:hover { filter: brightness(.94); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(13,27,62,.6); display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-box { background: #fff; border-radius: 12px; padding: 38px; width: 100%; max-width: 560px; position: relative; max-height: 90vh; overflow-y: auto; }
.modal-close { position: absolute; top: 16px; right: 18px; background: none; border: none; font-size: 28px; cursor: pointer; color: var(--muted); line-height: 1; }
.modal-box h3 { font-size: 26px; color: var(--navy); margin-bottom: 22px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
label.full { grid-column: 1 / -1; }
input, textarea { width: 100%; margin-top: 6px; padding: 11px 13px; border: 1px solid #d5d8de; border-radius: 8px; font-size: 15px; font-family: inherit; font-weight: 400; color: var(--ink); }
input:focus, textarea:focus { outline: none; border-color: var(--navy); }
.consent { display: flex; align-items: flex-start; gap: 8px; font-weight: 400; font-size: 13px; color: var(--muted); margin: 6px 0 20px; }
.consent input { width: auto; margin: 3px 0 0; }
.form-note { font-size: 14px; margin-top: 14px; }
.pflicht-hinweis { font-size: 12px; color: var(--muted); margin: -8px 0 14px; }
.consent a { text-decoration: underline; color: var(--navy); }
.form-note.ok { color: #22a06b; } .form-note.err { color: #d33; }

/* Cookie */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 90; background: #fff; border: 1px solid rgba(13,27,62,.14); box-shadow: 0 12px 40px rgba(13,27,62,.16); border-radius: 12px; padding: 18px 20px; max-width: 380px; }
.cookie[hidden] { display: none; }
.cookie p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.cookie-btns { display: flex; gap: 10px; }
.cookie-btns .btn, .cookie-btns .btn-ghost { padding: 9px 18px; font-size: 13px; }

/* ── Mobile ── */
@media (max-width: 900px) {
  :root { --pad: 22px; }
  .burger { display: flex; position: relative; z-index: 60; }
  .burger[aria-expanded="true"] span { background: #fff; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header.solid .burger[aria-expanded="true"] span { background: #fff; }
  .nav {
    position: fixed; top: 0; right: 0; left: auto; width: min(80vw, 320px);
    /* height statt bottom:0: bleibt auch dann Viewport-hoch, wenn ein
       Vorfahr (z. B. .site-header.solid per backdrop-filter) zum Containing
       Block fuer fixed-Elemente wird - vh/dvh ignorieren das bewusst. */
    height: 100vh; height: 100dvh;
    background: var(--navy); flex-direction: column; align-items: flex-start;
    gap: 8px; padding: 100px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .3s; z-index: 45;
  }
  .nav.open { transform: translateX(0); }
  .nav a { color: #fff !important; font-size: 20px; padding: 8px 0; }
  .nav-cta { margin-top: 16px; }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .two-col.reverse .col-head { order: 0; }
  .image-duo { grid-template-columns: 1fr; }
  .image-duo img { height: 300px; }
  .two-lists { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-card h3 { min-height: 0; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-word { font-size: 30px; }
  .footer-bottom { flex-direction: column; gap: 14px; align-items: flex-start; }
  .fields { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .rail { top: auto; bottom: 0; transform: none; flex-direction: row; }
  .rail-btn { width: 46px; height: 46px; }
}

/* ── Rechtsseiten (Impressum/Datenschutz/Blog) ── */
.legal-page { padding: 140px 0 90px; }
.legal-page .container { max-width: 860px; }
.legal-page h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 500; letter-spacing: -.02em; color: var(--navy); margin-bottom: 8px; }
.legal-page .updated { font-size: 14px; color: var(--muted); margin-bottom: 40px; }
.legal-page h2 { font-size: 24px; font-weight: 600; color: var(--navy); margin: 40px 0 14px; }
.legal-page h3 { font-size: 18px; font-weight: 600; color: var(--navy); margin: 26px 0 10px; }
.legal-page p { color: #43506a; font-size: 16px; line-height: 1.75; margin-bottom: 14px; }
.legal-page ul { color: #43506a; font-size: 16px; line-height: 1.75; margin: 0 0 14px 22px; }
.legal-page a:not(.btn) { color: var(--navy); text-decoration: underline; }
.legal-page strong { color: var(--navy); }
.back-home { display: inline-block; margin-top: 40px; font-weight: 600; color: var(--navy); }

/* ── Bild-Lightbox (Klick zum Vergrößern + Zoom) ── */
[data-zoom] { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(9,14,28,.94); display: flex; align-items: center; justify-content: center; touch-action: none; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 94vw; max-height: 92vh; object-fit: contain; user-select: none; transition: transform .08s ease-out; will-change: transform; }
.lightbox-close { position: absolute; top: 18px; right: 22px; width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,.12); border: .5px solid rgba(255,255,255,.2); color: #fff; font-size: 22px; cursor: pointer; z-index: 2; }
.lightbox-hint { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.6); font-size: 12px; pointer-events: none; }

/* ── Blog/Artikel ── */
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); }
.article-hero { width: 100%; height: clamp(260px, 42vh, 460px); object-fit: cover; border-radius: 8px; margin: 20px 0 28px; cursor: zoom-in; }
.article .lead { font-size: clamp(18px,2vw,22px); color: var(--ink); line-height: 1.5; margin-bottom: 26px; }
.article-cta { background: var(--cream); border-radius: 12px; padding: 28px 30px; margin: 40px 0; }
.article-cta p { margin-bottom: 16px; }
.related { list-style: none; margin: 0 0 30px; padding: 0; }
.related li { margin-bottom: 10px; }
.related a { font-weight: 600; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; margin: 30px 0 40px; }
.blog-card { display: block; background: #fff; border: .5px solid #e6e3dc; border-radius: 12px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(13,27,62,.12); }
.blog-card img { width: 100%; height: 190px; object-fit: cover; }
.blog-card-body { padding: 20px 22px 24px; }
.blog-tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); background: var(--cream); padding: 4px 10px; border-radius: 5px; margin-bottom: 10px; }
.blog-card h2 { font-size: 19px; font-weight: 600; color: var(--navy); margin-bottom: 8px; line-height: 1.25; }
.blog-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }



/* ── Referenzen / Projekte ── */
.ref-hero { position: relative; margin: 50px 0 16px; border-radius: 12px; overflow: hidden; }
.ref-hero img { width: 100%; height: clamp(360px, 60vh, 620px); object-fit: cover; cursor: zoom-in; transition: transform .6s ease; }
.ref-hero:hover img { transform: scale(1.03); }
.ref-hero figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 34px 30px; color: #fff;
  background: linear-gradient(transparent, rgba(9,14,28,.85)); display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.ref-hero figcaption strong { font-size: clamp(22px, 3vw, 32px); font-weight: 600; }
.ref-hero figcaption > span:last-child { font-size: 15px; color: rgba(255,255,255,.85); max-width: 640px; }
.ref-badge { align-self: flex-start; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); background: var(--lime); padding: 4px 10px; border-radius: 5px; }
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ref-tile { position: relative; margin: 0; border-radius: 10px; overflow: hidden; }
.ref-tile img { width: 100%; height: 300px; object-fit: cover; transition: transform .5s ease; cursor: zoom-in; }
.ref-tile.tall img { height: 300px; object-position: center 30%; }
.ref-tile:hover img { transform: scale(1.04); }
.ref-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff;
  background: linear-gradient(transparent, rgba(9,14,28,.82)); display: flex; flex-direction: column; gap: 2px; pointer-events: none; }
.ref-tile figcaption strong { font-size: 15px; font-weight: 600; }
.ref-tile figcaption span { font-size: 12.5px; color: rgba(255,255,255,.82); }
@media (max-width: 760px) {
  .ref-grid { grid-template-columns: 1fr; }
  .ref-tile img { height: 240px; }
}

/* ── Nav-Dropdown (Daten: Sicherheit + Technische Daten) ── */
.nav-drop { position: relative; }
.nav-drop-label { font-family: inherit; font-size: 15px; font-weight: 500; color: #fff; background: none; border: none; cursor: pointer; padding: 0; }
.site-header.solid .nav-drop-label { color: var(--navy); }
.nav-drop-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 12px; background: #fff; border-radius: 10px; box-shadow: 0 16px 44px rgba(13,27,62,.18); padding: 8px; min-width: 190px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s; }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-drop-menu a { display: block; color: var(--navy) !important; padding: 9px 14px; border-radius: 7px; font-size: 14px; }
.nav-drop-menu a:hover { background: var(--cream); opacity: 1; }
@media (max-width: 900px) {
  .nav-drop { width: 100%; }
  .nav-drop-label { color: #fff; font-size: 20px; padding: 8px 0; }
  .nav-drop-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; background: transparent; padding: 0 0 0 14px; margin: 0; }
  .nav-drop:hover .nav-drop-menu { transform: none; }
  .nav-drop-menu a { color: rgba(255,255,255,.85) !important; font-size: 16px; padding: 6px 0; }
}

/* ── Fix: Dropdown-Hover bleibt (unsichtbare Brücke über die Lücke) ── */
.nav-drop { padding-bottom: 14px; margin-bottom: -14px; }
.nav-drop-menu { margin-top: 2px; transition: opacity .2s ease .06s, transform .2s ease, visibility 0s linear .26s; }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { transition: opacity .18s ease, transform .18s ease, visibility 0s; }

/* ── Fix: super-value Werte bleiben in der Box ── */
.spec { min-width: 0; overflow: hidden; }
.spec-val { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.1; white-space: normal; }
.specs { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }

/* ── Rail-Sprachumschalter (DE aktiv / EN ausgegraut) ── */
.rail-lang { display: flex; flex-direction: column; align-items: stretch; background: #eceae2; }
.rail-lang a { padding: 8px 0; text-align: center; font-size: 12px; font-weight: 700; color: #b7b3a8; text-decoration: none; letter-spacing: .04em; }
.rail-lang a.on { color: var(--navy); background: #fff; }
.rail-lang a:not(.on):hover { color: var(--navy); }
@media (max-width: 900px) { .rail-lang { flex-direction: row; } .rail-lang a { padding: 8px 12px; } }

/* ── Konfigurator ── */
.nav-active { text-decoration: underline; text-underline-offset: 6px; }
.konfig-page { padding: 140px 0 0; }
.konfig-intro { max-width: 720px; color: var(--muted); font-size: 17px; margin: 22px 0 10px; }
.konfig-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 40px; align-items: start; margin-top: 40px; padding-bottom: 90px; }
.kstep { background: var(--cream); border-radius: 12px; padding: 30px 32px; margin-bottom: 22px; }
.kstep-title { display: flex; align-items: center; gap: 14px; font-size: 22px; font-weight: 600; color: var(--navy); margin-bottom: 18px; }
.kstep-num { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.kstep-text { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.kstep-note { color: var(--muted); font-size: 13.5px; margin-top: 16px; }
.kstep-note a { color: var(--navy); text-decoration: underline; }

.schema-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.schema-card { background: #fff; border: 2px solid transparent; border-radius: 10px; padding: 10px 10px 14px; cursor: pointer; font-family: inherit; text-align: left; transition: border-color .2s, transform .2s; }
.schema-card:hover { transform: translateY(-2px); }
.schema-card.is-active { border-color: var(--navy); box-shadow: 0 8px 24px rgba(13,27,62,.12); }
.schema-card img { width: 100%; height: 110px; object-fit: cover; border-radius: 6px; margin-bottom: 10px; }
.schema-card strong { display: block; font-size: 15px; color: var(--navy); }
.schema-card span { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }

.format-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.format-inputs label { font-size: 13px; font-weight: 600; color: var(--navy); }
.range-row { display: flex; align-items: center; gap: 12px; margin: 8px 0 4px; }
.range-row input[type=range] { flex: 1; margin: 0; accent-color: var(--navy); }
.range-row input[type=number] { width: 84px; margin: 0; }
.range-row em { font-style: normal; font-weight: 400; color: var(--muted); font-size: 14px; }
.licht-mass { font-size: 15px; color: var(--ink); margin: 14px 0 16px; font-weight: 400; }
.licht-mass span { font-size: 13px; color: var(--muted); }
.hint-box { background: var(--navy); color: #fff; border-radius: 10px; padding: 14px 18px; font-size: 13.5px; line-height: 1.55; }
.konfig-preview { background: #fff; border-radius: 10px; padding: 22px; }
.preview-frame svg { width: 100%; height: auto; display: block; }
.preview-caption { font-size: 13.5px; color: var(--muted); margin-top: 12px; text-align: center; }

.opt-list { display: flex; flex-direction: column; gap: 10px; }
.opt { display: flex; align-items: center; gap: 14px; background: #fff; border: 2px solid transparent; border-radius: 10px; padding: 14px 18px; cursor: pointer; margin: 0; transition: border-color .2s; }
.opt:has(input:checked) { border-color: var(--navy); }
.opt input { width: auto; margin: 0; accent-color: var(--navy); flex: none; }
.opt-body { flex: 1; }
.opt-body strong { display: block; font-size: 15px; color: var(--navy); font-weight: 600; }
.opt-body span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; }
.opt-price { font-size: 14px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.ecke-mehr { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 12px; }
.ecke-mehr input { width: 84px; margin: 0; }
#eckeHint { margin-top: 14px; }

.konfig-summary { position: sticky; top: 90px; background: var(--navy); color: #fff; border-radius: 14px; padding: 30px 30px 26px; }
.konfig-summary h2 { font-size: 24px; font-weight: 600; margin-bottom: 20px; }
.sum-lines { display: flex; flex-direction: column; }
.sum-line { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.sum-line-text strong { font-size: 14.5px; font-weight: 600; display: block; }
.sum-line-text span { font-size: 12.5px; color: rgba(255,255,255,.65); display: block; margin-top: 2px; }
.sum-line-val { font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.sum-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0 4px; }
.sum-total span { font-size: 14px; color: rgba(255,255,255,.8); }
.sum-total strong { font-size: 28px; font-weight: 600; color: var(--lime); letter-spacing: -.02em; }
.sum-note { font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.55; margin: 12px 0 20px; }
.sum-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-ghost.light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost.light:hover { border-color: #fff; }

.pos-list { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.pos-list li { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 10px; padding: 12px 16px; }
.pos-list .sum-line-text { flex: 1; }
.pos-list .sum-line-text strong { color: var(--navy); font-size: 14.5px; display: block; }
.pos-list .sum-line-text span { color: var(--muted); font-size: 12.5px; display: block; }
.pos-list .sum-line-val { color: var(--navy); }
.pos-remove { background: none; border: none; color: var(--muted); font-size: 22px; cursor: pointer; line-height: 1; padding: 2px 6px; }
.pos-remove:hover { color: var(--navy); }

/* Anhaenge (Zeichnungen/Fotos) im Konfigurator und Admin */
.anhang-liste li { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 10px; padding: 10px 14px; }
.anhang-vorschau { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; display: block; }
.anhang-pdf { width: 54px; height: 54px; border-radius: 8px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.anhang-liste .sum-line-text { flex: 1; }
.anhang-liste .sum-line-text strong { color: var(--navy); font-size: 14px; display: block; overflow-wrap: anywhere; }
.anhang-liste .sum-line-text span { color: var(--muted); font-size: 12px; display: block; }
.anhang-liste a { color: var(--navy); }

@media (max-width: 1000px) {
  .konfig-layout { grid-template-columns: 1fr; }
  .konfig-summary { position: static; }
  .format-grid { grid-template-columns: 1fr; }
  .schema-grid { grid-template-columns: 1fr; }
  .schema-card { display: grid; grid-template-columns: 110px 1fr; gap: 4px 14px; align-items: center; }
  .schema-card img { height: 72px; margin: 0; grid-row: 1 / 3; }
}

/* ── Scroll-Reveal (dezent, markenkonform) ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; will-change: opacity, transform; }
.reveal.sichtbar { opacity: 1; transform: none; }
.specs .reveal:nth-child(2) { transition-delay: .07s; }
.specs .reveal:nth-child(3) { transition-delay: .14s; }
.specs .reveal:nth-child(4) { transition-delay: .21s; }
.specs .reveal:nth-child(5) { transition-delay: .28s; }
.ref-grid .reveal:nth-child(2) { transition-delay: .1s; }
.ref-grid .reveal:nth-child(3) { transition-delay: .2s; }
.partner-grid .reveal:nth-child(2) { transition-delay: .1s; }
.partner-grid .reveal:nth-child(3) { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Mobile-Feinschliff (Landingpage) ── */
@media (max-width: 700px) {
  .hero { height: 100svh; min-height: 540px; }
  .hero-content { padding-top: 40px; }
  .kicker { font-size: 17px; margin-bottom: 12px; }
  .hero-sub { font-size: 15px; margin-bottom: 24px; }
  .hero-btns { width: 100%; }
  .hero-btns .btn, .hero-btns .btn-ghost { flex: 1 1 100%; text-align: center; }
  .scroll-hint { display: none; }
  .vorteile { padding: 34px 0; }
  .specs { grid-template-columns: 1fr 1fr; margin-top: 30px; }
  .vorteile .specs { margin-top: 0; }
  .spec { padding: 16px 14px; }
  .spec-val { font-size: 20px; }
  .spec-key { font-size: 11.5px; }
  .statement { padding: 64px 0 0; }
  .media-band { margin-top: 40px; }
  .media-band video, .media-band img { height: 46vh; min-height: 260px; }
  .col-body p { font-size: 15.5px; }
  .col-body .lead { font-size: 18px; }
  .ticks li { font-size: 15.5px; }
  .nachklapp { margin-top: 26px; }
  .nachklapp p { font-size: 15px; }
  .ref-hero { margin-top: 30px; }
  .ref-hero figcaption { padding: 50px 18px 18px; }
  .ref-hero figcaption strong { font-size: 20px; }
  .ref-hero figcaption > span:last-child { font-size: 13.5px; }
  .feature-band { padding: 70px 0; background-attachment: scroll; }
  .feature-band.tall { padding: 100px 0 80px; }
  .feature-text { font-size: 15.5px; }
  .vision { padding: 80px 0; }
  .full-img { height: 300px; margin-top: 30px; }
  .slider .slide img { height: 300px; }
  .slider.wide .slide img { height: 320px; }
  .slider-nav button { width: 40px; height: 40px; font-size: 19px; }
  .partner-card { padding: 26px 22px; }
  .partner-card .btn { width: 100%; text-align: center; }
  .sub-head { margin: 26px 0 14px; }
  .site-footer { padding: 50px 0 90px; }   /* Platz fuer die untere Leiste (rail) */
  .modal-box { padding: 28px 20px; }
  .btn { padding: 13px 22px; font-size: 14.5px; }
}

/* ── Mobile-Feinschliff (Konfigurator + Admin) ── */
@media (max-width: 700px) {
  .konfig-page { padding-top: 110px; }
  .konfig-layout { gap: 24px; margin-top: 26px; padding-bottom: 60px; }
  .kstep { padding: 20px 18px; margin-bottom: 16px; border-radius: 10px; }
  .kstep-title { font-size: 19px; gap: 10px; }
  .kstep-num { width: 30px; height: 30px; font-size: 14px; }
  .konfig-preview { padding: 14px; }
  .konfig-summary { padding: 22px 18px; border-radius: 12px; }
  .sum-total strong { font-size: 24px; }
  .sum-actions .btn, .sum-actions .btn-ghost { width: 100%; text-align: center; }
  .range-row input[type=number] { width: 72px; }
  .opt { padding: 12px 14px; gap: 10px; }
  .opt-price { font-size: 13px; }
  .anhang-liste li { flex-wrap: wrap; }
  .modal-box { padding: 26px 20px; }

  .admin-page { padding-top: 110px; }
  .admin-toolbar input[type=search], .admin-toolbar select { width: 100%; }
  .admin-toolbar .btn, .admin-toolbar .btn-ghost { flex: 1 1 45%; text-align: center; }
  .lead-row, .todo-zeile { flex-wrap: wrap; }
  .lead-row-wert { min-width: 0; }
  .lead-detail { padding: 20px 16px; }
  .detail-actions .btn, .detail-actions .btn-ghost { flex: 1 1 100%; text-align: center; }
  .ke-zeile input[type=number] { width: 56px; }
  .preise-parameter { grid-template-columns: 1fr; }
  .buch-monat-kopf .btn { margin-left: 0; width: 100%; text-align: center; }
  .meta-felder input { min-width: 100%; }
  .stat-tile strong { font-size: 20px; }
  .ads-map-grid { grid-template-columns: 1fr; }
}

/* ── Adminbereich (CRM) ── */
.admin-page { padding: 92px 0 90px; }
.admin-label { font-size: 15px; margin-bottom: 0; }
.admin-titel { font-size: clamp(30px, 4vw, 44px); }
.admin-page .admin-tabs { margin-top: 16px; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2px; margin: 34px 0 26px; background: rgba(13,27,62,.08); border: 1px solid rgba(13,27,62,.08); }
.stat-tile { background: #fff; padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.stat-tile strong { font-size: 26px; font-weight: 600; color: var(--navy); letter-spacing: -.02em; }
.stat-tile span { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.admin-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 26px; }
.admin-toolbar input[type=search] { width: 260px; margin: 0; }
.admin-toolbar select { padding: 11px 13px; border: 1px solid #d5d8de; border-radius: 8px; font-family: inherit; font-size: 14px; color: var(--ink); background: #fff; }
.admin-toolbar-spacer { flex: 1; }
.admin-toolbar .btn, .admin-toolbar .btn-ghost { padding: 11px 20px; font-size: 14px; }
.admin-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 26px; align-items: start; }
.lead-list { display: flex; flex-direction: column; gap: 10px; }
.lead-row { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: var(--cream); border: 2px solid transparent; border-radius: 10px; padding: 14px 18px; cursor: pointer; font-family: inherit; transition: border-color .2s; }
.lead-row:hover, .lead-row.is-active { border-color: var(--navy); }
.lead-row-main { flex: 1; min-width: 0; }
.lead-row-main strong { display: block; font-size: 15px; color: var(--navy); }
.lead-row-main span { display: block; font-size: 12.5px; color: var(--muted); }
.lead-badge { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: #fff; color: var(--muted); border-radius: 5px; padding: 4px 8px; white-space: nowrap; }
.lead-badge.due { background: var(--lime); color: var(--navy); }
.lead-badge.ok { background: #e2f2e6; color: #1d7a3d; }
.lead-badge.win { background: var(--navy); color: var(--lime); }

/* Kontaktbuch */
.kontakt-tabelle th { cursor: pointer; user-select: none; white-space: nowrap; }
.kontakt-tabelle th:hover { background: #eceadf; }
.kontakt-zeile-klick { cursor: pointer; }
.kontakt-zeile-klick:hover td { background: var(--cream); }
.kontakt-anzahl { font-size: 13px; color: var(--muted); font-weight: 600; }
.kontakt-profil { background: var(--cream); border-radius: 12px; padding: 26px 30px; margin-top: 6px; }
.kontakt-profil .preise-tabelle { background: #fff; }
.btn-klein { padding: 6px 14px !important; font-size: 12.5px !important; }

/* Hilfe, AI Agents, ToDo */
.hilfe { background: var(--cream); border-radius: 12px; padding: 30px 34px; margin-top: 20px; max-width: 900px; }
.hilfe h3 { font-size: 22px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.hilfe h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin: 22px 0 6px; }
.hilfe p { font-size: 14.5px; color: #43506a; line-height: 1.7; }
.ag-ausgabe { width: 100%; font-family: inherit; font-size: 14.5px; line-height: 1.6; border: 1px solid #d5d8de; border-radius: 10px; padding: 14px 16px; background: #fff; color: var(--ink); resize: vertical; }
.ag-bild { max-width: 420px; width: 100%; border-radius: 10px; display: block; margin: 14px 0 8px; }
.todo-zeile { cursor: default; }
.todo-zeile input[type=checkbox] { width: auto; margin: 0; accent-color: var(--navy); flex: none; }
.todo-zeile select { padding: 7px 9px; border: 1px solid #d5d8de; border-radius: 8px; font-family: inherit; font-size: 12.5px; background: #fff; color: var(--ink); }
.todo-erledigt .lead-row-main strong { text-decoration: line-through; color: var(--muted); }
.todo-prio { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex: none; }
.prio-hoch { background: #fde3e0; color: #c0392b; }
.prio-mittel { background: var(--lime); color: var(--navy); }
.prio-niedrig { background: rgba(13,27,62,.08); color: var(--muted); }

/* Buchhaltung */
.buch-monat { margin-bottom: 26px; }
.buch-monat-kopf { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 18px 0 10px; }
.buch-monat-kopf strong { font-size: 18px; color: var(--navy); }
.buch-monat-kopf span { font-size: 13px; color: var(--muted); }
.buch-monat-kopf .btn { margin-left: auto; }

/* Statistik-Tab */
.funnel { background: var(--cream); border-radius: 12px; padding: 20px 24px; margin-bottom: 10px; }
.funnel-zeile { display: grid; grid-template-columns: 170px 1fr 44px auto; gap: 12px; align-items: center; padding: 6px 0; }
.funnel-label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.funnel-balken { display: block; background: rgba(13,27,62,.1); border-radius: 20px; height: 16px; overflow: hidden; }
.funnel-balken span { display: block; height: 100%; background: var(--navy); border-radius: 20px; min-width: 2px; }
.funnel-wert { font-size: 14px; font-weight: 700; color: var(--navy); text-align: right; }
.funnel-quote { font-size: 12px; color: var(--muted); }
@media (max-width: 760px) { .funnel-zeile { grid-template-columns: 110px 1fr 36px; } .funnel-quote { grid-column: 1 / 4; margin-top: -4px; } }
.lead-zust { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.kontakt-zeile { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.kontakt-zeile .nf-item { margin: 0; }
.kontakt-zeile select { padding: 8px 10px; border: 1px solid #d5d8de; border-radius: 8px; font-family: inherit; font-size: 13px; background: #fff; color: var(--ink); }
.meta-box { background: var(--cream); border-radius: 12px; padding: 16px 22px; margin-bottom: 26px; }
.meta-box summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: 14.5px; }
.meta-box p { font-size: 13.5px; color: var(--muted); margin: 12px 0; }
.meta-felder { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.meta-felder input { flex: 1; min-width: 200px; margin: 0; }
.meta-felder .btn, .meta-felder .btn-ghost { padding: 10px 18px; font-size: 13.5px; }
.lead-row-status { font-size: 12.5px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.lead-row-wert { font-size: 14px; font-weight: 600; color: var(--navy); white-space: nowrap; min-width: 78px; text-align: right; }
.lead-detail { position: sticky; top: 90px; background: var(--cream); border-radius: 12px; padding: 26px 28px; }

/* Kundenseite: Lead als eigene, volle Seite */
.admin-layout.lead-offen { grid-template-columns: 1fr; }
.admin-layout.lead-offen .lead-list { display: none; }
.admin-layout.lead-offen .lead-detail { position: static; background: none; padding: 0; }

/* Phasenleiste: wo steht der Kunde */
.phasen { display: flex; overflow-x: auto; gap: 0; background: var(--cream); border-radius: 12px; padding: 20px 14px 16px; margin: 16px 0 22px; }
.phase { flex: 1; min-width: 116px; text-align: center; position: relative; padding: 0 6px; }
.phase::before { content: ''; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: rgba(13,27,62,.15); }
.phase:first-child::before { display: none; }
.phase.fertig::before { background: var(--navy); }
.phase-punkt { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; background: #fff; border: 2px solid rgba(13,27,62,.2); color: var(--muted); }
.phase.fertig .phase-punkt { background: var(--navy); border-color: var(--navy); color: #fff; }
.phase.aktuell .phase-punkt { background: var(--lime); border-color: var(--navy); color: var(--navy); box-shadow: 0 0 0 4px rgba(223,232,106,.35); }
.phase-name { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 8px; line-height: 1.25; }
.phase.fertig .phase-name, .phase.aktuell .phase-name { color: var(--navy); }
.phase-sub { display: block; font-size: 10.5px; color: var(--muted); margin-top: 2px; }

/* Karten-Raster: die Breite nutzen */
.lead-seite-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.lead-karte { background: var(--cream); border-radius: 12px; padding: 22px 24px; min-width: 0; }
.lead-karte h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 12px; }
.lead-karte-breit { grid-column: 1 / -1; }
.lead-nachricht { font-size: 14px; color: var(--ink); }
.verlauf-liste { max-height: 260px; overflow-y: auto; }
.anfrage-pre { font: 12.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; background: #fff; border-radius: 8px; padding: 14px; overflow-x: auto; white-space: pre-wrap; }
.naechster-schritt { background: var(--navy); color: #fff; border-radius: 10px; padding: 14px 16px; margin-bottom: 14px; }
.naechster-schritt .ns-label { display: inline-block; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: var(--lime); color: var(--navy); border-radius: 5px; padding: 3px 8px; margin-bottom: 8px; }
.naechster-schritt p { font-size: 13.5px; line-height: 1.55; margin-bottom: 10px; color: rgba(255,255,255,.92); }
.naechster-schritt .btn { padding: 10px 18px; font-size: 13.5px; }
@media (max-width: 1100px) { .lead-seite-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) {
  .lead-seite-grid { grid-template-columns: 1fr; }
  .phase { min-width: 96px; }
  .lead-karte { padding: 18px 16px; }
}
.lead-empty { color: var(--muted); font-size: 14.5px; }
.detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.detail-head strong { font-size: 20px; color: var(--navy); display: block; }
.detail-head span { font-size: 12.5px; color: var(--muted); }
.detail-status { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 14px; display: block; }
.detail-status select, .detail-status input { width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid #d5d8de; border-radius: 8px; font-family: inherit; font-size: 14px; background: #fff; color: var(--ink); }
.detail-row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; padding: 7px 0; border-bottom: 1px solid rgba(13,27,62,.08); }
.detail-row span:first-child { color: var(--muted); }
.detail-row a { color: var(--navy); text-decoration: underline; }
.detail-block { margin-top: 18px; }
.detail-block h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 8px; }
.detail-block p { font-size: 14px; color: var(--ink); }
.detail-block pre { font: 12.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; background: #fff; border-radius: 8px; padding: 14px; overflow-x: auto; white-space: pre-wrap; }
.nf-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 400; color: var(--ink); margin-bottom: 8px; cursor: pointer; }
.nf-item input { width: auto; margin: 0; accent-color: var(--navy); }
.nf-item.due { font-weight: 600; color: var(--navy); }
.note-list { list-style: none; margin: 0 0 12px; }
.note-list li { font-size: 14px; padding: 7px 0; border-bottom: 1px solid rgba(13,27,62,.08); }
.note-list li span { display: block; font-size: 11.5px; color: var(--muted); }
#noteForm { display: flex; gap: 10px; }
#noteForm input { flex: 1; margin: 0; }
#noteForm .btn { padding: 10px 18px; font-size: 13px; }
.admin-hint { margin-top: 30px; }

/* Tabs, Preisgestaltung, Konfigurations-Editor */
.admin-tabs { display: flex; gap: 8px; margin: 30px 0 26px; border-bottom: 1px solid rgba(13,27,62,.15); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.admin-tabs button { white-space: nowrap; flex: none; }
.admin-tabs button { font-family: inherit; font-size: 15px; font-weight: 600; color: var(--muted); background: none; border: none; border-bottom: 3px solid transparent; padding: 10px 18px; cursor: pointer; }
.admin-tabs button.is-active { color: var(--navy); border-bottom-color: var(--navy); }
.preise-kopf { background: var(--cream); border-radius: 12px; padding: 22px 26px; margin-bottom: 10px; }
.preise-kopf p { font-size: 14.5px; color: var(--ink); margin-bottom: 16px; }
.preise-kopf .sum-actions .btn-ghost { border-color: var(--navy); color: var(--navy); }
.preise-parameter { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px 18px; margin-bottom: 10px; }
.preise-parameter label { font-size: 12.5px; font-weight: 600; color: var(--navy); margin: 0; }
.preise-parameter input { margin-top: 4px; padding: 9px 11px; }
.preise-tabelle { overflow-x: auto; border: 1px solid rgba(13,27,62,.12); border-radius: 8px; margin-bottom: 8px; }
.preise-tabelle table { border-collapse: collapse; width: 100%; font-size: 13px; }
.preise-tabelle th, .preise-tabelle td { padding: 6px 10px; border-bottom: 1px solid rgba(13,27,62,.08); text-align: left; }
.preise-tabelle th { background: var(--cream); color: var(--navy); font-weight: 600; }
.preise-tabelle .r { text-align: right; }
.preise-tabelle input { width: 96px; margin: 0; padding: 6px 8px; text-align: right; }
.preis-abweichung { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--navy); background: var(--lime); border-radius: 5px; padding: 2px 7px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.detail-actions .btn, .detail-actions .btn-ghost { padding: 10px 18px; font-size: 13.5px; }
.ke-zeile { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; background: #fff; border-radius: 8px; padding: 8px 10px; margin-bottom: 8px; font-size: 13px; }
.ke-zeile select, .ke-zeile input { margin: 0; padding: 6px 8px; font-size: 12.5px; width: auto; }
.ke-zeile input[type=number] { width: 66px; }
.ke-preis { margin-left: auto; font-weight: 600; color: var(--navy); white-space: nowrap; }
.ke-glaspreis { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.ke-glaspreis input { width: 62px; }
.ke-glaspreis[hidden] { display: none; }
.konfig-editor-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.konfig-editor-actions .btn, .konfig-editor-actions .btn-ghost { padding: 9px 16px; font-size: 13px; }
.ke-ecken { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--navy); margin: 0; }
.ke-ecken input { width: 64px; margin: 0; padding: 6px 8px; }

.ads-box { max-width: 720px; }
.ads-upload { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 18px 0; }
.ads-upload .btn { padding: 11px 20px; font-size: 14px; }
#adsFileName { font-size: 13.5px; color: var(--muted); }
.ads-quelle { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--navy); margin: 0 0 0 auto; }
.ads-quelle select { padding: 10px 12px; border: 1px solid #d5d8de; border-radius: 8px; font-family: inherit; font-size: 14px; background: #fff; color: var(--ink); }
.ads-subhead { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 18px 0 10px; }
.ads-map-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px 14px; }
.ads-map-grid label { font-size: 12.5px; font-weight: 600; color: var(--navy); margin: 0; }
.ads-map-grid select { width: 100%; margin-top: 4px; padding: 8px 10px; border: 1px solid #d5d8de; border-radius: 8px; font-family: inherit; font-size: 13px; background: #fff; color: var(--ink); }
.ads-preview { overflow-x: auto; border: 1px solid rgba(13,27,62,.12); border-radius: 8px; margin-bottom: 18px; }
.ads-preview table { border-collapse: collapse; font-size: 12.5px; width: 100%; }
.ads-preview th, .ads-preview td { padding: 7px 10px; border-bottom: 1px solid rgba(13,27,62,.08); text-align: left; white-space: nowrap; color: var(--ink); }
.ads-preview th { background: var(--cream); color: var(--navy); font-weight: 600; }
@media (max-width: 760px) { .ads-map-grid { grid-template-columns: 1fr 1fr; } .ads-quelle { margin-left: 0; } }
@media (max-width: 1000px) {
  .admin-layout { grid-template-columns: 1fr; }
  .lead-detail { position: static; }
  .admin-toolbar input[type=search] { width: 100%; }
}

@media print {
  .site-header, .site-footer, .konfig-steps, .sum-actions, .kstep, .burger,
  .konfig-page > .container:first-child .konfig-intro, .form-note, #anfrage button[type=submit], .consent { display: none !important; }
  .konfig-page { padding: 0; }
  .konfig-layout { grid-template-columns: 1fr; padding-bottom: 0; margin-top: 0; }
  .konfig-summary { position: static; background: #fff; color: var(--navy); border: 1px solid rgba(13,27,62,.3); border-radius: 0; }
  .sum-line { border-bottom-color: rgba(13,27,62,.15); }
  .sum-line-text span { color: var(--muted); }
  .sum-total strong { color: var(--navy); }
  .sum-note { color: var(--muted); }
  #anfrage { background: #fff; padding: 20px 0; }
}

/* ── Admin: Bereiche + Untertabs ── */
.admin-bereiche { margin-bottom: 0; border-bottom: none; }
.admin-bereiche button { font-size: 16px; padding: 10px 20px 12px; }
.admin-untertabs { margin-top: 0; margin-bottom: 22px; background: var(--cream); border-radius: 0 10px 10px 10px; border-bottom: none; padding: 4px 8px; }
.admin-untertabs button { font-size: 13.5px; padding: 9px 14px; border-bottom: none; border-radius: 8px; }
.admin-untertabs button.is-active { background: var(--navy); color: #fff; }
.admin-untertabs[hidden] { display: none; }

/* ── Lead-Seite: Untertabs, Zweispalter, Icons ── */
.lead-subtabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 18px; }
.lead-subtabs button { font-family: inherit; font-size: 13px; font-weight: 600; color: var(--navy); background: var(--cream); border: none; border-radius: 20px; padding: 8px 16px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.lead-subtabs button.is-active { background: var(--navy); color: #fff; }
.mail-subtabs { margin: 6px 0 14px; }
.mail-subtabs button { background: #fff; }
.mail-subtabs button.is-active { background: var(--navy); color: #fff; }
.ikon { vertical-align: -2px; flex: none; }
.lead-zweispalt { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.lead-karte + .lead-karte-breit, .lead-karte-breit + .lead-karte-breit { margin-top: 14px; }
.lead-karte-breit { margin-bottom: 14px; }
.lead-karte h4 { display: flex; align-items: center; gap: 8px; }

/* Naechster Schritt (einzeilig) */
.naechster-schritt { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; line-height: 1.5; margin: 4px 0 16px; }
.naechster-schritt > span { flex: none; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: var(--lime); color: var(--navy); border-radius: 5px; padding: 3px 8px; }
.naechster-schritt.fertig { background: var(--navy-soft); }
.naechster-schritt .btn, .naechster-schritt .btn-ghost { flex: none; }
.naechster-schritt .btn-navy { background: #fff; color: var(--navy); }

/* Stufenliste: vom Angebot zur Schlussrechnung */
.stufen-liste { display: flex; flex-direction: column; gap: 0; }
.stufe { display: flex; align-items: center; gap: 14px; padding: 12px 10px; border-bottom: 1px solid rgba(13,27,62,.08); }
.stufe:last-child { border-bottom: none; }
.stufe-punkt { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid rgba(13,27,62,.25); color: var(--navy); font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.stufe.fertig .stufe-punkt { background: var(--navy); border-color: var(--navy); color: #fff; }
.stufe.aktuell { background: rgba(223,232,106,.28); border-radius: 10px; }
.stufe.aktuell .stufe-punkt { border-color: var(--navy); }
.stufe-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.stufe-text strong { font-size: 13.5px; color: var(--navy); display: inline-flex; align-items: center; gap: 7px; }
.stufe-text span { font-size: 12.5px; color: var(--muted); }
.stufe-aktion { flex: none; display: flex; align-items: center; gap: 10px; }
.stufe-hinweis { font-size: 12px; color: var(--muted); font-style: italic; }
.stufe-haken { white-space: nowrap; }

/* Statuszeile + Nachfassen */
.status-zeile { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 22px; margin-top: 6px; }
.status-haken { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-bottom: 6px; }
.nachfass-zeile { font-size: 13px; color: var(--ink); margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nachfass-zeile .ueberfaellig { color: #b3261e; font-weight: 700; }

/* Einklappbare Detailbloecke */
.lead-akkordeon { margin-bottom: 12px; border: 1px solid rgba(13,27,62,.12); border-radius: 12px; overflow: hidden; }
.lead-akkordeon summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--navy); padding: 13px 18px; background: #fff; list-style: none; }
.lead-akkordeon summary::before { content: '▸ '; color: var(--muted); }
.lead-akkordeon[open] summary::before { content: '▾ '; }
.lead-akkordeon summary::-webkit-details-marker { display: none; }
.lead-akkordeon > .lead-karte, .lead-akkordeon > .lead-zweispalt { border-radius: 0; margin-bottom: 0; }
.lead-akkordeon > .lead-zweispalt { padding: 0; gap: 1px; background: rgba(13,27,62,.08); }
.lead-akkordeon > .lead-zweispalt .lead-karte { border-radius: 0; }

/* Kalender */
.kal-liste { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.kal-eintrag { display: flex; align-items: center; gap: 16px; background: var(--cream); border-radius: 12px; padding: 14px 18px; flex-wrap: wrap; }
.kal-eintrag.ueberfaellig { outline: 2px solid #b3261e33; }
.kal-datum { flex: none; min-width: 86px; font-weight: 700; color: var(--navy); font-size: 13.5px; }
.kal-eintrag.ueberfaellig .kal-datum { color: #b3261e; }
.kal-main { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 2px; }
.kal-main strong a { color: var(--navy); text-decoration: none; border-bottom: 1px solid rgba(13,27,62,.3); }
.kal-main span { font-size: 12.5px; color: var(--muted); }
.kal-aktionen { flex: none; display: flex; gap: 8px; }

@media (max-width: 860px) {
  .lead-zweispalt { grid-template-columns: 1fr; }
  .stufe { flex-wrap: wrap; }
  .stufe-aktion { width: 100%; justify-content: flex-end; }
}

/* Konfigurator: Anzahl + Notiz je Position */
.pos-extras { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin: 14px 0 12px; }
.pos-anzahl-feld { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.pos-anzahl-feld input { width: 58px; height: 42px; padding: 0 6px; border: 1px solid rgba(13,27,62,.2); border-radius: 8px; font: inherit; text-align: center; box-sizing: border-box; }
.pos-extras input[type=text] { flex: 1; min-width: 220px; height: 42px; padding: 0 12px; border: 1px solid rgba(13,27,62,.2); border-radius: 8px; font: inherit; box-sizing: border-box; }

/* ── Tesla-Stil-Konfigurator (Admin) ── */
.k2 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 26px; align-items: start; margin-top: 18px; }
.k2-visual { position: sticky; top: 92px; }
.k2-buehne { background: linear-gradient(180deg, #f7f6f2 0%, #ece9e2 78%, #dfdcd4 100%); border-radius: 16px; padding: 26px 18px 10px; overflow: hidden; }
.k2-drehung { transition: transform .45s ease; transform-style: preserve-3d; }
.k2-drehung svg { display: block; width: 100%; height: auto; max-height: 52vh; }
.k2-winkel { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.k2-preis { margin-top: 14px; display: flex; flex-direction: column; gap: 3px; }
.k2-preis strong { font-size: 26px; letter-spacing: -0.01em; color: var(--navy); }
.k2-preis span { font-size: 12.5px; color: var(--muted); }
.k2-panel { max-height: calc(100vh - 130px); overflow-y: auto; padding: 2px 6px 40px 2px; }
.k2-panel section { margin-bottom: 22px; }
.k2-panel h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 10px; }
.k2-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.k2-chip { font-family: inherit; font-size: 13px; font-weight: 600; color: var(--navy); background: var(--cream); border: 2px solid transparent; border-radius: 22px; padding: 9px 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.k2-chip.is-active { border-color: var(--navy); background: #fff; }
.k2-swatch { width: 15px; height: 15px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); flex: none; }
.k2-mass { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.k2-mass input[type=range] { flex: 1; accent-color: var(--navy); }
.k2-mass input[type=number] { width: 70px; padding: 8px 6px; border: 1px solid rgba(13,27,62,.2); border-radius: 8px; font: inherit; text-align: center; }
@media (max-width: 980px) {
  .k2 { grid-template-columns: 1fr; }
  .k2-visual { position: static; }
  .k2-panel { max-height: none; overflow: visible; }
}

/* Lead abschliessen (kein Interesse / meldet sich nicht) */
.lead-row.verloren { opacity: .55; }
.lead-badge.verloren { background: rgba(13,27,62,.1); color: var(--muted); }
.lead-fertig { flex: none; font-size: 11.5px; font-weight: 600; color: var(--muted); border: 1px solid rgba(13,27,62,.22); border-radius: 14px; padding: 4px 10px; cursor: pointer; white-space: nowrap; }
.lead-fertig:hover { color: var(--navy); border-color: var(--navy); background: #fff; }
.lead-fertig-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); background: var(--cream); border-radius: 0 0 10px 10px; padding: 10px 16px; margin: -6px 0 8px; }
.lead-fertig-menu span[role=button] { font-weight: 600; color: var(--navy); border: 1px solid rgba(13,27,62,.25); border-radius: 14px; padding: 4px 11px; cursor: pointer; }
.lead-fertig-menu span[role=button]:hover { background: var(--navy); color: #fff; }
.lead-fertig-menu [data-fertigzu] { border: none; color: var(--muted); font-weight: 500; }
.lead-fertig-zeile { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }

/* ── KPI-Tab ── */
.kpi-karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.kpi-karte { background: var(--cream); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.kpi-karte span { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.kpi-karte strong { font-size: 26px; letter-spacing: -0.01em; color: var(--navy); }
.kpi-karte em { font-style: normal; font-size: 12px; color: var(--muted); }
.kpi-legende { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.kpi-serie { font-family: inherit; font-size: 12.5px; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid rgba(13,27,62,.15); border-radius: 16px; padding: 6px 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; opacity: .55; }
.kpi-serie.an { color: var(--navy); opacity: 1; border-color: rgba(13,27,62,.3); }
.kpi-punkt { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.kpi-chart { background: #fff; border-radius: 10px; padding: 12px 8px 6px; }
.kpi-chart svg { display: block; width: 100%; height: auto; }

/* ── Blog-Agent "Nele": Themenvorschlaege, Entwuerfe, FAQ-Editor ── */
.blog-karte { margin-bottom: 14px; }
.blog-entwurf > summary { cursor: pointer; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; list-style: none; }
.blog-entwurf > summary::-webkit-details-marker { display: none; }
.blog-entwurf > summary::before { content: '▸'; color: var(--muted); font-size: 13px; }
.blog-entwurf[open] > summary::before { content: '▾'; }
.blog-entwurf[open] > summary { margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid #e6e3db; }
.blog-entwurf-titel { font-size: 15px; font-weight: 600; color: var(--navy); flex: 1 1 320px; }
.blog-karte-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.blog-karte-kopf strong { font-size: 15px; color: var(--navy); }
.blog-feld-titel { flex: 1; min-width: 220px; font-size: 15px; font-weight: 700; color: var(--navy); border: 1px solid rgba(13,27,62,.18); border-radius: 8px; padding: 8px 10px; font-family: inherit; }
.blog-keyword { font-size: 11.5px; font-weight: 700; background: var(--lime); color: var(--navy); border-radius: 12px; padding: 3px 10px; white-space: nowrap; }
.blog-label { display: block; font-size: 12px; color: var(--muted); margin: 10px 0 4px; }
.blog-label input[type=text], .blog-label textarea { width: 100%; margin-top: 4px; border: 1px solid rgba(13,27,62,.18); border-radius: 8px; padding: 8px 10px; font-family: inherit; font-size: 13.5px; box-sizing: border-box; }
.blog-label-titel { display: block; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 14px 0 8px; }
.blog-faq-liste { display: flex; flex-direction: column; gap: 8px; }
.blog-faq-zeile { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
.blog-faq-zeile input { border: 1px solid rgba(13,27,62,.18); border-radius: 8px; padding: 7px 9px; font-family: inherit; font-size: 13px; }
@media (max-width: 700px) { .blog-faq-zeile { grid-template-columns: 1fr; } }

/* ── Ratgeber: dynamischer KI-Artikel ── */
.artikel-direkt { font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--cream); border-radius: 12px; padding: 18px 22px; margin: 18px 0 26px; }
.artikel-body { font-size: 16px; line-height: 1.75; color: var(--ink); max-width: 760px; }
.artikel-body h2 { font-size: 24px; margin: 34px 0 12px; color: var(--navy); letter-spacing: -0.01em; }
.artikel-body h3 { font-size: 19px; margin: 24px 0 10px; color: var(--navy); }
.artikel-body p { margin-bottom: 14px; }
.artikel-body ul, .artikel-body ol { margin: 0 0 14px 22px; }
.artikel-body table { width: 100%; border-collapse: collapse; margin: 18px 0 22px; font-size: 15px; display: block; overflow-x: auto; }
.artikel-body th, .artikel-body td { border: 1px solid #e3e0d8; padding: 9px 12px; text-align: left; vertical-align: top; }
.artikel-body th { background: var(--cream); color: var(--navy); font-weight: 600; white-space: nowrap; }
.artikel-body li { margin-bottom: 6px; }
.artikel-faq { max-width: 760px; margin-top: 14px; }
.artikel-faq-item { border-bottom: 1px solid rgba(13,27,62,.12); padding: 14px 0; }
.artikel-faq-item summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.artikel-faq-item p { margin: 10px 0 0; color: var(--muted); }
.artikel-cta { background: var(--navy); color: #fff; border-radius: 14px; padding: 26px 28px; margin: 34px 0 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; max-width: 760px; }
.artikel-cta p { margin: 0; font-size: 15px; max-width: 480px; }
.blog-card.blog-card-ai { position: relative; }
.blog-card.blog-card-ai::after { content: 'KI-Ratgeber'; position: absolute; top: 12px; right: 12px; font-size: 10.5px; font-weight: 700; background: var(--lime); color: var(--navy); border-radius: 10px; padding: 3px 9px; }

/* ── KPI-Graph: Hover-Tooltip mit Tageswerten ── */
.kpi-chart { position: relative; cursor: crosshair; }
.kpi-tooltip { position: absolute; z-index: 5; pointer-events: none; background: var(--navy); color: #fff; border-radius: 10px; padding: 10px 14px; font-size: 12.5px; min-width: 180px; box-shadow: 0 12px 30px rgba(13,27,62,.25); }
.kpi-tooltip strong { display: block; font-size: 12px; margin-bottom: 6px; color: var(--lime); }
.kpi-tooltip span { display: flex; align-items: center; gap: 7px; padding: 2px 0; white-space: nowrap; }
.kpi-tooltip .kpi-punkt { width: 8px; height: 8px; }

/* Ratgeber-Artikel: Titelbild */
.artikel-bild { width: 100%; max-width: 760px; height: 360px; object-fit: cover; border-radius: 14px; margin: 18px 0 22px; }
@media (max-width: 700px) { .artikel-bild { height: 220px; } }

/* Blog-Entwurf: Bildvorschau in der Kopfzeile */
.blog-bild-vorschau { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; flex: none; }
