/* =================================================================
   WEBSEITENRETTUNG.DE  –  Globales Stylesheet (Redesign hell)
   Heller Look: Weiß/Hellblau + Marineblau-Text + Limettengrün-Akzent
   ================================================================= */

:root {
  --accent:       #B4DD00;
  --accent-light: #C8EE1A;
  --accent-dark:  #8aa800;
  --accent-dim:   rgba(180,221,0,0.16);
  --cyan:         #1B9DD9;
  --cyan-dark:    #1380b5;
  --link:         #0d6ea8;
  --sos:          #E11D2A;
  --sos-tint:     rgba(225,29,42,0.08);
  --navy:         #0B2A4A;
  --navy-dark:    #07203a;
  --navy-deep:    #061a30;
  --bg:           #ffffff;
  --bg-soft:      #f3f7fb;
  --bg-blue:      #eaf3fa;
  --bg-card:      #ffffff;
  --ink:          #0B2A4A;
  --ink-soft:     #3f5670;
  --ink-muted:    #5a6b80;
  --text-on-dark: #e8eef5;
  --text-on-dark-muted: rgba(232,238,245,0.7);
  --border:       #e2e9f1;
  --border-soft:  #eef3f8;
  --border-dark:  rgba(255,255,255,0.1);
  --max-w:  1240px;
  --pad-x:  clamp(1rem, 5vw, 4rem);
  --nav-h:  84px;
  --r-sm:   .6rem;
  --r-md:   .9rem;
  --r-lg:   1.2rem;
  --r-xl:   1.6rem;
  --r-pill: 100px;
  --f-display:  'Plus Jakarta Sans', 'Barlow', sans-serif;
  --f-body:     'Plus Jakarta Sans', 'Barlow', sans-serif;
  --shadow-sm:  0 1px 3px rgba(11,42,74,.06), 0 4px 12px rgba(11,42,74,.05);
  --shadow-md:  0 6px 24px rgba(11,42,74,.09);
  --shadow-lg:  0 18px 50px rgba(11,42,74,.14);
  --shadow-accent: 0 3px 10px rgba(180,221,0,.22);
}

*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body { font-family: var(--f-body); background: var(--bg); color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
svg { display: inline-block; width: 1.2em; height: 1.2em; flex: none; }
#bg-canvas { display: none; }

.wrap { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--pad-x); }
.eyebrow { font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--link); }
.eyebrow.on-dark { color: var(--accent); }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--accent); color: var(--navy); padding: .7rem 1.2rem; font-weight: 700; border-radius: 0 0 var(--r-sm) 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1rem; letter-spacing: .005em; padding: 1rem 1.7rem; border: 2px solid transparent; border-radius: var(--r-sm); transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease; white-space: nowrap; line-height: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; }
.btn-accent { background: var(--accent); color: var(--navy); box-shadow: var(--shadow-accent); }
.btn-accent:hover { background: var(--accent-light); box-shadow: 0 5px 16px rgba(180,221,0,.32); }
.btn-sos { background: var(--accent); color: var(--navy); box-shadow: var(--shadow-accent); }
.btn-sos:hover { background: var(--accent-light); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-ghost-ink { background: #fff; color: var(--navy); border-color: var(--border); }
.btn-ghost-ink:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.btn-ghost-light:hover { border-color: var(--accent); color: var(--accent); }
.btn-onwhite { background: #fff; color: var(--navy); }
.btn-onwhite:hover { background: var(--accent); color: var(--navy); }
.btn-lg { font-size: 1.08rem; padding: 1.15rem 2rem; }
.btn-block { width: 100%; justify-content: center; }

/* HEADER */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s ease, border-color .3s ease, background .3s ease; }
.header.scrolled { background: rgba(255,255,255,.96); box-shadow: var(--shadow-sm); border-bottom-color: var(--border); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--f-display); font-size: 1.4rem; font-weight: 800; letter-spacing: -.01em; color: var(--navy); }
.brand-text small { font-size: .82rem; font-weight: 600; color: var(--ink-muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav-links { display: flex; align-items: center; gap: 1.7rem; list-style: none; padding: 0; }
.nav-links > li > a { font-weight: 700; font-size: .98rem; color: var(--navy); padding: .5rem 0; display: inline-flex; align-items: center; gap: .3rem; }
.nav-links > li > a:hover { color: var(--cyan); }
.nav-has-sub { position: relative; }
.nav-sub { position: absolute; top: calc(100% + .5rem); left: -1rem; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: .5rem; min-width: 250px; list-style: none; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease; }
.nav-has-sub:hover .nav-sub, .nav-has-sub:focus-within .nav-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-sub a { display: block; padding: .65rem .85rem; border-radius: var(--r-sm); font-size: .94rem; font-weight: 600; color: var(--ink-soft); }
.nav-sub a:hover { background: var(--bg-soft); color: var(--cyan); }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; color: var(--navy); }
.nav-toggle svg { width: 28px; height: 28px; }
@media (max-width: 1024px) {
  .nav-links, .nav .btn-sos { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: var(--nav-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); padding: 1rem var(--pad-x) 1.6rem; gap: .2rem; }
  .nav.open .nav-links a { padding: .75rem 0; width: 100%; }
  .nav.open .nav-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; background: transparent; min-width: 0; }
  .nav.open .btn-sos { display: inline-flex; margin-top: .8rem; }
}

/* HERO */
.hero { position: relative; z-index: 1; padding-top: calc(var(--nav-h) + 3.5rem); padding-bottom: 4rem; min-height: 620px; display: flex; align-items: center;
  background:
    linear-gradient(100deg, #fff 0%, #fff 30%, rgba(255,255,255,.7) 42%, rgba(255,255,255,0) 55%),
    linear-gradient(180deg, rgba(255,255,255,0) 72%, var(--bg-soft) 100%),
    url('/hero-rettung.webp');
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: center, center, right 0 center;
  background-size: cover, cover, 62% auto;
  overflow: hidden; }
.hero-grid { display: block; }
.hero-text { max-width: 600px; }
.hero h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.8rem, 6.5vw, 5rem); line-height: .98; letter-spacing: -.02em; color: var(--navy); margin-bottom: 1.3rem; }
.hero h1 .hl { background: linear-gradient(95deg, #0090b4 0%, #0d6fc0 52%, #0a3aa0 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #0d6fc0; position: relative; display: inline-block; }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .12em; background: var(--accent); border-radius: 2px; z-index: -1; }
.hero-lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 42ch; margin-bottom: 1.6rem; font-weight: 500; }
.hero-lead strong { color: var(--navy); font-weight: 700; }
.hero-usp { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; margin-bottom: 2rem; }
.hero-usp span { display: inline-flex; align-items: center; gap: .5rem; font-size: .98rem; font-weight: 600; color: var(--navy); }
.hero-usp .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.hero-usp .tick svg { width: 13px; height: 13px; color: var(--navy); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-visual .placeholder { aspect-ratio: 16/11; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 55%, var(--cyan-dark) 130%); display: grid; place-items: center; color: var(--text-on-dark-muted); border: 1px solid var(--border); text-align: center; padding: 2rem; font-size: .9rem; }
@media (max-width: 920px) {
  .hero { min-height: 0; padding-bottom: 56vw; background-position: center, center, center bottom; background-size: cover, cover, 130% auto; }
  .hero-text { max-width: none; }
  .hero-lead { max-width: none; }
}

/* PROBLEM-LEISTE */
.prob-bar-wrap { position: relative; z-index: 2; margin-top: -1.5rem; }
.prob-bar { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-md); display: grid; grid-template-columns: repeat(8, 1fr); overflow: hidden; }
.prob-bar a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55rem; padding: 1.5rem .8rem; border-right: 1px solid var(--border-soft); transition: background .15s ease; }
.prob-bar a:last-child { border-right: 0; }
.prob-bar a:hover { background: var(--bg-soft); }
.prob-ico { width: 44px; height: 44px; display: grid; place-items: center; color: var(--cyan); position: relative; }
.prob-ico svg { width: 30px; height: 30px; }
.prob-ico .warn { position: absolute; right: -2px; bottom: -2px; width: 16px; height: 16px; color: var(--sos); }
.prob-bar .prob-label { display:block; font-size: .82rem; font-weight: 700; color: var(--navy); line-height: 1.2; }
@media (max-width: 1024px) { .prob-bar { grid-template-columns: repeat(4, 1fr); } .prob-bar a:nth-child(4n) { border-right: 0; } .prob-bar a:nth-child(-n+4) { border-bottom: 1px solid var(--border-soft); } }
@media (max-width: 560px) { .prob-bar { grid-template-columns: repeat(2, 1fr); } .prob-bar a:nth-child(2n) { border-right: 0; } .prob-bar a { border-bottom: 1px solid var(--border-soft); } }

/* SECTIONS */
section { position: relative; z-index: 1; }
.section { padding: 5rem 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: var(--text-on-dark); }
.section-navy .eyebrow { color: var(--accent); }
.section-head { max-width: 660px; margin-bottom: 2.8rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.05; letter-spacing: -.02em; color: var(--navy); margin: .5rem 0 .7rem; }
.section-navy .section-head h2 { color: #fff; }
.section-head p { font-size: 1.1rem; color: var(--ink-soft); }
.section-navy .section-head p { color: var(--text-on-dark-muted); }

/* PROZESS + STAT */
.proc-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.4rem; align-items: stretch; }
.proc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-self: center; }
.proc-step { text-align: center; padding: .5rem; position: relative; }
.proc-step-ico { width: 72px; height: 72px; margin: 0 auto .9rem; border-radius: 50%; background: #fff; border: 1px solid var(--border); display: grid; place-items: center; position: relative; box-shadow: var(--shadow-sm); }
.proc-step-ico svg { width: 30px; height: 30px; color: var(--cyan); }
.proc-step-num { position: absolute; top: -6px; left: 50%; transform: translateX(-50%) translateX(28px); width: 26px; height: 26px; border-radius: 50%; background: var(--cyan); color: #fff; font-weight: 800; font-size: .85rem; display: grid; place-items: center; border: 3px solid var(--bg-soft); }
.proc-step h3 { font-weight: 800; font-size: 1.18rem; color: var(--navy); margin-bottom: .35rem; }
.proc-step p { font-size: .92rem; color: var(--ink-muted); }
.stat-box { background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%); border-radius: var(--r-xl); padding: 2.4rem; display: grid; grid-template-columns: auto 1fr; gap: 1.8rem; align-items: center; color: var(--text-on-dark); }
.stat-num { font-family: var(--f-display); font-weight: 800; font-size: clamp(3.6rem, 8vw, 4.8rem); line-height: .9; color: var(--accent); letter-spacing: -.03em; }
.stat-num small { font-size: .42em; }
.stat-sub { font-size: .92rem; color: var(--text-on-dark-muted); margin-top: .5rem; max-width: 24ch; }
.stat-list { list-style: none; padding: 0; display: grid; gap: .6rem; }
.stat-list li { display: flex; align-items: center; gap: .65rem; font-size: .98rem; }
.stat-list svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
@media (max-width: 920px) { .proc-wrap { grid-template-columns: 1fr; } .stat-box { grid-template-columns: 1fr; text-align: center; } .stat-list { text-align: left; max-width: 340px; margin-inline: auto; } }
@media (max-width: 520px) { .proc-steps { grid-template-columns: 1fr; } .proc-step-num { transform: translateX(-50%) translateX(36px); } }

/* ASSISTENT-BANNER */
.assist-banner { background: linear-gradient(120deg, var(--bg-blue) 0%, #fff 100%); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 2rem 2.2rem; display: grid; grid-template-columns: auto 1fr auto; gap: 1.8rem; align-items: center; box-shadow: var(--shadow-sm); }
.assist-banner .ring { width: 88px; height: 88px; flex: none; }
.assist-banner .ring img { width: 100%; height: 100%; object-fit: contain; }
.assist-banner h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.35rem, 2.6vw, 1.8rem); color: var(--navy); line-height: 1.1; margin-bottom: .35rem; }
.assist-banner h3 .hl { background: linear-gradient(95deg, #0090b4 0%, #0d6fc0 52%, #0a3aa0 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #0d6fc0; }
.assist-banner p { font-size: .98rem; color: var(--ink-soft); }
@media (max-width: 820px) { .assist-banner { grid-template-columns: auto 1fr; } .assist-banner .btn { grid-column: 1 / -1; justify-content: center; } }
@media (max-width: 520px) { .assist-banner { grid-template-columns: 1fr; text-align: center; } .assist-banner .ring { margin-inline: auto; } }
.mini-usps { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.4rem; margin-top: 2rem; }
.mini-usps span { display: inline-flex; align-items: center; gap: .55rem; font-size: .92rem; font-weight: 600; color: var(--ink-soft); }
.mini-usps svg { width: 18px; height: 18px; color: var(--cyan); }

/* CASE-KARTEN */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.case-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--navy-deep); position: relative; }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-thumb .tag { position: absolute; left: .8rem; top: .8rem; background: rgba(11,42,74,.88); color: #fff; font-weight: 700; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; padding: .3rem .7rem; border-radius: var(--r-pill); }
.case-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.case-body h3 { font-weight: 800; font-size: 1.12rem; color: var(--navy); margin-bottom: .4rem; line-height: 1.2; }
.case-body p { font-size: .9rem; color: var(--ink-muted); margin-bottom: 1rem; }
.case-link { margin-top: auto; font-weight: 800; font-size: .9rem; color: var(--link); display: inline-flex; align-items: center; gap: .4rem; }
.case-link:hover { gap: .7rem; color: var(--navy); }
@media (max-width: 980px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .case-grid { grid-template-columns: 1fr; } }

/* ALTERNATIVEN */
.alt-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2.6rem; background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 2.6rem; box-shadow: var(--shadow-sm); align-items: center; }
.alt-intro h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--navy); line-height: 1.05; margin-bottom: .7rem; letter-spacing: -.02em; }
.alt-intro p { color: var(--ink-soft); margin-bottom: 1.4rem; }
.alt-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.alt-item .alt-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-blue); color: var(--cyan); display: grid; place-items: center; margin-bottom: .7rem; }
.alt-item .alt-ico svg { width: 22px; height: 22px; }
.alt-item h3 { font-weight: 800; font-size: 1.06rem; color: var(--navy); margin-bottom: .3rem; }
.alt-item p { font-size: .88rem; color: var(--ink-muted); }
@media (max-width: 880px) { .alt-wrap { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .alt-list { grid-template-columns: 1fr; } }

/* PREISE */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 2rem; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); position: relative; }
.price-card.featured { border-color: var(--accent); border-width: 2px; box-shadow: var(--shadow-md); }
.price-card.featured::after { content: "Erster Schritt"; position: absolute; top: -13px; left: 2rem; background: var(--accent); color: var(--navy); font-weight: 800; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .8rem; border-radius: var(--r-pill); }
.price-label { font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--link); margin-bottom: .7rem; }
.price-amount { font-family: var(--f-display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--navy); letter-spacing: -.03em; }
.price-amount small { font-size: .85rem; font-weight: 600; color: var(--ink-muted); margin-left: .3rem; letter-spacing: 0; }
.price-desc { font-size: .92rem; color: var(--ink-soft); margin: .9rem 0 1.3rem; }
.price-feat { list-style: none; padding: 0; display: grid; gap: .6rem; margin-bottom: 1.6rem; flex: 1; }
.price-feat li { display: flex; gap: .55rem; align-items: flex-start; font-size: .93rem; color: var(--ink-soft); }
.price-feat svg { width: 18px; height: 18px; color: var(--accent-dark); flex: none; margin-top: .1rem; }
@media (max-width: 880px) { .price-grid { grid-template-columns: 1fr; } }
.honesty { margin-top: 1.8rem; background: var(--bg-blue); border: 1px solid var(--border); border-left: 4px solid var(--cyan); border-radius: var(--r-md); padding: 1.3rem 1.5rem; display: flex; gap: 1rem; align-items: flex-start; }
.honesty svg { width: 24px; height: 24px; color: var(--cyan); flex: none; margin-top: .1rem; }
.honesty p { font-size: .95rem; color: var(--ink-soft); }
.honesty strong { color: var(--navy); }

/* WARUM-WIR */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem; }
.why-item { display: flex; gap: 1rem; align-items: flex-start; }
.why-item .why-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--bg-blue); color: var(--cyan); display: grid; place-items: center; flex: none; }
.why-item .why-ico svg { width: 24px; height: 24px; }
.why-item h3 { font-weight: 800; font-size: 1.05rem; color: var(--navy); margin-bottom: .2rem; }
.why-item p { font-size: .9rem; color: var(--ink-muted); }
@media (max-width: 880px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .why-grid { grid-template-columns: 1fr; } }

/* TESTIMONIALS */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testi-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.testi-stars { display: inline-flex; gap: 2px; color: #b58900; margin-bottom: 1rem; }
.testi-stars svg { width: 18px; height: 18px; }
.testi-card blockquote { font-size: 1rem; color: var(--ink); line-height: 1.6; margin-bottom: 1.4rem; flex: 1; }
.testi-author { display: flex; align-items: center; gap: .8rem; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--bg-blue); color: var(--cyan); display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; flex: none; overflow: hidden; }
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.testi-author .name { font-weight: 800; color: var(--navy); font-size: .95rem; }
.testi-author .role { font-size: .82rem; color: var(--ink-soft); }
@media (max-width: 880px) { .testi-grid { grid-template-columns: 1fr; } }

/* ASSISTENT */
.assistant { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-md); overflow: hidden; max-width: 720px; margin-inline: auto; }
.assistant-bar { height: 6px; background: var(--bg-soft); }
.assistant-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .4s ease; }
.assistant-inner { padding: 2.4rem clamp(1.3rem, 4vw, 2.8rem) 2.6rem; }
.assistant-step-meta { font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--link); margin-bottom: .6rem; }
.assistant h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.1rem); color: var(--navy); line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -.01em; }
.assistant-options { display: grid; gap: .7rem; }
.assistant-options.two { grid-template-columns: repeat(2, 1fr); }
.opt { text-align: left; background: var(--bg-soft); border: 2px solid var(--border); border-radius: var(--r-sm); padding: 1rem 1.2rem; font-size: 1rem; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: .8rem; transition: border-color .15s ease, background .15s ease; }
.opt:hover { border-color: var(--cyan); background: #fff; }
.opt.selected { border-color: var(--accent); background: var(--accent-dim); }
.assistant-nav { display: flex; justify-content: space-between; margin-top: 1.6rem; }
.assistant-back { background: none; border: 0; color: var(--ink-muted); font-weight: 700; font-size: .92rem; display: inline-flex; align-items: center; gap: .4rem; }
.assistant-back:hover { color: var(--navy); }
.assistant-back[hidden] { visibility: hidden; }
.assistant-result { text-align: center; padding: .5rem 0; }
.result-ico { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 1.3rem; display: grid; place-items: center; }
.result-ico svg { width: 42px; height: 42px; }
.result-ico.good { background: var(--accent-dim); color: var(--accent-dark); }
.result-ico.maybe { background: var(--bg-blue); color: var(--cyan); }
.result-ico.hard { background: var(--sos-tint); color: var(--sos); }
.assistant-result h2 { margin-bottom: .8rem; }
.assistant-result p { color: var(--ink-soft); max-width: 46ch; margin: 0 auto 1.6rem; }
.result-cta { display: flex; flex-direction: column; gap: .7rem; max-width: 360px; margin: 0 auto; }
.result-fine { font-size: .84rem; color: var(--ink-muted); margin-top: 1rem; }
@media (max-width: 520px) { .assistant-options.two { grid-template-columns: 1fr; } }

/* FAQ */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: .8rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; color: var(--navy); padding: 1.2rem 1.4rem; font-weight: 800; font-size: 1.08rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-q svg { width: 22px; height: 22px; color: var(--cyan); flex: none; transition: transform .25s ease; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); font-size: .98rem; }
.section-navy .faq-item { background: rgba(255,255,255,.04); border-color: var(--border-dark); }
.section-navy .faq-q { color: #fff; }
.section-navy .faq-a p { color: var(--text-on-dark-muted); }

/* FINAL-CTA */
.cta-bar { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; }
.cta-bar .wrap { padding-block: 3rem; }
.cta-top { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding-bottom: 2.2rem; border-bottom: 1px solid var(--border-dark); }
.cta-top h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.7rem, 3.5vw, 2.4rem); line-height: 1.05; letter-spacing: -.02em; }
.cta-top p { color: var(--text-on-dark-muted); margin-top: .4rem; }
.cta-contacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; padding-top: 2.2rem; }
.cta-contact { display: flex; gap: .8rem; align-items: flex-start; }
.cta-contact .ic { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; flex: none; color: var(--accent); }
.cta-contact .ic svg { width: 20px; height: 20px; }
.cta-contact .lbl { font-size: .82rem; color: var(--text-on-dark-muted); }
.cta-contact .val { font-weight: 800; font-size: 1rem; }
.cta-contact small { display: block; font-size: .78rem; color: var(--text-on-dark-muted); font-weight: 400; }
@media (max-width: 880px) { .cta-top { grid-template-columns: 1fr; } .cta-contacts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cta-contacts { grid-template-columns: 1fr; } }

/* FOOTER */
.footer { background: var(--navy-deep); color: var(--text-on-dark-muted); position: relative; z-index: 1; padding: 3.6rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.6rem; }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand .brand-text b { color: #fff; }
.footer-brand .brand-text small { color: var(--text-on-dark-muted); }
.footer-brand p { font-size: .92rem; max-width: 34ch; margin-bottom: 1.2rem; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: background .2s ease; }
.footer-social a:hover { background: var(--accent); color: var(--navy); }
.footer-social svg { width: 18px; height: 18px; }
.footer .foot-h { display:block; font-weight: 800; font-size: .92rem; letter-spacing: .04em; color: #fff; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer ul a { font-size: .92rem; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border-dark); padding-top: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom a:hover { color: var(--accent); }
.footer-mp { color: #fff; font-weight: 600; }
.footer-mp:hover { color: #fff; text-decoration: underline; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* WHATSAPP + COOKIE */
.wa-float { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s ease; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.cookie { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 120; max-width: 540px; background: #fff; color: var(--ink); border: 1px solid var(--border); border-radius: var(--r-md); padding: 1.2rem 1.4rem; box-shadow: var(--shadow-lg); display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.cookie p { font-size: .88rem; color: var(--ink-soft); flex: 1; min-width: 200px; }
.cookie a { color: var(--link); text-decoration: underline; }
.cookie button { white-space: nowrap; }
.cookie[hidden] { display: none; }

/* SUB-PAGE */
.sub-hero { position: relative; z-index: 1; padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 3rem; background: linear-gradient(100deg, #fff 0%, #fff 30%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 72%), url('/bg.webp') right center / cover no-repeat, #eaf3fa; }
.crumb { font-weight: 700; font-size: .85rem; color: var(--ink-muted); margin-bottom: 1rem; }
.crumb a:hover { color: var(--cyan); }
.sub-hero h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1; color: var(--navy); margin-bottom: 1rem; max-width: 20ch; letter-spacing: -.02em; }
.sub-hero h1 .hl { background: linear-gradient(95deg, #0090b4 0%, #0d6fc0 52%, #0a3aa0 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #0d6fc0; }
.sub-hero .lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 56ch; margin-bottom: 1.8rem; font-weight: 500; }
.sub-hero .hero-cta { margin-bottom: 0; }
.doc-layout { display: grid; grid-template-columns: 1fr 320px; gap: 3rem; align-items: start; }
.doc-prose { color: var(--ink); }
.doc-prose h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.1rem); color: var(--navy); margin: 2.2rem 0 .9rem; line-height: 1.1; letter-spacing: -.01em; }
.doc-prose h2:first-child { margin-top: 0; }
.doc-prose h3 { font-weight: 800; font-size: 1.22rem; color: var(--navy); margin: 1.6rem 0 .5rem; }
.doc-prose p { margin-bottom: 1rem; color: var(--ink-soft); }
.doc-prose ul, .doc-prose ol { margin: 0 0 1.2rem 1.2rem; color: var(--ink-soft); }
.doc-prose li { margin-bottom: .5rem; }
.doc-prose strong { color: var(--navy); }
.doc-prose .lead-p { font-size: 1.14rem; color: var(--ink); font-weight: 500; }
.doc-checklist { list-style: none; margin-left: 0 !important; display: grid; gap: .65rem; }
.doc-checklist li { display: flex; gap: .65rem; align-items: flex-start; }
.doc-checklist svg { width: 20px; height: 20px; color: var(--accent-dark); flex: none; margin-top: .2rem; }
.doc-sidebar { position: sticky; top: calc(var(--nav-h) + 1.5rem); display: grid; gap: 1.2rem; }
.side-card { background: linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--text-on-dark); border-radius: var(--r-lg); padding: 1.6rem; }
.side-card h3 { font-weight: 800; font-size: 1.15rem; color: #fff; margin-bottom: .5rem; }
.side-card p { font-size: .9rem; color: var(--text-on-dark-muted); margin-bottom: 1.1rem; }
.side-card .price-tag { font-family: var(--f-display); font-weight: 800; font-size: 2.2rem; color: var(--accent); line-height: 1; margin-bottom: .2rem; }
.side-card .price-tag small { font-size: .85rem; font-weight: 600; color: var(--text-on-dark-muted); }
.side-links { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.5rem; }
.side-links h3 { font-weight: 800; font-size: 1rem; color: var(--navy); margin-bottom: .9rem; }
.side-links ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.side-links a { font-size: .92rem; color: var(--ink-soft); display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.side-links a:hover { color: var(--cyan); }
.side-links svg { width: 15px; height: 15px; color: var(--accent-dark); flex: none; }
@media (max-width: 880px) { .doc-layout { grid-template-columns: 1fr; } .doc-sidebar { position: static; } .side-figure { display: none; } }

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
[hidden] { display: none !important; }

/* GLOSSAR */
.gloss-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 2.5rem; padding: 1.2rem; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-md); }
.gloss-nav a { font-size: .9rem; font-weight: 700; color: var(--cyan-dark); padding: .35rem .7rem; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--border); }
.gloss-nav a:hover { background: var(--accent); color: var(--navy); border-color: var(--accent); }
.gloss-entry { scroll-margin-top: calc(var(--nav-h) + 1rem); padding-top: 1rem; }
.gloss-entry + .gloss-entry { border-top: 1px solid var(--border-soft); margin-top: 1.5rem; }
.gloss-entry h2 { margin-bottom: .6rem; }

/* RATGEBER-ARTIKEL */
.article-meta { font-size: .85rem; color: var(--ink-muted); font-weight: 600; }
.sub-hero .article-meta { margin-top: .6rem; }
.article-foot { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--border-soft); font-size: .85rem; color: var(--ink-muted); }
.article-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.article-nav-link { font-weight: 700; color: var(--cyan-dark); font-size: .92rem; max-width: 48%; }
.article-nav-link:hover { color: var(--accent-dark); }
@media (max-width: 640px) { .article-nav-link { max-width: 100%; } }

/* RETTUNGS-CHECK: volle Breite auf eigener Seite (nur check.html) */
.assistant-wide { max-width: none; }
.assistant-wide .assistant-inner { padding: 2.8rem clamp(1.5rem, 5vw, 4rem) 3rem; }
.assistant-wide .assistant-options { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.assistant-wide .assistant-options.two { grid-template-columns: repeat(2, 1fr); }
.assistant-wide .assistant-result p { max-width: 60ch; }
@media (max-width: 720px) {
  .assistant-wide .assistant-options,
  .assistant-wide .assistant-options.two { grid-template-columns: 1fr; }
}

/* SUB-HERO MIT BILD RECHTS (Unterseiten) */
.sub-hero.has-visual { overflow: hidden; }
.sub-hero.has-visual .wrap { display: grid; grid-template-columns: 1fr minmax(300px, 460px); gap: 2.5rem; align-items: center; position: relative; z-index: 2; }
.sub-hero-text { min-width: 0; }
.sub-hero-visual { display: flex; align-items: center; justify-content: center; position: relative; }
.sub-hero-visual img { position: relative; z-index: 2; width: 100%; height: auto; max-width: 460px; filter: drop-shadow(0 18px 40px rgba(11,42,74,.16)); }
@media (max-width: 900px) {
  .sub-hero.has-visual .wrap { grid-template-columns: 1fr; gap: 1.5rem; }
  .sub-hero-visual { order: -1; max-width: 360px; margin: 0 auto; }
  .sub-hero-visual img { max-width: 360px; }
}
@media (max-width: 560px) {
  .sub-hero-visual { display: none; }
}

/* ARTIKEL-HEADERBILD (Ratgeber-Einzelseiten) */
.side-figure { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.side-figure img { width: 100%; height: auto; aspect-ratio: 900 / 480; object-fit: cover; display: block; }

/* SUB-HERO: dezente Trennung zum Content darunter (kein harter Farbwechsel) */
.sub-hero { border-bottom: 1px solid var(--border); box-shadow: 0 12px 28px -18px rgba(11,42,74,.22); }
.sub-hero.has-visual { overflow: hidden; }

/* LEISTUNGEN: Notfall-Karten (2 Spalten, Box-Layout) */
.prob-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.notfall-card { display: flex; align-items: flex-start; gap: 1.1rem; padding: 1.4rem 1.5rem; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; position: relative; }
.notfall-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--cyan); }
.notfall-ico { flex: none; width: 48px; height: 48px; display: grid; place-items: center; background: var(--bg-blue); border-radius: var(--r-md); color: var(--cyan-dark); position: relative; }
.notfall-ico svg { width: 26px; height: 26px; }
.notfall-ico .prob-warn { position: absolute; right: -5px; top: -5px; width: 18px; height: 18px; }
.notfall-body { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.notfall-title { font-family: var(--f-display); font-weight: 700; font-size: 1.08rem; color: var(--navy); line-height: 1.2; }
.notfall-desc { font-size: .92rem; color: var(--ink-muted); line-height: 1.45; }
.notfall-arrow { flex: none; align-self: center; color: var(--ink-muted); transition: transform .18s ease, color .18s ease; }
.notfall-arrow svg { width: 20px; height: 20px; }
.notfall-card:hover .notfall-arrow { color: var(--cyan); transform: translateX(3px); }
@media (max-width: 720px) { .prob-grid { grid-template-columns: 1fr; } }
