/* ==========================================================================
   Elektro Storz – Licht · Elektro · Ambiente · Konstanz
   Dunkles, ruhiges Design · lokal gehostete Schriften · keine externen Dienste
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 300 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fdfaf4;
  --bg-2: #f6f0e3;
  --bg-3: #ebe2d0;
  --ink: #1f1a15;
  --ink-2: #4b443b;
  --muted: #766c60;
  --line: rgba(31, 26, 21, 0.14);
  --line-2: rgba(31, 26, 21, 0.3);
  --brand: #00afd4;            /* Logo-Türkis für Flächen */
  --accent: #007b99;           /* Türkis für Text auf hellem Grund (gut lesbar) */
  --accent-rgb: 0, 175, 212;
  --accent-ink: #04222b;
  --glow: #ffc23d;             /* Lampenlicht-Gelb */
  --glow-rgb: 255, 194, 61;
  --on-ink: #fdfaf4;           /* Schriftfarbe auf Flächen in --ink */
  --danger: #c23a22;
  --warn: #e6b450;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, system-ui, sans-serif;
  --pad: clamp(20px, 4vw, 56px);
  --maxw: 1280px;
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(16px, 1.1vw + 11px, 18px);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px;
  transition: top 0.2s;
}
.skip:focus { top: 14px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: min(100% - 2 * var(--pad), var(--maxw)); margin-inline: auto; }
.section { padding-block: clamp(72px, 11vw, 150px); }
.section--alt { background: var(--bg-2); }
.center { text-align: center; }

/* ---------- Typografie ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
}
.display, h1.display {
  font-family: var(--serif); font-weight: 300; text-transform: uppercase;
  line-height: 0.98; letter-spacing: 0.005em; color: var(--ink);
}
h2, .h2 {
  font-family: var(--serif); font-weight: 300; color: var(--ink);
  font-size: clamp(34px, 5.2vw, 76px); line-height: 1.04; letter-spacing: -0.005em;
  overflow-wrap: break-word;
}

h2 em, .h2 em { font-style: italic; font-weight: 300; }
h3, .h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; }
.lead { font-size: clamp(18px, 1.5vw + 8px, 22px); color: var(--ink); font-weight: 300; line-height: 1.6; }
.prose p + p { margin-top: 1.2em; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 32px; border: 1px solid var(--ink); border-radius: 999px;
  font-size: 13px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
  background: transparent; transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 500; }
.btn--accent:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost { border-color: var(--line-2); }
.btn[disabled] { opacity: 0.5; pointer-events: none; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 12px; color: var(--ink);
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 400;
  padding-bottom: 6px; border-bottom: 1px solid var(--line-2); transition: border-color 0.3s, gap 0.3s var(--ease);
}
.link-arrow:hover { border-color: var(--ink); gap: 18px; }
.arrow { width: 22px; height: 10px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; margin-top: 36px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px var(--pad); color: var(--ink);
  transition: background 0.4s, padding 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(12, 9, 7, 0.84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  padding-block: 14px; border-bottom-color: var(--line);
}
.logo {
  font-family: var(--serif); font-weight: 400; text-transform: uppercase; letter-spacing: 0.09em;
  font-size: clamp(24px, 2.3vw, 31px); line-height: 1; white-space: nowrap; position: relative; z-index: 2;
}
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav ul { display: flex; align-items: center; gap: clamp(16px, 2.1vw, 32px); }
.nav a { font-size: 15px; letter-spacing: 0.03em; font-weight: 300; position: relative; padding: 6px 0; display: inline-block; }
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease);
}
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav a.btn-nav {
  border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 22px; font-weight: 400;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.nav a.btn-nav::after { display: none; }
.nav a.btn-nav:hover, .nav a.btn-nav[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.nav-social { display: flex; gap: 16px; align-items: center; }
.nav-social a { display: flex; padding: 4px; opacity: 0.9; transition: opacity 0.2s, color 0.2s; }
.nav-social a:hover { opacity: 1; color: var(--accent); }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; position: relative; z-index: 2; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ink); transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
body.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1; background: var(--bg);
    flex-direction: column; justify-content: center; align-items: center; gap: 36px;
    opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav { opacity: 1; visibility: visible; }
  body.menu-open .site-header { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav ul { flex-direction: column; gap: 6px; text-align: center; }
  .nav ul a { font-family: var(--serif); font-size: clamp(36px, 9vw, 52px); font-weight: 300; padding: 4px 0; }
  .nav a.btn-nav { border: 0; padding: 4px 0; border-radius: 0; color: var(--accent); }
  .nav a.btn-nav:hover, .nav a.btn-nav[aria-current="page"] { background: none; color: var(--accent); }
}

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center;
  text-align: center; overflow: hidden; isolation: isolate; padding: 110px var(--pad) 90px; color: var(--ink);
}
.hero-media, .page-hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { object-position: 50% 45%; animation: kenburns 26s ease-out both; }
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(8, 6, 4, 0.18), rgba(8, 6, 4, 0.55) 80%),
    linear-gradient(180deg, rgba(8, 6, 4, 0.68) 0%, rgba(8, 6, 4, 0.5) 38%, rgba(8, 6, 4, 0.62) 72%, var(--bg) 100%);
}
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero > div { width: 100%; }
.hero-links { display: flex; justify-content: center; align-items: flex-end; flex-wrap: nowrap; gap: clamp(22px, 5vw, 96px); }
.hero-link {
  font-family: var(--serif); font-weight: 300; text-transform: uppercase; line-height: 1;
  font-size: clamp(40px, 6.1vw, 100px); letter-spacing: 0.01em; color: var(--ink); white-space: nowrap;
  padding: 0 0.05em 0.1em; border-bottom: 1px solid rgba(245, 238, 228, 0.85);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.45);
  transition: color 0.4s, border-color 0.4s, transform 0.6s var(--ease);
}
.hero-link:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-4px); }
.hero-meta {
  margin-top: clamp(28px, 4.5vw, 54px); font-family: var(--serif); font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.07em; font-size: clamp(16px, 1.9vw, 27px); color: var(--ink);
  text-shadow: 0 1px 22px rgba(0, 0, 0, 0.6);
}
.hero-meta span { margin-inline: 0.5em; opacity: 0.7; }
.hero-meta a:hover { color: var(--accent); }
.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-2);
}
.scroll-hint i { width: 1px; height: 38px; background: linear-gradient(var(--ink), transparent); animation: drop 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 720px) {
  .hero-media img { object-position: 34% 50%; }
  .hero::after {
    background:
      linear-gradient(180deg, rgba(8, 6, 4, 0.74) 0%, rgba(8, 6, 4, 0.66) 45%, rgba(8, 6, 4, 0.8) 82%, var(--bg) 100%);
  }
  .hero-links { flex-direction: column; flex-wrap: wrap; align-items: center; gap: 22px; }
  .hero-link { font-size: clamp(48px, 16vw, 84px); }
  .hero-meta { font-size: 15px; line-height: 1.9; }
  .hero-meta span { display: none; }
  .hero-meta a, .hero-meta em { display: block; font-style: normal; }
}

/* Einblend-Animation beim Laden */
.hero .rise { animation: rise 1.1s var(--ease) both; animation-delay: calc(0.15s + var(--i, 0) * 0.14s); }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---------- Unterseiten-Hero ---------- */
.page-hero {
  position: relative; isolation: isolate; display: flex; align-items: flex-end;
  min-height: clamp(380px, 58vh, 560px); padding: 150px var(--pad) clamp(40px, 6vw, 72px); overflow: hidden;
}
.page-hero-media img { object-position: 50% 50%; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 6, 4, 0.7) 0%, rgba(8, 6, 4, 0.35) 55%, rgba(8, 6, 4, 0) 100%); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(40px, 9.5vw, 136px); overflow-wrap: anywhere; }
.page-hero .sub { margin-top: 18px; max-width: 46ch; color: var(--ink); font-size: clamp(17px, 1.4vw + 8px, 21px); }
.page-hero .eyebrow { margin-bottom: 18px; }

/* ---------- Lauftext ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; background: var(--bg); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span {
  font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--ink);
  font-size: clamp(26px, 3.2vw, 44px); padding: 22px 0; white-space: nowrap;
}
.marquee span::after { content: "✦"; font-family: var(--sans); font-style: normal; font-size: 0.45em; color: var(--accent); margin: 0 clamp(22px, 3vw, 44px); vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Layout-Bausteine ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 120px); align-items: center; }
.split--wide-left { grid-template-columns: 7fr 5fr; }
.split > *, .feature > *, .form-layout > *, .compare > *, .trio > * { min-width: 0; }
.split--flip .split-media { order: 2; }
.media {
  position: relative; overflow: hidden; border-radius: 3px; background: var(--bg-3);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 3 / 2; }
.media--sq { aspect-ratio: 1; }
.img-stack { position: relative; padding-bottom: 18%; }
.img-stack .media:nth-child(2) {
  position: absolute; right: -6%; bottom: 0; width: 46%; border: 8px solid var(--bg); aspect-ratio: 1; border-radius: 3px;
}
.section--alt .img-stack .media:nth-child(2) { border-color: var(--bg-2); }
@media (max-width: 860px) {
  .split, .split--wide-left { grid-template-columns: 1fr; }
  .split--flip .split-media { order: 0; }
  .img-stack .media:nth-child(2) { right: 4%; }
}

.section-head { max-width: 780px; margin-bottom: clamp(36px, 6vw, 72px); }
.section-head.center { margin-inline: auto; }
.section-head p { margin-top: 22px; }

/* Karten */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.8vw, 26px); }
.card {
  position: relative; display: flex; align-items: flex-end; aspect-ratio: 3 / 4.1; overflow: hidden;
  border-radius: 3px; isolation: isolate; color: var(--ink);
}
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 6, 4, 0) 22%, rgba(8, 6, 4, 0.78) 62%, rgba(8, 6, 4, 0.95) 100%); }
.card:hover img { transform: scale(1.07); }
.card-body { padding: clamp(20px, 2.4vw, 36px); width: 100%; }
.card h3 { font-size: clamp(32px, 3.2vw, 48px); font-weight: 300; margin-bottom: 8px; }
.card p { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); color: var(--ink-2); font-size: 16px; line-height: 1.5; max-width: 30ch; min-height: 3em; }
.card .arrow { margin-top: 18px; transition: transform 0.5s var(--ease); }
.card:hover .arrow { transform: translateX(10px); }
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .card { aspect-ratio: 4 / 3; }
}

/* CTA-Band */
.band { position: relative; isolation: isolate; text-align: center; padding-block: clamp(100px, 15vw, 210px); overflow: hidden; color: var(--ink); }
.band .band-media { position: absolute; inset: -12% 0; z-index: -2; }
.band .band-media img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 6, 4, 0.66); }
.band h2 { max-width: 15ch; margin-inline: auto; }
.band p { margin: 22px auto 0; max-width: 46ch; color: var(--ink); }
.band .btn-row { justify-content: center; }

/* Info-Spalten */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 5vw, 80px); }
.info-grid h3 { margin-bottom: 22px; font-size: clamp(28px, 2.4vw, 34px); }
.info-grid address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 300; vertical-align: top; }
.hours th { color: var(--ink); font-weight: 400; padding-right: 18px; white-space: nowrap; }
.hours td { text-align: right; line-height: 1.55; }
.hours .closed td, .hours .closed th { color: var(--muted); }
.info-list li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.info-list a { color: var(--ink); border-bottom: 1px solid var(--line-2); transition: border-color 0.2s, color 0.2s; }
.info-list a:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 960px) { .info-grid { grid-template-columns: 1fr; } }

/* Werte / Nummern */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
.value { border-top: 1px solid var(--line-2); padding-top: 28px; }
.value .num { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 28px; display: block; margin-bottom: 18px; }
.value h3 { margin-bottom: 14px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.quote { font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--ink); font-size: clamp(32px, 4.6vw, 64px); line-height: 1.15; max-width: 22ch; margin-inline: auto; }

/* ---------- Galerie ---------- */
.masonry { columns: 3; column-gap: clamp(12px, 1.6vw, 22px); }
.g-item {
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--bg-3);
  margin: 0 0 clamp(12px, 1.6vw, 22px); break-inside: avoid; overflow: hidden; border-radius: 3px; cursor: zoom-in;
}
.g-item img { width: 100%; height: auto; transition: transform 1.2s var(--ease), filter 0.6s; }
.g-item:hover img { transform: scale(1.05); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(8, 6, 4, 0.5)); opacity: 0; transition: opacity 0.4s; }
.g-item:hover::after { opacity: 1; }
@media (max-width: 960px) { .masonry { columns: 2; } }

.lightbox {
  position: fixed; inset: 0; z-index: 120; background: rgba(6, 4, 3, 0.95); display: none; align-items: center; justify-content: center; padding: 56px 20px;
}
.lightbox.is-open { display: flex; animation: fade 0.3s both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox figure { max-width: min(1400px, 100%); text-align: center; }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; margin-inline: auto; border-radius: 3px; }
.lightbox figcaption { margin-top: 14px; color: var(--ink-2); font-size: 15px; }
.lb-btn {
  position: absolute; background: none; border: 1px solid var(--line-2); border-radius: 50%; width: 52px; height: 52px; color: var(--ink);
  display: grid; place-items: center; transition: background 0.2s, color 0.2s;
}
.lb-btn:hover { background: var(--ink); color: var(--bg); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; } }

/* ---------- Formulare ---------- */
.form-layout { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(36px, 7vw, 110px); align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } }
.form { display: grid; gap: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 4px; align-content: start; }
.field > label, .field > .label, .fieldset-label {
  font-size: 11.5px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .field textarea {
  width: 100%; background: transparent; color: var(--ink); font: inherit; font-size: 18px; font-weight: 300;
  border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: 12px 0; transition: border-color 0.3s;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: rgba(245, 238, 228, 0.3); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-bottom-color: var(--danger); }
.field select option { background: var(--bg-2); color: var(--ink); }
.field .hint { font-size: 14px; color: var(--muted); }
.field .error { font-size: 14px; color: var(--danger); min-height: 0; }

.check { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--muted); line-height: 1.5; }
.check input { margin-top: 5px; accent-color: var(--accent); width: 17px; height: 17px; flex: none; }
.check a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.panel { border: 1px solid var(--line); border-radius: 3px; padding: clamp(26px, 3.4vw, 46px); background: var(--bg-2); }
.panel + .panel { margin-top: 22px; }
.panel h3 { margin-bottom: 18px; }
.panel .hours th, .panel .hours td { padding: 9px 0; }

.form-success { border: 1px solid var(--line-2); border-radius: 3px; padding: clamp(30px, 5vw, 64px); text-align: center; }
.form-success h2 { font-size: clamp(34px, 4vw, 56px); margin-bottom: 18px; }
.form-success dl { display: inline-grid; grid-template-columns: auto auto; gap: 8px 26px; text-align: left; margin: 26px 0; }
.form-success dt { color: var(--muted); }
.form-success dd { color: var(--ink); }
.form-error { color: var(--danger); }

.map-card {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; min-height: 340px; display: grid; place-items: center; text-align: center; padding: 40px 24px;
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb), 0.16), transparent 48%),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(245, 238, 228, 0.045) 46px 47px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(245, 238, 228, 0.045) 46px 47px),
    var(--bg-2);
}
.map-pin { width: 44px; height: 44px; margin: 0 auto 20px; color: var(--accent); }
.map-card address { font-style: normal; font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); color: var(--ink); line-height: 1.2; }

/* ---------- Rechtliches ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(28px, 3vw, 40px); margin: 2.2em 0 0.5em; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { margin-top: 0.8em; }
.legal ul { list-style: disc; padding-left: 1.3em; }
.legal a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.notice { border: 1px solid var(--warn); color: var(--ink); padding: 16px 20px; border-radius: 3px; margin-bottom: 40px; font-size: 15px; background: rgba(230, 180, 80, 0.08); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-top: clamp(56px, 8vw, 100px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 64px); }
.footer-grid h4 { font-size: 11.5px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-grid li { padding: 3px 0; }
.footer-grid a:hover { color: var(--ink); }
.footer-brand .logo { display: inline-block; margin-bottom: 18px; color: var(--ink); }
.footer-brand p { max-width: 30ch; color: var(--muted); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 30px; justify-content: space-between; margin-top: clamp(44px, 6vw, 80px); padding-block: 26px;
  border-top: 1px solid var(--line); font-size: 14px; color: var(--muted);
}
.footer-bottom ul { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--ink); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Einblenden beim Scrollen ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}


/* ==========================================================================
   Elektro Storz – zusätzliche Bausteine
   ========================================================================== */
.logo--img { display: block; line-height: 0; }
.logo--img img { height: clamp(36px, 3.4vw, 46px); width: auto; transition: height 0.4s var(--ease); }
.site-header.is-scrolled .logo--img img { height: 34px; }
.footer-brand .logo--img img { height: 58px; }
.glow { color: var(--accent); }

/* Ablauf mit "Licht"-Punkten */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(22px, 3vw, 52px); }
.step { position: relative; padding-top: 34px; border-top: 1px solid var(--line-2); }
.step::before {
  content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 16px 4px rgba(var(--accent-rgb), 0.6);
}
.step .num { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 28px; display: block; margin-bottom: 14px; }
.step h3 { margin-bottom: 10px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Hervorgehobenes Produkt (Leuchte des Monats) */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.feature .media { aspect-ratio: 1; }
.badge {
  display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 18px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink); margin-bottom: 26px;
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px 3px rgba(var(--accent-rgb), 0.7); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* Herstellerliste */
.brands { columns: 3; column-gap: clamp(24px, 4vw, 64px); }
.brands li {
  break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(22px, 2vw, 30px);
  color: var(--ink); transition: color 0.3s, padding-left 0.4s var(--ease);
}
.brands li:hover { color: var(--accent); padding-left: 10px; }
@media (max-width: 960px) { .brands { columns: 2; } }
@media (max-width: 560px) { .brands { columns: 1; } }
.brand-line { font-family: var(--serif); font-weight: 300; color: var(--ink); font-size: clamp(26px, 3.8vw, 56px); line-height: 1.3; text-align: center; }
.brand-line i { font-family: var(--sans); font-style: normal; font-size: 0.4em; color: var(--accent); margin: 0 0.25em; vertical-align: middle; }

/* Bildreihen */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.8vw, 26px); }
.trio .media { aspect-ratio: 4 / 5; }
.trio .media img { transition: transform 1.2s var(--ease); }
.trio .media:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .trio { grid-template-columns: 1fr; } .trio .media { aspect-ratio: 4 / 3; } }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.8vw, 26px); }
.compare .media { aspect-ratio: 1; }
.pill {
  position: absolute; left: 16px; top: 16px; z-index: 2; background: rgba(12, 9, 7, 0.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 16px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink);
}
@media (max-width: 560px) { .compare { grid-template-columns: 1fr; } }

/* Listen */
.checklist li { display: flex; gap: 18px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.checklist li::before {
  content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px 2px rgba(var(--accent-rgb), 0.55); transform: translateY(-2px);
}
.text-block h3 { margin: 1.6em 0 0.4em; }
.slogan { font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--ink); font-size: clamp(22px, 2.2vw, 30px); }
.band h2.wide { max-width: 22ch; }

/* Hersteller-Links */
.brands a { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: inherit; }
.brands a::after {
  content: ""; flex: none; width: 14px; height: 14px; background: currentColor; opacity: 0; transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.4s var(--ease);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='black' stroke-width='1.4'%3E%3Cpath d='M3 11L11 3M5 3h6v6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='black' stroke-width='1.4'%3E%3Cpath d='M3 11L11 3M5 3h6v6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.brands li:hover a::after, .brands a:focus-visible::after { opacity: 1; transform: none; }
@media (hover: none) { .brands a::after { opacity: 0.45; transform: none; } }
.brand-line a { color: inherit; transition: color 0.3s; }
.brand-line a:hover, .brand-line a:focus-visible { color: var(--accent); }

/* Karte (lokales Bild, keine Verbindung zu Kartendiensten) */
.map { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; height: clamp(340px, 34vw, 500px); background: var(--bg-2); }
.map-link { position: absolute; inset: 0; display: block; }
.map-link img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transition: transform 1.6s var(--ease); }
.map:hover .map-link img { transform: scale(1.03); }
.map-pin {
  position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--ink);
  box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0.22), 0 0 34px 12px rgba(var(--accent-rgb), 0.55);
  animation: pinpulse 2.6s ease-in-out infinite;
}
@keyframes pinpulse { 0%, 100% { box-shadow: 0 0 0 8px rgba(var(--accent-rgb), 0.22), 0 0 28px 8px rgba(var(--accent-rgb), 0.45); } 50% { box-shadow: 0 0 0 16px rgba(var(--accent-rgb), 0.08), 0 0 44px 16px rgba(var(--accent-rgb), 0.65); } }
.map-info {
  position: absolute; left: clamp(14px, 2.4vw, 34px); bottom: clamp(14px, 2.4vw, 34px); z-index: 2; max-width: 320px;
  background: rgba(12, 9, 7, 0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); border-radius: 3px; padding: 22px 26px;
}
.map-info address { font-style: normal; font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.25; color: var(--ink); margin-bottom: 18px; }
.map-attr { position: absolute; right: 10px; bottom: 8px; z-index: 2; font-size: 11px; color: var(--ink-2); background: rgba(12, 9, 7, 0.75); padding: 2px 8px; border-radius: 2px; }
.map-attr:hover { color: var(--ink); }
@media (max-width: 700px) {
  .map { height: auto; }
  .map-link { position: relative; height: 280px; }
  .map-info { position: static; max-width: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: var(--bg-2); padding-bottom: 12px; }
  .map-attr { position: static; display: block; text-align: right; background: var(--bg-2); padding: 0 26px 16px; }
}
@media (prefers-reduced-motion: reduce) { .map-pin { animation: none; } }


/* ==========================================================================
   Heller, fröhlicher Look
   Auf Fotos und dunklen Flächen bleibt die Schrift hell (Variablen werden dort umgedreht).
   ========================================================================== */
.hero, .page-hero, .band, .card, .lightbox, .site-header {
  --ink: #fff8ee; --ink-2: #f3e9d9; --muted: #e0d3bf; --on-ink: #1f1a15;
  --line: rgba(255, 248, 238, 0.24); --line-2: rgba(255, 248, 238, 0.55);
  --accent: #86e3f8;
}
.site-header.is-scrolled, body.menu-open .site-header {
  --ink: #1f1a15; --ink-2: #4b443b; --muted: #766c60; --on-ink: #fdfaf4;
  --line: rgba(31, 26, 21, 0.14); --line-2: rgba(31, 26, 21, 0.3); --accent: #007b99;
}
.site-header.is-scrolled { background: rgba(253, 250, 244, 0.92); box-shadow: 0 8px 30px -22px rgba(70, 45, 10, 0.5); }

/* Buttons & Navigation */
.btn:hover, .nav a.btn-nav:hover, .nav a.btn-nav[aria-current="page"], .lb-btn:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn--accent { background: var(--brand); border-color: var(--brand); color: var(--accent-ink); }
.btn--accent:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.nav a.btn-nav { border-color: var(--line-2); }
@media (max-width: 1080px) { .nav a.btn-nav, .nav a.btn-nav:hover, .nav a.btn-nav[aria-current="page"] { background: none; border: 0; color: var(--accent); } }

/* Logo: weiße Schrift auf Fotos, dunkle Schrift auf hellem Grund */
.logo--img .logo-dark { display: none; }
.site-header.is-scrolled .logo-light, body.menu-open .logo-light { display: none; }
.site-header.is-scrolled .logo-dark, body.menu-open .logo-dark { display: block; }
.footer-brand .logo-light { display: none; }
.footer-brand .logo-dark { display: block; }

/* Hero: helles, freundliches Foto – nur so viel Schatten, wie die Schrift braucht */
.hero::after {
  background:
    radial-gradient(ellipse 70% 42% at 50% 50%, rgba(24, 16, 8, 0.58), rgba(24, 16, 8, 0.2) 70%, rgba(24, 16, 8, 0.1) 100%),
    linear-gradient(180deg, rgba(24, 16, 8, 0.5) 0%, rgba(24, 16, 8, 0.1) 26%, rgba(24, 16, 8, 0.16) 74%, var(--bg) 100%);
}
.page-hero::after { background: linear-gradient(180deg, rgba(24, 16, 8, 0.62) 0%, rgba(24, 16, 8, 0.26) 32%, rgba(24, 16, 8, 0.22) 55%, rgba(24, 16, 8, 0.52) 100%); }
.page-hero::before { background: linear-gradient(90deg, rgba(24, 16, 8, 0.55) 0%, rgba(24, 16, 8, 0.22) 55%, rgba(24, 16, 8, 0) 100%); }
.hero-link, .hero-meta { text-shadow: 0 2px 26px rgba(20, 12, 4, 0.55), 0 1px 3px rgba(20, 12, 4, 0.35); }
.hero-link { border-bottom-color: rgba(255, 248, 238, 0.9); }
.hero-meta { font-weight: 500; }
.scroll-hint { color: #1f1a15; text-shadow: none; }
.scroll-hint i { background: linear-gradient(currentColor, transparent); }
@media (max-width: 720px) {
  .hero::after { background: linear-gradient(180deg, rgba(24, 16, 8, 0.58) 0%, rgba(24, 16, 8, 0.5) 40%, rgba(24, 16, 8, 0.54) 76%, var(--bg) 100%); }
  .hero-link, .hero-meta { text-shadow: 0 2px 22px rgba(20, 12, 4, 0.85), 0 1px 3px rgba(20, 12, 4, 0.7); }
}
.band::after { background: rgba(24, 16, 8, 0.46); }
.card::after { background: linear-gradient(180deg, rgba(24, 16, 8, 0) 30%, rgba(24, 16, 8, 0.72) 100%); }

/* Laufband, Zierpunkte: Lampenlicht-Gelb */
.marquee { background: var(--bg-2); border-color: var(--line); }
.marquee span::after, .brand-line i { color: var(--glow); }
.step::before { background: var(--glow); box-shadow: 0 0 16px 4px rgba(var(--glow-rgb), 0.7); }
.badge i { background: var(--glow); box-shadow: 0 0 12px 3px rgba(var(--glow-rgb), 0.8); }
.checklist li::before { background: var(--glow); box-shadow: 0 0 10px 2px rgba(var(--glow-rgb), 0.7); }
h2 em, .h2 em {
  font-style: italic; padding: 0 0.06em;
  background-image: linear-gradient(transparent 66%, rgba(var(--glow-rgb), 0.55) 66%, rgba(var(--glow-rgb), 0.55) 93%, transparent 93%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.band h2 em, .page-hero h1 em, .hero h2 em { background: none; }

/* Farbige Flächen */
.section--tint { background: #e8f6fa; }
.section--warm { background: #fff3d4; }
.section--alt .panel, .section--tint .panel, .section--warm .panel, .panel { background: #fff; border-color: var(--line); }

/* Fotos mit weichem Schatten */
.media { box-shadow: 0 26px 60px -30px rgba(70, 45, 10, 0.45); background: var(--bg-3); }
.card { box-shadow: 0 26px 60px -30px rgba(70, 45, 10, 0.5); }
.g-item { box-shadow: 0 16px 34px -22px rgba(70, 45, 10, 0.45); }
.img-stack .media:nth-child(2) { border-color: var(--bg); }
.section--alt .img-stack .media:nth-child(2) { border-color: var(--bg-2); }

/* Formulare */
.field input::placeholder, .field textarea::placeholder { color: rgba(31, 26, 21, 0.38); }
.field input, .field select, .field textarea { background: transparent; }
.panel { box-shadow: 0 18px 46px -30px rgba(70, 45, 10, 0.35); }
.pill { background: rgba(255, 255, 255, 0.92); color: #1f1a15; border-color: rgba(31, 26, 21, 0.12); }

/* Karte */
.map { box-shadow: 0 26px 60px -30px rgba(70, 45, 10, 0.45); border-color: var(--line); }
.map-info { background: rgba(253, 250, 244, 0.95); border-color: var(--line); }
.map-attr { background: rgba(253, 250, 244, 0.88); }
.map-pin { background: var(--brand); border: 3px solid #fff; }

/* Footer */
.site-footer { background: var(--bg-2); }

/* Karte: ruhiger Hintergrund, deutlicher Standort */
.map-pin { width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 4px solid #fff; box-shadow: 0 0 0 12px rgba(var(--accent-rgb), 0.28), 0 6px 22px 2px rgba(20, 60, 80, 0.45); }
@keyframes pinpulse { 0%, 100% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0.3), 0 6px 22px 2px rgba(20, 60, 80, 0.45); } 50% { box-shadow: 0 0 0 22px rgba(var(--accent-rgb), 0.1), 0 6px 22px 2px rgba(20, 60, 80, 0.45); } }

.hours-note { margin-top: 14px; font-size: 14px; line-height: 1.55; color: var(--muted); }


/* ==========================================================================
   Umschalter Hell / Dunkel
   ========================================================================== */
.theme-toggle {
  display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0;
  border: 1px solid var(--line-2); border-radius: 50%; background: transparent; color: var(--ink);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
@media (hover: hover) { .theme-toggle:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); } }
.theme-toggle .ico-sun { display: none; }
.map-dark { display: none; }

:root[data-theme="dark"] {
  --bg: #0f0c0a; --bg-2: #17120f; --bg-3: #221b16;
  --ink: #f5eee4; --ink-2: #d3c9bc; --muted: #9a8f83;
  --line: rgba(245, 238, 228, 0.15); --line-2: rgba(245, 238, 228, 0.32);
  --accent: #4fd0ee; --on-ink: #0f0c0a; --danger: #ff7a66;
  color-scheme: dark;
}
:root[data-theme="dark"] .site-header.is-scrolled, :root[data-theme="dark"] body.menu-open .site-header {
  --ink: #f5eee4; --ink-2: #d3c9bc; --muted: #9a8f83; --on-ink: #0f0c0a;
  --line: rgba(245, 238, 228, 0.15); --line-2: rgba(245, 238, 228, 0.32); --accent: #4fd0ee;
}
:root[data-theme="dark"] .site-header.is-scrolled { background: rgba(15, 12, 10, 0.9); box-shadow: 0 8px 30px -22px rgba(0, 0, 0, 0.9); }
:root[data-theme="dark"] .theme-toggle .ico-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ico-moon { display: none; }
:root[data-theme="dark"] .site-header.is-scrolled .logo-light, :root[data-theme="dark"] body.menu-open .logo-light { display: block; }
:root[data-theme="dark"] .site-header.is-scrolled .logo-dark, :root[data-theme="dark"] body.menu-open .logo-dark { display: none; }
:root[data-theme="dark"] .footer-brand .logo-light { display: block; }
:root[data-theme="dark"] .footer-brand .logo-dark { display: none; }
:root[data-theme="dark"] .section--tint { background: #0e2128; }
:root[data-theme="dark"] .section--warm { background: #231c0d; }
:root[data-theme="dark"] .section--alt .panel, :root[data-theme="dark"] .section--tint .panel, :root[data-theme="dark"] .section--warm .panel, :root[data-theme="dark"] .panel { background: var(--bg-2); border-color: var(--line); }
:root[data-theme="dark"] .media, :root[data-theme="dark"] .card, :root[data-theme="dark"] .map, :root[data-theme="dark"] .panel { box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 0.75); }
:root[data-theme="dark"] .g-item { box-shadow: 0 16px 34px -22px rgba(0, 0, 0, 0.75); }
:root[data-theme="dark"] .map-info { background: rgba(15, 12, 10, 0.92); }
:root[data-theme="dark"] .map-attr { background: rgba(15, 12, 10, 0.8); }
:root[data-theme="dark"] .map-light { display: none; }
:root[data-theme="dark"] .map-dark { display: block; }
:root[data-theme="dark"] h2 em, :root[data-theme="dark"] .h2 em { background-image: linear-gradient(transparent 66%, rgba(var(--glow-rgb), 0.3) 66%, rgba(var(--glow-rgb), 0.3) 93%, transparent 93%); }
:root[data-theme="dark"] .band h2 em, :root[data-theme="dark"] .page-hero h1 em { background: none; }
:root[data-theme="dark"] .field input::placeholder, :root[data-theme="dark"] .field textarea::placeholder { color: rgba(245, 238, 228, 0.35); }
:root[data-theme="dark"] .img-stack .media:nth-child(2) { border-color: var(--bg); }
:root[data-theme="dark"] .section--alt .img-stack .media:nth-child(2) { border-color: var(--bg-2); }

/* Schalter Hell/Dunkel: am Handy neben dem Menü-Symbol, am Computer in der Menüleiste */
.theme-toggle--bar { display: none; position: relative; z-index: 2; margin-left: auto; }
@media (max-width: 1080px) {
  .theme-toggle--bar { display: flex; }
  .nav-social .theme-toggle { display: none; }
  .theme-toggle--bar + .burger { margin-left: -10px; }
}

/* Bildpaar ohne Überlappung: zwei gleich hohe Bilder nebeneinander, das rechte leicht versetzt */
.img-stack { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.6vw, 20px); padding-bottom: 0; align-items: start; }
.img-stack .media:nth-child(2),
.section--alt .img-stack .media:nth-child(2),
:root[data-theme="dark"] .img-stack .media:nth-child(2),
:root[data-theme="dark"] .section--alt .img-stack .media:nth-child(2) {
  position: relative; right: auto; bottom: auto; width: auto; border: 0; box-shadow: none;
  aspect-ratio: 4 / 5; margin-top: clamp(28px, 6vw, 64px);
}
.img-stack .media:nth-child(2)::after { content: none; }
@media (max-width: 860px) { .img-stack .media:nth-child(2) { right: auto; } }

/* Galerie: Abschnittsüberschriften */
.gal-head { font-family: var(--serif, "Cormorant Garamond", serif); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.4rem); margin: clamp(40px, 6vw, 80px) 0 clamp(16px, 2vw, 28px); }
.gal-head:first-child { margin-top: 0; }
.lightbox figcaption { display: none; }
