/* KDS SODA STAR – main.css
   Breakpoints nur für Strukturwechsel: 1120 (Burger), 860 (Splits/Footer), 640 (Buttons) */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-soft.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
	--brand: #0033FF;
	--brand-deep: #0026C2;
	--navy: #0A1A4F;
	--aqua: #C1E8EE;
	--aqua-soft: #EAF6F8;
	--silver: #C8CDD2;
	--text: #1C2433;
	--muted: #5E6B7A;
	--on-dark: #6FA8FF;
	--bg: #FFFFFF;
	--line: #DCE3E8;

	--f-display: "Fraunces", Georgia, "Times New Roman", serif;
	--f-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--sec: clamp(64px, 9vw, 128px);
	--sec-sm: clamp(44px, 6vw, 80px);
	--gap: clamp(20px, 3vw, 40px);
	--r-card: 16px;
	--shadow: 0 1px 2px rgba(10, 26, 79, .06), 0 12px 32px -12px rgba(10, 26, 79, .18);
	--header-h: clamp(64px, 7vw, 84px);
	--fade: clamp(56px, 7vw, 110px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-sans); font-size: clamp(15.5px, .3vw + 14.5px, 16px); line-height: 1.8; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--f-display); font-variation-settings: "SOFT" 100; color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 650; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 1.4vw, 1.3rem); font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); }
.wrap--legal { max-width: 760px; }
.kds-narrow { max-width: 860px; }

.kds-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 999px; }
.kds-skip:focus { left: 12px; color: #fff; }

/* Eyebrow: Versalien, Linie + Raute */
.kds-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.kds-eyebrow__mark { position: relative; width: 34px; height: 1px; background: currentColor; }
.kds-eyebrow__mark::after { content: ""; position: absolute; right: -4px; top: -3.5px; width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); }

.kds-lead { font-size: clamp(1.02rem, .6vw + .9rem, 1.2rem); color: var(--muted); max-width: 62ch; margin-left: auto; margin-right: auto; }

/* Buttons: Pill, Versalien */
.kds-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent; font: 700 13.5px/1.2 var(--f-sans); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; cursor: pointer; }
.kds-btn--primary { background: var(--brand); color: #fff; }
.kds-btn--primary:hover { background: var(--brand-deep); color: #fff; }
.kds-btn--ghost { border-color: var(--brand); color: var(--brand); background: transparent; }
.kds-btn--ghost:hover { background: var(--brand); color: #fff; }
.kds-btn--light { background: #fff; color: var(--navy); }
.kds-btn--light:hover { background: var(--aqua); color: var(--navy); }
.kds-btn--ghostlight { border-color: rgba(255,255,255,.55); color: #fff; }
.kds-btn--ghostlight:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.kds-btnrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.kds-btnrow--center { justify-content: center; }

/* Header */
.kds-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-top: 3px solid var(--brand); border-bottom: 1px solid var(--line); }
.kds-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.kds-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.kds-logo img { width: clamp(44px, 4vw, 56px); height: auto; }
.kds-logo__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kds-nav { display: flex; align-items: center; gap: 28px; }
.kds-nav ul { display: flex; gap: clamp(12px, 1.4vw, 24px); list-style: none; margin: 0; padding: 0; }
.kds-nav ul a { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); text-decoration: none; white-space: nowrap; padding: 10px 0; border-bottom: 2px solid transparent; }
.kds-nav ul a:hover, .kds-nav ul a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }
.kds-burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.kds-burger .kds-ico { width: 22px; height: 22px; }
.kds-burger .kds-ico:last-child { display: none; }
.kds-burger[aria-expanded="true"] .kds-ico:first-child { display: none; }
.kds-burger[aria-expanded="true"] .kds-ico:last-child { display: block; }

.kds-ico { width: 1.25em; height: 1.25em; flex: none; }

/* Perlbläschen: laufen innerhalb ihrer Trägerfläche aus (overflow hidden) */
.kds-bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.kds-bubbles .b { position: absolute; bottom: -40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.9); background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.95) 0 18%, rgba(255,255,255,.25) 45%, rgba(255,255,255,0) 70%); animation: kds-rise linear infinite; opacity: 0; }
.b1 { left: 6%; width: 14px; height: 14px; animation-duration: 11s; }
.b2 { left: 14%; width: 26px; height: 26px; animation-duration: 15s; animation-delay: -4s; }
.b3 { left: 23%; width: 10px; height: 10px; animation-duration: 9s; animation-delay: -2s; }
.b4 { left: 34%; width: 18px; height: 18px; animation-duration: 13s; animation-delay: -8s; }
.b5 { left: 47%; width: 12px; height: 12px; animation-duration: 10s; animation-delay: -6s; }
.b6 { left: 59%; width: 22px; height: 22px; animation-duration: 14s; animation-delay: -1s; }
.b7 { left: 68%; width: 9px; height: 9px; animation-duration: 8s; animation-delay: -5s; }
.b8 { left: 76%; width: 30px; height: 30px; animation-duration: 17s; animation-delay: -9s; }
.b9 { left: 84%; width: 13px; height: 13px; animation-duration: 11s; animation-delay: -3s; }
.b10 { left: 91%; width: 20px; height: 20px; animation-duration: 12s; animation-delay: -7s; }
.b11 { left: 40%; width: 8px; height: 8px; animation-duration: 7s; animation-delay: -2.5s; }
.b12 { left: 96%; width: 11px; height: 11px; animation-duration: 10s; animation-delay: -4.5s; }
@keyframes kds-rise { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: .9; } 50% { transform: translate(8px, -45vh); } 85% { opacity: .7; } 100% { transform: translate(-6px, -90vh); opacity: 0; } }
.kds-sec--dark .kds-bubbles .b { border-color: rgba(111,168,255,.35); background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.35) 0 16%, rgba(255,255,255,0) 60%); }

/* Start-Hero: Himmel mit Perlage, darunter die Wasserlinie – wie das Logo */
.kds-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--aqua-soft) 0%, var(--aqua) 100%); padding: clamp(80px, 12vw, 168px) 0 clamp(96px, 12vw, 160px); text-align: center; }
.kds-hero__in { position: relative; z-index: 1; }
.kds-hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 700; line-height: 1.02; letter-spacing: -.025em; max-width: 14ch; margin: 0 auto .35em; }
.kds-hero .kds-eyebrow { color: var(--brand-deep); }
.kds-waterline { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(28px, 4vw, 48px); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 24C120 8 240 8 360 24s240 16 360 0 240-16 360 0 240 16 360 0V48H0Z' fill='%230033FF'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }

/* Kennzahlen im Soda-Blau */
.kds-facts { background: linear-gradient(180deg, var(--brand) 0, var(--brand) calc(100% - var(--fade)), #4F8DF7 calc(100% - var(--fade) * .55), var(--aqua) calc(100% - var(--fade) * .22), #fff 100%); color: #fff; padding: clamp(28px, 4vw, 48px) 0 calc(clamp(40px, 5vw, 64px) + var(--fade)); }
.kds-facts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); text-align: center; }
.kds-facts strong { display: block; font: 650 clamp(1.8rem, 3.6vw, 2.8rem)/1.1 var(--f-display); font-variation-settings: "SOFT" 100; }
.kds-facts span { display: block; margin-top: 6px; font-size: 14.5px; color: rgba(255,255,255,.86); }

/* Page-Hero Unterseiten */
.kds-phero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--aqua-soft) 0, var(--aqua) 62%, #fff 100%); padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 10vw, 136px); text-align: center; }
.kds-phero__in { position: relative; z-index: 1; }
.kds-phero h1 { max-width: 22ch; margin-left: auto; margin-right: auto; }

/* Sektionen: Zebra, Abschluss dunkel */
.kds-sec { padding: var(--sec) 0; position: relative; }
.kds-sec--sm { padding: var(--sec-sm) 0; }
.kds-sec--alt { background: linear-gradient(180deg, #fff 0, var(--aqua-soft) var(--fade), var(--aqua-soft) calc(100% - var(--fade)), #fff 100%); }
.kds-sec--dark { background: linear-gradient(180deg, #fff 0, #C4D3EC calc(var(--fade) * .3), #3B4F8A calc(var(--fade) * .72), var(--navy) var(--fade), var(--navy) 100%); color: #E6ECF7; overflow: hidden; padding-top: calc(var(--sec) + var(--fade) * .5); }
.kds-sec--dark h2 { color: #fff; }
.kds-sechead { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.kds-sechead--c { margin-left: auto; margin-right: auto; text-align: center; }
.kds-sechead p { color: var(--muted); }

.kds-final { text-align: center; }
.kds-final__in { position: relative; z-index: 1; max-width: 760px; }
.kds-final p { color: #C9D4E8; font-size: 1.08rem; }

/* Split-Layouts: unter 860px stapeln, Bild zuerst */
.kds-split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.kds-split--57 { grid-template-columns: 5fr 7fr; }
.kds-split--65 { grid-template-columns: 6.5fr 3.5fr; align-items: start; }
.kds-split--75 { grid-template-columns: 7.5fr 2.5fr; }
.kds-split--rev > :first-child { order: 2; }

/* Medien mit festen Ratios */
.kds-media { margin: 0; border-radius: var(--r-card); overflow: hidden; background: var(--aqua); position: relative; }
.kds-media img { width: 100%; height: 100%; object-fit: cover; }
.kds-media--card { aspect-ratio: 4 / 3; }
.kds-media--portrait { aspect-ratio: 4 / 5; }
.kds-media--banner { aspect-ratio: 21 / 9; }
.kds-media--split { aspect-ratio: 16 / 10; }
.kds-ph { display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, var(--aqua-soft) 0 50%, var(--aqua) 50% 100%); border: 1px dashed var(--silver); }
.kds-ph__in { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px; text-align: center; color: var(--navy); }
.kds-ph__in .kds-ico { width: 34px; height: 34px; color: var(--brand); }
.kds-ph__t { font-weight: 700; font-size: 14px; line-height: 1.4; }
.kds-ph__s { font-size: 12px; color: var(--muted); }

/* Karten */
.kds-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--gap); }
.kds-cards--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.kds-cards--quali { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.kds-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .25s ease, box-shadow .25s ease; }
.kds-card .kds-media { border-radius: 0; }
a.kds-card:hover { transform: translateY(-4px); color: var(--text); box-shadow: 0 2px 4px rgba(10,26,79,.06), 0 20px 40px -14px rgba(10,26,79,.25); }
.kds-card__body { display: flex; flex-direction: column; flex: 1; padding: clamp(20px, 2.4vw, 28px); }
.kds-card__body p { color: var(--muted); font-size: 15px; }
.kds-card__ico { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--brand); background: var(--aqua-soft); border-radius: 10px; transform: rotate(45deg); }
.kds-card__ico .kds-ico { transform: rotate(-45deg); width: 20px; height: 20px; }
.kds-card__more, .kds-card__meta { margin-top: auto; padding-top: 12px; }
.kds-card__more { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.kds-card__meta { font-size: 14px; }
.kds-card--text .kds-card__body { padding-top: clamp(26px, 3vw, 34px); }

/* Listen, Specs, Tags */
.kds-checks { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 10px; }
.kds-checks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.kds-checks .kds-ico { color: var(--brand); margin-top: 2px; }
.kds-card .kds-checks { font-size: 14.5px; }

.kds-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 24px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.kds-specs div { background: #fff; padding: 16px 18px; }
.kds-specs dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kds-specs dd { margin: 4px 0 0; font: 600 1.1rem/1.3 var(--f-display); color: var(--navy); }

.kds-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.kds-tags li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; color: var(--navy); }
.kds-tags .kds-ico { color: var(--brand); width: 1em; height: 1em; }

.kds-side { display: flex; align-items: center; justify-content: space-between; gap: var(--gap); flex-wrap: wrap; }
.kds-side > div { max-width: 640px; }
.kds-side p { color: var(--muted); margin: 0; }

/* Zitate */
.kds-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--gap); }
.kds-quote { display: flex; flex-direction: column; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.kds-quote > .kds-ico { width: 34px; height: 34px; color: var(--brand); margin-bottom: 12px; }
.kds-quote blockquote { margin: 0; font: 400 clamp(1.05rem, 1.2vw, 1.2rem)/1.65 var(--f-display); font-variation-settings: "SOFT" 100; color: var(--navy); }
.kds-quote figcaption { margin-top: auto; padding-top: 18px; display: flex; flex-direction: column; font-size: 14.5px; }
.kds-quote figcaption span { color: var(--muted); }
.kds-quote--inline { box-shadow: none; border-left: 4px solid var(--brand); border-radius: 0 var(--r-card) var(--r-card) 0; margin-top: 24px; }
.kds-motto { margin: 28px 0 0; padding-left: 20px; border-left: 4px solid var(--brand); font: 600 clamp(1.3rem, 2vw, 1.6rem)/1.3 var(--f-display); color: var(--navy); }
.kds-motto p { margin: 0; }

/* Galerie + Lightbox */
.kds-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: clamp(28px, 4vw, 48px); }
.kds-gallery__item { display: block; border-radius: var(--r-card); }
.kds-gallery__item .kds-media { border-radius: 12px; }
.kds-lb { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(10,26,79,.94); padding: 60px 16px; }
.kds-lb[open], .kds-lb.is-open { display: flex; }
.kds-lb img { max-height: 84vh; width: auto; border-radius: 10px; }
.kds-lb button { position: absolute; width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.kds-lb__close { top: 16px; right: 16px; }
.kds-lb__prev { left: 16px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.kds-lb__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* FAQ */
.kds-faq { display: grid; gap: 12px; }
.kds-faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.kds-sec--alt .kds-faq details { border-color: #d3e5ea; }
.kds-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; }
.kds-faq summary::-webkit-details-marker { display: none; }
.kds-faq summary .kds-ico { color: var(--brand); transition: transform .2s; transform: rotate(90deg); }
.kds-faq details[open] summary .kds-ico { transform: rotate(-90deg); }
.kds-faq details p { color: var(--muted); }

/* Jobs */
.kds-jobs { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--gap); }
.kds-job { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 3vw, 34px); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--r-card); box-shadow: var(--shadow); background: #fff; }
.kds-job__meta { font-size: 14px; font-weight: 600; color: var(--brand); }
.kds-job p:not(.kds-job__meta) { color: var(--muted); }
.kds-job .kds-btn { margin-top: auto; }

/* Formulare */
.kds-form { display: grid; gap: 16px; }
.kds-form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.kds-field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.kds-field em { color: var(--brand); font-style: normal; }
.kds-field input, .kds-field select, .kds-field textarea { width: 100%; min-height: 48px; padding: 12px 16px; font: 400 16px/1.5 var(--f-sans); color: var(--text); background: #fff; border: 1px solid var(--silver); border-radius: 12px; }
.kds-field input:focus, .kds-field select:focus, .kds-field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,51,255,.18); }
.kds-consent { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; font-size: 14px; color: var(--muted); line-height: 1.55; cursor: pointer; }
.kds-consent input { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.kds-form .kds-btn { justify-self: start; }
.kds-hp { position: absolute; left: -9999px; }
.kds-notice { padding: 16px 20px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; }
.kds-notice--ok { background: #E3F6EC; color: #145A36; }
.kds-notice--err { background: #FDE8E8; color: #8A1C1C; }

.kds-contactcard { background: var(--aqua-soft); border: 1px solid #d3e5ea; border-radius: var(--r-card); padding: clamp(24px, 3vw, 34px); }
.kds-contactcard h2 { font-size: 1.4rem; }
.kds-contactcard__line { display: flex; gap: 14px; align-items: flex-start; }
.kds-contactcard__line .kds-ico { color: var(--brand); margin-top: 4px; }

.kds-press { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.kds-press li { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.kds-press span { color: var(--muted); }

/* Rechtstexte */
.kds-legal h2 { font-size: 1.3rem; margin-top: 2em; }
.kds-legal h2:first-child { margin-top: 0; }

/* Footer */
.kds-footer { background: linear-gradient(180deg, #fff 0, #C4D3EC calc(var(--fade) * .3), #3B4F8A calc(var(--fade) * .72), var(--navy) var(--fade), var(--navy) 100%); color: #C9D4E8; padding: calc(clamp(56px, 7vw, 88px) + var(--fade) * .6) 0 0; font-size: 15px; }
main:has(> .kds-final:last-child) + .kds-footer { background: var(--navy); padding-top: clamp(40px, 5vw, 64px); }
.kds-footer .wrap { max-width: none; padding-left: clamp(18px, 4vw, 64px); padding-right: clamp(18px, 4vw, 64px); }
.kds-footer a { color: #E6ECF7; text-decoration: none; }
.kds-footer a:hover { color: var(--on-dark); }
.kds-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 72px); }
.kds-footer__brand img { width: 72px; margin-bottom: 16px; }
.kds-footer__h { font: 700 12px/1.4 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.kds-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.kds-footer ul a { display: inline-flex; gap: 10px; align-items: center; min-height: 40px; }
.kds-footer address { font-style: normal; margin-bottom: 10px; }
.kds-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; }
.kds-footer__bar p { margin: 0; }
.kds-footer__bar ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }

/* Mobiles Kontakt-Dock */
.kds-dock { display: none; }

/* 1120: Burger */
@media (max-width: 1120px) {
	.kds-burger { display: inline-flex; }
	.kds-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 20px; padding: 24px clamp(18px, 4vw, 32px) 40px; background: #fff; border-top: 1px solid var(--line); overflow-y: auto; opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
	.kds-nav.is-open { opacity: 1; transform: none; visibility: visible; }
	.kds-nav ul { flex-direction: column; gap: 0; }
	.kds-nav ul a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
	.kds-nav__cta { align-self: flex-start; }
	body.kds-nav-open { overflow: hidden; }
}

/* 860: Splits, Footer, mobile Zentrierung */
@media (max-width: 860px) {
	.kds-split, .kds-split--57, .kds-split--65, .kds-split--75 { grid-template-columns: 1fr; }
	.kds-split--rev > :first-child { order: 0; }
	.kds-split > div { text-align: center; }
	.kds-split .kds-btnrow { justify-content: center; }
	.kds-split .kds-checks, .kds-split .kds-specs, .kds-split .kds-quote, .kds-split .kds-form { text-align: left; }
	.kds-split .kds-eyebrow { justify-content: center; }
	.kds-contactcard { text-align: left; }
	.kds-facts__grid { grid-template-columns: 1fr; gap: 22px; }
	.kds-footer__grid { grid-template-columns: 1fr 1fr; }
	.kds-footer__brand { grid-column: 1 / -1; }
	.kds-side { flex-direction: column; text-align: center; }
	.kds-dock { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; background: var(--navy); border-radius: 999px; overflow: hidden; box-shadow: 0 10px 30px rgba(10,26,79,.35); }
	.kds-dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; }
	.kds-dock a + a { background: var(--brand); }
	.kds-footer { padding-bottom: 76px; }
}

/* 640: Buttons umbrechen statt überlaufen */
@media (max-width: 640px) {
	.kds-form__grid { grid-template-columns: 1fr; }
	.kds-btn { white-space: normal; max-width: 100%; text-align: center; }
	.kds-btnrow .kds-btn { width: 100%; }
	.kds-footer__grid { grid-template-columns: 1fr; }
	.kds-footer__bar { flex-direction: column; align-items: flex-start; }
	.kds-logo__txt { display: none; }
}

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

/* Cookie-Einwilligung: freistehende Bottom-Leiste, gleichwertige Buttons */
.kds-cc { position: fixed; left: 50%; bottom: clamp(12px, 2vw, 20px); transform: translateX(-50%); z-index: 99999; width: min(1100px, calc(100% - 24px)); background: var(--navy); color: #E6ECF7; border-radius: var(--r-card); box-shadow: 0 24px 60px -20px rgba(10,26,79,.55); }
.kds-cc[hidden] { display: none; }
.kds-cc__in { display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(14px, 2vw, 24px) clamp(20px, 3vw, 40px); padding: clamp(18px, 2.4vw, 28px); max-height: calc(100vh - 40px); overflow-y: auto; }
.kds-cc__text { flex: 1 1 420px; font-size: 14.5px; line-height: 1.65; }
.kds-cc__text p { margin: 0 0 .6em; color: #C9D4E8; }
.kds-cc__title { font-size: clamp(1.1rem, 1.4vw, 1.25rem); color: #fff; margin: 0 0 .4em; }
.kds-cc__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.kds-cc__links a { color: var(--on-dark); min-height: 40px; display: inline-flex; align-items: center; }
.kds-cc__panel { display: grid; gap: 10px; margin-top: 10px; }
.kds-cc__panel[hidden] { display: none; }
.kds-cc__cat { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; cursor: pointer; }
.kds-cc__cat input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--on-dark); }
.kds-cc__cat strong { color: #fff; }
.kds-cc__btns { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 1 auto; }
.kds-cc__btn { min-height: 46px; padding: 11px 20px; border-radius: 999px; border: 2px solid #fff; background: transparent; color: #fff; font: 700 12.5px/1.2 var(--f-sans); letter-spacing: .07em; text-transform: uppercase; cursor: pointer; }
.kds-cc__btn:hover { background: #fff; color: var(--navy); }
.kds-cc-open .kds-dock { display: none; }
.kds-cookie-link { cursor: pointer; }
.kds-cc-hold { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 280px; padding: clamp(20px, 3vw, 36px); text-align: center; background: var(--aqua-soft); border: 1px dashed var(--silver); border-radius: var(--r-card); }
.kds-cc-hold iframe { display: none; }
.kds-cc-hold p { max-width: 52ch; color: var(--muted); margin: 0; }
.kds-cc-hold__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
@media (max-width: 640px) {
	.kds-cc__btns { width: 100%; }
	.kds-cc__btn { flex: 1 1 100%; white-space: normal; }
}

/* Rechtstabelle Cookie-Richtlinie */
.kds-table { width: 100%; overflow-x: auto; margin: 0 0 1.5em; }
.kds-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.kds-table th, .kds-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.kds-table th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Zertifikate */
.kds-certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--gap); }
.kds-cert { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: var(--navy); transition: transform .25s ease, box-shadow .25s ease; }
.kds-cert:hover { transform: translateY(-4px); color: var(--navy); }
.kds-cert__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; background: var(--aqua-soft); padding: clamp(10px, 1.4vw, 16px); }
.kds-cert__media img { width: 100%; height: 100%; object-fit: contain; }
.kds-cert__doc .kds-ico { width: 56px; height: 56px; color: var(--brand); }
.kds-cert__t { padding: 14px 16px 0; font-weight: 700; font-size: 15px; line-height: 1.4; }
.kds-cert__s { margin-top: auto; padding: 6px 16px 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.kds-cert:not(.kds-cert--pdf) .kds-cert__t { padding-bottom: 14px; }

/* ===== v0.5: Hero-Bilder, Kohlensäure, Stellen ===== */
.kds-herobg { position: absolute; inset: 0; overflow: hidden; }
.kds-herobg span { position: absolute; inset: -4%; background-size: cover; background-position: center; opacity: 0; animation: kds-zoom 22s ease-in-out infinite alternate; }
.kds-herobg--1 span { opacity: 1; }
.kds-herobg--2 span, .kds-herobg--3 span { animation: kds-fade 18s linear infinite, kds-zoom 18s ease-in-out infinite; }
.kds-herobg--2 span { animation-duration: 12s, 12s; }
.kds-herobg span:nth-child(2) { animation-delay: 6s, 6s; }
.kds-herobg span:nth-child(3) { animation-delay: 12s, 12s; }
.kds-herobg--2 span:nth-child(2) { animation-delay: 6s, 6s; }
@keyframes kds-fade { 0% { opacity: 0; } 6% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; } 100% { opacity: 0; } }
.kds-herobg--2 span { animation-name: kds-fade2, kds-zoom; }
@keyframes kds-fade2 { 0% { opacity: 0; } 8% { opacity: 1; } 50% { opacity: 1; } 58% { opacity: 0; } 100% { opacity: 0; } }
@keyframes kds-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
/* Aqua-Schleier: Bild sichtbar, Text lesbar, unten weicher Auslauf */
.kds-hero:has(.kds-herobg)::after, .kds-phero--img::after { content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(ellipse 60% 55% at 50% 48%, rgba(234,246,248,.9) 0%, rgba(234,246,248,.72) 55%, rgba(193,232,238,.55) 100%); }
.kds-phero--img::after { background: radial-gradient(ellipse 55% 60% at 50% 45%, rgba(234,246,248,.55) 0%, rgba(234,246,248,0) 70%), linear-gradient(180deg, rgba(234,246,248,.8) 0%, rgba(214,238,243,.74) 55%, rgba(234,246,248,.9) 82%, #fff 100%); }
.kds-hero .kds-bubbles, .kds-phero .kds-bubbles { z-index: 1; }
.kds-hero__in, .kds-phero__in { z-index: 2; }
.kds-hero .kds-waterline { z-index: 2; }

/* Perlage deutlicher und mit leichtem Schlingern */
.kds-bubbles .b { border-color: rgba(0,51,255,.28); box-shadow: inset -2px -2px 4px rgba(0,51,255,.12); animation-name: kds-rise-wobble; }
.b13 { left: 3%; width: 7px; height: 7px; animation-duration: 6s; animation-delay: -1s; }
.b14 { left: 29%; width: 16px; height: 16px; animation-duration: 12s; animation-delay: -10s; }
.b15 { left: 53%; width: 6px; height: 6px; animation-duration: 5.5s; animation-delay: -3s; }
.b16 { left: 63%; width: 12px; height: 12px; animation-duration: 9s; animation-delay: -6.5s; }
.b17 { left: 72%; width: 8px; height: 8px; animation-duration: 7s; animation-delay: -2s; }
.b18 { left: 88%; width: 6px; height: 6px; animation-duration: 6.5s; animation-delay: -4s; }
@keyframes kds-rise-wobble {
	0% { transform: translate(0, 0); opacity: 0; }
	8% { opacity: .95; }
	25% { transform: translate(6px, -22vh); }
	50% { transform: translate(-5px, -45vh); }
	75% { transform: translate(7px, -68vh); opacity: .8; }
	100% { transform: translate(-3px, -92vh); opacity: 0; }
}
.kds-facts { position: relative; overflow: hidden; }
.kds-facts .kds-bubbles .b, .kds-sec--dark .kds-bubbles .b { border-color: rgba(255,255,255,.55); box-shadow: none; background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.7) 0 16%, rgba(255,255,255,0) 60%); }
.kds-facts__grid { position: relative; z-index: 1; }

/* Wasserlinie bewegt sich ruhig */
.kds-waterline { width: 200%; background-size: 50% 100%; background-repeat: repeat-x; animation: kds-wave 16s linear infinite; }
@keyframes kds-wave { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Buttons sprudeln beim Überfahren */
.kds-btn { position: relative; overflow: hidden; isolation: isolate; }
.kds-btn::before, .kds-btn::after { content: ""; position: absolute; bottom: -10px; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; opacity: 0; z-index: -1; pointer-events: none; }
.kds-btn::before { left: 22%; }
.kds-btn::after { left: 68%; width: 5px; height: 5px; }
.kds-btn:hover::before { animation: kds-fizz .9s ease-out infinite; }
.kds-btn:hover::after { animation: kds-fizz .9s ease-out .35s infinite; }
@keyframes kds-fizz { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: .7; } 100% { transform: translateY(-58px); opacity: 0; } }

/* Stellen */
.kds-job h3 a { color: var(--navy); text-decoration: none; }
.kds-job h3 a:hover { color: var(--brand); }
.kds-job .kds-btnrow { margin-top: auto; padding-top: 12px; }
.kds-empty { text-align: center; color: var(--muted); }
.kds-specs--job { margin-top: 0; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.kds-jobintro { margin-top: 24px; }
.kds-jobcols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.kds-jobcols h2 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); }

@media (prefers-reduced-motion: reduce) {
	.kds-herobg span { animation: none !important; transform: none; }
	.kds-herobg span:first-child { opacity: 1; }
	.kds-waterline { animation: none !important; }
	.kds-btn::before, .kds-btn::after { display: none; }
}

/* ===== v0.6: Prickeln im Hintergrund, Filtersystem, Stellen-Pop-up ===== */
.kds-fizz { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.kds-fizz-host { position: relative; }
.kds-fizz-host > :not(.kds-fizz):not(.kds-herobg):not(.kds-bubbles):not(.kds-waterline) { position: relative; z-index: 2; }
.kds-hero .kds-waterline { z-index: 3; }

.kds-imgnote { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.kds-hint { margin-top: 18px; padding: 14px 18px; border-left: 3px solid var(--brand); background: #fff; border-radius: 0 12px 12px 0; font-size: 14.5px; color: var(--muted); }
.kds-steps { counter-reset: s; list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.kds-steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; line-height: 1.6; }
.kds-steps li::before { content: counter(s); flex: none; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; }
.kds-split h3 { margin-top: .4em; }

/* Stellen-Pop-up: dezent unten links, oberhalb des Kontakt-Docks */
.kds-jobpop { position: fixed; left: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); z-index: 90; width: min(360px, calc(100% - 24px)); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--r-card); box-shadow: 0 24px 60px -18px rgba(10,26,79,.45); padding: 22px 22px 20px; transform: translateY(16px); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.kds-jobpop[hidden] { display: none; }
.kds-jobpop.is-in { transform: none; opacity: 1; }
.kds-jobpop__x { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--muted); border-radius: 999px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.kds-jobpop__x:hover { background: var(--aqua-soft); color: var(--navy); }
.kds-jobpop__eb { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.kds-jobpop__t { font-size: 1.3rem; margin: 0 0 6px; padding-right: 36px; }
.kds-jobpop__x2 { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0 0 10px; }
.kds-jobpop ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 4px; }
.kds-jobpop ul a { display: inline-flex; min-height: 40px; align-items: center; font-weight: 600; font-size: 14.5px; line-height: 1.4; }
.kds-jobpop .kds-btn { width: 100%; }
.kds-cc-open .kds-jobpop { display: none; }
@media (max-width: 860px) { .kds-jobpop { bottom: 76px; } }
@media (prefers-reduced-motion: reduce) { .kds-jobpop { transition: none; } }
