/* ==========================================================================
   Nord Sonne Brake · 01 Base: Tokens, Reset, Typografie, Buttons, Links
   ========================================================================== */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Farben: hell, warm, sonnig. Dunkel nur für Typografie und Kontraste. */
  --c-bg: #fbf7f0;
  --c-bg-2: #f4ede0;
  --c-sand: #e9dec8;
  --c-sand-2: #d9c9a9;
  --c-line: rgba(30, 27, 22, 0.12);
  --c-line-strong: rgba(30, 27, 22, 0.28);
  --c-ink: #1e1b16;
  --c-ink-2: #4f483d;
  --c-ink-3: #6f665a;
  --c-sun: #fab20b; /* Logo-Gelb */
  --c-sun-2: #dfa021;
  --c-sun-deep: #8f5f07; /* warmer Akzent, nur wo Gelb zu hell wäre */
  --c-blue: #184b88; /* Markenblau aus dem Logo, Kontrast 8,2:1 auf Creme */
  --c-sun-soft: #fbe6b2;

  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --c-open: #22a35a; /* gruen fuer "Jetzt geoeffnet" (Marcel, 17.09.2026) */

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;

  --container: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --header-h: 4.5rem;
  --radius: 6px;
  --section-y: clamp(4.25rem, 8vw, 7rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
address { font-style: normal; }
dl, dd, dt, p, h1, h2, h3, h4 { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--c-ink);
  outline-offset: 4px;
  border-radius: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--c-ink);
  color: var(--c-bg);
  text-decoration: none;
  border-radius: var(--radius);
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Typografie ---------- */
h1, h2, h3 {
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.04;
  text-wrap: balance;
}

.section__title {
  font-size: clamp(2.125rem, 1.5rem + 2.8vw, 3.9rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

p { text-wrap: pretty; }
p + p { margin-top: 1em; }

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.5;
}

.label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-3);
}

/* ---------- Links ---------- */
.link-inline {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--c-sun-2);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.3s var(--ease);
}
.link-inline:hover { text-decoration-color: var(--c-ink); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--c-ink);
}
.link-arrow .icon { transition: transform 0.45s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--dark { color: var(--c-ink); }

.icon { flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.45s var(--ease), background-color 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.btn .icon { transition: transform 0.45s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn:hover .icon--ext { transform: translate(2px, -2px); }
.btn:active { transform: translateY(0) scale(0.985); transition-duration: 0.15s; }

.btn--primary { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }
.btn--primary:hover { background: #2d2820; }

.btn--secondary { background: transparent; color: var(--c-ink); border-color: var(--c-line-strong); }
.btn--secondary:hover { border-color: var(--c-ink); background: rgba(30, 27, 22, 0.04); }

/* ---------- Öffnungszeiten-Kurzform (Hero, Kontakt, Mobile-Menü) ---------- */
.hours-summary {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--c-ink-2);
}
.hours-summary__days { font-weight: 500; color: var(--c-ink); margin-right: 0.25rem; }
.hours-summary--stack { flex-direction: column; gap: 0.15rem; }

/* ---------- Scroll-Reveal (JS setzt .is-in) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn .icon, .link-arrow .icon { transition: none; }
  .btn:hover { transform: none; }
}


/* ==========================================================================
   Nord Sonne Brake · 02 Layout: Header, Navigation, Sections, Footer, Sticky-Bar
   ========================================================================== */

/* Sprungziele nicht unter dem festen Kopf verstecken */
:target,
section[id],
[id] { scroll-margin-top: var(--header-h); }

.section {
  position: relative;
  overflow: clip;
  padding: var(--section-y) var(--gutter);
}
.section--sand { background: var(--c-bg-2); }
.section__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
}

/* Sonnenschimmer: sehr langsam wandernde, weiche Lichtflächen hinter den Abschnitten */
.glow {
  position: absolute;
  z-index: 0;
  width: clamp(280px, 44vw, 660px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 177, 46, 0.42) 0%, rgba(240, 177, 46, 0.16) 40%, rgba(240, 177, 46, 0) 68%);
  pointer-events: none;
  animation: glow-drift 28s ease-in-out infinite alternate;
}
.glow--a { right: -12%; top: -14%; }
.glow--b { left: -14%; bottom: -16%; animation-duration: 34s; animation-delay: -9s; }
.glow--c { right: -10%; bottom: 6%; animation-duration: 24s; animation-delay: -15s; }
@keyframes glow-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-8%, 7%) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) { .glow { animation: none; } }

/* ---------- Logo (SVG aus der Illustrator-Datei, ohne Unterzeile) ---------- */
.logo { display: inline-flex; align-items: center; }
.logo img { height: 3.4rem; width: auto; }
.logo--footer img { height: 2.5rem; }
@media (max-width: 767px) { .logo img { height: 2.6rem; } }

/* ---------- Header ---------- */
.scroll-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
/* Messpunkt für die Aktionsleiste: sie erscheint, sobald ein kurzes Stück gescrollt wurde */
.scroll-sentinel--bar { top: 200px; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: transparent;
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(251, 247, 240, 0.96);
  box-shadow: 0 1px 0 var(--c-line);
}
.site-header__inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-nav__list {
  display: flex;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}
.site-nav__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--c-ink-2);
  transition: color 0.3s var(--ease);
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.2rem;
  height: 1.5px;
  background: var(--c-sun-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.site-nav__list a:hover { color: var(--c-ink); }
.site-nav__list a:hover::after { transform: scaleX(1); }

/* Menü-Button (nur mobil) */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  padding: 0 0.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
}
.nav-toggle__icon {
  position: relative;
  width: 22px; height: 12px;
}
.nav-toggle__icon span {
  position: absolute;
  left: 0; width: 100%; height: 1.5px;
  background: var(--c-ink);
  transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.nav-toggle__icon span:nth-child(1) { top: 0; }
.nav-toggle__icon span:nth-child(2) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) { top: 5px; transform: rotate(-45deg); }

/* Mobile Overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--c-bg);
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.mobile-nav.is-open { opacity: 1; }
.mobile-nav__list a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0;
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.mobile-nav__list li,
.mobile-nav__meta {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(0.06s + var(--i, 0) * 0.05s);
}
.mobile-nav.is-open li,
.mobile-nav.is-open .mobile-nav__meta { opacity: 1; transform: none; }
.mobile-nav__meta {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-line);
  display: grid;
  gap: 1rem;
}
.mobile-nav__address { color: var(--c-ink-2); }
.mobile-nav__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.5rem; }
body.nav-open { overflow: hidden; }

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

/* ---------- Footer ---------- */
.site-footer {
  padding: 3rem var(--gutter) 2.5rem;
  border-top: 1px solid var(--c-line);
  font-size: 0.9375rem;
  color: var(--c-ink-2);
}
.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 3rem;
  align-items: start;
}
.site-footer__brand { display: grid; gap: 0.75rem; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.site-footer__links a { text-decoration: none; transition: color 0.3s; }
.site-footer__links a:hover { color: var(--c-ink); }
.site-footer__copy { grid-column: 1 / -1; color: var(--c-ink-3); font-size: 0.875rem; }

@media (max-width: 767px) {
  .site-footer__inner { grid-template-columns: 1fr; }
  body { padding-bottom: 4.5rem; } /* Platz für die Sticky-Leiste */
}

/* ---------- Mobile Aktionsleiste ---------- */
/* Randlos über die volle Breite, schlank, halbtransparent mit Weichzeichner.
   Trenner sind kleine Sonnenpunkte. Reihenfolge: Öffnungszeiten, Route, Anrufen. */
.aktionsleiste {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  display: none;
  background: rgba(30, 27, 22, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-top: 1px solid rgba(240, 177, 46, 0.32);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(calc(100% + 1rem));
  transition: transform 0.55s var(--ease);
}
.aktionsleiste.is-visible { transform: none; }
.aktionsleiste a {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 0 0.5rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 247, 240, 0.92);
  text-align: center;
  line-height: 1.2;
  text-decoration: none;
}
/* feine Trennlinie statt klickbar wirkender Punkte */
.aktionsleiste a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25%;
  height: 50%;
  border-left: 1px solid rgba(251, 247, 240, 0.16);
}
.aktionsleiste a:active { background: rgba(251, 247, 240, 0.1); }

@media (max-width: 767px) {
  .aktionsleiste { display: flex; }
  body { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .aktionsleiste { transition: none; } }

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */
.page-legal .site-header { background: rgba(251, 247, 240, 0.96); box-shadow: 0 1px 0 var(--c-line); }
.legal { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)); }
.legal__inner { max-width: 72ch; margin: 0 auto; }
.legal__title {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  margin-bottom: 2.5rem;
}
.legal h2 {
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 0.75rem;
}
.legal p, .legal li { color: var(--c-ink-2); }
.legal__list { list-style: disc; padding-left: 1.25rem; display: grid; gap: 0.35rem; margin: 0.75rem 0; }
.legal__meta { margin-top: 3rem; font-size: 0.9375rem; color: var(--c-ink-3); }
.legal h3 { font-size: 1.0625rem; font-weight: 500; margin: 1.5rem 0 0.4rem; }
.legal .lead { color: var(--c-ink); margin-bottom: 1rem; }


/* ==========================================================================
   Nord Sonne Brake · 03 Sections: Hero, Studio, Öffnungszeiten, Galerie,
   Instagram, Kontakt, Bild-Effekte
   ========================================================================== */

/* ---------- Bilder ---------- */
.fig { position: relative; }
.fig__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-sand);
  height: 100%;
}
.fig__frame picture, .hero__fig picture { height: 100%; }
.fig__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.fig:hover .fig__frame img { transform: scale(1.03); }

/* Dezenter Parallax über CSS Scroll-Driven Animations (kein JS, kein Scroll-Listener). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
    .parallax .fig__frame img {
      animation: parallax linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    .parallax:hover .fig__frame img { animation-play-state: running; }
  }
}
@keyframes parallax {
  from { transform: translateY(-5%) scale(1.12); }
  to   { transform: translateY(5%) scale(1.12); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(1.5rem, 4vw, 3.5rem)) var(--gutter) clamp(3rem, 6vw, 5rem);
}
.hero__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  row-gap: 3rem;
  align-items: center;
  min-height: calc(100svh - var(--header-h)); /* Hero füllt wie ursprünglich den ersten Bildschirm */
}
.hero__copy {
  grid-column: 1 / 7;
  position: relative;
  z-index: 2;
}
.hero__title {
  font-size: clamp(2.75rem, 1.9rem + 4.6vw, 6.25rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}
.hero__accent { color: var(--c-sun); } /* Logo-Gelb, auf Wunsch von Marcel */
.hero__lead {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 300;
  line-height: 1.5;
  max-width: 34ch;
  color: var(--c-ink-2);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
/* Kompakter Öffnungszeiten-Block im Hero */
.hero__hours {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  max-width: 24rem;
}
.hours-compact__label {
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--c-ink-3);
  margin-bottom: 0.4rem;
}
.hours-compact__status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9375rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--c-line);
}
.hours-compact__list { margin: 0; }

/* Schließtag-Hinweis (Feiertage aus data/site.json) */
.hours-alert {
  margin: 0.8rem 0 0.2rem;
  padding: 0.6rem 0.85rem;
  border-left: 3px solid var(--c-sun);
  background: var(--c-sun-soft);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--c-ink);
}
.hours-alert strong { font-weight: 600; }
.hours-alert[hidden] { display: none; }
.hours-compact__row {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 0.9375rem;
  line-height: 1.4;
}
.hours-compact__row dt { font-weight: 500; color: var(--c-ink); }
.hours-compact__row dd { color: var(--c-ink-2); }

.status-dot {
  width: 0.55rem; height: 0.55rem;
  border-radius: 50%;
  background: var(--c-open);
  flex: none;
}
.status-dot--closed { background: var(--c-sand-2); }
.status-text { font-weight: 500; color: var(--c-ink); }

/* Sonne: große, sehr langsam wandernde Lichtfläche hinter dem Bild */
.hero__sun {
  position: absolute;
  z-index: 0;
  width: clamp(320px, 52vw, 780px);
  aspect-ratio: 1;
  right: -10%;
  top: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 177, 46, 0.62) 0%, rgba(240, 177, 46, 0.28) 38%, rgba(240, 177, 46, 0) 68%);
  pointer-events: none;
  animation: sun-drift 24s ease-in-out infinite alternate;
}
@keyframes sun-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-6%, 5%) scale(1.06); }
}

.hero__media {
  grid-column: 7 / 13;
  position: relative;
  z-index: 1;
  align-self: center;
  padding-bottom: 15%; /* Platz für Jackie, die ein Drittel unter das Solarium ragt */
}
/* Desktop: Solarium mittig, Jackie links von der Mitte bis unten darüber, Brille unten rechts über der Ecke */
.hero__fig--main {
  width: 66%;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-sand);
}
.hero__fig--person,
.hero__fig--detail {
  position: absolute;
  z-index: 2;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-sand);
  box-shadow: 0 28px 70px -24px rgba(80, 55, 10, 0.45);
}
.hero__fig--person { left: -20%; top: 59%; width: 35%; aspect-ratio: 4 / 5; }
.hero__fig--detail { display: none; } /* Brille nur mobil im Hero, auf dem Desktop im Studio-Bereich */
.hero__fig img { width: 100%; height: 100%; object-fit: cover; }

/* Einblenden beim Laden */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * {
    opacity: 0;
    transform: translateY(18px);
    animation: hero-in 1s var(--ease) forwards;
  }
  .hero__copy > :nth-child(1) { animation-delay: 0.1s; }
  .hero__copy > :nth-child(2) { animation-delay: 0.22s; }
  .hero__copy > :nth-child(3) { animation-delay: 0.34s; }
  .hero__copy > :nth-child(4) { animation-delay: 0.46s; }
  .hero__fig--main { opacity: 0; animation: hero-img 1.4s var(--ease) 0.2s forwards; }
  .hero__fig--person { opacity: 0; animation: hero-in 1s var(--ease) 0.55s forwards; }
  .hero__fig--detail { opacity: 0; animation: hero-in 1s var(--ease) 0.75s forwards; }
}
@keyframes hero-in { to { opacity: 1; transform: none; } }
@keyframes hero-img {
  from { opacity: 0; transform: scale(1.04) translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__sun { animation: none; }
}

@media (max-width: 1023px) {
  .hero__inner { min-height: 0; row-gap: 2.5rem; }
  .hero__copy { grid-column: 1 / -1; }
  .hero__media { grid-column: 1 / -1; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.75rem, 3vw, 1.25rem); }
  .hero__fig--main { grid-column: 1 / -1; width: 100%; margin: 0; }
  .hero__fig--person, .hero__fig--detail { position: static; display: block; width: auto; box-shadow: none; aspect-ratio: 4 / 5; }
  .hero__sun { width: 70vw; right: -25%; top: 30%; }
  .hero__lead { max-width: 40ch; }
}
@media (max-width: 480px) {
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Studio ---------- */
/* Text + Bilder liegen in einem eigenen Grid (.studio__top), damit der sticky
   Textblock am Ende des Bildrasters stoppt und nicht in die Fakten läuft. */
.studio__top {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  row-gap: clamp(3rem, 6vw, 5rem);
}
.studio__copy {
  grid-column: 1 / 6;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}
.studio__text {
  color: var(--c-ink-2);
  max-width: 44ch;
}
.studio__media {
  grid-column: 6 / 13;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto;
  gap: var(--gutter);
}
.studio__fig--large { grid-column: 1 / 5; grid-row: 1 / 3; aspect-ratio: 3 / 4; }
.studio__fig--a { grid-column: 5 / 7; grid-row: 1; aspect-ratio: 1; align-self: end; margin-top: 18%; }
.studio__fig--b { grid-column: 5 / 7; grid-row: 2; aspect-ratio: 4 / 5; align-self: start; }

.facts {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem var(--gutter);
  padding-top: 2.5rem;
  border-top: 1px solid var(--c-line);
}
.facts__item dt {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.facts__item dd { color: var(--c-ink-2); max-width: 36ch; }

@media (max-width: 1023px) {
  .studio__copy { grid-column: 1 / -1; position: static; }
  .studio__media { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .studio__media { grid-template-columns: 1fr 1fr; grid-template-rows: auto; align-items: stretch; }
  .studio__fig--large { grid-column: 1 / -1; grid-row: auto; }
  /* beide Detailbilder im selben Format, sonst entsteht neben dem höheren eine Lücke */
  .studio__fig--a, .studio__fig--b { grid-column: auto; grid-row: auto; margin-top: 0; aspect-ratio: 4 / 5; }
  .facts { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* ---------- Öffnungszeiten ---------- */
.hours__inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  row-gap: 3rem;
}
.hours__head {
  grid-column: 1 / 6;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}
.hours__status {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 1rem;
  line-height: 1.4;
  min-height: 1.5rem;
}
.hours__status .status-dot { margin-top: 0.45em; }
.hours__note {
  margin-top: 1rem;
  color: var(--c-ink-2);
  max-width: 34ch;
}
.hours__head .btn { margin-top: 2rem; }

.hours__table {
  grid-column: 7 / 12;
  border-top: 1px solid var(--c-line-strong);
}
.hours__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--c-ink-2);
  transition: color 0.4s var(--ease);
}
.hours__day { display: flex; align-items: center; gap: 0.75rem; }
.hours__times { text-align: right; white-space: nowrap; }
.hours__amp { margin: 0 0.4em; color: var(--c-ink-3); font-weight: 400; }
.hours__unit { font-size: 0.85em; color: var(--c-ink-3); margin-left: 0.15em; }
.hours__slot--closed { color: var(--c-ink-3); }

.hours__row.is-today { color: var(--c-ink); font-weight: 500; }
.hours__row.is-today .hours__day::before {
  content: "";
  width: 0.6em; height: 0.6em;
  border-radius: 50%;
  background: var(--c-sun);
  flex: none;
}
.hours__row.is-today .hours__day::after {
  content: "Heute";
  font-size: 0.7em;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-sun-deep);
  margin-left: 0.2rem;
}

@media (max-width: 1023px) {
  .hours__head { grid-column: 1 / -1; position: static; }
  .hours__table { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .hours__row { font-size: 1rem; }
}

/* ---------- Galerie: Fächer ---------- */
.fan {
  --fan-h: clamp(380px, 64vh, 640px);
  display: flex;
  gap: 0.5rem;
  height: var(--fan-h);
}
.fan__item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-sand);
  cursor: pointer;
  transition: flex-basis 0.9s var(--ease), flex-grow 0.9s var(--ease);
}
.fan__item picture, .fan__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.fan__item img {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85);
  transition: filter 0.9s var(--ease);
}
.fan__item.is-open {
  flex: 0 0 calc(var(--fan-h) * 0.8); /* 4:5 → das ganze Foto ist sichtbar */
}
.fan__item.is-open img,
.fan__item:hover img { filter: none; }
.fan__item:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 3px; }

@media (max-width: 767px) {
  /* Mobil: wischbare Bildreihe, jedes Foto komplett */
  .fan {
    height: auto;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 0.5rem;
  }
  .fan::-webkit-scrollbar { display: none; }
  .fan__item, .fan__item.is-open {
    flex: 0 0 78vw;
    aspect-ratio: 4 / 5;
    scroll-snap-align: start;
    transition: none;
  }
  .fan__item img { filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fan__item { transition: none; }
}

/* ---------- Instagram ---------- */
.insta { padding-top: clamp(2.75rem, 5vw, 4.5rem); padding-bottom: clamp(2.75rem, 5vw, 4.5rem); }
.insta__inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  row-gap: 3rem;
  align-items: center;
}
.insta__copy { grid-column: 1 / 5; }
.insta__copy p { color: var(--c-ink-2); max-width: 34ch; }
.insta__copy .btn { margin-top: 2rem; }
.insta__posts {
  grid-column: 6 / 13;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.75rem, 2vw, 1.5rem);
  align-items: start;
}
.insta__post:nth-child(2) { margin-top: 14%; }
.insta__post:nth-child(3) { margin-top: 28%; }
.insta__post a {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-sand);
}
.insta__post img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.insta__post a:hover img { transform: scale(1.03); }

@media (max-width: 1023px) {
  .insta__copy { grid-column: 1 / -1; }
  .insta__posts { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .insta__posts { grid-template-columns: 1fr 1fr; }
  .insta__post:nth-child(2) { margin-top: 18%; }
  .insta__post:nth-child(3) { display: none; }
}

/* ---------- Kontakt ---------- */
.contact__inner {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  row-gap: 3rem;
  align-items: start;
}
.contact__copy { grid-column: 1 / 7; }
.contact__address {
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.contact__address strong { font-weight: 500; }
.contact__list {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 1.5rem 2.5rem;
  justify-content: start;
}
.contact__list dt {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-3);
  margin-bottom: 0.35rem;
}
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.contact__panel {
  grid-column: 8 / 13;
  background: var(--c-sun);
  color: var(--c-ink);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3.5rem);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
}
.contact__panel::before {
  /* weicher Verlauf, damit der Text unten lesbar bleibt */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--c-sun) 28%, rgba(240, 177, 46, 0.55) 60%, rgba(240, 177, 46, 0) 100%);
  pointer-events: none;
}
.map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.map path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.map__water path { fill: rgba(251, 247, 240, 0.55); stroke: rgba(251, 247, 240, 0.7); stroke-width: 6; }
.map__small path { stroke: rgba(251, 247, 240, 0.45); stroke-width: 2; }
.map__minor path { stroke: rgba(251, 247, 240, 0.85); stroke-width: 6; }
.map__major path { stroke: var(--c-bg); stroke-width: 11; }
.map__rail path { stroke: rgba(30, 27, 22, 0.28); stroke-width: 2.5; stroke-dasharray: 10 8; }
.map__pin-halo { fill: rgba(30, 27, 22, 0.14); animation: pin-pulse 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.map__pin-dot { fill: var(--c-ink); stroke: var(--c-bg); stroke-width: 4; }
@keyframes pin-pulse { 0%, 100% { transform: scale(0.85); opacity: 0.7; } 50% { transform: scale(1.15); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .map__pin-halo { animation: none; } }
.contact__panel > :not(.map) { position: relative; }
.contact__panel-label { font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.02em; }
.contact__panel-title {
  font-size: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 0.75rem;
}
.contact__panel-text { max-width: 26ch; }
.contact__panel .link-arrow { margin-top: 1.75rem; }

@media (max-width: 1023px) {
  .contact__copy { grid-column: 1 / -1; }
  .contact__panel { grid-column: 1 / -1; aspect-ratio: auto; min-height: 0; }
}
@media (max-width: 600px) {
  .contact__list { grid-template-columns: 1fr; gap: 1.25rem; }
  .contact__actions .btn { flex: 1 1 100%; }
}
