/* js/seiten/kampagne.css — Vorlage „kampagne“ (Co-Branding), Design nach computer-konkret.html.
   Alles unter .k-seite; Akzent kommt aus --k-akzent (Marke.farbe, Standard Navy). */
.k-seite {
  --navy: #0E2841; --navy-2: #17375A; --green: #7FD35B; --paper: #F6F7F9; --ink: #1B2430; --muted: #4A5568;
  --on-dark: #F4F6F9; --on-dark-2: #BFCCDB; --on-dark-3: #8FA3BA; --line: rgba(14,40,65,.10);
  --k-hell: color-mix(in srgb, var(--k-akzent) 22%, #fff); --k-papier: color-mix(in srgb, var(--k-akzent) 6%, #fff);
  --k-dunkel: color-mix(in srgb, var(--k-akzent) 82%, #000);
  --r-lg: 28px; --r-md: 20px; --r-sm: 14px;
  --head: 'ADLaM Display', Georgia, serif; --body: 'Source Sans 3', system-ui, -apple-system, sans-serif; --gutter: 20px;
  font-family: var(--body); color: var(--ink); background: var(--k-papier); line-height: 1.55; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
.k-seite *, .k-seite *::before, .k-seite *::after { box-sizing: border-box; }
.k-seite img, .k-seite svg { display: block; max-width: 100%; }
.k-seite a { color: inherit; text-decoration: none; }
.k-seite h1, .k-seite h2, .k-seite h3 { font-family: var(--head); font-weight: 400; line-height: 1.08; text-wrap: balance; letter-spacing: -.01em; margin: 0; }
.k-seite p { margin: 0; }
.k-seite .s-wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.k-seite mark, .k-seite .s-hero mark { background: none; color: var(--k-hell); }
.k-seite :focus-visible { outline: 3px solid var(--k-hell); outline-offset: 3px; border-radius: 8px; }
.k-seite .s-dz { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--k-dunkel); margin: 0; }
.k-seite .s-dz::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.k-seite .s-markiert { outline: 3px solid #0075FF; outline-offset: -3px; }

/* Kopf */
.k-kopf { position: sticky; top: 0; z-index: 50; background: rgba(14,40,65,.92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); }
.k-kopf-in { height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.k-cobrand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.k-seite .k-partner { height: 28px; width: auto; flex-shrink: 0; }
.k-partner-t { color: #fff; font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-seite .k-ehs { height: 28px; width: auto; flex-shrink: 0; }
.k-x { color: var(--on-dark-3); font-size: .85rem; }
.k-kopf-cta { flex-shrink: 0; background: var(--k-akzent); color: #fff !important; font-weight: 700; font-size: .88rem; padding: 9px 15px; border-radius: 999px; transition: filter .15s; }
.k-kopf-cta:hover { filter: brightness(.9); }
@media (max-width: 420px) { .k-cobrand { gap: 8px; } .k-seite .k-partner, .k-seite .k-ehs { height: 22px; } .k-kopf-cta { padding: 8px 12px; font-size: .82rem; } }
.k-seite h1, .k-seite h2, .k-seite h3 { hyphens: manual; -webkit-hyphens: manual; }

/* Abschnitte */
/* seite.css färbt gerade Abschnitte weiß (nth-of-type) und setzt Hero/CTA-Hintergrund mit !important: hier überstimmen */
.k-seite .s-sec { padding: 72px 0; scroll-margin-top: 62px; }
.k-seite .s-sec:nth-of-type(n) { background: transparent; }
.k-sec-head { max-width: 640px; margin-bottom: 32px; }
.k-seite .k-sec-head h2 { font-size: clamp(1.95rem, 6.5vw, 3rem); margin: 12px 0; color: var(--navy); }
.k-seite .s-mitte .k-sec-head { margin-left: auto; margin-right: auto; text-align: center; }
.k-seite .s-mitte > .s-wrap > .s-dz, .k-seite .s-mitte .k-sec-head .s-dz { display: flex; justify-content: center; }
.k-sec-text { color: var(--muted); font-size: 1.06rem; }

/* Hero */
.k-seite .s-hero { background: var(--navy) !important; color: var(--on-dark); position: relative; overflow: hidden; padding: 44px 0 48px; }
.k-seite .s-hero::after { content: ''; position: absolute; inset: auto -20% -40% auto; width: 520px; height: 520px; background: radial-gradient(closest-side, color-mix(in srgb, var(--k-akzent) 28%, transparent), transparent); pointer-events: none; }
.k-hero-in { display: grid; gap: 36px; position: relative; z-index: 1; }
.k-seite .s-hero .s-dz { color: var(--green); }
.k-seite .s-hero h1 { font-size: clamp(2.35rem, 9.5vw, 4.4rem); margin: 16px 0 18px; color: var(--on-dark); }
.k-lead { color: var(--on-dark-2); font-size: 1.1rem; max-width: 34em; }
.k-auswahl-t { margin: 28px 0 12px !important; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-3); }
.k-kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 460px; }
.k-kachel { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; border-radius: var(--r-md); background: var(--navy-2); border: 1.5px solid rgba(255,255,255,.08); transition: transform .15s, border-color .15s; }
.k-kachel:hover { transform: translateY(-2px); border-color: var(--k-hell); }
.k-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--k-akzent); color: #fff; }
.k-kachel:nth-child(even) .k-ic { background: var(--k-hell); color: var(--navy); }
.k-ic svg { width: 22px; height: 22px; }
.k-kachel b { font-size: 1.02rem; line-height: 1.2; color: var(--on-dark); }
.k-kachel > span:last-child:not(.k-ic) { font-size: .82rem; color: var(--on-dark-3); }
.k-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; font-size: .88rem; color: var(--on-dark-2); }
.k-trust li { list-style: none; display: flex; align-items: center; gap: 6px; }
.k-trust svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.k-seite .s-hero .s-btn { display: inline-block; margin-top: 24px; }
.k-seite .k-hero-img { width: 100%; max-width: 520px; margin: 0 auto; border-radius: var(--r-lg); }

/* Mosaik (Platzhalter ohne Hero-Bild) */
.k-mosaik { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 8px; max-width: 520px; width: 100%; margin: 0 auto; }
.k-mosaik i { aspect-ratio: 1; border-radius: 22%; background: var(--k-akzent); }
.k-mosaik i:nth-child(even) { background: var(--k-hell); }
.k-mosaik i:nth-child(3n) { background: var(--navy-2); }
.k-mosaik i:nth-child(6) { background: transparent; border: 1.5px dashed rgba(255,255,255,.18); }
.k-mosaik .k-hoch { grid-row: span 2; aspect-ratio: auto; border-radius: 999px; }
.k-mosaik .k-breit { grid-column: span 2; aspect-ratio: auto; border-radius: 999px; }
@media (prefers-reduced-motion: no-preference) {
  .k-mosaik i { animation: k-pop .6s cubic-bezier(.2,.8,.2,1.2) both; }
  .k-mosaik i:nth-child(2) { animation-delay: .05s; } .k-mosaik i:nth-child(3) { animation-delay: .1s; } .k-mosaik i:nth-child(4) { animation-delay: .15s; }
  .k-mosaik i:nth-child(5) { animation-delay: .2s; } .k-mosaik i:nth-child(6) { animation-delay: .25s; } .k-mosaik i:nth-child(7) { animation-delay: .3s; } .k-mosaik i:nth-child(8) { animation-delay: .35s; }
  @keyframes k-pop { from { opacity: 0; transform: scale(.6); } }
}

/* Themenkarten (Story-Karten) */
.k-seite .s-karten { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 18px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
.k-seite .s-karten::-webkit-scrollbar { display: none; }
.k-seite .s-karte { scroll-snap-align: start; aspect-ratio: 4 / 5; border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; background: var(--navy); color: var(--on-dark); border: 1px solid transparent; }
.k-seite .s-karte h3, .k-seite .s-karte p { color: inherit; }
.k-seite .s-karte:nth-child(4n+2) { background: var(--k-akzent); color: #fff; }
.k-seite .s-karte:nth-child(4n+3) { background: var(--k-hell); color: var(--navy); }
.k-seite .s-karte:nth-child(4n) { background: #fff; color: var(--navy); border-color: var(--line); }
.k-seite .s-etikett { align-self: flex-start; color: inherit; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.16); }
.k-seite .s-karte:nth-child(4n+3) .s-etikett { background: rgba(14,40,65,.1); }
.k-seite .s-karte:nth-child(4n) .s-etikett { background: var(--k-papier); }
.k-seite .s-stichwort { color: inherit; font-family: var(--head); font-weight: 400; font-size: clamp(3rem, 15vw, 4.4rem); line-height: .95; }
.k-seite .s-karte:nth-child(4n+1) .s-stichwort { color: var(--k-hell); }
.k-seite .s-karte:nth-child(4n) .s-stichwort { color: var(--k-akzent); }
.k-seite .s-karte h3 { font-family: var(--body); font-weight: 800; font-size: 1.2rem; line-height: 1.25; margin-bottom: 8px; }
.k-seite .s-karte p { font-size: .96rem; opacity: .85; }

/* Ablauf */
.k-seite ol.s-ablauf { display: grid; gap: 12px; counter-reset: k-s; grid-template-columns: none; list-style: none; padding: 0; margin: 0; }
.k-seite ol.s-ablauf li { display: block; background: #fff; border-radius: var(--r-md); padding: 20px 20px 20px 76px; position: relative; border: 1px solid var(--line); }
.k-seite ol.s-ablauf li::before { counter-increment: k-s; content: counter(k-s); position: absolute; left: 18px; top: 18px; width: 42px; height: 42px; border-radius: 13px; background: var(--navy); color: var(--k-hell); font-family: var(--head); font-size: 1.3rem; display: grid; place-items: center; }
.k-seite ol.s-ablauf li:nth-child(3n+2)::before { background: var(--k-akzent); color: #fff; }
.k-seite ol.s-ablauf li:nth-child(3n)::before { background: var(--k-hell); color: var(--navy); }
.k-seite ol.s-ablauf b { display: block; font-size: 1.08rem; color: var(--navy); margin-bottom: 2px; }
.k-seite ol.s-ablauf span { color: var(--muted); font-size: .96rem; }

/* Finder */
.k-seite .s-finder:nth-of-type(n) { background: var(--paper); }
.k-finder-karte { background: #fff; border-radius: var(--r-lg); box-shadow: 0 24px 60px -24px rgba(14,40,65,.35); overflow: hidden; border: 1px solid var(--line); margin: 0 calc(var(--gutter) * -1 + 8px); }
.k-finder-leiste { background: var(--navy); color: var(--on-dark); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
.k-finder-leiste b { font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.k-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(127,211,91,.2); }
.k-finder-leiste small { color: var(--on-dark-3); font-size: .78rem; white-space: nowrap; }
@media (max-width: 420px) { .k-finder-leiste small { display: none; } }
.k-seite iframe.k-finder { display: block; width: 100%; min-height: 520px; height: 900px; border: 0; background: var(--paper); transition: height .2s; }
.k-finder-leer { height: 160px; display: grid; place-items: center; padding: 0 24px; text-align: center; color: var(--muted); background: var(--paper); }
.k-finder-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 16px !important; }
.k-finder-note a { text-decoration: underline; text-underline-offset: 3px; }

/* Duo */
.k-duo { display: grid; gap: 12px; }
.k-duo-karte { border-radius: var(--r-md); padding: 24px; }
.k-seite .k-duo-karte h3 { font-size: 1.5rem; margin: 10px 0 8px; }
.k-duo-karte p { font-size: .98rem; }
.k-seite .k-duo-p { background: var(--navy-2); color: var(--on-dark); }
.k-seite .k-duo-p .s-dz { color: var(--k-hell); }
.k-seite .k-duo-p h3 { color: var(--on-dark); }
.k-duo-p p { color: var(--on-dark-2); }
.k-seite .k-duo-e { background: #fff; border: 1px solid var(--line); }
.k-seite .k-duo-e .s-dz { color: #3E8A24; }
.k-seite .k-duo-e h3 { color: var(--navy); }
.k-duo-e p { color: var(--muted); }
.k-duo-plus { justify-self: center; width: 44px; height: 44px; border-radius: 50%; background: var(--k-akzent); color: #fff; display: grid; place-items: center; font-size: 1.5rem; font-weight: 700; margin: -28px 0; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--k-papier); }

/* FAQ */
.k-seite .s-faq-l { display: grid; gap: 10px; max-width: 760px; }
.k-seite .s-faq-l details { padding: 0; margin: 0; background: #fff; border-radius: var(--r-sm); border: 1px solid var(--line); }
.k-seite .s-faq-l summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--navy); position: relative; }
.k-seite .s-faq-l summary::-webkit-details-marker { display: none; }
.k-seite .s-faq-l summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 8px; background: var(--k-papier); color: var(--k-dunkel); display: grid; place-items: center; font-size: 1.2rem; }
.k-seite .s-faq-l details[open] summary::after { content: '–'; }
.k-seite .s-faq-l details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* Abschluss */
.k-seite .s-cta { background: var(--navy) !important; color: var(--on-dark); text-align: center; padding: 80px 0 72px; }
.k-seite .s-cta .s-dz { color: var(--green); }
.k-seite .s-cta h2 { font-size: clamp(2rem, 7vw, 3.2rem); margin: 14px auto; max-width: 16em; color: var(--on-dark); }
.k-seite .s-cta p { color: var(--on-dark-2); max-width: 32em; margin: 0 auto 28px; }
.k-seite .s-btn { display: inline-flex; align-items: center; justify-content: center; margin-top: 12px; border: 0; background: var(--k-akzent); color: #fff; font-weight: 800; font-size: 1.05rem; padding: 16px 28px; border-radius: 999px; box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--k-akzent) 70%, transparent); transition: transform .15s, filter .15s; }
.k-seite .s-btn:hover { filter: brightness(.9); transform: translateY(-1px); }

/* Fuß */
.k-fuss { background: var(--navy); border-top: 1px solid rgba(255,255,255,.08); color: var(--on-dark-3); font-size: .85rem; padding: 24px 0 calc(96px + env(safe-area-inset-bottom)); }
.k-fuss-in { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; align-items: center; }
.k-fuss nav { display: flex; gap: 18px; }
.k-fuss a:hover { color: var(--on-dark); }

/* Start-Button (mobil, wird per Skript mit .show eingeblendet) */
.k-dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: 12px; background: rgba(14,40,65,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 999px; padding: 8px 8px 8px 20px; color: var(--on-dark); box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); transform: translateY(150%); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.k-dock.show { transform: none; }
.k-dock span { font-size: .9rem; font-weight: 600; flex: 1; line-height: 1.2; }
.k-dock small { display: block; color: var(--on-dark-3); font-weight: 500; font-size: .76rem; }
.k-dock a { background: var(--k-akzent); color: #fff; font-weight: 800; padding: 12px 18px; border-radius: 999px; font-size: .92rem; white-space: nowrap; }

@media (min-width: 560px) { .k-seite .k-partner, .k-seite .k-ehs { height: 30px; } }
@media (min-width: 720px) {
  .k-seite { --gutter: 32px; }
  .k-seite .s-karten { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; margin: 0; padding: 0; }
  .k-seite .s-karte { aspect-ratio: auto; min-height: 380px; gap: 20px; }
  .k-seite .s-stichwort { font-size: clamp(2.4rem, 4.2vw, 3.4rem); }
  .k-seite ol.s-ablauf { grid-template-columns: repeat(3, 1fr); }
  .k-seite .s-untereinander ol.s-ablauf { grid-template-columns: 1fr; max-width: 760px; }
  .k-seite .s-mitte.s-untereinander ol.s-ablauf { margin-left: auto; margin-right: auto; }
  .k-duo { grid-template-columns: 1fr auto 1fr; align-items: stretch; }
  .k-duo-plus { align-self: center; margin: 0 -28px; }
  .k-finder-karte { margin: 0; }
  .k-dock { display: none; }
  .k-fuss { padding-bottom: 28px; }
}
@media (min-width: 1000px) {
  .k-seite .s-hero { padding: 72px 0; }
  .k-hero-in { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
  .k-seite .s-karten { grid-template-columns: repeat(4, 1fr); }
  .k-seite .s-sec { padding: 96px 0; }
}
