/* =========================================================
   Philo Kotnik – styles.css
   Schlank, mobile-first, Design-Tokens als CSS-Custom-Properties.
   ========================================================= */

:root {
  /* Farben */
  --bg:         #33333D;
  --surface:    #3C3C47;
  --surface-2:  #474752;
  /* Primärakzent: Logo-Rot */
  --accent:     #D71516;
  --accent-soft:#F0413A;
  /* Gold: nur noch sparsam als Edel-Detail */
  --gold:       #C9A24B;
  --gold-soft:  #E0C887;
  --text:       #F5F5F2;
  --text-muted: #CBCBD4;
  --line:       rgba(245,245,242,0.18);

  /* Typografie */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing / Layout */
  --container: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 9vw, 7rem);
  --radius: 14px;
  --radius-sm: 8px;

  /* Sonstiges */
  --shadow: 0 18px 50px rgba(0,0,0,0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--accent); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--text-muted); }
.center { text-align: center; }

/* ---------- Typo-Helfer ---------- */
.eyebrow {
  display: inline-block; font-family: var(--font-sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 1rem;
}
h1 { font-size: clamp(2.4rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--text-muted); max-width: 60ch; }

.section { padding-block: var(--section-y); }
.section--surface { background: var(--surface); }
.section__head { max-width: 64ch; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section--center .section__head { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
  will-change: transform;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(215,21,22,.28); }
.btn--primary:hover { background: var(--accent-soft); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(215,21,22,.4); }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(51,51,61,0.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: .01em; }
.brand__logo {
  height: 64px; width: auto; display: block; transform-origin: left center;
  animation: logoIn .9s var(--ease) both, logoGlow 3.6s ease-in-out 1.1s infinite;
  transition: transform .4s var(--ease);
}
@media (min-width: 920px) { .site-header__inner { min-height: 104px; } .brand__logo { height: 84px; } }
.brand:hover .brand__logo, .brand:focus-visible .brand__logo { transform: scale(1.05) rotate(-1.5deg); }
.brand__tag { font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); font-weight: 600; padding-left: .2rem; }

@keyframes logoIn {
  from { opacity: 0; transform: translateY(-10px) scale(.82) rotate(-4deg); }
  to   { opacity: 1; transform: none; }
}
@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 0 1px rgba(215,21,22,.25)); }
  50%      { filter: drop-shadow(0 0 11px rgba(215,21,22,.6)); }
}

.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle__bar { width: 26px; height: 2px; background: var(--text); transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav { position: fixed; inset: 72px 0 auto 0; background: var(--surface); border-bottom: 1px solid var(--line);
  transform: translateY(-120%); transition: transform .35s var(--ease); max-height: calc(100vh - 72px); overflow-y: auto; }
.primary-nav.is-open { transform: translateY(0); }
.primary-nav__list { display: flex; flex-direction: column; padding: 1rem var(--gutter) 2rem; }
.primary-nav__list > li > a { display: block; padding: .85rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
.primary-nav__list a[aria-current="page"] { color: var(--accent); }
.has-submenu { position: relative; }
.submenu-toggle { background: none; border: 0; color: var(--text-muted); font-size: 1rem; position: absolute; right: 0; top: .6rem; padding: .4rem; cursor: pointer; }
.submenu { display: none; padding-left: 1rem; }
.submenu.is-open { display: block; }
.submenu a { display: block; padding: .55rem 0; color: var(--text-muted); }
.primary-nav__cta { margin-top: 1.2rem; }
.primary-nav__cta .btn { width: 100%; justify-content: center; }

@media (min-width: 920px) {
  .nav-toggle { display: none; }
  .primary-nav { position: static; transform: none; background: none; border: 0; max-height: none; overflow: visible; }
  .primary-nav__list { flex-direction: row; align-items: center; gap: 1.7rem; padding: 0; }
  .primary-nav__list > li > a { padding: .4rem 0; border: 0; font-size: .98rem; }
  .submenu-toggle { display: none; }
  .has-submenu:hover .submenu, .has-submenu:focus-within .submenu {
    display: block; position: absolute; top: 100%; left: -1rem; min-width: 230px;
    background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: .6rem 1rem; box-shadow: var(--shadow);
  }
  .submenu a { color: var(--text); }
  .submenu a:hover { color: var(--accent); }
  .primary-nav__cta { margin-top: 0; }
  .primary-nav__cta .btn { width: auto; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(560px, 88vh, 880px); display: flex; align-items: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (max-width: 640px) { .hero__media video, .hero__media img { object-position: center bottom; } }
.hero__media-placeholder { position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 70% 10%, rgba(201,162,75,0.20), transparent 55%),
    radial-gradient(90% 80% at 10% 90%, rgba(109,91,208,0.14), transparent 60%),
    var(--bg);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(60% 55% at 86% 14%, rgba(215,21,22,.28), transparent 62%),
    linear-gradient(180deg, rgba(20,20,26,.42) 0%, rgba(28,28,35,.40) 38%, rgba(51,51,61,.92) 100%); }
.hero__inner { position: relative; z-index: 2; max-width: 46rem; padding-block: 4rem; margin-top: 4rem; }
.hero .eyebrow { font-size: clamp(.95rem, 2.2vw, 1.3rem); letter-spacing: .2em; margin-bottom: 1.3rem; }
.hero h1 { margin-bottom: .35em; }
.hero__sub { font-size: clamp(1.1rem, 2.2vw, 1.5rem); color: var(--text); opacity: .9; margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Stat-Bar / Social Proof ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; }
.stat__num { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem); color: var(--gold); line-height: 1; }
.stat__label { color: var(--text-muted); font-size: .92rem; margin-top: .4rem; }

/* ---------- Logo-Wall (einheitlich weiß auf dunklem Grund) ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.4rem, 4vw, 2.75rem);
  align-items: center; max-width: 960px; margin-inline: auto; }
.logo-wall li { display: flex; align-items: center; justify-content: center; min-height: 84px; padding: .6rem 1rem; }
.logo-wall img { max-height: 46px; width: auto; max-width: 160px; object-fit: contain;
  /* schwarze PNG- wie weiß-hinterlegte JPG-Logos einheitlich in Weiß: invertieren + dunkle Flächen ausblenden */
  filter: grayscale(1) invert(1) brightness(1.6) contrast(1.1);
  mix-blend-mode: screen; opacity: .78; transition: opacity .25s var(--ease); }
.logo-wall li:hover img { opacity: 1; }
@media (min-width: 620px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: clamp(1.2rem, 3vw, 1.8rem); }
.grid--2 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-6px); border-color: rgba(201,162,75,0.5); }
.card__media { aspect-ratio: 3/2; background: var(--surface-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__media-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  color: var(--text-muted); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.card__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card__title { margin: 0; }
.card__text { color: var(--text-muted); flex: 1; }
.card__link { color: var(--accent); font-weight: 600; font-size: .95rem; margin-top: .4rem; }

/* ---------- Split (Teaser / Bild+Text) ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--media-right .split__media { order: 2; } }
.split__media { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--surface-2);
  border: 1px solid var(--line); }
.split__media .card__media-placeholder { aspect-ratio: 4/5; }
.split__media picture, .split__media img { width: 100%; height: 100%; display: block; }
.split__media img { object-fit: cover; }
.card__media picture { display: block; width: 100%; height: 100%; }
.quote-lead { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.3; color: var(--text); }
.quote-lead .accent { color: var(--gold); }

/* ---------- Showreel (Hochformat-Video) ---------- */
.showreel { display: flex; justify-content: center; }
.showreel__video {
  width: 100%; max-width: 320px; aspect-ratio: 9 / 16; height: auto;
  border-radius: var(--radius); border: 1px solid var(--line); background: #000;
  box-shadow: var(--shadow); object-fit: cover; display: block;
}
@media (min-width: 900px) { .showreel { justify-content: flex-end; } .showreel__video { max-width: 340px; } }

/* ---------- Reasons-Liste ---------- */
.reasons { display: grid; gap: 1rem; }
@media (min-width: 760px) { .reasons { grid-template-columns: repeat(2, 1fr); } }
.reason { display: flex; gap: .9rem; padding: 1.2rem 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.reason__mark { color: var(--accent); font-weight: 700; flex-shrink: 0; }
.reason h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.reason p { margin: 0; color: var(--text-muted); font-size: .98rem; }

/* ---------- Slider / Testimonials ---------- */
.slider { position: relative; max-width: 56rem; margin-inline: auto; text-align: center; }
.slider__track { position: relative; min-height: 200px; }
.slide { margin: 0; position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease);
  display: flex; flex-direction: column; align-items: center; justify-content: center; }
.slide.is-active { opacity: 1; visibility: visible; position: relative; }
.slide blockquote { margin: 0 0 1.4rem; }
.slide blockquote p { font-family: var(--font-display); font-size: clamp(1.4rem, 3.4vw, 2.2rem); line-height: 1.35; color: var(--text); }
.slide__name { display: block; font-weight: 600; color: var(--accent); }
.slide__role { display: block; color: var(--text-muted); font-size: .92rem; }
.slider__controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.slider__btn { background: var(--surface); border: 1px solid var(--line); color: var(--text); width: 46px; height: 46px;
  border-radius: 999px; cursor: pointer; font-size: 1.1rem; transition: border-color .25s, color .25s; }
.slider__btn:hover { border-color: var(--accent); color: var(--accent); }
.slider__dots { display: flex; gap: .5rem; }
.slider__dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; background: var(--line); cursor: pointer; padding: 0; }
.slider__dots button.is-active { background: var(--accent); }

/* ---------- Google-Rezensionen ---------- */
.greviews__head { display: flex; align-items: center; gap: .9rem; justify-content: center; margin-bottom: 2.4rem; flex-wrap: wrap; }
.greviews__logo { display: inline-flex; }
.greviews__rating { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.greviews__rating strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); line-height: 1; }
.greviews__count { color: var(--text-muted); font-size: .9rem; }
.gr-stars { display: inline-flex; gap: 1px; }
.gr-star { fill: var(--line); }
.gr-star.is-on { fill: var(--gold-soft); }

.greviews__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1rem, 2.4vw, 1.4rem);
  grid-template-columns: 1fr; }
@media (min-width: 620px)  { .greviews__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .greviews__grid { grid-template-columns: repeat(3, 1fr); } }

.greview { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .8rem;
  transition: transform .3s var(--ease), border-color .3s; }
.greview:hover { transform: translateY(-3px); border-color: var(--accent); }
.greview__top { display: flex; align-items: center; gap: .7rem; }
.greview__avatar { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 999px; color: #fff;
  display: grid; place-items: center; font-weight: 600; font-size: 1.05rem; }
.greview__meta { display: flex; flex-direction: column; line-height: 1.25; }
.greview__name { font-weight: 600; color: var(--text); }
.greview__src { color: var(--text-muted); font-size: .8rem; }
.greview__line { display: flex; align-items: center; gap: .6rem; }
.greview__date { color: var(--text-muted); font-size: .82rem; }
.greview__text { margin: 0; color: var(--text); line-height: 1.55; font-size: .98rem; }
.greviews__cta { text-align: center; margin-top: 2.4rem; }

/* ---------- FAQ Accordion ---------- */
.faq { max-width: 52rem; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; color: var(--text); cursor: pointer;
  font-family: var(--font-display); font-size: 1.15rem; padding: 1.25rem 2.5rem 1.25rem 0; position: relative; }
.faq__q::after { content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.5rem; transition: transform .3s; }
.faq__q[aria-expanded="true"]::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a > div { padding: 0 0 1.4rem; color: var(--text-muted); }

/* ---------- CTA-Band ---------- */
.cta-band { text-align: center; background:
  radial-gradient(120% 140% at 50% 0%, rgba(215,21,22,0.18), transparent 60%), var(--surface); }
.cta-band h2 { margin-bottom: .5rem; }
.cta-band p { color: var(--text-muted); max-width: 50ch; margin-inline: auto; margin-bottom: 2rem; }

/* ---------- Formular ---------- */
.form { display: grid; gap: 1.2rem; max-width: 40rem; }
.form__row { display: grid; gap: 1.2rem; }
@media (min-width: 620px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .92rem; color: var(--text-muted); }
.field input, .field select, .field textarea {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--text); padding: .85rem 1rem; font: inherit; transition: border-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field textarea { min-height: 140px; resize: vertical; }
.field--honey { position: absolute; left: -9999px; opacity: 0; }
.field--check { flex-direction: row; align-items: flex-start; gap: .7rem; }
.field--check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; }
.field--check label { color: var(--text-muted); font-size: .9rem; }
.form__note { color: var(--text-muted); font-size: .85rem; }

.alert { padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; border: 1px solid; }
.alert--ok { background: rgba(80,180,120,0.12); border-color: rgba(80,180,120,0.4); }
.alert--err { background: rgba(210,90,90,0.12); border-color: rgba(210,90,90,0.4); }

/* ---------- Page-Header (Innenseiten) ---------- */
.page-header { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(1rem,3vw,2rem); position: relative; }
.page-header::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 120% at 80% 0%, rgba(215,21,22,0.15), transparent 55%); }
.page-header .lead { margin-top: .5rem; }
.page-header--bg::before {
  background:
    linear-gradient(180deg, rgba(11,11,15,0.50), rgba(11,11,15,0.80)),
    var(--header-img, none);
  background-size: cover; background-position: center; }

/* ---------- Prose ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.8rem; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Vimeo lazy embed ---------- */
.video-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden;
  background: var(--surface-2); cursor: pointer; border: 1px solid var(--line); }
.video-embed__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-embed__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(11,11,15,0.35); }
.video-embed__play span { width: 78px; height: 78px; border-radius: 999px; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 1.6rem; padding-left: 4px; transition: transform .3s; }
.video-embed:hover .video-embed__play span { transform: scale(1.08); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Reveal-Animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
  .brand__logo { animation: none !important; filter: none !important; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 6vw, 4rem) 0; font-size: .92rem; color: var(--text-muted); }
.site-footer__grid { display: grid; gap: clamp(1.8rem, 4vw, 2.5rem); }
@media (min-width: 600px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 920px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(2rem, 4vw, 3.5rem); } }

.site-footer .brand__name { font-size: 1.15rem; margin-bottom: .6rem; display: block; color: var(--text); }
.site-footer__logo { height: 56px; width: auto; display: block; margin-bottom: 1rem; }
.site-footer__col p { margin: 0 0 1rem; line-height: 1.6; }

.site-footer__h { font-family: var(--font-sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text); margin: 0 0 1rem; }

.site-footer__links li, .social li { margin-bottom: .55rem; }
.site-footer__links a, .social a, .site-footer__address a {
  color: var(--text-muted); transition: color .2s var(--ease); }
.site-footer__links a:hover, .social a:hover, .site-footer__address a:hover { color: var(--accent); }

.social { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 1.1rem; }
.social li { margin-bottom: 0; }

.site-footer__address { font-style: normal; line-height: 1.7; margin-bottom: 1.2rem; }
.site-footer__col .btn { font-size: .9rem; padding: .7rem 1.3rem; }

.site-footer__bottom { border-top: 1px solid var(--line); margin-top: clamp(2rem, 5vw, 3rem);
  padding-block: 1.4rem; }
.site-footer__bottom p { margin: 0; font-size: .82rem; }

/* ---------- Galerie (Masonry via CSS-Columns) ---------- */
.gallery { column-count: 1; column-gap: clamp(.7rem, 2vw, 1rem); }
@media (min-width: 560px)  { .gallery { column-count: 2; } }
@media (min-width: 960px)  { .gallery { column-count: 3; } }
.gallery__item { margin: 0 0 clamp(.7rem, 2vw, 1rem); break-inside: avoid; }
.gallery__btn { display: block; width: 100%; padding: 0; border: 1px solid var(--line); background: var(--surface-2);
  border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; position: relative; }
.gallery__btn img { width: 100%; height: auto; display: block; transition: transform .5s var(--ease), opacity .3s; }
.gallery__btn::after { content: "⤢"; position: absolute; right: .6rem; bottom: .5rem; width: 36px; height: 36px;
  display: grid; place-items: center; border-radius: 999px; background: rgba(11,11,15,.55); color: var(--accent);
  font-size: 1.1rem; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.gallery__btn:hover img, .gallery__btn:focus-visible img { transform: scale(1.04); }
.gallery__btn:hover::after, .gallery__btn:focus-visible::after { opacity: 1; transform: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  background: rgba(7,7,11,.93); backdrop-filter: blur(4px); padding: clamp(1rem, 4vw, 3rem); opacity: 0;
  transition: opacity .3s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { margin: 0; max-width: min(1100px, 92vw); max-height: 88vh; display: flex; flex-direction: column;
  align-items: center; gap: .8rem; }
.lightbox__img { max-width: 100%; max-height: 80vh; width: auto; height: auto; object-fit: contain;
  border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.lightbox__caption { color: var(--text-muted); font-size: .92rem; text-align: center; }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(20,20,27,.7); border: 1px solid var(--line);
  color: var(--text); border-radius: 999px; cursor: pointer; display: grid; place-items: center; transition: border-color .2s, color .2s; }
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--accent); color: var(--accent); }
.lightbox__close { top: clamp(1rem,3vw,1.6rem); right: clamp(1rem,3vw,1.6rem); width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; line-height: 1; }
.lightbox__nav--prev { left: clamp(.5rem,2vw,1.5rem); }
.lightbox__nav--next { right: clamp(.5rem,2vw,1.5rem); }
@media (max-width: 560px) { .lightbox__nav { width: 44px; height: 44px; font-size: 1.6rem; } }

/* ---------- TL;DR (GEO / Das Wichtigste auf einen Blick) ---------- */
/* Ausgeblendet auf Wunsch. Zum Wiedereinblenden diese Zeile entfernen. */
.tldr { display: none; }
.tldr { background: var(--surface-2); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.5rem); margin: 0 auto; max-width: 880px; }
.tldr h2 { font-size: clamp(1.05rem, 2.4vw, 1.3rem); margin: 0 0 .85rem; letter-spacing: .01em; }
.tldr ul { margin: 0; padding-left: 1.15rem; display: grid; gap: .55rem; }
.tldr li { line-height: 1.55; color: var(--text); }
.tldr a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 404 ---------- */
.error-page { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.error-page .big { font-family: var(--font-display); font-size: clamp(5rem, 18vw, 11rem); color: var(--accent); line-height: 1; }
