/* ARTUS e.V.
   Lynx-Blau aus dem Roboter, Aqua für Puma, Mint und Eisblau aus dem Vereinslogo. */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  --navy: #081a38;
  --navy-deep: #061a3d;
  --ink: #0c2140;
  --ink-soft: #46607e;
  --blue: #1a62d6;
  --blue-dark: #134cac;
  --blue-bright: #2b7be4;
  --aqua: #27d9bd;
  --aqua-dark: #0d9d87;
  --mint: #c8f9db;
  --ice: #eaf3ff;
  --snow: #f7fbff;
  --white: #ffffff;

  --font-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 74rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 4.5rem;
  --radius: 1.25rem;
  --ease: cubic-bezier(0.7, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 0.2em; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -0.015em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; letter-spacing: -0.005em; }
p { margin: 0 0 1em; max-width: 62ch; }
dl, dd, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--white); padding: 0.6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }

.big { font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.45; font-weight: 500; color: var(--ink); }
.section-lead { font-size: 1.2rem; color: var(--ink-soft); margin-top: 1rem; }

/* ---------- Fortschrittsanzeige ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; background: linear-gradient(90deg, var(--blue-bright), var(--aqua)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 0.85rem 1.6rem; border-radius: 999px; border: 2px solid transparent; font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.2s, background-color 0.15s, color 0.15s, border-color 0.15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 20px -10px rgba(26, 98, 214, 0.7); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); box-shadow: 0 12px 24px -10px rgba(26, 98, 214, 0.8); }
.btn-quiet { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-quiet:hover { background: var(--blue); color: var(--white); }
.btn-aqua { background: var(--aqua); color: var(--navy); }
.btn-aqua:hover { background: var(--white); color: var(--navy); }
.btn-quiet-light { border-color: var(--aqua); color: var(--aqua); background: transparent; }
.btn-quiet-light:hover { background: var(--aqua); color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.text-link { font-weight: 700; }

/* ---------- Kopfzeile und Menü ---------- */
.site-header { position: sticky; top: 0; z-index: 60; height: var(--header-h); background: rgba(6, 26, 61, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); transition: box-shadow 0.25s; }
.site-header.is-scrolled { box-shadow: 0 12px 30px -16px rgba(0, 0, 0, 0.6); }
.header-bar { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--white); margin-right: auto; }
.brand:hover { color: var(--white); }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; letter-spacing: 0.1em; line-height: 1; }
.brand { order: 1; }
.nav { order: 2; }
.lang-switch { order: 3; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.95rem; border: 2px solid rgba(255, 255, 255, 0.55); border-radius: 999px; color: var(--white); font-weight: 700; font-size: 0.9rem; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
.lang-switch::before { content: ""; width: 0.95rem; height: 0.95rem; border: 1.6px solid currentColor; border-radius: 50%; background: radial-gradient(ellipse 28% 100% at 50% 50%, transparent 55%, currentColor 56%, currentColor 66%, transparent 67%), linear-gradient(currentColor, currentColor) 50% 50% / 100% 1.6px no-repeat; }
.lang-switch:hover { background: var(--aqua); border-color: var(--aqua); color: var(--navy); }
.nav-toggle { order: 4; }

.nav-list { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2rem); }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.97rem; padding: 0.25rem 0; background: linear-gradient(var(--aqua), var(--aqua)) 0 100% / 0 2px no-repeat; transition: background-size 0.25s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 2px; color: var(--white); }

.sub-toggle { position: relative; width: 1.5rem; height: 1.5rem; margin-left: 0.1rem; padding: 0; border: 0; background: none; cursor: pointer; }
.sub-toggle::before { content: ""; position: absolute; left: 50%; top: 45%; width: 0.45rem; height: 0.45rem; border-right: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: translate(-50%, -50%) rotate(45deg); transition: transform 0.2s var(--ease); }
.has-sub.is-open .sub-toggle::before { transform: translate(-50%, -25%) rotate(225deg); }
.sub { display: none; position: absolute; top: calc(100% + 0.5rem); left: -1rem; z-index: 5; min-width: 11rem; flex-direction: column; gap: 0.1rem; padding: 0.5rem; background: var(--navy); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 0.9rem; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.7); }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -0.6rem; height: 0.6rem; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { display: flex; }
.sub a { display: block; padding: 0.55rem 0.8rem; border-radius: 0.55rem; background: none; }
.sub a:hover, .sub a[aria-current="page"] { background: rgba(255, 255, 255, 0.1); }

.nav-toggle { display: none; font: 700 0.95rem var(--font-body); color: var(--white); background: transparent; border: 2px solid rgba(255, 255, 255, 0.7); border-radius: 999px; padding: 0.45rem 1rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(90% 85% at 72% 38%, #174a8f 0%, #0b2c60 42%, #061a3d 100%); color: var(--white); padding-block: clamp(2rem, 5vw, 4rem); overflow: hidden; isolation: isolate; }
.snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; min-height: min(48rem, calc(100svh - var(--header-h) - 3rem)); }
.hero h1 { font-weight: 800; font-size: clamp(3rem, 7.2vw, 6rem); line-height: 0.96; letter-spacing: -0.035em; margin-bottom: 1.5rem; color: var(--white); }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; }
.hero h1 .w > span { display: inline-block; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); max-width: 34rem; }
.hero .lead { color: rgba(255, 255, 255, 0.84); }
.hero .btn-primary { background: var(--aqua); color: var(--navy); box-shadow: 0 10px 26px -12px rgba(39, 217, 189, 0.8); }
.hero .btn-primary:hover { background: var(--white); color: var(--navy); }
.hero .btn-quiet { border-color: rgba(255, 255, 255, 0.65); color: var(--white); }
.hero .btn-quiet:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.stage { margin: 0; width: 100%; max-width: 41rem; justify-self: center; }
.stage-art { position: relative; width: 100%; aspect-ratio: 1 / 1; }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ring text { font-family: var(--font-display); font-weight: 700; font-size: 15px; fill: var(--mint); }
.ring-text { transform-origin: 200px 200px; animation: ring-spin 70s linear infinite; }
.ring-line { stroke: var(--aqua); stroke-width: 1.5; opacity: 0.6; stroke-dasharray: 1; stroke-dashoffset: 0; }
.disc { position: absolute; inset: 14%; border-radius: 50%; background: linear-gradient(135deg, var(--mint), #98befc); border: 4px solid var(--aqua); box-shadow: 0 0 90px -10px rgba(43, 123, 228, 0.7); }
.viewer { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; }
.viewer:active { cursor: grabbing; }
.viewer canvas { width: 100%; height: 100%; display: block; }
.viewer-status { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; max-width: none; padding: 0 22%; text-align: center; color: var(--ink); font-weight: 600; }
.viewer-status[hidden] { display: none; }
.stage figcaption { margin: 2rem auto 0; max-width: 30rem; text-align: center; font-size: 0.92rem; line-height: 1.5; color: rgba(255, 255, 255, 0.74); }

@keyframes ring-spin { to { transform: rotate(360deg); } }

/* Hero-Einstieg (nur mit JavaScript) */
.js .hero h1 .w > span { transform: translateY(105%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--i) * 110ms + 150ms); }
.js .hero .lead, .js .hero .actions { opacity: 0; transform: translateY(16px); transition: opacity 0.8s ease 0.7s, transform 0.8s var(--ease) 0.7s; }
.js .hero .actions { transition-delay: 0.85s; }
.js .stage { opacity: 0; transform: scale(0.94); transition: opacity 1s ease 0.25s, transform 1.1s var(--ease) 0.25s; }
.js .ring-line { stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) 0.4s; }
.js.is-ready .hero h1 .w > span { transform: none; }
.js.is-ready .hero .lead, .js.is-ready .hero .actions { opacity: 1; transform: none; }
.js.is-ready .stage { opacity: 1; transform: none; }
.js.is-ready .ring-line { stroke-dashoffset: 0; }

/* ---------- Unterseiten-Kopf ---------- */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(90% 130% at 88% 0%, #174a8f 0%, #0b2c60 45%, #061a3d 100%); color: var(--white); padding: clamp(3rem, 7vw, 5.5rem) 0; }
.page-hero::after { content: ""; position: absolute; right: -9rem; top: 50%; width: 28rem; height: 28rem; margin-top: -14rem; border-radius: 50%; border: 3px solid rgba(39, 217, 189, 0.32); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -0.03em; line-height: 1; }
.page-hero .lead { color: rgba(255, 255, 255, 0.84); margin: 1rem 0 0; }
.page-hero-post h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); max-width: 22ch; }
.post-date { margin: 0 0 0.75rem; color: var(--aqua); font-weight: 600; }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(3.75rem, 8vw, 7rem); }
.section-snow { background: var(--snow); }
.section-white { background: var(--white); }
.section-ice { background: var(--ice); }
.section-navy, .section-night { background: var(--navy); color: var(--white); }
.section-navy .big, .section-night .big { color: var(--white); }
.section-navy a:not(.btn), .section-night a:not(.btn) { color: var(--aqua); }
.section-navy a:not(.btn):hover, .section-night a:not(.btn):hover { color: var(--white); }
.subhead { margin: clamp(3.5rem, 7vw, 5.5rem) 0 0; }

/* ---------- Bilder: Aufdecken wie ein Schneepflug ---------- */
.photo-frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ice); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.js .reveal { clip-path: inset(0 100% 0 0 round var(--reveal-r, var(--radius))); transition: clip-path 1.1s var(--ease); }
.js .reveal img { transform: scale(1.18); transition: transform 1.4s var(--ease); }
.js .reveal.in { clip-path: inset(0 0 0 0 round var(--reveal-r, var(--radius))); }
.js .reveal.in img { transform: none; }
figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.5rem; }

/* ---------- Startseite: Mitglied werden und Blog ---------- */
.duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.cta-card { background: var(--ice); border-radius: calc(var(--radius) * 1.3); padding: clamp(1.75rem, 3.2vw, 2.75rem); }
.cta-card h2 { margin-bottom: 1.25rem; }
.cta-card p:not(.big) { color: var(--ink-soft); }
.ticks { margin: 1.25rem 0 1.75rem; display: grid; gap: 0.6rem; }
.ticks li { position: relative; padding-left: 1.7rem; }
.ticks li::before { content: ""; position: absolute; left: 0.1rem; top: 0.55em; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--blue-bright); }
.news-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; }
.news-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.news-list article { border-top: 3px solid var(--blue-bright); padding: 1rem 0 1.5rem; }
.news-list time, .post-rows time { display: block; font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.35rem; }
.news-list h3 { font-size: 1.4rem; line-height: 1.15; margin-bottom: 0.5rem; }
.news-list h3 a, .post-rows h2 a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--blue-bright), var(--blue-bright)) 0 100% / 0 3px no-repeat; transition: background-size 0.3s var(--ease); }
.news-list h3 a:hover, .post-rows h2 a:hover { background-size: 100% 3px; color: var(--ink); }
.news-list p { color: var(--ink-soft); margin: 0; }

/* ---------- Projekte (Lynx und Puma) ---------- */
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.25rem); margin-top: 2.5rem; }
.proj-card { --reveal-r: 0px; display: flex; flex-direction: column; background: var(--white); border-radius: calc(var(--radius) * 1.2); overflow: hidden; box-shadow: 0 30px 50px -36px rgba(8, 26, 56, 0.55); }
.proj-lynx { border-top: 5px solid var(--blue-bright); }
.proj-puma { border-top: 5px solid var(--aqua); }
.proj-card .photo-frame { border-radius: 0; aspect-ratio: 16 / 10; }
.proj-body { padding: 1.5rem 1.75rem 1.9rem; }
.proj-body h3 { font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 0.4rem; }
.proj-for { font-weight: 700; margin-bottom: 0.75rem; }
.proj-lynx .proj-for { color: var(--blue); }
.proj-puma .proj-for { color: var(--aqua-dark); }
.proj-body p:not(.proj-for) { color: var(--ink-soft); }

.photo-puma { background: #02060f; }
.photo-puma .glow { position: absolute; left: 16%; top: 38%; width: 34%; height: 22%; border-radius: 50%; background: radial-gradient(closest-side, rgba(39, 217, 189, 0.55), rgba(39, 217, 189, 0)); mix-blend-mode: screen; animation: breathe 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes breathe { 0%, 100% { opacity: 0.25; transform: scale(0.95); } 50% { opacity: 1; transform: scale(1.1); } }

/* ---------- Video ---------- */
.video { position: relative; margin-top: 2.25rem; aspect-ratio: 16 / 9; border-radius: calc(var(--radius) * 1.3); overflow: hidden; background: var(--navy); box-shadow: 0 40px 70px -40px rgba(8, 26, 56, 0.65); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: var(--navy); color: var(--white); display: block; }
.video-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.video-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 26, 56, 0.05) 40%, rgba(8, 26, 56, 0.7)); }
.video-poster:hover img { transform: scale(1.04); }
.play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 5.5rem; height: 5.5rem; margin: -2.75rem 0 0 -2.75rem; border-radius: 50%; background: var(--white); box-shadow: 0 14px 40px -10px rgba(8, 26, 56, 0.6); transition: transform 0.25s var(--ease); }
.play::before { content: ""; position: absolute; left: 50%; top: 50%; margin: -0.85rem 0 0 -0.55rem; border-style: solid; border-width: 0.85rem 0 0.85rem 1.45rem; border-color: transparent transparent transparent var(--blue); }
.play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--white); animation: pulse 2.4s ease-out infinite; }
.video-poster:hover .play { transform: scale(1.08); }
.video-label { position: absolute; z-index: 2; left: 1.5rem; bottom: 1.25rem; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.video-note { margin: 0.9rem 0 0; font-size: 0.85rem; color: var(--ink-soft); max-width: 70ch; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Über uns ---------- */
.about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { color: var(--ink-soft); }
.about-text .big { color: var(--ink); }
.traits { margin-top: 2rem; display: grid; gap: 1.25rem; }
.traits > div { border-left: 4px solid var(--blue-bright); padding-left: 1rem; }
.traits dt { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.traits dd { color: var(--ink-soft); max-width: 50ch; }
.about-photo { position: relative; max-width: 30rem; justify-self: end; width: 100%; }
.about-photo::before { content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border-radius: var(--radius); background: var(--mint); z-index: 0; }
.about-photo .photo-frame { position: relative; z-index: 1; aspect-ratio: 1 / 1; }
.about-photo img { object-position: 50% 72%; }

.weg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); margin-top: 1.75rem; }
.weg li { border-top: 3px solid var(--blue-bright); padding-top: 1rem; }
.weg time { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--blue); margin-bottom: 0.35rem; }
.weg h4 { margin-bottom: 0.5rem; }
.weg p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }

/* ---------- Lynx- und Puma-Seiten ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.feature-reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.feature-reverse .feature-photo { order: 2; }
.feature-photo .photo-frame { aspect-ratio: 3 / 2; }
.feature-text h2 { margin-bottom: 1rem; }
.feature-text p:not(.big) { color: var(--ink-soft); }
.section-navy .feature-text p:not(.big) { color: rgba(255, 255, 255, 0.78); }

.rows { margin-top: 1.5rem; border-top: 1px solid rgba(12, 33, 64, 0.16); }
.rows li { border-bottom: 1px solid rgba(12, 33, 64, 0.16); }
.rows a { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; align-items: baseline; padding: 0.85rem 0.25rem; text-decoration: none; color: var(--ink); transition: background-color 0.2s, padding 0.2s var(--ease); }
.rows a:hover { background: var(--ice); padding-inline: 0.75rem; color: var(--ink); }
.row-title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--blue); }
.row-text { color: var(--ink-soft); font-size: 0.97rem; }

.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(0.75rem, 2vw, 1.5rem); margin-top: 2.5rem; align-items: start; }
.mosaic-a { grid-column: 1 / span 8; grid-row: 1 / span 2; display: flex; flex-direction: column; align-self: stretch; }
.mosaic-b { grid-column: 9 / span 4; }
.mosaic-c { grid-column: 9 / span 4; }
.mosaic-a .photo-frame { flex: 1; min-height: 22rem; }
.mosaic-b .photo-frame, .mosaic-c .photo-frame { aspect-ratio: 3 / 2; }
.mosaic-a img { object-position: 60% 50%; }
.mosaic-c img { object-position: 50% 45%; }

/* ---------- Mitglied werden ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split-intro h2 { margin-bottom: 1.25rem; }
.split-intro p { color: var(--ink-soft); }
.list-intro { font-weight: 700; margin-bottom: 0.5rem; color: var(--ink); }
.perks { margin: 1.5rem 0 1.75rem; display: grid; gap: 1rem; }
.perks dt { font-weight: 700; }
.perks dd { color: var(--ink-soft); max-width: 52ch; }

.groups { border-top: 1px solid rgba(12, 33, 64, 0.22); }
.groups details { border-bottom: 1px solid rgba(12, 33, 64, 0.22); }
.groups summary, .donate summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0.25rem; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.groups summary::-webkit-details-marker, .donate summary::-webkit-details-marker { display: none; }
.groups summary::after, .donate summary::after { content: "+"; font-family: var(--font-body); font-weight: 400; font-size: 1.7rem; line-height: 1; color: var(--blue); transition: transform 0.25s var(--ease); flex: none; }
.groups details[open] summary::after, .donate[open] summary::after { transform: rotate(45deg); }
.groups details p { padding: 0 0.25rem 1.2rem; margin: 0; color: var(--ink-soft); }

/* ---------- Sponsoren ---------- */
.sponsor-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.sponsor-head p { color: rgba(255, 255, 255, 0.84); }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); margin-top: 3.5rem; }
.benefits > div { border-top: 3px solid var(--aqua); padding-top: 1rem; }
.benefits dt { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; margin-bottom: 0.4rem; }
.benefits dd { color: rgba(255, 255, 255, 0.8); font-size: 0.98rem; }

.logos-title { margin-top: 4rem; margin-bottom: 1.25rem; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; gap: 0.85rem; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; width: 13rem; display: flex; }
.sp-tile { flex: 1; display: grid; justify-items: center; align-content: center; gap: 0.6rem; min-height: 9rem; padding: 1rem; background: var(--white); border-radius: 0.9rem; text-align: center; text-decoration: none; color: var(--ink); transition: transform 0.25s var(--ease), box-shadow 0.25s; }
a.sp-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.6); color: var(--ink); }
.sp-logo { display: grid; place-items: center; width: 100%; height: 3.8rem; }
.sp-logo img { max-height: 3.8rem; max-width: 100%; width: auto; object-fit: contain; }
.sp-initials { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--mint); color: var(--navy); font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.sp-name { font-weight: 700; font-size: 0.95rem; line-height: 1.2; }
@keyframes marquee { to { transform: translateX(calc(-50% - 0.425rem)); } }

.thanks { margin: 0.9rem 0 0; font-size: 1rem; color: rgba(255, 255, 255, 0.9); max-width: 70ch; }
.thanks strong { color: var(--aqua); }
.funding { margin: 1.75rem 0 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.7); max-width: 70ch; }
.donate { margin-top: 2.5rem; border-top: 1px solid rgba(39, 217, 189, 0.3); border-bottom: 1px solid rgba(39, 217, 189, 0.3); }
.donate summary { color: var(--white); }
.donate summary::after { color: var(--aqua); }
.donate-body { padding: 0.25rem 0.25rem 1.25rem; }
.donate-body p { color: rgba(255, 255, 255, 0.86); }

/* ---------- Blog und Texte ---------- */
.post-rows article { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1.5rem; border-top: 3px solid var(--blue-bright); padding: 1.25rem 0 1.75rem; }
.post-rows h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; margin-bottom: 0.5rem; }
.post-rows time { margin: 0.35rem 0 0; }
.post-rows p { color: var(--ink-soft); margin: 0; }

.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 2.25rem 0 0.75rem; }
.prose h3 { font-size: 1.35rem; margin: 2rem 0 0.6rem; }
.prose h4 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { max-width: none; }
.prose ul, .prose ol { list-style: disc; padding-left: 1.4rem; margin: 0 0 1em; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.4em; }
.notice { background: #fff6d6; border-left: 4px solid #e0a800; padding: 1rem 1.25rem; border-radius: 0.5rem; margin-bottom: 2rem; }
.back { margin-top: 3rem; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--ice); padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: 1.5rem; font-size: 0.97rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 0.7fr; gap: 2rem; align-items: start; }
.footer-grid p, .footer-grid address { margin: 0; font-style: normal; }
.footer-brand { display: flex; gap: 1rem; align-items: center; }
.legal li + li { margin-top: 0.25rem; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--blue); }
.copyright { margin-top: 2.5rem; color: var(--ink-soft); font-size: 0.88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 62rem) {
  .weg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .rows a { grid-template-columns: 1fr; gap: 0.1rem; }
}

@media (max-width: 56rem) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding: 0.5rem var(--gutter) 1.25rem; max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { display: block; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .nav a { display: inline-block; padding: 0.85rem 0; font-size: 1.1rem; background: none; }
  .nav a[aria-current="page"] { color: var(--aqua); }
  .sub-toggle { display: none; }
  .sub, .has-sub:hover .sub { display: flex; position: static; min-width: 0; padding: 0 0 0.75rem 1rem; background: none; border: 0; box-shadow: none; }
  .sub::before { display: none; }
  .sub a { padding: 0.5rem 0; font-size: 1rem; font-weight: 500; color: rgba(255, 255, 255, 0.85); }
  .sub a:hover { background: none; }
}

@media (max-width: 52rem) {
  .hero-grid, .about, .feature, .feature-reverse, .split, .sponsor-head, .duo, .cards-2 { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .stage { max-width: 30rem; }
  .feature-reverse .feature-photo { order: 0; }
  .about-photo { justify-self: start; max-width: 24rem; }
  .mosaic { grid-template-columns: 1fr; }
  .mosaic-a, .mosaic-b, .mosaic-c { grid-column: auto; grid-row: auto; }
  .mosaic-a .photo-frame { flex: none; min-height: 0; aspect-ratio: 4 / 3; }
  .post-rows article { grid-template-columns: 1fr; gap: 0.25rem; }
  .post-rows time { margin: 0 0 0.25rem; }
}

@media (max-width: 36rem) {
  .header-bar { gap: 0.55rem; }
  .brand { gap: 0.5rem; }
  .brand-name { font-size: 1.3rem; letter-spacing: 0.06em; }
  .lang-switch { padding: 0.32rem 0.75rem; font-size: 0.85rem; }
  .lang-switch::before { display: none; }
  .nav-toggle { padding: 0.38rem 0.85rem; font-size: 0.9rem; }
  .weg { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .news-head { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .play { width: 4.5rem; height: 4.5rem; margin: -2.25rem 0 0 -2.25rem; }
}

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero h1 .w > span, .js .hero .lead, .js .hero .actions, .js .stage { transform: none; opacity: 1; }
  .js .reveal { clip-path: none; }
  .js .reveal img { transform: none; }
  .js .ring-line { stroke-dashoffset: 0; }
  .js .soon-row li { opacity: 1; transform: none; }
  .marquee-track { flex-wrap: wrap; width: auto; }
  .marquee-track li[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .progress { display: none; }
}


/* ---------- Bildergalerie und Großansicht ---------- */
.gallery { column-count: 3; column-gap: 1rem; margin-top: 1.5rem; }
.gal-item { display: block; width: 100%; margin: 0 0 1rem; padding: 0; border: 0; background: none; cursor: zoom-in; break-inside: avoid; }
.gal-item .photo-frame { display: block; }
.gal-item img { width: 100%; height: auto; transition: transform 0.6s var(--ease); }
.gal-item:hover img { transform: scale(1.04); }
.lightbox { padding: 0; border: 0; background: transparent; width: 100vw; height: 100vh; max-width: none; max-height: none; color: var(--white); }
.lightbox::backdrop { background: rgba(4, 12, 28, 0.92); }
.lightbox[open] { display: grid; grid-template-columns: 4rem minmax(0, 1fr) 4rem; align-items: center; }
.lightbox figure { grid-column: 2; display: grid; justify-items: center; gap: 0.75rem; margin: 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 7rem); width: auto; height: auto; border-radius: 0.6rem; }
.lightbox figcaption { color: rgba(255, 255, 255, 0.85); text-align: center; max-width: 60ch; min-height: 1.5em; margin: 0; }
.lightbox button { font: inherit; color: var(--white); background: rgba(255, 255, 255, 0.12); border: 0; border-radius: 50%; width: 3rem; height: 3rem; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.28); }
.lb-prev { grid-column: 1; justify-self: center; }
.lb-next { grid-column: 3; justify-self: center; }
.lb-close { position: absolute; top: 1rem; right: 1rem; }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }

/* ---------- Sponsorenliste ---------- */
.sp-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.25rem; margin-top: 2.25rem; }
.sp-card { background: var(--snow); border: 1px solid #d9e6f6; border-radius: calc(var(--radius) * 0.9); padding: 1.25rem 1.4rem 1.5rem; }
.sp-card-logo { display: grid; place-items: center; height: 6.5rem; margin-bottom: 1rem; background: var(--white); border-radius: 0.8rem; padding: 0.9rem; text-decoration: none; }
.sp-card-logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.sp-card-logo .sp-initials { width: 4rem; height: 4rem; font-size: 1.3rem; }
.sp-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.sp-card h3 a { color: var(--ink); text-decoration: none; }
.sp-card h3 a:hover { color: var(--blue); text-decoration: underline; }
.sp-card-text { color: var(--ink-soft); font-size: 0.97rem; }
.sp-card-text p { margin: 0 0 0.6em; }

/* ---------- Mitglied werden ---------- */
.perks-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); margin-top: 2.25rem; }
.perks-grid > div { background: var(--white); border-radius: calc(var(--radius) * 0.9); padding: 1.4rem 1.5rem 1.6rem; border-top: 4px solid var(--blue-bright); }
.perks-grid dt { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.15; margin-bottom: 0.5rem; }
.perks-grid dd { color: var(--ink-soft); }
.join-cta .big { max-width: 36ch; margin-top: 1rem; }

/* ---------- Über uns: Personen ---------- */
.about-sub { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 2rem 0 1rem; }
.people-sub { margin-top: clamp(3rem, 6vw, 4.5rem); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1.25rem; margin-top: 1.75rem; }
.person { background: var(--white); border-radius: calc(var(--radius) * 0.9); padding: 1.5rem; }
.person-photo { display: block; width: 6rem; height: 6rem; border-radius: 50%; overflow: hidden; margin-bottom: 1rem; background: linear-gradient(135deg, var(--mint), #98befc); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-initials { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; color: var(--navy); }
.person h3 { font-size: 1.3rem; margin-bottom: 0.15rem; }
.person-role { color: var(--blue); font-weight: 700; margin-bottom: 0.6rem; }
.person p:last-child { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Lynx-Seite: 3D-Modell und Technik ---------- */
.viewer-panel { position: relative; aspect-ratio: 16 / 9; max-height: 38rem; width: 100%; border-radius: calc(var(--radius) * 1.3); overflow: hidden; background: linear-gradient(135deg, var(--mint), #98befc); box-shadow: 0 40px 70px -44px rgba(8, 26, 56, 0.7); }
.viewer-info { margin: 1rem 0 0; font-size: 0.9rem; color: var(--ink-soft); max-width: 70ch; }
.tech { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.tech-block h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 1.25rem; }
.tech-block > p { color: var(--ink-soft); }
.tech-block h4 { margin: 1.5rem 0 0.5rem; font-size: 1.1rem; }
.tech-block h4:first-child { margin-top: 0; }
.acc { border-bottom: 1px solid rgba(12, 33, 64, 0.2); }
.tech-block h2 + .acc { border-top: 1px solid rgba(12, 33, 64, 0.2); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0.25rem; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-family: var(--font-body); font-weight: 400; font-size: 1.7rem; line-height: 1; color: var(--blue); transition: transform 0.25s var(--ease); flex: none; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc-body { padding: 0 0.25rem 1.5rem; max-width: 52rem; }
.acc-body p { color: var(--ink-soft); }
.spec { margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 0.35rem 1.5rem; }
.spec li { padding: 0.45rem 0; border-bottom: 1px solid rgba(12, 33, 64, 0.1); font-size: 0.97rem; color: var(--ink-soft); }
.spec strong { color: var(--ink); font-weight: 600; }
.tech-block > .spec { max-width: 60rem; }
.credit { font-size: 0.85rem; color: var(--ink-soft); margin: 0.5rem 0 0; }
.asc-text { max-width: 52rem; margin-top: 1.5rem; }
.asc-text p { color: var(--ink-soft); }
.post-image { margin: 0 0 2rem; max-width: 56rem; }
.post-image img { width: 100%; border-radius: var(--radius); }
.legal-text h2 { scroll-margin-top: calc(var(--header-h) + 1rem); }
.legal-text a { word-break: break-word; }

@media (max-width: 62rem) {
  .gallery { column-count: 2; }
  .perks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 36rem) {
  .gallery { column-count: 1; }
  .perks-grid { grid-template-columns: 1fr; }
  .lightbox[open] { grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem; }
  .viewer-panel { aspect-ratio: 4 / 3; }
}


/* ---------- Unser Team: Animation "stellt sich in Kürze vor" ---------- */
.soon { margin-top: 2.5rem; text-align: center; }
.soon-row { display: flex; justify-content: center; align-items: flex-end; gap: clamp(0.6rem, 2.2vw, 1.5rem); }
.soon-row li { --s: clamp(3.4rem, 9vw, 6.5rem); }
.soon-row li:nth-child(1), .soon-row li:nth-child(5) { --s: clamp(3rem, 7.4vw, 5.2rem); }
.soon-row li:nth-child(3) { --s: clamp(4.6rem, 12vw, 8.4rem); }
.soon-avatar { display: block; width: var(--s); height: var(--s); border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--mint), #98befc); border: 3px solid var(--blue-bright); animation: soon-bob 4.6s ease-in-out infinite, soon-spot 5s ease-in-out infinite; animation-delay: calc(var(--i) * 0.45s), calc(var(--i) * 0.8s + 1.2s); }
.soon-avatar svg { display: block; width: 100%; height: 100%; fill: rgba(255, 255, 255, 0.92); }
.js .soon-row li { opacity: 0; transform: translateY(2.4rem) scale(0.85); transition: opacity 0.7s ease, transform 0.95s var(--ease); transition-delay: calc(var(--i) * 140ms); }
.js .soon.in .soon-row li { opacity: 1; transform: none; }
.soon-text { margin: 2.25rem auto 0; max-width: 20ch; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 4.2vw, 3rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .soon-text { background: linear-gradient(100deg, var(--ink) 0%, var(--ink) 38%, var(--blue-bright) 50%, var(--ink) 62%, var(--ink) 100%) 100% 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: soon-shimmer 4.5s linear infinite; }
}
@keyframes soon-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-0.55rem); } }
@keyframes soon-spot { 0%, 20%, 100% { box-shadow: 0 0 0 0 rgba(39, 217, 189, 0); } 7% { box-shadow: 0 0 0 0.5rem rgba(39, 217, 189, 0.5); } 14% { box-shadow: 0 0 0 1rem rgba(39, 217, 189, 0); } }
@keyframes soon-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ---------- Dank an Spender ---------- */
.thanks-section h2 { margin-bottom: 1.75rem; }
.donor-list { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.donor-list li { padding: 0.55rem 1.15rem; background: var(--ice); border-radius: 999px; font-weight: 600; color: var(--ink); }
.thanks-link { margin: 2rem 0 0; }
.only-de, .only-de-note { font-size: 0.88rem; color: var(--ink-soft); font-style: italic; margin-top: 0.5rem; }
