/* ==========================================================================
   Tobias Zeltner – gemeinsames Design für alle Seiten
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --bg: #0a0b0d;
  --surface: #121419;
  --surface-2: #1a1d24;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f3f4f6;
  --muted: #9ba3af;
  --accent: #2bbd91;
  --accent-strong: #36d6a6;
  --accent-ink: #03140e;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

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

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Typografie ---------- */

.display,
h1, h2, h3 {
  font-stretch: 78%;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
}
h1 { font-size: clamp(2.9rem, 9vw, 7.5rem); }
h2 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; margin: 1.25rem 0 0; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.4rem;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(43, 189, 145, .28); }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: var(--text); background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.btn-sm { min-height: 40px; padding: .55rem 1.1rem; font-size: .8rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */

.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .4s, backdrop-filter .4s, border-color .4s, transform .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.scrolled,
.header.solid {
  background: rgba(10, 11, 13, .78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header.hidden { transform: translateY(-100%); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 800; font-stretch: 80%; font-size: 1.2rem; letter-spacing: .04em; text-transform: uppercase; }
.brand img { width: 36px; height: 36px; border-radius: 50%; }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav a:not(.btn) {
  position: relative; padding: .55rem .8rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 244, 246, .82);
  transition: color .2s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover,
.nav a[aria-current="page"]:not(.btn) { color: var(--text); }
.nav a:not(.btn):hover::after,
.nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
.nav .btn { margin-left: .6rem; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .04); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; position: relative;
  transition: transform .35s var(--ease), background .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: rgba(10, 11, 13, .97); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: center; gap: .2rem;
  padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.mobile-menu a:not(.btn) {
  font-size: clamp(2rem, 9vw, 3rem); font-weight: 800; font-stretch: 75%; text-transform: uppercase; line-height: 1.25;
  opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease), color .2s;
}
.mobile-menu a:not(.btn):hover { color: var(--accent); }
.mobile-menu .btn { margin-top: 1.5rem; align-self: flex-start; opacity: 0; transition: opacity .45s .3s; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .mobile-menu a { opacity: 1 !important; transform: none; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: .15s; }
.menu-open .mobile-menu a:nth-child(5) { transition-delay: .2s; }
.menu-open .mobile-menu a:nth-child(6) { transition-delay: .25s; }

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- Abschnitte ---------- */

.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section-tight { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--surface); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head > div { max-width: 720px; }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

/* ---------- Hero ---------- */

.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 clamp(48px, 8vh, 96px);
  overflow: hidden; isolation: isolate;
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12);
  transition: opacity 1.6s ease, transform 9s linear;
}
.hero-slides img.active { opacity: 1; transform: scale(1); }
.hero-slides picture img.active { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 11, 13, .55) 0%, rgba(10, 11, 13, 0) 30%),
    linear-gradient(0deg, rgba(10, 11, 13, .95) 0%, rgba(10, 11, 13, .55) 35%, rgba(10, 11, 13, 0) 70%);
}
.hero-content { max-width: 980px; }
/* Handy: Startbild aufs Wesentliche reduzieren – Name, Beruf, zwei Knöpfe */
@media (max-width: 700px) {
  .hero .eyebrow, .hero .lead { display: none; }
  .hero-actions { flex-wrap: nowrap; gap: .6rem; margin-top: 1.5rem; }
  .hero-actions .btn { flex: 1 1 0; min-width: 0; padding: .8rem .9rem; font-size: .8rem; letter-spacing: .05em; }
}
@media (max-width: 370px) {
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .btn { flex: 1 1 100%; }
}
@media (max-width: 700px) {
  .hero::after { background: linear-gradient(180deg, rgba(10, 11, 13, .5) 0%, rgba(10, 11, 13, .15) 25%, rgba(10, 11, 13, .75) 55%, rgba(10, 11, 13, .97) 85%); }
}
.hero h1 { text-shadow: 0 6px 40px rgba(0, 0, 0, .35); }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
.hero-role { margin: 1rem 0 0; font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: .04em; opacity: 0; animation: fade 1s .45s var(--ease) forwards; }
.hero .lead { color: rgba(243, 244, 246, .82); opacity: 0; animation: fade 1s .6s var(--ease) forwards; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; opacity: 0; animation: fade 1s .8s var(--ease) forwards; }
.hero .eyebrow { opacity: 0; animation: fade 1s .2s var(--ease) forwards; color: var(--text); text-shadow: 0 2px 14px rgba(0, 0, 0, .7); }
.hero .eyebrow::before { background: var(--accent); }

.scroll-hint {
  position: absolute; right: var(--gutter); bottom: clamp(48px, 8vh, 96px);
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(243, 244, 246, .7);
  writing-mode: vertical-rl;
}
.scroll-hint::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--text), transparent); animation: drip 2.2s ease-in-out infinite; }
@media (max-width: 700px) { .scroll-hint { display: none; } }

@keyframes rise { to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Seiten-Hero (Unterseiten) */
.page-hero { padding: calc(var(--header-h) + clamp(56px, 10vw, 120px)) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(43, 189, 145, .16), transparent 60%); pointer-events: none;
}

/* ---------- Zahlen / Community ---------- */

.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.stats-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); }
.stat { padding: clamp(24px, 3.4vw, 40px) clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: .35rem; transition: background .3s; }
.stat:first-child { border-left: 0; padding-left: 0; }
a.stat:hover { background: rgba(255, 255, 255, .03); }
.stat-value { font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 800; font-stretch: 75%; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-total .stat-value { color: var(--accent); font-size: clamp(2.4rem, 5vw, 4.2rem); }
.stat-label { display: flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stat-label svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); padding-left: clamp(14px, 4vw, 28px); }
  .stat-total { grid-column: 1 / -1; border-top: 0; }
  .stat-total + .stat { border-left: 0; padding-left: 0; }
  .stat-total + .stat + .stat { border-left: 1px solid var(--line); padding-left: clamp(14px, 4vw, 28px); }
  .stat-total + .stat + .stat + .stat { border-left: 0; padding-left: 0; }
}

/* ---------- Leistungen ---------- */

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.service {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(380px, 46vw, 540px); padding: clamp(22px, 2.6vw, 32px);
  border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; background: var(--surface-2);
}
.service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.service::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 11, 13, .95) 10%, rgba(10, 11, 13, .25) 60%, rgba(10, 11, 13, .1)); transition: background .5s; }
.service:hover img { transform: scale(1.06); }
.service-num { position: absolute; top: clamp(18px, 2vw, 26px); left: clamp(22px, 2.6vw, 32px); font-size: .8rem; font-weight: 700; letter-spacing: .2em; color: rgba(243, 244, 246, .7); }
.service h3 { margin-bottom: .6rem; }
.service p { margin: 0 0 1.1rem; color: rgba(243, 244, 246, .78); font-size: .98rem; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } .service { min-height: 360px; } }

/* ---------- Reels ---------- */

.reels { display: flex; justify-content: center; gap: clamp(12px, 2vw, 24px); max-width: 980px; margin: 0 auto; }
.reel { flex: 0 1 calc((100% - 2 * clamp(12px, 2vw, 24px)) / 3); position: relative; margin: 0; aspect-ratio: 9 / 16; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.reel figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px; display: flex; flex-direction: column; gap: .35rem; background: linear-gradient(0deg, rgba(10, 11, 13, .85), transparent); pointer-events: none; }
.reel figcaption:empty { display: none; }
.reel-title { font-weight: 700; font-size: .95rem; }
.reel-link { pointer-events: auto; display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.reel-link svg { width: 14px; height: 14px; }
.reel-sound { position: absolute; top: 12px; right: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(10, 11, 13, .6); backdrop-filter: blur(8px); cursor: pointer; transition: background .2s, transform .3s var(--ease); }
.reel-sound:hover { background: rgba(10, 11, 13, .85); transform: scale(1.06); }
.reel-sound svg { width: 20px; height: 20px; }
.reel-sound .on, .reel-sound[aria-pressed="true"] .off { display: none; }
.reel-sound[aria-pressed="true"] .on { display: block; }
@media (max-width: 760px) {
  .reel-desktop-only { display: none; }
  .reel { flex: 0 1 min(78%, 360px); }
}

/* ---------- Ablauf ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); counter-reset: step; }
.step { position: relative; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--line); }
.step::after { content: ""; position: absolute; top: 46px; right: -24px; width: 24px; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step-num { display: block; font-size: clamp(2.6rem, 4vw, 3.4rem); font-weight: 800; font-stretch: 70%; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--accent); margin-bottom: 1.1rem; }
.step h3 { margin-bottom: .5rem; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .step::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Filter / Tabs ---------- */

.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter {
  padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  transition: color .2s, background .25s, border-color .25s, transform .3s var(--ease);
}
.filter:hover { color: var(--text); border-color: rgba(255, 255, 255, .3); }
.filter[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.filters-scroll { overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.filters-scroll::-webkit-scrollbar { display: none; }
.filters-scroll .filters { flex-wrap: nowrap; width: max-content; }

/* ---------- Galerie (Masonry) ---------- */

.masonry { columns: 3 280px; column-gap: clamp(10px, 1.4vw, 18px); }
.masonry.cols-4 { columns: 4 240px; }
@media (max-width: 700px) { .masonry { columns: 2; column-gap: 8px; } .masonry .tile { margin-bottom: 8px; border-radius: 10px; } }
.tile {
  position: relative; display: block; width: 100%; margin: 0 0 clamp(10px, 1.4vw, 18px);
  break-inside: avoid; border-radius: var(--radius); overflow: hidden; background: var(--surface-2);
  cursor: zoom-in; border: 0; padding: 0;
  opacity: 0; transform: translateY(24px) scale(.98);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.tile.in { opacity: 1; transform: none; }
.tile img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .5s; }
.tile::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 11, 13, .55), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.tile:hover img { transform: scale(1.045); }
.tile:hover::after { opacity: 1; }
.tile .zoom {
  position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--bg);
  opacity: 0; transform: scale(.7); transition: opacity .35s, transform .45s var(--ease);
}
.tile .zoom svg { width: 18px; height: 18px; }
.tile:hover .zoom, .tile:focus-visible .zoom { opacity: 1; transform: none; }

.gallery-foot { display: flex; justify-content: center; margin-top: clamp(24px, 4vw, 40px); }
.gallery-empty { color: var(--muted); padding: 2rem 0; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(5, 6, 8, .96);
  display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  touch-action: pan-y;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); font-size: .85rem; letter-spacing: .12em; color: var(--muted); }
.lb-stage { position: relative; display: grid; place-items: center; padding: 0 clamp(8px, 6vw, 90px); min-height: 0; }
.lb-stage img { max-width: 100%; max-height: calc(100svh - 150px); width: auto; height: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); transition: opacity .25s, transform .35s var(--ease); }
.lb-stage img.loading { opacity: .25; transform: scale(.985); }
.lb-caption { text-align: center; padding: 12px var(--gutter) 20px; color: var(--muted); font-size: .92rem; min-height: 1.5em; }
.lb-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .06);
  display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .3s var(--ease);
}
.lb-btn:hover { background: rgba(255, 255, 255, .16); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: clamp(8px, 2vw, 24px); }
.lb-next { right: clamp(8px, 2vw, 24px); }
@media (max-width: 700px) { .lb-prev, .lb-next { display: none; } }

/* ---------- Über mich ---------- */

.about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.about-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-2); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .badge {
  position: absolute; left: 18px; bottom: 18px; padding: .7rem 1rem; border-radius: 12px;
  background: rgba(10, 11, 13, .7); backdrop-filter: blur(10px); font-size: .85rem; line-height: 1.35;
}
.about-photo .badge strong { display: block; font-size: 1.05rem; font-stretch: 80%; text-transform: uppercase; letter-spacing: .02em; }
.about p { color: rgba(243, 244, 246, .82); }
.about .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 2rem 0; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.about .fact { background: var(--bg); padding: 1rem 1.1rem; }
.section-alt .about .fact { background: var(--surface); }
.about .fact strong { display: block; font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 800; font-stretch: 70%; line-height: 1; color: var(--accent); margin-bottom: .35rem; }
.about .fact span { display: block; font-size: .78rem; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.about .facts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.about .facts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about .facts-1 { grid-template-columns: minmax(0, 1fr); }
.about .fact { min-width: 0; }
.about .fact strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.about .fact span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.facts-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: -0.5rem 0 1.6rem; font-weight: 600; color: var(--text) !important; }
@media (max-width: 640px) { .about .facts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.about-media { position: relative; padding: 0 14% 18% 0; }
.about-media .about-photo img { object-position: 26% 40%; }
.about-inset {
  position: absolute; right: 0; bottom: 0; width: 50%; margin: 0;
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1;
  border: 5px solid var(--surface); box-shadow: 0 24px 50px rgba(0, 0, 0, .5);
  transform: rotate(3deg); transition: transform .5s var(--ease);
}
.about-inset:hover { transform: rotate(0deg) scale(1.03); }
.about-inset img { width: 100%; height: 100%; object-fit: cover; object-position: 43% 40%; transform: scale(1.35); transform-origin: 43% 40%; }
.about-inset figcaption {
  position: absolute; right: 10px; bottom: 10px; padding: .3rem .6rem; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about-photo, .about-media { max-width: 520px; } }
@media (max-width: 560px) {
  .about .facts, .about .facts-4 { grid-template-columns: minmax(0, 1fr); }
  .about .fact { display: flex; align-items: center; gap: 1rem; padding: .75rem 1rem; }
  .about .fact strong { font-size: 2.2rem; margin: 0; min-width: 2.6rem; }
  .about .fact span { font-size: .78rem; }
}

/* ---------- Marquee (Sportarten) ---------- */

.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.1rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 2.5rem; animation: marquee 40s linear infinite; }
.marquee-track span { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 800; font-stretch: 72%; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(243, 244, 246, .35); }
.marquee-track span:nth-child(odd) { color: var(--text); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CTA ---------- */

.cta-band { position: relative; overflow: hidden; isolation: isolate; }
.cta-band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 11, 13, .95) 20%, rgba(10, 11, 13, .6)); }
.cta-band h2 { max-width: 14ch; }
.cta-band .hero-actions { opacity: 1; animation: none; }

/* ---------- Kontakt ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .25s, background .25s;
}
.contact-card:hover { transform: translateX(6px); border-color: rgba(43, 189, 145, .5); background: var(--surface-2); }
.contact-card .icon { width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); }
.contact-card .icon svg { width: 22px; height: 22px; fill: currentColor; }
.contact-card .icon svg.stroke { fill: none; stroke: currentColor; stroke-width: 2; }
.contact-card.primary .icon { background: var(--accent); color: var(--accent-ink); }
.contact-card strong { display: block; font-size: 1.05rem; }
.contact-card small { color: var(--muted); font-size: .88rem; }
.contact-card .go { margin-left: auto; color: var(--muted); }
.contact-card .go svg { width: 20px; height: 20px; }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; color: rgba(243, 244, 246, .85); }
.checklist li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: .2rem; border-radius: 50%; background: rgba(43, 189, 145, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232bbd91' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.contact-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; max-width: 140px; margin-bottom: 1.5rem; border: 2px solid var(--accent); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Textseiten ---------- */

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 2.5rem 0 .8rem; }
.prose p, .prose li { color: rgba(243, 244, 246, .82); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line); padding: clamp(72px, 10vw, 130px) 0 32px;
  background:
    linear-gradient(180deg, rgba(10, 11, 13, .92) 0%, rgba(10, 11, 13, .45) 45%, rgba(10, 11, 13, .85) 100%),
    url("../pictures/live_restore/hintergrund/gletscher.jpg") center 40% / cover no-repeat,
    var(--bg);
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer .big { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; font-stretch: 72%; text-transform: uppercase; line-height: 1; margin: 0 0 1.2rem; }
.footer .big a { color: var(--accent); transition: color .2s; }
.footer .big a:hover { color: var(--accent-strong); }
.footer h4, .footer .footer-h { margin: 0 0 1rem; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer ul a { color: rgba(243, 244, 246, .82); transition: color .2s; }
.footer ul a:hover { color: var(--accent); }
.socials { display: flex; gap: .5rem; flex-wrap: wrap; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .25s, border-color .25s, transform .35s var(--ease); }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.socials svg.stroke, .contact-card .icon svg.stroke { fill: none; stroke: currentColor; stroke-width: 2; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: clamp(40px, 6vw, 64px); padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer-bottom a:hover { color: var(--text); }
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

/* ---------- Toast ---------- */

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 120; background: var(--text); color: var(--bg); padding: .8rem 1.2rem; border-radius: 999px; font-weight: 600; font-size: .92rem; opacity: 0; transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Weniger Bewegung ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .tile { opacity: 1; transform: none; }
  .hero-slides img { transform: none; }
}
