/* ============================================================
   Ordination Dr. Valentina Auer — Warm & Elegant
   Palette abgeleitet aus den Ordinationsfotos:
   Elfenbein / Greige / Petrolblau / Messing / Terrakotta
   ============================================================ */

/* ---------- Fonts (selbst gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: 'Fraunces';
  src: url('../assets/fonts/Fraunces-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../assets/fonts/Fraunces-italic-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  --paper:        #FAF7F1;
  --paper-2:      #F1EBE0;
  --surface:      #FFFFFF;
  --ink:          #27313A;
  --ink-soft:     #59646E;
  --petrol:       #33566B;
  --petrol-deep:  #24404F;
  --petrol-ink:   #1B303C;
  --brass:        #B79A62;
  --brass-text:   #8A6D38;
  --terracotta:   #B4633F;
  --line:         #E4DCCC;

  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --space-section: clamp(5rem, 10vw, 8.5rem);
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 20px 60px -24px rgba(39, 49, 58, .22);
  --shadow-card: 0 10px 34px -16px rgba(39, 49, 58, .16);

  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }

h1 { font-size: clamp(2.7rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); }

h1 em, h2 em, .band-quote em {
  font-style: italic;
  font-weight: 500;
  color: var(--petrol);
}

a { color: inherit; }

section { scroll-margin-top: calc(var(--header-h) + 12px); }

.container {
  width: min(100% - 2.5rem, 1180px);
  margin-inline: auto;
}

.section { padding-block: var(--space-section); }
.section-alt { background: linear-gradient(180deg, var(--paper-2), #F6F1E7); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--brass-text);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 2.2rem; height: 1px;
  background: var(--brass);
  vertical-align: middle;
  margin-right: .8rem;
}
.eyebrow-light { color: #D8C79E; }

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 34em;
}

.section-head { max-width: 46em; margin-bottom: clamp(2.6rem, 5vw, 4rem); }
.section-intro { color: var(--ink-soft); margin-top: 1rem; max-width: 38em; }
.section-head h2 { text-wrap: balance; }

.text-link {
  color: var(--petrol);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(51, 86, 107, .35);
  transition: border-color .2s var(--ease-out), color .2s var(--ease-out);
}
.text-link:hover { color: var(--petrol-deep); border-bottom-color: var(--petrol-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.7rem;
  min-height: 48px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out),
              border-color .2s var(--ease-out), transform .2s var(--ease-out),
              box-shadow .2s var(--ease-out);
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--petrol);
  color: #fff;
  box-shadow: 0 12px 28px -14px rgba(36, 64, 79, .55);
}
.btn-primary:hover { background: var(--petrol-deep); transform: translateY(-2px); }

.btn-ghost {
  border-color: rgba(39, 49, 58, .25);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--petrol); color: var(--petrol); background: rgba(51, 86, 107, .05); }

.btn-light {
  background: #fff;
  color: var(--petrol-deep);
}
.btn-light:hover { background: var(--paper); transform: translateY(-2px); }

:where(a, button):focus-visible {
  outline: 3px solid var(--petrol);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  background: var(--petrol-deep);
  color: #fff;
  padding: .8rem 1.4rem;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.site-header.scrolled {
  background: rgba(250, 247, 241, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(39, 49, 58, .25);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  margin-right: auto;
}
.brand-logo {
  width: 50px;
  height: auto;
  flex: none;
}
.brand-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.15;
}
.brand-sub {
  display: block;
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-soft);
}

.main-nav ul {
  display: flex;
  gap: 1.9rem;
  list-style: none;
}
.main-nav a {
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  padding-block: .4rem;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--brass);
  transition: right .25s var(--ease-out);
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }

.nav-phone { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 48px; height: 48px;
  padding: 12px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle-bar {
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease-out);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 85% 12%, rgba(183, 154, 98, .10), transparent 70%),
    radial-gradient(50% 45% at 8% 90%, rgba(51, 86, 107, .07), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy h1 { margin-bottom: 1.4rem; text-wrap: balance; }
.hero-copy .lead { margin-bottom: 2.2rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-bottom: 2.4rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  list-style: none;
}
.hero-chips li {
  font-size: .85rem;
  font-weight: 500;
  color: var(--petrol-deep);
  background: rgba(51, 86, 107, .08);
  border: 1px solid rgba(51, 86, 107, .14);
  padding: .42rem 1rem;
  border-radius: 999px;
}

.hero-media { position: relative; }
.hero-frame {
  position: relative;
  border-radius: 300px 300px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hero-frame::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 286px 286px calc(var(--radius-lg) - 10px) calc(var(--radius-lg) - 10px);
  pointer-events: none;
}
.hero-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
}
.hero-ring {
  position: absolute;
  z-index: -1;
  width: 58%;
  aspect-ratio: 1;
  border: 1.5px solid var(--brass);
  border-radius: 50%;
  right: -9%;
  top: -7%;
  opacity: .5;
}

/* ---------- Quick Info ---------- */
.quick-info { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.quick-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow-card);
}
.quick-card svg {
  width: 26px; height: 26px;
  color: var(--brass-text);
  flex: none;
  margin-top: .2rem;
}
.quick-card h3 {
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-soft);
  margin-bottom: .35rem;
}
.quick-card p { font-size: .98rem; line-height: 1.55; }

.hours-mini span {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-variant-numeric: tabular-nums;
}
.hours-mini b { font-weight: 400; }
.hours-mini .today-line { color: var(--petrol); font-weight: 600; }
.hours-mini .today-line b { font-weight: 600; }

/* ---------- Über mich ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.portrait-frame {
  position: relative;
  border-radius: 260px 260px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.portrait-frame img { width: 100%; height: auto; }
.about-media { position: relative; }
.about-media::before {
  content: '';
  position: absolute;
  inset: -18px auto auto -18px;
  width: 40%;
  aspect-ratio: 1;
  border: 1.5px solid var(--brass);
  border-radius: 50%;
  opacity: .45;
}

.role-line {
  font-size: .92rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-soft);
  margin: .8rem 0 1.6rem;
}
.about-copy blockquote {
  border-left: 2px solid var(--brass);
  padding-left: 1.4rem;
  margin-bottom: 1.6rem;
}
.about-copy blockquote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.45;
  color: var(--petrol-deep);
}
.about-copy > p { color: var(--ink-soft); margin-bottom: 1.1rem; max-width: 56ch; }

.fact-list {
  list-style: none;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}
.fact-list li {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .97rem;
  color: var(--ink-soft);
}
.fact-list span {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Leistungen ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.9rem 1.7rem 1.7rem;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.service-card::after {
  content: '';
  position: absolute;
  left: 1.7rem; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--brass);
  transition: right .3s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}
.service-card:hover::after { right: 1.7rem; }
.service-card svg {
  width: 34px; height: 34px;
  color: var(--petrol);
  margin-bottom: 1.15rem;
}
.service-card h3 {
  font-size: 1.18rem;
  margin-bottom: .5rem;
}
.service-card p {
  font-size: .92rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- Zitat-Band ---------- */
.band {
  position: relative;
  min-height: clamp(380px, 55vh, 560px);
  display: grid;
  overflow: hidden;
}
.band-media, .band-overlay { grid-area: 1 / 1; }
.band-media img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  will-change: transform;
}
.band-overlay {
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(100deg, rgba(27, 48, 60, .78) 20%, rgba(27, 48, 60, .30) 65%, rgba(27, 48, 60, .15));
}
.band-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  max-width: 15em;
  text-wrap: balance;
}
.band-quote em { color: #E4CE9C; }
.band-sub {
  margin-top: 1rem;
  color: rgba(255, 255, 255, .85);
  font-size: 1.05rem;
}

/* ---------- Galerie ---------- */
.gallery {
  columns: 3;
  column-gap: 1.4rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.4rem;
}
.gallery-btn {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--paper-2);
  box-shadow: var(--shadow-card);
}
.gallery-btn img {
  width: 100%;
  transition: transform .5s var(--ease-out);
}
.gallery-btn:hover img { transform: scale(1.035); }
.gallery-btn figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2.2rem 1.2rem .9rem;
  background: linear-gradient(to top, rgba(27, 48, 60, .72), transparent);
  color: #fff;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.gallery-btn:hover figcaption, .gallery-btn:focus-visible figcaption {
  opacity: 1;
  transform: none;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.4rem;
}
.team-photo {
  border-radius: 160px 160px var(--radius-md) var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-card);
}
.team-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-card h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.team-card p {
  font-size: .8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--ink-soft);
}

/* ---------- Ordinationszeiten ---------- */
.hours {
  background:
    radial-gradient(70% 90% at 90% -10%, rgba(183, 154, 98, .14), transparent 60%),
    var(--petrol-ink);
  color: #fff;
}
.hours-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.hours-copy h2 em { color: #E4CE9C; }
.hours-copy > p {
  color: rgba(255, 255, 255, .78);
  margin-bottom: 2rem;
  max-width: 44ch;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.02rem;
}
.hours-table th, .hours-table td {
  text-align: left;
  padding: 1rem .4rem;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.hours-table th { font-weight: 500; }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .88); }
.hours-table tr.closed { color: rgba(255, 255, 255, .45); }
.hours-table tr.closed td { color: rgba(255, 255, 255, .45); }
.hours-table tr.today th, .hours-table tr.today td {
  color: #E4CE9C;
  font-weight: 600;
}
.hours-table tr.today th::after {
  content: 'heute';
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  border: 1px solid rgba(228, 206, 156, .5);
  border-radius: 999px;
  padding: .12rem .55rem;
  margin-left: .7rem;
  vertical-align: 1px;
}

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.contact-list { list-style: none; margin-top: 1.5rem; }
.contact-list li {
  display: flex;
  gap: 1.2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: none; }
.contact-list svg {
  width: 25px; height: 25px;
  color: var(--brass-text);
  flex: none;
  margin-top: .25rem;
}
.contact-list h3 {
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-soft);
  margin-bottom: .3rem;
}
.contact-list p { margin-bottom: .2rem; }
.contact-note {
  margin-top: 1.6rem;
  font-size: .92rem;
  color: var(--ink-soft);
}
.contact-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--petrol-ink);
  color: rgba(255, 255, 255, .82);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  padding: .7rem .85rem;
  margin-bottom: 1.1rem;
}
.footer-logo img { width: 52px; height: auto; }
.footer-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .5rem;
}
.footer-sub { font-size: .95rem; line-height: 1.6; }
.site-footer h3 {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 1rem;
}
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: .5rem; }
.site-footer a {
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  transition: color .2s var(--ease-out);
}
.site-footer a:hover { color: #E4CE9C; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem;
  padding-block: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .88rem;
  color: rgba(255, 255, 255, .55);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(20, 30, 38, .92);
}
.lightbox[hidden] { display: none; }
.lightbox figure {
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
}
.lightbox img {
  max-width: 100%;
  max-height: calc(100dvh - 9rem);
  width: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
}
.lightbox figcaption { color: rgba(255, 255, 255, .85); font-size: .95rem; }
.lightbox-close, .lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s var(--ease-out);
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, .2); }
.lightbox-close svg, .lightbox-nav svg { width: 22px; height: 22px; }
.lightbox-close { top: 1.2rem; right: 1.2rem; }
.lightbox-prev { left: 1.2rem; top: 50%; translate: 0 -50%; }
.lightbox-next { right: 1.2rem; top: 50%; translate: 0 -50%; }

/* ---------- Scroll-Reveal ---------- */
.reveal, .reveal-img {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal-img { transform: translateY(0) scale(.965); transition-duration: .9s; }
.reveal.d1 { transition-delay: .09s; }
.reveal.d2 { transition-delay: .18s; }
.reveal.d3 { transition-delay: .27s; }
.reveal.d4 { transition-delay: .36s; }
.is-visible { opacity: 1; transform: none; }

/* ---------- Mobile Navigation & Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .main-nav ul { gap: 1.3rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }

  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header { background: rgba(250, 247, 241, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(39, 49, 58, .35);
    padding: 1rem 1.25rem 2rem;
    transform: translateY(-115%);
    visibility: hidden;
    transition: transform .35s var(--ease-out), visibility 0s .35s;
  }
  .main-nav.open {
    transform: none;
    visibility: visible;
    transition: transform .35s var(--ease-out);
  }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a {
    display: block;
    padding: 1rem .3rem;
    font-size: 1.15rem;
    font-family: var(--font-serif);
  }
  .main-nav a::after { display: none; }
  .nav-phone { display: block; }
  .nav-phone a { color: var(--petrol); font-weight: 600; }

  .hero-grid, .about-grid, .hours-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-media { order: -1; max-width: 560px; }
  .hero-frame img { aspect-ratio: 4 / 3.4; }
  .about-media { max-width: 420px; }
  .quick-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { columns: 2; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .lightbox-nav { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery { columns: 1; }
  .team-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .team-card { max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr; }
  .fact-list li { grid-template-columns: 1fr; gap: .1rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-img {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .band-media img { height: 100%; }
}
