/* wildspace.ch — Startseite (2026-09): kurze Startseite aus fünf Bildschirmen, Inhalte auf Unterseiten. Handgeschrieben, kein Framework. */

@font-face { font-family: "Bebas Neue"; font-weight: 400; font-display: swap; src: url(fonts/bebas-neue-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bebas Neue"; font-weight: 400; font-display: swap; src: url(fonts/bebas-neue-latinext.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Raleway"; font-weight: 100 900; font-display: swap; src: url(fonts/raleway-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-weight: 100 900; font-display: swap; src: url(fonts/raleway-latinext.woff2) format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #0d1319; --ink-2: #131c26; --white: #fff; --paper: #f3f6f8; --slate: #4a5866; --line: #d6dee5;
  --cyan: #36b7e2; --cyan-deep: #1786ad;
  --display: "Bebas Neue", "Arial Narrow", sans-serif; --text: "Raleway", "Segoe UI", Arial, sans-serif;
  --header-h: 96px; --w: 1280px; --pad: clamp(1.25rem, 5vw, 5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } .reveal { opacity: 1 !important; transform: none !important; } }
body { margin: 0; font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-deep); text-underline-offset: .15em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
h1, h2, .display { font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: .92; margin: 0; }
h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.25; margin: 0 0 .6rem; }
h4 { font-size: 1.12rem; font-weight: 700; line-height: 1.3; margin: 0; }
p { margin: 0 0 1rem; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--pad); }

.btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .98rem; line-height: 1; padding: 1.15rem 2.1rem; border-radius: 2px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--cyan); color: var(--ink); border-color: var(--cyan); }
.btn-primary:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-ink:hover { background: var(--cyan); color: var(--ink); border-color: var(--cyan); }
.btn-white { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-white:hover { background: var(--cyan); border-color: var(--cyan); }
.btn-line { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-line:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-sm { padding: .8rem 1.35rem; font-size: .88rem; }
.link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .28em; text-decoration-color: var(--cyan); }
.link.on-dark { color: var(--white); }
.link.on-dark:hover { color: var(--cyan); }
.link.on-light { color: var(--ink); }
.link.on-light:hover { color: var(--cyan-deep); }

/* Header: transparent over the hero, solid once you scroll */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); transition: background-color .25s, border-color .25s; border-bottom: 1px solid transparent; }
.site-header.solid, body.sub .site-header { background: rgba(13,19,25,.94); backdrop-filter: blur(8px); border-bottom-color: rgba(255,255,255,.1); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 2rem; max-width: none; }
.brand img { height: 52px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.7rem; }
.nav a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 1.1rem; padding: .3rem 0; border-bottom: 2px solid transparent; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.nav a:hover { border-bottom-color: var(--cyan); }
.nav .btn { margin-left: .5rem; text-shadow: none; font-size: .95rem; padding: 1.17em 2.15em; }   /* button unchanged (Sandro 2026-09-06: «ok now») */   /* same proportions as the hero button (1.15rem/2.1rem at .98rem) */
.nav-toggle { display: none; margin-left: auto; background: transparent; border: 0; padding: .5rem .6rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }

/* Panels */
.panel { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; }
.panel .bg { position: absolute; inset: 0; z-index: 0; }
.panel .bg img { width: 100%; height: 100%; object-fit: cover; }
.panel .inner { position: relative; z-index: 1; width: 100%; max-width: var(--w); margin: 0 auto; padding: calc(var(--header-h) + 2rem) var(--pad) 3.5rem; }

/* 1 Hero */
.p-hero { color: var(--white); }
.p-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,19,25,.25) 0%, rgba(13,19,25,0) 30%, rgba(13,19,25,0) 55%, rgba(13,19,25,.55) 100%); }
.p-hero h1 { font-size: clamp(3.6rem, 9vw, 9rem); max-width: 12ch; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.p-hero .sub { font-size: clamp(1.1rem, 1.6vw, 1.4rem); max-width: 36rem; margin: 1.4rem 0 2rem; text-shadow: 0 1px 12px rgba(0,0,0,.45); color: rgba(255,255,255,.95); }
.p-hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.8rem; }
.p-hero .cue { position: absolute; left: 50%; bottom: 1.2rem; width: 12px; height: 12px; border-right: 2px solid rgba(255,255,255,.8); border-bottom: 2px solid rgba(255,255,255,.8); transform: translateX(-50%) rotate(45deg); z-index: 1; }
.fx .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.p-hero.in .reveal, body.ready .page-head .reveal { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .15s; } .reveal.d2 { transition-delay: .35s; } .reveal.d3 { transition-delay: .55s; }

/* 2 Wo stehen Sie? — four big rows that open in place */
.p-stehen { background: var(--white); justify-content: center; }
.p-stehen .inner { padding-top: calc(var(--header-h) + 3rem); padding-bottom: 4rem; }
.p-stehen .kick { font-weight: 700; font-size: 1.05rem; color: var(--slate); margin: 0 0 .6rem; }
.p-stehen h2 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); margin-bottom: 1.6rem; }
.rows { border-top: 2px solid var(--ink); }
.row { border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 2px solid var(--ink); }
.row-btn { width: 100%; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; gap: 1.5rem; align-items: baseline; background: none; border: 0; padding: 1.1rem 0; text-align: left; cursor: pointer; font-family: inherit; color: var(--ink); }
.row-btn .t { font-family: var(--display); font-size: clamp(2.2rem, 5.6vw, 5.2rem); line-height: .95; letter-spacing: .01em; transition: color .15s; }
.row-btn .d { font-size: .98rem; color: var(--slate); text-align: left; }
.row-btn .pm { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--cyan-deep); width: 1.4rem; text-align: center; }
.row-btn:hover .t, .row-btn[aria-expanded="true"] .t { color: var(--cyan-deep); }
.row-btn[aria-expanded="true"] .pm::before { content: "–"; }
.row-btn[aria-expanded="false"] .pm::before { content: "+"; }
.row-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.row-body > div { overflow: hidden; }
.row-body.open { grid-template-rows: 1fr; }
.row-body .c { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; padding: .4rem 0 2rem; }
.row-body .c p { max-width: 40rem; margin: 0; }
.row-body .acts { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; justify-content: flex-end; }

/* 3 KI panel */
.p-ki { color: var(--ink); justify-content: flex-start; }
.p-ki .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 55%); }
.p-ki h2 { font-size: clamp(3rem, 7vw, 7rem); max-width: 12ch; }
.p-ki .txt { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 34rem; margin: 1.3rem 0 1.8rem; font-weight: 500; }
.p-ki .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.8rem; }

/* 4 Proof panel */
.p-proof { color: var(--white); justify-content: center; }
.p-proof .bg::after { content: ""; position: absolute; inset: 0; background: rgba(13,19,25,.45); }
.p-proof h2 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); max-width: none; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin: 2.4rem 0 2.6rem; }
.nums b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 5vw, 4.6rem); line-height: 1; color: var(--cyan); text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.nums span { display: block; margin-top: .35rem; font-size: .95rem; color: rgba(255,255,255,.9); max-width: 17rem; }
.logos { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .6rem; }
.logos a { display: block; position: relative; overflow: hidden; background: var(--white); padding: .55rem .7rem; border-radius: 0; transition: box-shadow .2s; }
.logos a span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: .4rem .5rem; font-size: .76rem; font-weight: 700; line-height: 1.25; color: var(--ink); background: rgba(255,255,255,.97); opacity: 0; transform: translateY(8px); transition: opacity .2s ease, transform .25s cubic-bezier(.2,.7,.2,1); }
.logos a:hover, .logos a:focus-visible { box-shadow: 0 0 0 2px var(--cyan); }
.logos a:hover span, .logos a:focus-visible span { opacity: 1; transform: none; }
.logos img { width: 100%; aspect-ratio: 310 / 186; object-fit: contain; }
.p-proof .who { margin: 1.4rem 0 0; font-size: .95rem; color: rgba(255,255,255,.85); }
.p-proof .who a { color: var(--white); }

/* 5 Contact panel */
.p-kontakt { flex-direction: row; background: var(--paper); min-height: 100svh; }
.p-kontakt .map { position: relative; flex: 0 0 46%; overflow: hidden; }
.p-kontakt .map { background: #f3f6f8; }
.map .detail { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.map .ch { position: absolute; left: 0; top: var(--cht, 0px); width: 100%; height: auto; z-index: 0; transform-origin: var(--ox, 50%) var(--oy, 50%); will-change: transform; }
.map .marker { position: absolute; left: 50%; top: 50%; z-index: 2; width: 0; height: 0; }
.map .pin { position: absolute; left: 0; top: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--cyan); border: 3px solid var(--white); box-shadow: 0 0 0 6px rgba(54,183,226,.35), 0 4px 12px rgba(0,0,0,.35); }
.map .lab { position: absolute; z-index: 2; font-weight: 800; font-size: .85rem; background: var(--ink); color: var(--white); padding: .2rem .55rem; border-radius: 2px; transform: translate(-50%, 0); white-space: nowrap; }
.map .marker .lab { left: 0; top: 14px; }
.fx .map .ch { animation: chzoom 24s cubic-bezier(.65,0,.35,1) infinite; }
.fx .map .detail { animation: dfade 24s linear infinite; }
.fx .map .marker { animation: mkmove 24s cubic-bezier(.65,0,.35,1) infinite; }
.fx .map .lab.zh { animation: zhfade 24s linear infinite; }
@keyframes chzoom { 0%, 21% { transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(var(--S, 1)); } 37.5%, 58% { transform: none; } 75%, 100% { transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(var(--S, 1)); } }
@keyframes mkmove { 0%, 21% { transform: none; } 37.5%, 58% { transform: translate(var(--mx, 0px), var(--my, 0px)); } 75%, 100% { transform: none; } }
@keyframes dfade { 0%, 21% { opacity: 1; } 29%, 67% { opacity: 0; } 75%, 100% { opacity: 1; } }
@keyframes zhfade { 0%, 21% { opacity: 1; } 26%, 70% { opacity: 0; } 75%, 100% { opacity: 1; } }
html:not(.fx) .map .ch { display: none; }
.map .lab.zh { font-weight: 600; background: rgba(13,19,25,.75); }
.map .claim { position: absolute; z-index: 2; left: 1.5rem; top: calc(var(--header-h) + 1.5rem); right: 1.5rem; }
.map .claim h2 { font-size: clamp(2.2rem, 3.6vw, 3.6rem); line-height: 1; color: var(--ink); background: rgba(255,255,255,.88); display: inline-block; padding: .3em .4em .25em; max-width: 14ch; }
.credit { position: absolute; right: .8rem; bottom: .6rem; z-index: 3; font-size: .68rem; letter-spacing: .06em; color: rgba(255,255,255,.6); text-shadow: 0 1px 4px rgba(0,0,0,.5); text-decoration: none; }
a.credit:hover { color: #fff; text-decoration: underline; }
.p-ki .credit { color: rgba(13,19,25,.55); text-shadow: none; }
.map .credit { color: var(--ink); text-shadow: none; background: rgba(255,255,255,.75); padding: .1rem .4rem; }
.p-kontakt .form-col { flex: 1 1 auto; padding: calc(var(--header-h) + 2rem) var(--pad) 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.p-kontakt h2 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
.p-kontakt .lead { color: var(--slate); font-size: 1.1rem; margin: .6rem 0 1.4rem; }
.form label { display: block; font-weight: 700; font-size: .9rem; margin: 0 0 .35rem; }
.form .req { color: var(--cyan-deep); }
.form .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1px solid #b9c4cc; padding: .7rem .8rem; margin-bottom: 1rem; }
.form textarea { min-height: 110px; resize: vertical; }
.form fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.form legend { font-weight: 700; font-size: .9rem; margin-bottom: .5rem; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pills label { margin: 0; font-weight: 600; font-size: .88rem; border: 1px solid #b9c4cc; border-radius: 999px; padding: .45rem .85rem; cursor: pointer; background: var(--white); }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills label:has(input:checked) { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pills label:has(input:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 2px; }
.form .row2 { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form .note { font-size: .8rem; color: var(--slate); margin: 0; max-width: 24rem; }
.person { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: .95rem; }
.person .pic { text-align: center; }
.person .pic > a { position: relative; display: block; width: min(100%, 190px); aspect-ratio: 1; margin: 0 auto .7rem; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 0 var(--cyan); transition: box-shadow .25s; }
.person .pic img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.person .pic > a:hover, .person .pic > a:focus-visible { box-shadow: 0 0 0 4px var(--cyan); }
.person .pic > a:hover img, .person .pic > a:focus-visible img { transform: scale(1.06); }
.person .pic b { display: block; }
.person .pic b a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--cyan); }
.person .pic b a:hover { color: var(--cyan-deep); }
.person .pic span { color: var(--slate); font-size: .88rem; }
.person address { font-style: normal; line-height: 1.6; }
.person .reach { margin: .95rem 0 0; line-height: 1.6; }

.site-footer { padding: 1.2rem 0; background: var(--ink); color: rgba(255,255,255,.6); font-size: .85rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; max-width: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.3rem; }
.site-footer a { color: rgba(255,255,255,.8); }

/* Subpages */
body.sub { background: var(--white); }
.page-head { background: var(--paper); padding: calc(var(--header-h) + 4rem) 0 3rem; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(3rem, 7vw, 6.5rem); }
.page-head .lead { font-size: 1.15rem; color: var(--slate); max-width: 44rem; margin: 1rem 0 0; }
.section { padding: 4.5rem 0; }
.section.paper { background: var(--paper); }
.catalog { border-top: 1px solid var(--ink); }
.group { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 2rem; padding: 2.4rem 0; border-bottom: 1px solid var(--line); }
.group:last-child { border-bottom: 1px solid var(--ink); }
.group > h3 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; letter-spacing: .01em; margin: .1rem 0 0; }
.crow { border-top: 1px solid #e7edf1; }
.crow:first-child { border-top: 0; }
.crow summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: start; padding: 1rem 0; }
.crow summary::-webkit-details-marker { display: none; }
.crow summary h4 { display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; }
.crow summary p { margin: .25rem 0 0; color: var(--slate); font-size: .98rem; }
.crow summary .plus { font-family: var(--display); font-size: 1.7rem; line-height: 1; color: var(--cyan-deep); width: 1.2rem; text-align: center; }
.crow[open] summary .plus::before { content: "–"; }
.crow:not([open]) summary .plus::before { content: "+"; }
.crow .body { padding: 0 0 1.4rem; max-width: 46rem; }
.crow .body ul { margin: 0 0 1.1rem; padding-left: 1.2rem; }
.new { font-size: .75rem; font-weight: 800; color: var(--cyan-deep); background: #e4f5fb; padding: .15rem .5rem; border-radius: 999px; }
.typo3 .inner2 { max-width: 50rem; }
.typo3 h2 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); margin-bottom: 1.2rem; }
.typo3 ul { padding-left: 1.2rem; }
.faq { max-width: 52rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; padding: 1rem 0; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.7rem; line-height: 1; color: var(--cyan-deep); }
.faq details[open] summary::after { content: "–"; }
.faq .faq-answer { padding: 0 0 1.3rem; max-width: 46rem; }
.faq .faq-answer p:last-child { margin-bottom: 0; }
.faq .faq-cta { margin-top: .8rem; }
.band { position: relative; color: var(--white); padding: 5rem 0; overflow: hidden; }
.band .bg { position: absolute; inset: 0; }
.band .bg img { width: 100%; height: 100%; object-fit: cover; }
.band .bg::after { content: ""; position: absolute; inset: 0; background: rgba(13,19,25,.5); }
.band .wrap { position: relative; }
.band h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); max-width: 16ch; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.band p { max-width: 34rem; margin: 1rem 0 1.6rem; font-size: 1.1rem; }

@media (max-width: 1000px) {
  .row-btn { grid-template-columns: minmax(0, 1fr) auto; }
  .row-btn .d { display: none; }
  .row-body .c { grid-template-columns: 1fr; gap: 1.2rem; }
  .row-body .acts { justify-content: flex-start; }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
  .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .p-kontakt { flex-direction: column; }
  .p-kontakt .map { flex: 0 0 auto; height: 46vh; min-height: 300px; }
  .p-kontakt .form-col { padding-top: 2rem; }
  .group { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 720px) {
  :root { --header-h: 72px; }
  .brand img { height: 40px; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.12); padding: 1rem 1.25rem 1.4rem; display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav a { display: block; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.12); text-shadow: none; }
  .nav .btn { margin: .8rem 0 0; display: inline-flex; }
  .panel .inner { padding-bottom: 2.6rem; }
  .p-hero h1 { font-size: clamp(3.1rem, 15vw, 4.4rem); }
  .p-hero .sub { font-size: 1.05rem; }
  .row-btn .t { font-size: clamp(2rem, 9.5vw, 2.8rem); }
  .p-ki h2 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .p-proof h2 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .nums b { font-size: 2.6rem; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
  .form .cols { grid-template-columns: 1fr; gap: 0; }
  .map .claim h2 { font-size: 1.9rem; }
  .page-head { padding-top: calc(var(--header-h) + 2.5rem); }
  .page-head h1 { font-size: 2.5rem; }
  .section { padding: 3rem 0; }
}

/* ==========================================================================
   Bewegung (v2): pinned hero, word blend-ins, parallax, drawn lines, counters
   ========================================================================== */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--cyan); z-index: 60; transition: width .08s linear; }
.site-header { transition: background-color .25s, border-color .25s, transform .35s ease; }
.site-header.hide { transform: translateY(-100%); }

/* Every screen stays pinned; the next one slides over it, the one beneath shrinks and darkens */
.panel { position: sticky; top: 0; overflow: hidden; transform-origin: 50% 35%; will-change: transform; }
.panel:nth-child(1) { z-index: 1; } .panel:nth-child(2) { z-index: 2; } .panel:nth-child(3) { z-index: 3; } .panel:nth-child(4) { z-index: 4; } .panel:nth-child(5) { z-index: 5; }
.panel:not(.p-hero) { box-shadow: 0 -24px 70px rgba(13,19,25,.32); }
body:not(.sub) main { background: var(--ink); }   /* the dark stage behind the stacked screens, home only */
body.sub main { background: var(--white); }
.panel .veil { position: absolute; inset: 0; z-index: 3; background: var(--ink); opacity: 0; pointer-events: none; }
.p-kontakt .veil { display: none; }
.site-footer { position: relative; z-index: 6; }
.p-hero .bg img { transform-origin: 50% 45%; animation: kb 16s cubic-bezier(.2,.6,.2,1) forwards; }
@keyframes kb { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.p-hero .light { position: absolute; inset: -30%; background: radial-gradient(circle at 72% 28%, rgba(255,196,150,.55), rgba(255,196,150,0) 42%); mix-blend-mode: soft-light; animation: drift 22s ease-in-out infinite alternate; pointer-events: none; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-6%, 6%) scale(1.15); } }
.p-hero .cue { animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translate(-50%, 0) rotate(45deg); opacity: .8; } 50% { transform: translate(-50%, 8px) rotate(45deg); opacity: .35; } }

/* Words blend in from blur */
[data-words] .w { display: inline-block; white-space: pre; }
[data-words] .w > span { display: inline-block; }
.fx [data-words] .w > span { opacity: 0; transform: translateY(.35em) rotate(1.5deg); filter: blur(10px); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1), filter .9s ease; transition-delay: var(--wd, 0ms); }
.in[data-words] .w > span, .in [data-words] .w > span { opacity: 1; transform: none; filter: none; }

/* Generic reveals */
.fx [data-fx] { transition: opacity .8s ease, transform 1s cubic-bezier(.2,.7,.2,1), filter .8s ease; transition-delay: var(--d, 0ms); }
.fx [data-fx="up"] { opacity: 0; transform: translateY(28px); }
.fx [data-fx="scale"] { opacity: 0; transform: scale(1.08); }
.in [data-fx="up"], .in[data-fx="up"] { opacity: 1; transform: none; }
.in [data-fx="scale"], .in[data-fx="scale"] { opacity: 1; transform: none; }
.map { overflow: hidden; }
.map img { transform-origin: 50% 50%; }

/* Rows: line draws, text slides in */
.rows { border-top: 0; position: relative; }
.rows::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--ink); transform-origin: left; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.fx .rows::before { transform: scaleX(0); }
.in .rows::before { transform: none; }
.row { position: relative; border-bottom: 0; }
.row::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--line); transform-origin: left; transition: transform 1s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0ms) + 200ms); }
.fx .row::after { transform: scaleX(0); }
.row:last-child::after { height: 2px; background: var(--ink); }
.in .row::after { transform: none; }
.fx .row .row-btn { opacity: 0; transform: translateX(-24px); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.in .row .row-btn { opacity: 1; transform: none; }
.row-btn .t { position: relative; }
.row-btn .t::after { content: ""; position: absolute; left: 0; bottom: .02em; height: .08em; width: 100%; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.row-btn:hover .t::after, .row-btn[aria-expanded="true"] .t::after { transform: none; }

/* Parallax backgrounds get room to move */
.panel .bg img[data-parallax], .band .bg img[data-parallax] { height: 126%; top: -13%; position: relative; will-change: transform; }
.p-hero .bg img[data-parallax] { height: 100%; top: 0; }

/* Buttons: sweep fill */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: -2px; background: var(--ink); transform: translateX(-101%); transition: transform .35s cubic-bezier(.2,.7,.2,1); z-index: -1; }
.btn-primary:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-primary:hover::before { transform: none; }
.btn-ink::before { background: var(--cyan); }
.btn-ink:hover { background: var(--cyan); color: var(--ink); border-color: var(--cyan); transition-delay: 0s, .2s, 0s; }
.btn-ink:hover::before { transform: none; }

/* Map pin pulse */
.map .pin::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--cyan); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }

/* Subpages */
.page-head h1[data-words] { display: block; }

/* Static mode (screenshots) and reduced motion: everything visible, nothing moves */
.static [data-fx], .static [data-words] .w > span, .static .row .row-btn { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
.static .rows::before, .static .row::after { transform: none !important; transition: none !important; }
.static .p-hero .bg img, .static .p-hero .light, .static .p-hero .cue, .static .map .pin::after { animation: none !important; }
.static .p-hero .bg img { transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) {
  [data-fx], [data-words] .w > span, .row .row-btn { opacity: 1 !important; transform: none !important; filter: none !important; }
  .rows::before, .row::after { transform: none !important; }
}


/* Curtain: the site opens like a stage */
.curtain { display: none; position: fixed; inset: 0; z-index: 100; background: var(--ink); place-items: center; transform: translateY(0); transition: transform .7s cubic-bezier(.76,0,.24,1); transition-delay: .6s; }
body.curtain-on .curtain { display: grid; }
.curtain img { height: 64px; width: auto; opacity: 0; transform: scale(.92); animation: logoin .5s cubic-bezier(.2,.7,.2,1) .05s forwards; }
.curtain .line { position: absolute; left: 50%; bottom: 30%; width: 0; height: 2px; background: var(--cyan); transform: translateX(-50%); animation: linein .5s cubic-bezier(.2,.7,.2,1) .25s forwards; }
@keyframes logoin { to { opacity: 1; transform: none; } }
@keyframes linein { to { width: 120px; } }
body.ready .curtain { transform: translateY(-101%); }
body.ready .curtain img { transition: opacity .3s ease .45s; opacity: 0; }

/* Ghost line behind «Wo stehen Sie?», pushed sideways by the scroll */
.p-stehen .ghost { position: absolute; left: 0; top: calc(var(--header-h) + .4rem); white-space: nowrap; z-index: 0; font-family: var(--display); font-size: clamp(5rem, 12vw, 12rem); line-height: 1; letter-spacing: .02em; color: var(--cyan); pointer-events: none; will-change: transform; }
.p-stehen { justify-content: flex-start; }
.p-stehen .inner { z-index: 1; padding-top: calc(var(--header-h) + clamp(5rem, 12vw, 12rem) + 1.2rem); }

/* Backgrounds zoom in when a screen arrives */
.fx .p-ki .bg, .fx .p-proof .bg { transform: scale(1.14); transition: transform 2.4s cubic-bezier(.2,.7,.2,1); }
.p-ki.in .bg, .p-proof.in .bg { transform: none; }

/* Night sky: stars twinkle, one meteor every few seconds */
.stars { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; opacity: 0; animation: twinkle var(--t, 3s) ease-in-out var(--s, 0s) infinite; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.6); } 50% { opacity: var(--o, .9); transform: scale(1.3); } }
.meteor { position: absolute; z-index: 1; top: 12%; left: 62%; width: 220px; height: 2px; background: linear-gradient(90deg, rgba(255,255,255,0), #fff 70%, var(--cyan)); border-radius: 2px; transform: rotate(-32deg) translateX(0); opacity: 0; pointer-events: none; }
.p-proof.in .meteor { animation: meteor 9s linear .9s infinite; }
@keyframes meteor { 0% { opacity: 0; transform: rotate(-32deg) translateX(0) scaleX(.2); } 2% { opacity: 1; } 12%, 100% { opacity: 0; transform: rotate(-32deg) translateX(-900px) scaleX(1.4); } }

/* Map: waves run from Schlieren over the whole map */
.map .wave { position: absolute; left: 0; top: 0; width: 42vw; height: 42vw; margin: -21vw 0 0 -21vw; border-radius: 50%; border: 3px solid var(--cyan); background: radial-gradient(circle, rgba(54,183,226,0) 55%, rgba(54,183,226,.28) 100%); opacity: 0; transform: scale(0); animation: wave 4.8s cubic-bezier(.1,.6,.4,1) infinite; pointer-events: none; }
.map .wave.w2 { animation-delay: 1.6s; } .map .wave.w3 { animation-delay: 3.2s; }
@keyframes wave { 0% { transform: scale(0); opacity: 0; } 8% { opacity: 1; } 100% { transform: scale(1); opacity: 0; } }

/* Loops pause while their screen is off */
.fx .p-proof:not(.on) .stars i, .fx .p-proof:not(.on) .meteor, .fx .p-kontakt:not(.on) .map .wave, .fx .p-kontakt:not(.on) .map .ch, .fx .p-kontakt:not(.on) .map .detail, .fx .p-kontakt:not(.on) .map .marker, .fx .p-kontakt:not(.on) .map .lab.zh { animation-play-state: paused; }

/* No script, reduced motion or ?static=1 (screenshots): everything visible, nothing moves, nothing pinned */
html:not(.fx) .panel { position: relative; box-shadow: none; transform: none !important; }
html:not(.fx) .stars, html:not(.fx) .meteor, html:not(.fx) .map .wave, html:not(.fx) .panel .veil, html:not(.fx) .p-hero .light { display: none; }
html:not(.fx) .p-hero .bg img { animation: none; transform: scale(1.02); }
html:not(.fx) .p-hero .cue, html:not(.fx) .map .pin::after { animation: none; }
@media (hover: none), (max-width: 720px) {
  .panel { position: relative; box-shadow: none; transform: none !important; }
  .panel .veil, .ghost, .curtain { display: none !important; }
  .p-stehen .inner { padding-top: calc(var(--header-h) + 2.5rem); }
  .person { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) { .map .wave { width: 60vw; height: 60vw; margin: -30vw 0 0 -30vw; } }

/* ==========================================================================
   Complete site (v4): skip link, form states, KI page, legal prose
   ========================================================================== */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--cyan); color: var(--ink); font-weight: 700; padding: .8rem 1.2rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
.hp-field { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.form-feedback { padding: .9rem 1.1rem; margin: 0 0 1.2rem; font-weight: 600; border-left: 4px solid var(--cyan); background: var(--white); }
.form-feedback.ok { border-left-color: #1f7a4d; background: #e8f6ee; color: #10462b; }
.form-feedback.err { border-left-color: #b3261e; background: #fbeae8; color: #6b1a15; }
.form .h-captcha { margin: .2rem 0 1.1rem; min-height: 78px; }

/* KI page */
.band.hero-band { padding: calc(var(--header-h) + 5rem) 0 4.5rem; min-height: 78svh; display: flex; align-items: flex-end; }
.band.hero-band .bg::after { background: linear-gradient(180deg, rgba(13,19,25,.28) 0%, rgba(13,19,25,.18) 45%, rgba(13,19,25,.62) 100%); }
.band h1 { font-size: clamp(3.2rem, 7.5vw, 7.5rem); max-width: 12ch; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.band .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.8rem; margin-bottom: 1.6rem; }
.band .facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem .8rem; }
.band .facts li { font-size: .9rem; font-weight: 700; padding: .45rem .8rem; border: 1px solid rgba(255,255,255,.55); background: rgba(13,19,25,.35); backdrop-filter: blur(4px); }
.band .facts li::before { content: "✓"; color: var(--cyan); margin-right: .45rem; }
.h-big { font-size: clamp(2.4rem, 4.6vw, 4.6rem); margin-bottom: 1.2rem; max-width: 18ch; }
.kern { font-size: 1.18rem; max-width: 46rem; }
.lead-p { font-size: 1.12rem; color: var(--slate); max-width: 46rem; }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin: 2rem 0 2.5rem; }
.ways article { position: relative; padding: 1.6rem 1.5rem 1.2rem; border: 1px solid var(--line); background: var(--paper); }
.ways article p:last-child { margin-bottom: 0; }
.ways article h3 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; letter-spacing: .01em; margin: 0 0 .7rem; }
.ways .reco { border: 2px solid var(--cyan); background: var(--white); padding-top: 2.4rem; }
.ways .badge { position: absolute; left: 1.5rem; top: -.75rem; font-size: .74rem; font-weight: 800; letter-spacing: .04em; background: var(--cyan); color: var(--ink); padding: .25rem .6rem; }
.quote-note { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem; align-items: center; margin: 0 0 2rem; padding: 1.6rem; border: 1px solid var(--line); }
.quote-note img { width: 100%; height: auto; }
.quote-note blockquote { margin: 0; font-size: 1.08rem; }
.quote-note blockquote p { margin: 0 0 .8rem; }
.quote-note cite { font-style: normal; font-weight: 700; font-size: .95rem; color: var(--slate); }
.quote-note cite a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--cyan); }
.acts-p { margin: 0; }
.typo3 .inner2 h2 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); margin-bottom: 1.2rem; }

/* Legal pages */
.prose { max-width: 50rem; overflow-wrap: anywhere; }
.prose h2, .prose h3 { margin: 2.2rem 0 .6rem; font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { margin: 0 0 1rem; }
.prose ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.prose a { word-break: break-word; }
@media (max-width: 1000px) {
  .ways { grid-template-columns: 1fr; }
  .quote-note { grid-template-columns: 1fr; }
}
