/* ------------------------------------------------------------------
   Darmstädter Wingolf – Stylesheet
   Farben: Schwarz · Weiß · Gold
------------------------------------------------------------------- */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
}

:root {
  --ink: #141414;
  --ink-soft: #2a2825;
  --muted: #625d55;
  --paper: #faf8f3;
  --paper-2: #f1ece0;
  --white: #ffffff;
  --gold: #a88a2e;
  --gold-bright: #c9a94a;
  --gold-soft: #e6d7a3;
  --line: rgba(20, 20, 20, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 10vw, 8rem);
  --radius: 0.375rem;
  --shadow: 0 1px 2px rgba(20, 20, 20, 0.06), 0 12px 32px -12px rgba(20, 20, 20, 0.25);
  --header-h: calc(4.5rem + env(safe-area-inset-top, 0px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  background: var(--ink); /* Statusleiste/Overscroll auf iOS dunkel, passend zum Hero */
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  hanging-punctuation: first last;
  overflow-x: clip; /* nichts darf die Seite seitlich scrollbar machen */
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 0.15em; }
a:hover { text-decoration-color: currentColor; }
button { font: inherit; color: inherit; cursor: pointer; }
ul[class] { list-style: none; margin: 0; padding: 0; }

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

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.visually-hidden {
  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; top: 0.5rem; left: 0.5rem; z-index: 100;
  padding: 0.6rem 1rem; background: var(--ink); color: var(--white);
  border-radius: var(--radius); transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 2rem + 6vw, 6.5rem); font-weight: 500; }
h2 { font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem); }
h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.25rem); }

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.75rem; height: 1px;
  margin-right: 0.75rem;
  vertical-align: middle;
  background: currentColor;
}

.lead {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 40ch;
  text-wrap: pretty;
}
.section-dark .lead { color: rgba(255, 255, 255, 0.82); }

.prose p { margin: 0 0 1.1em; max-width: 62ch; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { margin: 0 0 0.6rem; }
.prose h3 + p { margin-top: 0; }
.prose p + h3 { margin-top: 2rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold-bright); color: var(--ink); border-color: var(--gold-bright); }
.btn-gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: var(--white); border-color: rgba(255, 255, 255, 0.45); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-soft); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: var(--paper-2); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--white);
  /* Safari 26 ignoriert theme-color und färbt die Titelleiste nach der background-color dieser Kopfzeile;
     ohne Farbe tastet es beim Laden das Hero-Bild ab und landet bei einem Grau. Die fast transparente
     Farbe ist unsichtbar, Safari verrechnet sie mit dem html-Hintergrund zu --ink. */
  background-color: rgb(20 20 20 / 0.01);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  opacity: 1;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(250, 248, 243, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-scrolled::before { opacity: 0; }

.header-inner {
  position: relative;
  height: 100%;
  padding-top: env(safe-area-inset-top, 0px);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

.brand {
  display: inline-flex; align-items: center; gap: 0.75rem;
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand-mark { width: 1.1rem; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.25); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(0.75rem, 1.5vw, 1.5rem); }
.site-nav a {
  display: inline-block;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  position: relative;
  opacity: 0.85;
  transition: opacity 0.2s var(--ease);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--gold-bright);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current="true"] { opacity: 1; }
.site-nav a:hover::after, .site-nav a[aria-current="true"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 2.75rem; height: 2.75rem;
  border: 0; background: transparent; border-radius: 50%;
  position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 50%; width: 1.375rem; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle-bar { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; }
.nav-toggle-bar::before { transform: translateY(-7px); }
.nav-toggle-bar::after { transform: translateY(7px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: rotate(-45deg); }

@media (max-width: 64rem) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--ink); color: var(--white);
    padding: 0.5rem var(--gutter) 1.5rem;
    transform-origin: top;
    transform: scaleY(0.96);
    opacity: 0; visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  }
  .site-header.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-header.nav-open { color: var(--white); background: var(--ink); }
  .site-header.nav-open::before { opacity: 0; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li + li { border-top: 1px solid var(--line-light); }
  .site-nav a { display: block; padding: 0.9rem 0; font-size: 1.05rem; font-family: var(--serif); font-weight: 600; opacity: 1; }
  .site-nav a::after { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  isolation: isolate;
  overflow: clip;
}
.hero-media, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-media img { object-fit: cover; object-position: 62% 50%; }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.68) 38%, rgba(10, 10, 10, 0.3) 68%, rgba(10, 10, 10, 0.35) 100%),
    linear-gradient(to right, rgba(10, 10, 10, 0.35), rgba(10, 10, 10, 0) 60%);
}
.hero-content {
  position: relative; z-index: 2;
  padding-block: clamp(6rem, 18vh, 9rem) clamp(5rem, 14vh, 8rem);
}
.hero .eyebrow { color: var(--gold-soft); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75); }
.hero .eyebrow::before { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); }
.hero h1, .hero-sub { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4); }
.hero h1 { margin-bottom: 1.25rem; }
.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  line-height: 1.35;
  max-width: 34ch;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.9);
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-scroll {
  position: absolute; right: var(--gutter); bottom: 2rem; z-index: 2;
  width: 3rem; height: 3rem; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  animation: nudge 2.4s var(--ease) infinite;
}
.hero-scroll svg { width: 1.25rem; height: 1.25rem; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .hero-scroll { animation: none; } }
@media (max-width: 40rem) { .hero-scroll { display: none; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); scroll-margin-top: var(--header-h); }
.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head .lead { margin: 1.25rem 0 0; }
.section-paper { background: var(--paper-2); }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .eyebrow { color: var(--gold-bright); }
.section-dark a { text-decoration-color: var(--gold-bright); }

/* ---------- Werte ---------- */
/* The section overlaps the hero; let clicks through its empty areas (e.g. to .hero-scroll). */
.values { padding-block: 0; margin-top: -3.5rem; position: relative; z-index: 3; pointer-events: none; }
.value-card { pointer-events: auto; }
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}
.value-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--ink);
}
.value-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.value-card:hover img { transform: scale(1.04); }
.value-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.75), rgba(10, 10, 10, 0) 55%);
}
.value-label {
  position: absolute; left: 1.25rem; bottom: 1rem; z-index: 1;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.6rem);
  color: var(--white);
  letter-spacing: 0.01em;
}
.value-label::after {
  content: ""; display: block; width: 2.5rem; height: 2px; margin-top: 0.35rem; background: var(--gold-bright);
}

/* ---------- Wohnen ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
@media (max-width: 52rem) { .split { grid-template-columns: 1fr; } }

.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.facts div { padding: 0.9rem 0; border-top: 1px solid var(--line); }
.facts dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0.15rem 0 0; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
@media (max-width: 30rem) { .facts { grid-template-columns: 1fr; } }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}
@media (max-width: 52rem) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 32rem) { .gallery { grid-template-columns: 1fr; } }
.gallery-item {
  display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left;
  border-radius: var(--radius); overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item .caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1rem 0.9rem;
  color: var(--white);
  font-family: var(--serif); font-size: 1.25rem; font-weight: 600;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0));
}

/* ---------- Veranstaltungen ---------- */
.feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}
.feature + .feature { border-top: 1px solid var(--line-light); }
.feature:nth-of-type(even) .feature-media { order: 2; }
.feature-media {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-body h3 { color: var(--gold-soft); }
.feature-body p { color: rgba(255, 255, 255, 0.85); }
@media (max-width: 52rem) {
  .feature { grid-template-columns: 1fr; }
  .feature:nth-of-type(even) .feature-media { order: 0; }
}

/* ---------- Aktivenfahrten ---------- */
.city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
}
@media (max-width: 52rem) { .city-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.city-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 3 / 4; background: var(--ink); box-shadow: var(--shadow);
}
.city-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 0.9s var(--ease); }
.city-card:hover img { transform: scale(1.05); }
.city-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.75), rgba(10, 10, 10, 0) 50%);
}
.city-label {
  position: absolute; left: 1rem; bottom: 0.9rem; z-index: 1;
  color: var(--white); font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
}

/* ---------- Karten ---------- */
.map-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 20rem;
  /* Ohne max-width überträgt der Browser die min-height über das Seitenverhältnis in eine min-width
     (20rem * 16/9 ≈ 569px) – auf schmalen Screens wird die Seite dann seitlich scrollbar. */
  max-width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
/* width: 1px + min-width: 100%: iOS Safari dehnt <iframe>s sonst auf die Breite ihres Inhalts aus */
.map-frame iframe { position: absolute; inset: 0; width: 1px; min-width: 100%; height: 100%; border: 0; }
/* Die My-Maps-Einbettung blendet oben eine 60px hohe Titelleiste ein; der Rahmen schneidet sie ab. */
.map-frame-mymaps iframe { top: -60px; height: calc(100% + 60px); }
.map-frame-compact { aspect-ratio: 4 / 3; min-height: 18rem; border-color: var(--line-light); background: var(--ink-soft); }
/* ---------- Semesterprogramm ---------- */
.semester-card {
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-bright);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.semester-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; margin: 0 0 clamp(1.5rem, 3vw, 2.25rem); }
.semester-nav[hidden] { display: none; }
.semester-nav .btn { padding: 0.55rem 1.1rem; font-size: 0.875rem; }
.semester-nav .btn:disabled { opacity: 0.35; cursor: default; transform: none; }
/* Auf schmalen Screens passen beide Buttons nur nebeneinander, wenn das Wort „Semester“ entfällt
   (der vollständige Name bleibt über aria-label erhalten). */
@media (max-width: 36rem) {
  .semester-nav { flex-wrap: nowrap; gap: 0.5rem; }
  .semester-nav .btn { padding: 0.45rem 0.85rem; font-size: 0.8rem; }
  .semester-nav-word { display: none; }
}
.semester-content[aria-busy="true"] { opacity: 0.5; transition: opacity 0.2s var(--ease); }
.semester-term { margin: 0 0 0.5rem; font-family: var(--serif); font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); font-weight: 600; }
.semester-note { margin: 0; color: var(--muted); }
.semester-group + .semester-group {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.semester-group .semester-term { margin-bottom: 1rem; }
.event-list { margin: 0; }
.event {
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr);
  gap: 0 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.event:last-child { padding-bottom: 0; }
.event-date {
  display: grid;
  align-content: start;
  justify-items: center;
  text-align: center;
  line-height: 1;
}
.event-weekday { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.event-day { margin: 0.2rem 0 0.35rem; font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 0.85; font-variant-numeric: lining-nums; }
.event-month { font-size: 0.78rem; color: var(--muted); }
.event-title {
  margin: 0.1rem 0 0.3rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.2;
}
.event-meta { margin: 0; font-size: 0.92rem; color: var(--muted); }
.event-desc { margin: 0.5rem 0 0; max-width: 60ch; font-size: 0.95rem; color: var(--ink-soft); white-space: pre-line; }
.semester-actions { margin: 1.75rem 0 0; font-size: 0.92rem; color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 52rem) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid h2 { margin-bottom: 1rem; }
.contact-grid .lead { margin: 0 0 1.75rem; }
.contact-address {
  margin-top: 2.5rem;
  font-style: normal;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  padding-left: 1.25rem;
  border-left: 2px solid var(--gold-bright);
}
.contact-address strong { font-family: var(--serif); font-size: 1.25rem; color: var(--white); }

/* ---------- Impressum ---------- */
.legal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 5vw, 5rem);
}
@media (max-width: 52rem) { .legal { grid-template-columns: 1fr; } }
.legal h3 { font-size: 1.35rem; }
.legal p { font-size: 0.95rem; color: var(--ink-soft); }
.legal-col:first-child h3 { color: var(--gold); }
.legal-col:first-child p { font-size: 1rem; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.to-top { text-decoration: none; font-weight: 500; }
.to-top:hover { color: var(--ink); }

/* ---------- Lightbox ---------- */
.lightbox {
  border: 0; padding: 0; margin: auto;
  max-width: min(96vw, 90rem); max-height: 96vh;
  background: transparent; color: var(--white);
}
.lightbox::backdrop { background: rgba(8, 8, 8, 0.92); backdrop-filter: blur(4px); }
.lightbox figure { margin: 0; display: grid; gap: 0.75rem; justify-items: center; }
.lightbox img { max-width: 96vw; max-height: 86vh; width: auto; height: auto; border-radius: var(--radius); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9); }
.lightbox figcaption { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.lightbox-close {
  position: fixed; top: 1rem; right: 1rem;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4); background: rgba(0, 0, 0, 0.4);
  color: var(--white); font-size: 1.5rem; line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  .value-card img, .gallery-item img, .city-card img { transition: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .hero-scroll, .map-frame, .to-top, .lightbox { display: none !important; }
  .section-dark { background: none; color: var(--ink); }
  .hero { min-height: auto; color: var(--ink); }
  .hero::after, .hero-media { display: none; }
}
