/* ==========================================================================
   Billy-Jean Tattoo – Website (Design 8a)
   Statisch, ohne Framework. Schriften lokal (Lizenztexte: assets/fonts/OFL-Italiana.txt, OFL-Manrope.txt).
   Aufbau: 1 Grundlagen · 2 Bausteine · 3 Abschnitte · 4 Breakpoints
   Desktop (>= 1280px) entspricht dem freigegebenen Design.
   ========================================================================== */

/* ---------- 0. Schriften (lokal, nur latin + latin-ext) ---------- */
@font-face {
  font-family: "Italiana";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Italiana-latin.woff2") format("woff2");
}
/* Manrope ist eine variable Schrift: eine Datei deckt alle Stärken ab. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/Manrope-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;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../fonts/Manrope-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;
}

/* ---------- 1. Grundlagen ---------- */
:root {
  --bg: #070707;
  --bg-alt: #0e0d0c;
  --bg-field: #121110;
  --gold: #c9a96e;
  --text: #ebe5da;
  --muted: #bfb6a8;      /* Navigation, Hero-Text */
  --muted-2: #9d9487;    /* Fließtext in Karten */
  --muted-3: #8f877a;    /* Beschriftungen */
  --line: rgba(235, 229, 218, 0.1);
  --line-2: rgba(235, 229, 218, 0.12);
  --gold-line: rgba(201, 169, 110, 0.35);
  --serif: "Italiana", serif;
  --sans: "Manrope", sans-serif;
  --pad-x: 64px;         /* seitlicher Abstand der Abschnitte */
  --pad-y: 120px;        /* vertikaler Abstand der Abschnitte */
  /* Inhalt max. ca. 1440 px breit und zentriert; Hintergründe laufen voll */
  --gutter: max(var(--pad-x), calc((100vw - 1440px) / 2 + var(--pad-x)));
  color-scheme: dark;
}

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

html { scroll-padding-top: 116px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: normal;
  overflow-x: clip;
}

/* Filmkorn über der ganzen Seite (rein dekorativ) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.12;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video { max-width: 100%; display: block; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }

/* Sichtbarer Fokus für alle bedienbaren Elemente */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--gold);
  color: var(--bg);
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.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;
}

/* ---------- 2. Wiederkehrende Bausteine ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 6.5625vw, 84px); /* 84px bei 1280px */
  line-height: 1;
  overflow-wrap: break-word;
}

.stars { color: var(--gold); }

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--bg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 20px 34px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn--small { letter-spacing: 0.2em; padding: 14px 22px; }
.btn--outline {
  background: none;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-weight: 400;
  letter-spacing: 0.2em;
  padding: 14px 22px;
}

.link-underline {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
}

.tag {
  border: 1px solid rgba(235, 229, 218, 0.2);
  padding: 6px 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }

/* Abschnitte: Beschriftung links (3fr), Inhalt rechts (9fr) */
.section { padding: var(--pad-y) var(--gutter); }
.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid rgba(235, 229, 218, 0.08);
  border-bottom: 1px solid rgba(235, 229, 218, 0.08);
}
.sec-grid {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: 48px;
}
.sec-head { margin-bottom: 64px; }
.sec-head--gallery { margin-bottom: 56px; }

/* ---------- 3. Abschnitte ---------- */

/* Kopfzeile */
.site-header {
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 60;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 0.16em;
  text-decoration: none;
  white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.nav a:hover { color: var(--text); }
.nav .nav-cta { display: none; }
.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--line-2);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s, background 0.2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden; /* weiche Dunkelflecken hinter Spruch/Bildunterschrift dürfen nicht über den Rand schieben */
  display: grid;
  grid-template-columns: 7fr 5fr;
  min-height: 684px;
}
.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px var(--pad-x) 120px var(--gutter);
}
.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 8.75vw, 112px); /* 112px bei 1280px */
  line-height: 0.88;
  margin: 0 0 36px;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px 16px; align-items: center; }
.hero-actions .link-underline { color: var(--text); letter-spacing: 0.22em; }

.hero-facts {
  position: absolute;
  left: var(--gutter);
  bottom: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 48px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-3);
}

.hero-media { position: relative; }
.hero-video {
  position: absolute;
  inset: 0 0 0 -180px;
  width: calc(100% + 180px);
  max-width: none; /* sonst kappt die Grundregel die Breite und rechts bleibt eine Lücke */
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
  background: var(--bg);
  /* Film in Farbe (Wunsch Kunde, 26.10.) */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%), linear-gradient(0deg, transparent 0%, #000 10%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%), linear-gradient(0deg, transparent 0%, #000 10%);
  mask-composite: intersect;
}
/* dezente Abdunklung rechts unten, damit Beschriftungen auf hellen Videostellen lesbar bleiben */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to left, rgba(7, 7, 7, 0.85) 0, rgba(7, 7, 7, 0.6) 90px, rgba(7, 7, 7, 0) 240px),
    radial-gradient(ellipse 460px 320px at 100% 100%, rgba(7, 7, 7, 0.85) 0%, rgba(7, 7, 7, 0.55) 45%, rgba(7, 7, 7, 0) 100%);
}
.hero-slogan, .motion-toggle { z-index: 2; }
.hero-slogan {
  position: absolute;
  right: 48px; /* weiter rechts (Wunsch Kunde) */
  bottom: 72px;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(235, 229, 218, 0.82);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.85), 0 0 3px rgba(0, 0, 0, 0.6);
  text-align: right;
}
/* Weicher, ausgefranster Dunkelgrund hinter den Beschriftungen (Kontrast >= 4,5:1 auch an hellen Videostellen) */
.hero-slogan::before {
  content: "";
  position: absolute;
  inset: -14px -26px;
  z-index: -1;
  background: rgba(7, 7, 7, 0.9);
  filter: blur(14px);
  pointer-events: none;
}

/* Bewegung anhalten/abspielen (WCAG 2.2.2) */
.motion-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: rgba(7, 7, 7, 0.7);
  color: var(--text);
  border: 1px solid var(--gold);
  padding: 10px 14px;
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { background: rgba(7, 7, 7, 0.9); }
.motion-icon { display: inline-block; width: 10px; height: 10px; border-left: 3px solid var(--gold); border-right: 3px solid var(--gold); } /* Pause-Symbol */
.motion-toggle.is-paused .motion-icon { width: 0; height: 0; border: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 9px solid var(--gold); } /* Play-Symbol */

/* Kennzahlenleiste */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0 var(--gutter); /* Inhalt fluchtet mit Logo und Abschnitten, Linien laufen voll */
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 36px 40px;
  border-right: 1px solid var(--line);
}
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; padding-right: 0; }
.stat-value {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1;
  margin: 0;
}
.stat-value--gold { color: var(--gold); }
.stat-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-3);
  margin: 10px 0 0;
}

/* Studio */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.value { border-top: 1px solid var(--gold); padding-top: 24px; }
.value h3, .step h3 {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 14px;
}
.value p { color: var(--muted-2); font-size: 15px; line-height: 1.75; }
.studio-title { margin-bottom: 56px; }

/* Laufband */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 40px;
  animation: bjMarquee 50s linear infinite;
}
.motion-paused .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; gap: 48px; align-items: center; }
.marquee-item::after { content: "\25C6"; color: var(--gold); font-size: 18px; }
@keyframes bjMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Galerie */
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.gallery-head .link-underline { white-space: nowrap; }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  grid-auto-flow: dense;
  gap: 20px;
}
.shot {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gold-line);
  background: #121110;
}
.shot--big { grid-area: span 2 / span 2; }
.shot--tall { grid-row: span 2; }
.shot--wide { grid-column: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
/* Innerer Zierrahmen liegt über dem Foto */
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 7px #141210, inset 0 0 0 8px rgba(235, 229, 218, 0.12);
}
.shot figcaption {
  position: absolute;
  z-index: 1;
  left: 0; right: 0; bottom: 0;
  margin: 0 8px 8px;
  padding: 36px 18px 16px;
  background: linear-gradient(0deg, rgba(7, 7, 7, 0.9), rgba(7, 7, 7, 0));
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}

/* Artists */
.artists { display: flex; flex-direction: column; gap: 64px; }
.artist-main {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 64px;
}
.photo {
  overflow: hidden;
  background: #1c1a17;
  border: 1px solid var(--gold-line);
}
.photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.35) contrast(1.05); }
.artist-main .photo { aspect-ratio: 4 / 5; }
.artist-body { display: flex; flex-direction: column; gap: 22px; }
.role {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.artist-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 5.625vw, 72px);
  line-height: 1;
  margin: 0;
}
.artist-text { color: var(--muted-2); font-size: 16px; line-height: 1.75; max-width: 520px; }
.artist-main .tags { gap: 8px; }
.artist-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
.artist-actions .link-underline { color: var(--text); }

.team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 28px); list-style: none; margin: 0; padding: 0; }
.card { display: flex; flex-direction: column; gap: 16px; }
/* Desktop: fünf Karten nebeneinander, Text entsprechend kleiner */
@media (min-width: 1101px) {
  .team .card-name { font-size: clamp(22px, 1.9vw, 34px); }
  .team .card-meta .role { letter-spacing: 0.12em; }
  .team .tag { padding: 5px 7px; font-size: 10px; letter-spacing: 0.05em; }
  .team .card-link { letter-spacing: 0.1em; }
}
.card .photo { aspect-ratio: 3 / 4; }
.card--empty .photo {
  background: var(--bg-field);
  border: 1px dashed var(--gold-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-3);
}
.card-meta { display: flex; flex-direction: column; gap: 6px; }
.card-meta .role { font-size: 11px; letter-spacing: 0.18em; }
.card-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.05;
  margin: 0;
}
.card--empty .card-name { color: var(--muted-3); }
.card-link {
  align-self: flex-start;
  margin-top: auto; /* Links stehen in allen Karten auf gleicher Höhe */
  text-decoration: none;
  color: var(--text);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); list-style: none; margin: 0; padding: 0; }
.step { padding: 36px 32px 0; border-left: 1px solid var(--line-2); }
.step:first-child { padding-left: 0; border-left: 0; }
.step:last-child { padding-right: 0; }
.step-num { font-family: var(--serif); font-size: 64px; color: var(--gold); line-height: 1; }
.step h3 { margin: 22px 0 12px; }
.step p { color: var(--muted-2); font-size: 15px; line-height: 1.7; }
.step .link-small {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}

/* Stimmen */
.voices-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.voices-head .h2 { font-size: clamp(34px, 5.2vw, 84px); } /* langes Zitat: bei 1280 px drei statt fünf Zeilen */
.voices-by {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-3);
  text-align: right;
  white-space: nowrap;
  margin: 0;
  font-style: normal;
}
.reviews {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.review, .review-sum {
  background: var(--bg-alt);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
}
.review .stars { letter-spacing: 0.2em; font-size: 13px; }
.review blockquote { margin: 0; }
.review p { font-family: var(--serif); font-size: 24px; line-height: 1.35; }
.review figcaption {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-3);
  margin-top: auto;
}
.review-sum { justify-content: center; align-items: flex-start; }
.review-sum-value { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--gold); }
.review-sum p { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-3); }
.review-sum a {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}

/* FAQ */
.faq-side { display: flex; flex-direction: column; gap: 20px; }
.faq-side p { color: var(--muted-2); font-size: 15px; line-height: 1.7; }
.faq-side a { color: var(--text); text-decoration: none; }
.faq-title { margin-bottom: 40px; }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 28px;
}
.faq summary:focus { outline: none; }
.faq summary:focus-visible { text-decoration: underline; text-underline-offset: .18em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 300;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted-2); font-size: 15px; line-height: 1.7; max-width: 640px; padding: 0 0 26px; }

/* Terminanfrage */
.book {
  background: var(--bg-alt);
  border-top: 1px solid rgba(201, 169, 110, 0.3);
  padding: var(--pad-y) var(--gutter);
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
}
.book .eyebrow { margin-bottom: 24px; }
.book h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.625vw, 72px);
  line-height: 1;
  margin: 0 0 28px;
  overflow-wrap: break-word;
}
.book-intro p { color: var(--muted-2); font-size: 15px; line-height: 1.75; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 32px; align-content: start; }
.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-3);
}
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(235, 229, 218, 0.55); /* Kontrast der Linie >= 3:1 */
  border-radius: 0;
  color: var(--text);
  padding: 10px 0;
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: normal;
  text-transform: none;
}
.field select { background: var(--bg-alt); }
.field textarea { resize: none; }
.field ::placeholder { color: var(--muted-3); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-bottom-color: var(--gold);
}
.form-hint { grid-column: 1 / -1; color: var(--muted-3); font-size: 13px; margin: -8px 0 0; }
.req { color: var(--gold); }
.field-error { color: #f2a99a; font-size: 13px; letter-spacing: normal; text-transform: none; line-height: 1.4; }
.field-error:empty { display: none; }
.field-error::before { content: "\26A0\FE0E"; margin-right: .4em; }
.field [aria-invalid="true"] { border-bottom: 2px solid #e08a7a; }
.form .btn { grid-column: 1 / -1; justify-self: start; }
.form-note { grid-column: 1 / -1; color: var(--muted-3); font-size: 13px; line-height: 1.6; margin-top: -10px; }
.form-note a { color: var(--muted); }
.form-status { grid-column: 1 / -1; min-height: 1.5em; color: var(--gold); font-size: 14px; line-height: 1.6; margin: 0; }
.form-status:empty { display: none; }

/* Besuch */
.visit { display: grid; grid-template-columns: 5fr 7fr; border-top: 1px solid var(--line); }
.visit-info { padding: 80px var(--pad-x) 80px var(--gutter); display: flex; flex-direction: column; gap: 32px; }
.visit h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.375vw, 56px);
  line-height: 1;
  overflow-wrap: break-word;
}
.hours { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); font-size: 15px; margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.hours dt { margin: 0; }
.hours dd { margin: 0; color: var(--muted-3); }
.contact-lines { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-style: normal; }
.contact-lines a { text-decoration: none; }
.contact-lines a:hover { color: var(--gold); }
/* Statt eingebetteter Karte (kein Drittanbieter zur Laufzeit): Hinweisfläche mit Link */
.visit-map {
  min-height: 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-alt);
  border-left: 1px solid var(--line);
}
.visit-map-window {
  --map-crop: 140px;
  position: relative;
  min-height: 320px;
  flex: 1 0 320px;
  overflow: hidden;
}
.visit-map-frame {
  display: block;
  position: absolute;
  top: calc(-1 * var(--map-crop));
  left: 0;
  width: 100%;
  height: calc(100% + var(--map-crop));
  border: 0;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.55) brightness(0.9) contrast(0.95);
}
.visit-map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  border-top: 1px solid var(--line);
}
.visit-map-caption { margin: 0; font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.visit-map-caption span { display: block; margin-top: 6px; font-family: var(--sans); font-size: 13px; color: var(--muted); }
@media (max-width: 600px) {
  .visit-map-window { --map-crop: 70px; }
  .visit-map-footer { align-items: flex-start; flex-direction: column; gap: 20px; padding: 24px var(--pad-x); }
  .visit-map-caption { font-size: 26px; }
}


/* Fußzeile */
.site-footer {
  padding: 56px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; width: max-content; max-width: 100%; }
.footer-brand .logo { color: var(--text); margin-right: -0.16em; }
.footer-address {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-address > span:last-child { margin-right: -0.3em; }
.footer-social { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.footer-social a { color: var(--muted); text-decoration: none; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  border-top: 1px solid rgba(235, 229, 218, 0.08);
  padding-top: 24px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #857d70; /* etwas heller als im Entwurf (#6f685e) wegen Kontrast >= 4,5:1 */
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-legal a { text-decoration: none; }
.footer-social a:hover, .footer-legal a:hover { color: var(--text); }

/* Artist-Unterseiten */
.back-link { display: inline-block; margin-bottom: 40px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.back-link:hover { color: var(--text); }
.artist-page .artist-main { border-bottom: 0; padding-bottom: 0; }
/* Artist-Seiten: Porträt höher setzen – weniger Luft über „Zur Startseite“ und Bild */
.artist-page #main > .section:first-child { padding-top: 32px; }
.artist-page .back-link { margin-bottom: 20px; }
.artist-page .artist-main { padding-top: 0; }
.artist-page h1.artist-name { font-size: clamp(48px, 7.5vw, 96px); }
.artist-tagline { color: var(--muted); font-size: 17px; line-height: 1.7; }
/* Kompakte Zeitleiste neben dem Porträt */
.mini-timeline { list-style: none; margin: 8px 0 0; padding: 0; display: flex; }
.mini-timeline li { flex: 1; padding: 0 18px; border-left: 1px solid var(--line-2); }
.mini-timeline li:first-child { padding-left: 0; border-left: 0; }
.tl-year { display: block; font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--gold); }
.tl-note { display: block; margin-top: 8px; font-size: 12px; line-height: 1.4; color: var(--muted-2); }
.motto-line { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: clamp(22px, 2.2vw, 26px); line-height: 1.25; }
/* Aufklappbarer Rest */
.more { margin-top: 24px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.more summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; color: var(--gold); font-size: 20px; font-weight: 300; letter-spacing: 0; }
.more[open] summary::after { content: "\2013"; }
.more-body { padding-bottom: 20px; }
.more-body h3 { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; margin: 22px 0 10px; }
.more-body h3:first-child { margin-top: 4px; }
.more-body p, .plain, .diamond { color: var(--muted-2); font-size: 15px; line-height: 1.75; }
.plain, .diamond { list-style: none; margin: 0; padding: 0; }
.diamond li { position: relative; padding-left: 22px; }
.diamond li::before { content: "\25C6"; position: absolute; left: 0; top: 0.02em; color: var(--gold); font-size: 11px; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.works-grid .shot { aspect-ratio: 3 / 4; }
.shot-link { display: block; width: 100%; height: 100%; cursor: zoom-in; }
/* Tastaturfokus: goldener Rahmen innen (der äußere Rand wird von overflow:hidden abgeschnitten) */
.shot-link:focus-visible { outline: 2px solid var(--gold); outline-offset: -12px; }
.shot:has(.shot-link:focus-visible)::after { box-shadow: inset 0 0 0 3px var(--gold), inset 0 0 0 6px #141210; }
.works-note { color: var(--muted-2); font-size: 15px; }
.cta { text-align: left; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: transparent; color: var(--text); }
.lightbox::backdrop { background: rgba(7, 7, 7, 0.95); }
.lightbox-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 64px 72px; }
.lightbox-img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; height: auto; object-fit: contain; border: 1px solid var(--gold-line); }
.lightbox-count { font-size: 12px; letter-spacing: 0.2em; color: var(--muted); }
.lightbox-btn { position: absolute; width: 48px; height: 48px; background: rgba(7, 7, 7, 0.8); color: var(--text); border: 1px solid var(--gold); font-size: 24px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; font-family: var(--sans); }
.lightbox-close { top: 16px; right: 16px; font-size: 18px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* Umbruch nur auf dem Desktop */
.br-d { display: inline; }

/* ---------- 4. Breakpoints ---------- */

/* Bewertungen: bis 1279 px 2 x 2 statt vier schmale Spalten */
@media (max-width: 1279px) {
  .reviews { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet quer / kleiner Laptop: Navigation wird zum Menü */
@media (max-width: 1100px) {
  :root { --pad-x: 40px; --pad-y: 96px; }
  html { scroll-padding-top: 100px; }
  .site-header { padding-top: 20px; padding-bottom: 20px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    max-height: calc(100dvh - 85px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--pad-x) 24px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .nav .nav-cta {
    display: block;
    margin-top: 20px;
    padding: 18px 22px;
    text-align: center;
    background: var(--gold);
    color: var(--bg);
    font-weight: 600;
    border-bottom: 0;
  }
  .nav .nav-cta:hover { color: var(--bg); }

  .hero-video { inset: 0 0 0 -110px; width: calc(100% + 110px); max-width: none; }
  .hero-slogan { right: 32px; font-size: 28px; }
  .stat { padding: 30px 24px; }
  .stat-value { font-size: 44px; }
  .values { gap: 28px; }
  /* Tablet: 3 + 2, die zweite Reihe zentriert */
  .team { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
  .team > .card { grid-column: span 2; }
  .team > .card:nth-child(4) { grid-column: 2 / span 2; }
  .team > .card:nth-child(5) { grid-column: 4 / span 2; }
  .step { padding-left: 20px; padding-right: 20px; }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .review, .review-sum { padding: 28px; }
  .review p { font-size: 22px; }
  .book { gap: 48px; }
}

/* Tablet hochkant */
@media (max-width: 820px) {
  /* 2 Spalten, die fünfte Karte zentriert */
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team > .card, .team > .card:nth-child(4) { grid-column: auto; }
  .team > .card:nth-child(5) { grid-column: 1 / -1; width: calc(50% - 12px); justify-self: center; }
  :root { --pad-x: 28px; --pad-y: 72px; }
  .br-d { display: none; }
  .sec-grid, .book, .visit { grid-template-columns: 1fr; }
  .sec-grid { gap: 24px; }
  .sec-head { margin-bottom: 40px; }
  .book { gap: 40px; }

  /* Hero einspaltig: Video oben, Text darunter auf dunklem Grund */
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; height: clamp(280px, 62vw, 460px); }
  .hero-video {
    inset: 0;
    width: 100%;
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 28%);
    mask-image: linear-gradient(0deg, transparent 0%, #000 28%);
  }
  .hero-media::after { background: linear-gradient(to top, rgba(7, 7, 7, 0.7) 0%, rgba(7, 7, 7, 0) 45%); }
  .motion-toggle { top: 12px; right: 12px; }
  .hero-slogan { right: 24px; bottom: 44px; font-size: 26px; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.85); }
  .hero-copy { padding: 32px var(--pad-x) 56px; justify-content: flex-start; }
  .hero-kicker { margin-bottom: 24px; letter-spacing: 0.28em; }
  .hero h1 { font-size: clamp(44px, 13vw, 96px); margin-bottom: 28px; }
  .hero-lead { margin-bottom: 32px; }
  .hero-facts { position: static; margin-top: 40px; gap: 8px 32px; }

  /* Kennzahlen 2 x 2 */
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat:nth-child(even) { padding-right: 0; }
  .stat-value { font-size: clamp(32px, 8vw, 44px); }
  .stat-label { font-size: 11px; letter-spacing: 0.14em; }

  .values { grid-template-columns: 1fr; gap: 32px; }
  .studio-title { margin-bottom: 40px; }
  .marquee-track { font-size: 30px; gap: 32px; }
  .marquee-item { gap: 32px; }

  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; gap: 14px; }
  .gallery-head { flex-direction: column; align-items: flex-start; gap: 20px; }

  .artist-main { grid-template-columns: 1fr; gap: 32px; padding-bottom: 48px; }
  .artist-main .photo { aspect-ratio: 4 / 5; max-width: 420px; }
  .mini-timeline li { padding: 0 10px; }
  .tl-year { font-size: 22px; white-space: nowrap; }
  .works-grid { gap: 14px; }
  .lightbox-inner { padding: 64px 12px; }
  .artists { gap: 48px; }

  .steps { grid-template-columns: 1fr; }
  .step, .step:first-child, .step:last-child { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line-2); }
  .step:last-child { border-bottom: 0; }
  .step-num { font-size: 52px; }

  .voices-head { flex-direction: column; align-items: flex-start; }
  .voices-by { text-align: left; }
  .reviews { grid-template-columns: 1fr 1fr; }

  .faq summary { font-size: 24px; }
  .faq-side { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; }
  .faq-title { margin-bottom: 28px; }

  .visit-info { padding: 56px var(--pad-x); gap: 24px; }
  .visit-map { min-height: 320px; border-left: 0; border-top: 1px solid var(--line); }
}

/* Smartphone */
@media (max-width: 560px) {
  :root { --pad-x: 20px; --pad-y: 56px; }
  .logo { font-size: 19px; letter-spacing: 0.12em; }
  .site-header { gap: 12px; }

  .hero-media { height: clamp(260px, 72vw, 340px); }
  .hero-slogan { display: none; } /* dekorativ; am Handy zu unruhig über dem Video */
  .hero-copy { padding-top: 28px; padding-bottom: 44px; }
  .hero-kicker { font-size: 11px; letter-spacing: 0.22em; }
  .hero-lead { font-size: 16px; }
  .hero .btn { padding: 18px 26px; }
  .hero-actions { gap: 22px 16px; }
  .hero-facts { font-size: 11px; letter-spacing: 0.14em; }

  .eyebrow { font-size: 11px; letter-spacing: 0.24em; }
  .stat { padding: 22px 14px; }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat:nth-child(even) { padding-right: 0; }
  .stat-label { font-size: 10px; letter-spacing: 0.1em; }

  .marquee { padding: 18px 0; }
  .marquee-track { font-size: 26px; }

  .gallery { grid-auto-rows: 170px; gap: 10px; }
  .shot figcaption { padding: 28px 12px 10px; font-size: 10px; letter-spacing: 0.14em; }

  .team { grid-template-columns: 1fr; gap: 40px; }
  .team > .card:nth-child(5) { width: auto; grid-column: auto; }
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lightbox-prev { left: 6px; } .lightbox-next { right: 6px; }
  .lightbox-btn { width: 44px; height: 44px; }
  .card .photo { aspect-ratio: 4 / 3; }
  .card--empty .photo { aspect-ratio: 16 / 9; }
  .card:not(.card--empty) .photo img { object-position: 50% 22%; }
  .artist-main .photo { max-width: none; }

  .reviews { grid-template-columns: 1fr; }
  .review, .review-sum { padding: 26px 22px; }
  .review p { font-size: 22px; }

  .faq summary { font-size: 20px; padding: 20px 0; }

  .form { grid-template-columns: 1fr; gap: 26px; }
  .form .btn { width: 100%; text-align: center; }
  .hours { font-size: 14px; }
  .site-footer { padding-top: 44px; gap: 32px; }
  .footer-bottom { font-size: 10px; letter-spacing: 0.12em; }
}

/* Bewegung reduzieren: Laufband und weiches Scrollen aus */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html:not(.motion-on) .marquee-track { animation: none; }
  html:not(.motion-on) .marquee { overflow-x: auto; }
}

/* Tobi-Karte: Gesicht und Oberkörper im 3:4-Ausschnitt */
.card .photo img[src*="tobi"] { object-position: 55% 20%; }
.card .photo img[src*="felix-portraet"] { object-position: 50% 20%; }

/* Startseite: ganze Artist-Karte bzw. Foto und Name führen zum Profil */
.team .card { position: relative; }
.team .card .card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.team .card:has(.card-link) { cursor: pointer; }
.team .card:has(.card-link) .photo img { transition: transform .5s ease; }
.team .card:has(.card-link):hover .photo img { transform: scale(1.03); }
.team .card:has(.card-link):hover .card-name { color: var(--gold); }
.photo-link { display: block; }
.photo-link:hover img { transform: scale(1.03); transition: transform .5s ease; }
.name-link { color: inherit; text-decoration: none; }
.name-link:hover { color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .team .card .photo img, .photo-link img { transition: none !important; transform: none !important; } }

/* Spruch im Video fluchtet links mit der 4. Kennzahl darunter („Tattoo / & Kosmetik in Schildow“).
   .hero ist Container: 100cqw = Breite der Seite; die Leiste darunter nutzt dieselbe --gutter-Logik.
   Hero-Video-Spalte beginnt bei 7/12 der Breite (grid 7fr 5fr). */
:root { --stat-pad: 40px; }
/* Nur in Browsern mit Container-Einheiten (cqw); ältere behalten die rechte Position von oben */
@supports (width: 1cqw) {
  .hero { container-type: inline-size; }
  @media (min-width: 821px) {
    .hero-slogan {
      right: auto;
      left: calc(var(--gutter) + 3 * (100cqw - 2 * var(--gutter)) / 4 + var(--stat-pad) - 100cqw * 7 / 12);
      text-align: left;
    }
  }
}
@media (max-width: 1100px) { :root { --stat-pad: 24px; } }

/* Spruch: Grundlinie der letzten Zeile auf Höhe der Bewertungszeile links (bottom wie .hero-facts) */
@media (min-width: 821px) { .hero-slogan { bottom: 54px; } }

/* Spruch ohne dunklen Fleck, nur zarter Buchstabenschatten (Wunsch Kunde) – rein dekorativ (aria-hidden) */
.hero-slogan { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 0 12px rgba(0, 0, 0, 0.35) !important; } /* nur zarter Schatten an den Buchstaben */
.hero-slogan::before { display: none !important; }
.card .photo img[src*="priscilla"] { object-position: 50% 28%; }
.card .photo img[src*="niklas"] { object-position: 50% 20%; }

/* Artist-Zeile: Foto oben, Text beginnt bündig mit der Oberkante des Bildrahmens (Wunsch Kunde) */
.artist-main { align-items: start; }
.artist-body > :first-child { margin-top: 0; line-height: 1; }

/* Gemeinsame Galerie */
.portfolio-section { padding-top: 32px; }
.portfolio-section .back-link { margin-bottom: 20px; }
.portfolio-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 32px; margin: 0 0 36px; }
.portfolio-intro h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 7vw, 88px); line-height: 1.05; margin: 0; }
.portfolio-intro p { margin: 0; max-width: 46ch; color: var(--muted); font-size: 16px; line-height: 1.7; }
.portfolio-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.portfolio-filters[hidden], .portfolio-work[hidden], .portfolio-empty[hidden] { display: none; }
.portfolio-filters label { display: flex; flex: 1 1 220px; flex-direction: column; gap: 10px; font-size: 13px; color: var(--muted); }
.portfolio-filters select { width: 100%; padding: 14px 38px 14px 14px; background: var(--bg-field); border: 1px solid var(--line); border-radius: 0; color: var(--text); font: 15px var(--sans); color-scheme: dark; cursor: pointer; }
.portfolio-filters select:focus-visible, .portfolio-reset:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.portfolio-reset { padding: 15px 0; border: 0; background: none; color: var(--gold); font: 13px var(--sans); text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.portfolio-reset:hover { color: var(--text); }
.portfolio-count { margin: 24px 0; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.portfolio-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 36px 22px; }
.portfolio-work { margin: 0; min-width: 0; }
.portfolio-image { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-field); cursor: zoom-in; }
.portfolio-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.portfolio-image:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.portfolio-work figcaption { padding: 14px 0 0; display: flex; flex-direction: column; gap: 6px; }
.portfolio-work figcaption span { font-size: 15px; color: var(--text); }
.portfolio-work figcaption small { font-size: 12px; line-height: 1.6; color: var(--muted); }
.portfolio-work figcaption small:empty { display: none; }
.portfolio-empty { padding: 72px 0; }
.portfolio-empty h2 { font: 36px var(--serif); margin: 0 0 16px; }
.portfolio-empty p { color: var(--muted); margin-bottom: 24px; }
.portfolio-dialog-caption { margin: 0; color: var(--text); font-size: 14px; line-height: 1.5; text-align: center; max-width: 70ch; }
@media (max-width: 1000px) { .portfolio-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 600px) {
 .portfolio-intro { grid-template-columns: 1fr; gap: 24px; margin: 0 0 32px; }
 .portfolio-filters { gap: 20px; }
 .portfolio-filters label { flex-basis: 100%; }
 .portfolio-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 14px; }
 .portfolio-dialog .lightbox-inner { padding: 64px 12px 84px; }
 .portfolio-dialog .lightbox-img { max-height: calc(100dvh - 240px); }
 .portfolio-dialog .lightbox-prev, .portfolio-dialog .lightbox-next { top: auto; bottom: 18px; transform: none; }
}

.map-consent { min-height: 320px; height: 100%; padding: 40px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; }
.map-consent[hidden], .map-deactivate[hidden] { display: none; }
.map-consent h3 { font: 36px var(--serif); margin: 0; }
.map-consent p { font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 58ch; margin: 0; }
.map-consent a { font-size: 13px; color: var(--gold); text-underline-offset: 4px; }
.visit-map-footer { flex-wrap: wrap; }
.map-deactivate { flex-basis: 100%; padding: 0; border: 0; background: none; text-align: left; font: 12px var(--sans); color: var(--gold); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 600px) { .map-consent { padding: 28px var(--pad-x); } }

/* Informationen und Rechtstexte */
.legal-section { padding-top: 32px; }
.legal-section .back-link { margin-bottom: 20px; }
.legal-section h1 { font: 400 clamp(42px,6vw,76px)/1.1 var(--serif); margin: 0 0 48px; overflow-wrap: normal; hyphens: manual; }
.legal-layout { display: grid; grid-template-columns: minmax(180px,1fr) minmax(0,3fr); gap: 64px; align-items: start; }
.legal-nav { display: flex; flex-direction: column; gap: 18px; font-size: 14px; line-height: 1.6; }
.legal-nav a { color: var(--muted); text-decoration: none; }
.legal-nav a[aria-current], .legal-nav a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 5px; }
.legal-copy { max-width: 74ch; color: var(--muted); font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.legal-copy p { margin: 0 0 24px; }
.legal-copy h2 { font: 400 30px/1.3 var(--serif); color: var(--text); margin: 40px 0 16px; }
.legal-copy a { color: var(--gold); text-underline-offset: 4px; }
.legal-copy .legal-date { font-size: 13px; color: var(--muted); margin-bottom: 32px; }
.legal-copy .legal-draft { padding: 20px 24px; border: 1px solid var(--gold-line); color: var(--text); }
.visit-map-window:has(.map-consent:not([hidden])) { flex-basis: auto; overflow: visible; }
.map-consent { height: auto; }
@media (max-width: 820px) {
 .legal-section h1 { margin-bottom: 32px; }
 .legal-layout { grid-template-columns: 1fr; gap: 32px; }
 .legal-nav { flex-direction: row; flex-wrap: wrap; gap: 12px 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
 .legal-copy { font-size: 15px; }
}

/* Kartenaktionen bleiben auch nach Aktivierung auf Mobil sauber untereinander. */
.visit-map-footer { display: grid; grid-template-columns: minmax(0,1fr) auto; }
.map-deactivate { grid-column: 1 / -1; }
@media (max-width: 600px) { .visit-map-footer { grid-template-columns: 1fr; justify-items: start; } }

/* Goldene Galerieauswahl */
.portfolio-filter-field { display: flex; flex: 1 1 220px; flex-direction: column; gap: 10px; min-width: 0; font-size: 13px; color: var(--muted); }
.gold-select { position: relative; }
.gold-select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 52px; padding: 14px 18px; border: 1px solid var(--gold-line); border-radius: 0; background: var(--bg-field); color: var(--gold); font: 15px var(--sans); text-align: left; cursor: pointer; }
.gold-select-trigger::after { content: ''; width: 7px; height: 7px; flex: 0 0 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -4px; }
.gold-select-trigger:hover, .gold-select-trigger[aria-expanded="true"] { border-color: var(--gold); }
.gold-select-trigger:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.gold-select-list { position: absolute; z-index: 90; top: calc(100% + 8px); left: 0; right: 0; overflow-y: auto; overscroll-behavior: contain; padding: 6px; border: 1px solid var(--gold); background: #121110; box-shadow: 0 14px 32px rgba(0,0,0,.45); scrollbar-color: var(--gold) #121110; scrollbar-width: thin; }
.gold-select-list[hidden] { display: none; }
.gold-select.opens-up .gold-select-list { top: auto; bottom: calc(100% + 8px); }
.gold-select-option { padding: 12px; color: var(--text); font: 15px/1.5 var(--sans); cursor: pointer; outline: none; }
.gold-select-option[aria-selected="true"] { background: rgba(201,169,110,.16); color: var(--gold); }
.gold-select-option:hover, .gold-select-option:focus { background: var(--gold); color: #070707; }
@media (max-width: 600px) { .portfolio-filter-field { flex-basis: 100%; } }
