/* =========================================================
   VELARTO – Fine Art Agentur
   Gemeinsames Stylesheet – angepasst an das GMX-Baukasten-Design
   Look: warmes Creme/Gold, elegante Serifen, Kachel-Layout,
   dezente Blattschatten, Gold-Akzente, Schrift-Signatur.
   Farben & Schriften zentral als Variablen -> 1:1 im Baukasten nutzbar.
   ========================================================= */

/* Schriften lokal einbinden (DSGVO-konform, keine Google-Server).
   Dateien liegen im Ordner fonts/ – siehe fonts/README-Fonts.txt */
@font-face { font-family:'Cormorant Garamond'; font-style:normal; font-weight:400; font-display:swap; src:url('fonts/cormorant-garamond-v21-latin_latin-ext-regular.woff2') format('woff2'); }
@font-face { font-family:'Cormorant Garamond'; font-style:normal; font-weight:500; font-display:swap; src:url('fonts/cormorant-garamond-v21-latin_latin-ext-500.woff2') format('woff2'); }
@font-face { font-family:'Cormorant Garamond'; font-style:normal; font-weight:600; font-display:swap; src:url('fonts/cormorant-garamond-v21-latin_latin-ext-600.woff2') format('woff2'); }
@font-face { font-family:'Cormorant Garamond'; font-style:italic; font-weight:400; font-display:swap; src:url('fonts/cormorant-garamond-v21-latin_latin-ext-italic.woff2') format('woff2'); }
@font-face { font-family:'EB Garamond'; font-style:normal; font-weight:400; font-display:swap; src:url('fonts/eb-garamond-v33-latin_latin-ext-regular.woff2') format('woff2'); }
@font-face { font-family:'EB Garamond'; font-style:normal; font-weight:500; font-display:swap; src:url('fonts/eb-garamond-v33-latin_latin-ext-500.woff2') format('woff2'); }
@font-face { font-family:'EB Garamond'; font-style:italic; font-weight:400; font-display:swap; src:url('fonts/eb-garamond-v33-latin_latin-ext-italic.woff2') format('woff2'); }
@font-face { font-family:'Great Vibes'; font-style:normal; font-weight:400; font-display:swap; src:url('fonts/great-vibes-v21-latin_latin-ext-regular.woff2') format('woff2'); }

:root {
  /* --- Warme Palette (im GMX-Baukasten identisch verwenden) --- */
  --bg:          #e7ddca;   /* warmer Creme-Seitenhintergrund      */
  --tile:        #f2ecdd;   /* helle Kachel                        */
  --tile-2:      #ece3d1;   /* zweite Kachel-Nuance                */
  --hero-dark:   #241a12;   /* warmes Dunkelbraun (Hero-Overlay)   */
  --ink:         #3b342a;   /* Haupttext, warmes Dunkelbraun       */
  --ink-soft:    #6b6150;   /* Sekundärtext (WCAG-AA ≥4.5:1 auf allen Kachelfarben) */
  --gold:        #b0894e;   /* Antikgold – Linien, Rahmen, Icons   */
  --gold-deep:   #97733d;   /* dunkleres Gold – Buttons/Hover      */
  --gold-soft:   #cdb488;   /* helles Gold – Text auf dunklem Grund*/
  --gold-text:   #775d35;   /* Gold-Ton für Fließtext auf hellem Grund
                                (WCAG-AA-konform, ≥4.5:1 – gleicher
                                Farbton/Sättigung wie --gold, nur dunkler) */
  --gold-btn:    #826335;   /* Gold-Ton als Button-Fläche mit hellem Text
                                (WCAG-AA ≥4.5:1 mit --cream-text darauf) */
  --line:        #d8cbb1;   /* feine Trennlinien                   */
  --cream-text:  #f0e7d4;   /* Text auf dunklem Grund              */

  --serif:  'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --body:   'EB Garamond', 'Cormorant Garamond', Georgia, serif;
  --script: 'Great Vibes', 'Segoe Script', cursive;

  --breite: 1200px;

  /* Sehr dezente Leinwand-/Papier-Textur, reines CSS (zwei versetzte
     Punktraster ohne Bilddatei), keine feste Wiederholung erkennbar.
     Bewusst NICHT auf Werkbildern/Lightbox eingesetzt, damit die
     tatsächlichen Kunstwerkfarben niemals beeinflusst werden. */
  --grain-image:
    radial-gradient(rgba(60,42,20,.05) 1px, transparent 1.4px),
    radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.4px);
  --grain-size: 7px 7px, 11px 11px;
  --grain-pos: 0 0, 3px 5px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  background-image: var(--grain-image);
  background-size: var(--grain-size);
  background-position: var(--grain-pos);
  line-height: 1.75;
  font-size: 18px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 32px; }

/* ---------- Typografie ---------- */
.label {
  font-family: var(--body);
  font-size: 0.74rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-text);
  font-weight: 500;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: 0.04em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); text-transform: uppercase; letter-spacing: 0.12em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); text-transform: uppercase; letter-spacing: 0.10em; }
h3 { font-size: 1.5rem; letter-spacing: 0.06em; }

.tagline {
  font-family: var(--serif);
  letter-spacing: 0.30em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--gold-text);
  font-weight: 500;
}

p { margin-bottom: 1.1rem; max-width: 64ch; }
.lead { font-size: 1.16rem; color: var(--ink); }
.quote { font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1.5; letter-spacing: 0.02em; color: var(--ink); }
.signature { font-family: var(--script); font-size: 2.1rem; color: var(--gold-deep); line-height: 1; }

/* Gold-Trennlinie */
.divider { width: 60px; height: 1px; background: var(--gold); margin: 22px 0; }
.divider--center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons / Kacheln ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--body);
  font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500;
  padding: 15px 32px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--gold);
  transition: all .3s ease;
}
.btn:hover { background: var(--gold); color: var(--cream-text); }
.btn--solid { background: var(--hero-dark); color: var(--cream-text); border-color: var(--hero-dark); }
.btn--solid:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn--light { border-color: var(--gold-soft); color: var(--cream-text); }
.btn--light:hover { background: var(--gold); border-color: var(--gold); color: var(--hero-dark); }

/* Kontakt-Kachel (dunkel, mit Icon) */
.tile-cta {
  display: inline-flex; align-items: center; gap: 20px;
  background: var(--hero-dark); color: var(--cream-text);
  padding: 22px 30px; transition: background .3s ease;
}
.tile-cta:hover { background: #33261a; }
.tile-cta__icon {
  width: 44px; height: 44px; flex: none; border: 1px solid var(--gold);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold-soft); font-size: 1.1rem;
}
.tile-cta__t { font-family: var(--serif); font-size: 1.3rem; letter-spacing: .06em; line-height: 1.1; }
.tile-cta__s { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #cdbf9f; }

/* ---------- Navigation (Gold-Pill, zentriert) ---------- */
.nav { padding: 22px 0 6px; }
.nav__inner { display: flex; justify-content: center; }
.nav__pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(180deg,#c9ad7d,#a98545);
  border-radius: 40px; padding: 7px 10px;
  box-shadow: 0 8px 24px rgba(60,42,20,.25);
}
.nav__pill a {
  font-family: var(--body); font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: #efe4cd; padding: 8px 20px; border-radius: 26px; transition: .25s; font-weight: 500;
}
.nav__pill a:hover { color: #fff; }
.nav__pill a.active { background: rgba(36,26,18,.78); color: #f3e7cf; }

/* ---------- Marken-Logo (VA-Monogramm + Wortmarke) ---------- */
.brandbar { display: flex; justify-content: center; align-items: center; padding: 24px 0 4px; }
.brandbar--lg { padding: 36px 0 8px; }
.brandlogo { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; line-height: 1; }
.brandlogo__mark { flex: none; width: 66px; height: 50px; background: url('bilder/velarto-va.png') center/contain no-repeat; }
.brandlogo__type { display: flex; flex-direction: column; }
.brandlogo__v { font-family: var(--serif); font-weight: 600; font-size: 1.9rem; letter-spacing: .2em; line-height: 1; color: var(--ink); }
.brandlogo__fa { font-family: var(--body); font-weight: 500; font-size: .68rem; letter-spacing: .42em; color: var(--gold-text); margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--gold-text); }
.brandbar--lg .brandlogo__mark { width: 100px; height: 76px; }
.brandbar--lg .brandlogo__v { font-size: 2.7rem; }
.brandbar--lg .brandlogo__fa { font-size: .82rem; }
.footer .brandlogo { justify-content: center; margin-bottom: 8px; }
.footer .brandlogo__mark { background-image: url('bilder/velarto-va-hell.png'); }
.footer .brandlogo__v { color: var(--cream-text); }
.footer .brandlogo__fa { color: var(--gold-soft); border-top-color: var(--gold-soft); }
@media (max-width: 560px) {
  .brandlogo__mark { width: 52px; height: 40px; }
  .brandlogo__v { font-size: 1.5rem; }
  .brandbar--lg .brandlogo__mark { width: 74px; height: 56px; }
  .brandbar--lg .brandlogo__v { font-size: 2rem; }
}

/* Marken-Logo (rundes Monogramm) */
.brand-mark { display: flex; align-items: center; gap: 14px; }
.brand-mark__badge {
  width: 66px; height: 66px; border-radius: 50%;
  border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.06em; color: var(--gold); background: rgba(36,26,18,.25);
}

/* ---------- HERO (Galerie-Look) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(176,137,78,.28), transparent 60%),
    linear-gradient(180deg,#3a2a1b 0%, #241a12 55%, #1c130c 100%);
  color: var(--cream-text);
  padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 9vw, 120px);
}
.hero::after { /* dezenter Lichtkegel in der Mitte (Galerie-Spot) */
  content:""; position:absolute; inset:0;
  background: radial-gradient(60% 90% at 50% 35%, rgba(220,180,110,.20), transparent 65%);
  pointer-events:none;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: center; }
.hero__brand { }
.hero__brand .v { font-family: var(--serif); font-size: clamp(2.6rem,5vw,4.4rem); letter-spacing: 0.16em; color: var(--cream-text); line-height: 1; }
.hero__brand .fa { font-family: var(--body); font-size: 1rem; letter-spacing: 0.55em; color: var(--gold-soft); margin-top: 8px; }
.hero__brand .line { width: 70px; height: 1px; background: var(--gold); margin: 22px 0 0; }

.hero__center { text-align: center; }
.hero__center .badge {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto;
  border: 2px solid var(--gold); display:flex; align-items:center; justify-content:center;
  font-family: var(--serif); font-size: 2.6rem; color: var(--gold-soft); letter-spacing: .04em;
  background: rgba(36,26,18,.35);
}
.hero__center .ph { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color:#c9b48c; margin-top: 16px; }

.hero__welcome { text-align: right; }
.hero__welcome h1 { color: var(--cream-text); font-size: clamp(1.7rem,2.6vw,2.4rem); letter-spacing: 0.08em; }
.hero__welcome .divider { margin-left: auto; }
.hero__welcome p { margin-left: auto; color: var(--gold-soft); font-family: var(--serif); letter-spacing: 0.14em; text-transform: uppercase; font-size: 1rem; }

/* ---------- Kachel-Sektion (2x2 wie Screenshot) ---------- */
.tiles { padding: clamp(48px,7vw,92px) 0; }
.tiles__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.panel {
  position: relative; overflow: hidden;
  background: var(--tile);
  border: 1px solid var(--line);
  padding: 48px 46px 52px;
  text-align: center;
  box-shadow: 0 14px 40px rgba(60,42,20,.08);
}
/* dezenter Blattschatten oben (evoziert Screenshot-Look) */
.panel::before {
  content:""; position:absolute; top:-40px; left:-30px; width: 240px; height: 200px;
  background:
    radial-gradient(closest-side, rgba(80,64,34,.10), transparent 70%),
    radial-gradient(closest-side, rgba(80,64,34,.08), transparent 70%);
  background-position: 0 0, 60px 40px; background-size: 140px 110px, 120px 90px; background-repeat:no-repeat;
  transform: rotate(-8deg); pointer-events:none;
}
.panel .label { display:block; margin-bottom: 16px; }
.panel h2, .panel h3 { margin-bottom: 8px; }
.panel .divider { margin-left:auto; margin-right:auto; }
.panel p { margin-left:auto; margin-right:auto; }
.panel .sub { color: var(--ink-soft); font-size: 1.02rem; max-width: 52ch; margin: 0 auto 22px; }

/* Werk-Miniaturen-Reihe (Galerie-Kachel) */
.thumbs { display: flex; justify-content: center; gap: 16px; margin: 26px 0 30px; flex-wrap: wrap; }
.thumbs .th {
  width: 108px; height: 108px; background: linear-gradient(135deg,#5a4a33,#2c2015);
  display:flex; align-items:center; justify-content:center; color:#c9b48c; font-size:.62rem; letter-spacing:.12em; text-align:center;
  box-shadow: 0 8px 20px rgba(60,42,20,.18);
}

/* Dienstleistung: 3 Spalten */
.cols3 { display:grid; grid-template-columns: repeat(3,1fr); gap: 30px; text-align:left; margin-top: 30px; }
.cols3 .col h4 { font-family: var(--body); font-size:.74rem; letter-spacing:.2em; text-transform:uppercase; color: var(--gold-text); margin-bottom: 14px; padding-bottom:10px; border-bottom:1px solid var(--line); }
.cols3 .col ul { list-style:none; }
.cols3 .col li { font-size:1rem; color: var(--ink-soft); padding:5px 0 5px 18px; position:relative; }
.cols3 .col li::before { content:"◆"; position:absolute; left:0; color: var(--gold); font-size:.6rem; top:9px; }

/* Werte-Icons-Reihe */
.values { display:flex; justify-content:center; gap: 34px; margin-top: 34px; flex-wrap:wrap; }
.values .val { text-align:center; }
.values .val .ic { width:46px; height:46px; margin:0 auto 10px; border:1px solid var(--gold); border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--gold-deep); }
.values .val span { font-size:.64rem; letter-spacing:.16em; text-transform:uppercase; color: var(--ink-soft); }

/* kleine Figuren/Illustrations-Platzhalter */
.illus { height: 150px; margin: 10px auto 24px; display:flex; align-items:center; justify-content:center;
  color: var(--ink-soft); font-size:.72rem; letter-spacing:.16em; text-transform:uppercase;
  background: repeating-linear-gradient(90deg, transparent, transparent 22px, rgba(150,120,70,.06) 22px, rgba(150,120,70,.06) 23px);
  border-top:1px solid var(--line); border-bottom:1px solid var(--line); }

/* Signatur-Block */
.sign { margin-top: 8px; }
.sign .s-label { font-size:.72rem; letter-spacing:.18em; text-transform:uppercase; color: var(--ink-soft); }

/* ---------- Standard-Sektionen (Unterseiten) ---------- */
section.block { padding: clamp(52px,7vw,96px) 0; }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head .label { display:block; margin-bottom: 16px; }
.section-head .divider { margin-left:auto; margin-right:auto; }
.section-head p { margin-left:auto; margin-right:auto; }

/* Karten-Raster (Künstler/Werke) */
.grid { display: grid; gap: 30px; }
.grid--3 { grid-template-columns: repeat(3,1fr); }
.grid--2 { grid-template-columns: repeat(2,1fr); }
.card { background: var(--tile); background-image: var(--grain-image); background-size: var(--grain-size); background-position: var(--grain-pos); border: 1px solid var(--line); overflow: hidden; transition: .3s; box-shadow: 0 10px 30px rgba(60,42,20,.06); }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(60,42,20,.14); }
.card__media { aspect-ratio: 4/5; background: linear-gradient(135deg,#5a4a33,#241a12); position: relative; }
.card__body { padding: 26px 26px 30px; text-align: center; }
.card__body .label { display:block; margin-bottom: 10px; }
.card__body h3 { margin-bottom: 10px; }
.card__body p { font-size: 1rem; color: var(--ink-soft); margin: 0 auto 18px; }
.card--soon { opacity: .8; }
.card--soon .card__media { background: repeating-linear-gradient(45deg,#e6dcc7,#e6dcc7 12px,#ddd0b6 12px,#ddd0b6 24px); }

.media__ph { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; color:#c9b48c; text-align:center; }
.media__ph span { font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; }

/* Echtes Bild statt Platzhalter innerhalb .work__media / .card__media */
.work__media img, .card__media img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }

/* Nur für Screenreader/SEO sichtbar, visuell versteckt (z. B. H1 auf der Startseite) */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* Hero der Unterseiten (heller, warm) */
.subhero { background:
    radial-gradient(100% 80% at 50% 0%, rgba(176,137,78,.14), transparent 60%);
  padding: clamp(48px,7vw,90px) 0 clamp(30px,4vw,50px); text-align:center; }
.subhero .label { display:block; margin-bottom:16px; }
.subhero .divider { margin: 22px auto; }
.subhero p { margin-left:auto; margin-right:auto; }

/* Werk (Bild + Text) */
.work { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; margin-bottom:66px; text-align:left; }
.work:nth-child(even) .work__media { order:2; }
.work__media { aspect-ratio:4/3; background:linear-gradient(135deg,#5a4a33,#241a12); position:relative; box-shadow:0 16px 40px rgba(60,42,20,.16); }
.work__text .label { display:block; margin-bottom:14px; }

/* CTA-Band dunkel */
.cta-band { background:
    radial-gradient(120% 90% at 50% 0%, rgba(176,137,78,.25), transparent 60%),
    linear-gradient(180deg,#2e2216,#1c130c); color: var(--cream-text); text-align:center; }
.cta-band h2 { color: var(--cream-text); }
.cta-band p { color: var(--gold-soft); margin-left:auto; margin-right:auto; }
.cta-band .label { color: var(--gold-soft); }
.cta-band .divider { margin: 22px auto; background: var(--gold); }

/* Kontaktformular */
.form { display:grid; gap:18px; max-width:640px; text-align:left; }
.form label { font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:6px; display:block; }
.form input, .form textarea { width:100%; padding:14px 16px; border:1px solid var(--line); background:#faf6ec; font-family:var(--body); font-size:1rem; color:var(--ink); }
.form input:focus, .form textarea:focus { outline:none; border-color:var(--gold); box-shadow:0 0 0 3px rgba(176,137,78,.28); }
.form .row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.contact-meta { display:grid; gap:22px; text-align:left; }
.contact-meta .item { border-left:2px solid var(--gold); padding-left:18px; }
.contact-meta .item .k { font-size:.7rem; letter-spacing:.18em; text-transform:uppercase; color:var(--ink-soft); }
.contact-meta .item .v { font-family:var(--serif); font-size:1.4rem; letter-spacing:.04em; }

/* ---------- Werk-Galerie-Grid + Lightbox (katja-hellweg-galerie.html) ---------- */
/* Gemeinsamer Hook für alle vergrößerbaren Werke (Highlight-Bild + Grid-Kacheln) */
.js-lightbox { cursor: zoom-in; }
.gallery-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:22px; margin-top:8px; }
.g-item {
  position:relative; aspect-ratio:4/5; overflow:hidden; cursor:zoom-in;
  background: var(--tile); border:1px solid var(--line);
  box-shadow: 0 10px 26px rgba(60,42,20,.08); transition:.3s ease;
}
.g-item:hover { transform:translateY(-4px); box-shadow:0 18px 38px rgba(60,42,20,.16); }
.g-item img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s ease; }
.g-item:hover img { transform:scale(1.05); }
.g-cap {
  position:absolute; left:0; right:0; bottom:0; padding:12px 16px 10px;
  background:linear-gradient(0deg, rgba(36,26,18,.82), transparent);
  color:#f3e7cf; font-size:.7rem; letter-spacing:.12em; text-transform:uppercase;
}

.lightbox {
  position:fixed; inset:0; z-index:999; display:none; align-items:center; justify-content:center;
  background:rgba(231,221,202,.97); /* var(--bg), fast deckend – warmes Creme statt Dunkel */
  padding:5vh 5vw;
}
.lightbox.is-open { display:flex; }
.lightbox__img {
  max-width:90vw; max-height:78vh; background:var(--tile); border:1px solid var(--line);
  padding:10px; box-shadow:0 24px 70px rgba(60,42,20,.22);
}
.lightbox__cap {
  position:absolute; left:0; right:0; bottom:6vh; text-align:center;
  font-family:var(--serif); letter-spacing:.06em; font-size:1.1rem; color:var(--ink);
}
.lightbox__close {
  position:absolute; top:24px; right:30px; background:none; border:none; cursor:pointer;
  color:var(--ink); font-size:2.2rem; line-height:1; font-family:var(--body);
}
.lightbox__close:hover { color:var(--gold-deep); }
.lightbox__nav {
  position:absolute; top:50%; transform:translateY(-50%); background:none; border:none; cursor:pointer;
  color:var(--ink); font-size:2.4rem; padding:10px 16px; font-family:var(--body);
}
.lightbox__nav:hover { color:var(--gold-deep); }
.lightbox__prev { left:6px; }
.lightbox__next { right:6px; }
@media (max-width:560px) {
  .lightbox__nav { font-size:1.8rem; padding:8px 10px; }
  .lightbox__close { top:14px; right:16px; font-size:1.9rem; }
}

/* ---------- Footer ---------- */
.footer { background: linear-gradient(180deg,#241a12,#191009); color:#cdbf9f; padding:60px 0 40px; text-align:center; }
.footer .v { font-family:var(--serif); font-size:1.9rem; letter-spacing:.18em; color:var(--cream-text); }
.footer .fa { font-size:.66rem; letter-spacing:.5em; color:var(--gold-soft); margin:6px 0 20px; }
.footer__nav { display:flex; justify-content:center; gap:26px; flex-wrap:wrap; margin-bottom:24px; }
.footer__nav a { font-size:.76rem; letter-spacing:.16em; text-transform:uppercase; color:#cdbf9f; }
.footer__nav a:hover { color:var(--cream-text); }
.footer__bottom { border-top:1px solid #3a2c1c; padding-top:22px; font-size:.78rem; color:#8f8168; }
.footer__bottom a { text-decoration: underline; text-underline-offset: 2px; }
.footer__bottom a:hover { color: var(--cream-text); }
.cookie-footer-link {
  font: inherit; background: none; border: none; padding: 0; cursor: pointer;
  color: inherit; text-decoration: underline; text-underline-offset: 2px;
}
.cookie-footer-link:hover { color: var(--cream-text); }

/* ---------- Prototyp-Hinweis ---------- */
.proto-note { background:#dfd0b3; border-bottom:1px solid var(--gold); font-size:.8rem; color:#6d5a37; text-align:center; padding:8px 16px; letter-spacing:.02em; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; text-align:center; gap:34px; }
  .hero__brand .line { margin:22px auto 0; }
  .hero__welcome, .hero__welcome p, .hero__welcome .divider { text-align:center; margin-left:auto; margin-right:auto; }
  .tiles__grid { grid-template-columns:1fr; }
  .grid--3 { grid-template-columns:1fr 1fr; }
  .work, .work:nth-child(even) .work__media { grid-template-columns:1fr; }
  .work:nth-child(even) .work__media { order:0; }
  .cols3 { grid-template-columns:1fr; }
}
@media (max-width: 560px) {
  .grid--3, .grid--2, .form .row { grid-template-columns:1fr; }
  .panel { padding:34px 24px 40px; }
  .nav__pill a { padding:8px 13px; letter-spacing:.12em; }
}

/* Mobile-Navigation: Menüleiste bricht auf schmalen Displays sauber um (nur Handy) */
@media (max-width: 600px) {
  .nav__pill { flex-wrap: wrap; justify-content: center; max-width: 100%; border-radius: 24px; padding: 8px 8px; gap: 4px; row-gap: 4px; }
  .nav__pill a { padding: 7px 12px; letter-spacing: .1em; }
}

/* ---------- Kopierschutz Werkfotos & Beschreibungstexte ----------
   Ergänzt js/content-protect.js. Verhindert Markieren/Ziehen der Werkbilder
   und Beschreibungstexte im Browser (kein Ersatz für ein echtes DRM, aber
   zusammen mit dem eingebetteten Wasserzeichen eine sinnvolle Hürde). */
.work__media img,
.g-item img,
.lightbox__img {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
.protect-text {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

/* ---------- Cookie-Consent-Banner (TDDDG § 25 / DSGVO) ----------
   Zwei gleichwertige Buttons auf erster Ebene ("Alle akzeptieren" /
   "Nur notwendige") – gleiche Größe, Schrift und optische Gewichtung,
   wie von den EDPB-Leitlinien zu Dark Patterns und aktueller Rechtsprechung
   (2025/2026) gefordert. Keine vorangehakten Wahlmöglichkeiten, keine
   erzwungene Vollbild-Sperre – die Seite bleibt im Hintergrund nutzbar. */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 300;
  background: var(--tile);
  border-top: 1px solid var(--gold);
  box-shadow: 0 -12px 32px rgba(60,42,20,.18);
  padding: 22px 24px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
  max-width: var(--breite);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.cookie-banner__text { flex: 1 1 380px; min-width: 260px; }
.cookie-banner__text h2 {
  font-family: var(--body);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.cookie-banner__text p { margin: 0; font-size: .92rem; color: var(--ink-soft); max-width: 68ch; }
.cookie-banner__text a { color: var(--gold-text); text-decoration: underline; }
.cookie-banner__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cookie-btn {
  font-family: var(--body);
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  padding: 13px 24px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
/* "Alle akzeptieren" und "Nur notwendige" bewusst gleich groß/gewichtig */
.cookie-btn--accept { background: var(--gold-btn); color: var(--cream-text); }
.cookie-btn--accept:hover { background: #6f5529; }
.cookie-btn--reject { background: var(--hero-dark); color: var(--cream-text); }
.cookie-btn--reject:hover { background: #33261a; }
.cookie-btn--ghost { background: transparent; color: var(--gold-text); border-color: var(--gold-text); padding: 12px 20px; }
.cookie-btn--ghost:hover { background: rgba(119,93,53,.1); }

/* ---------- Cookie-Einstellungen (Modal, zweite Ebene) ---------- */
.cookie-modal {
  position: fixed; inset: 0; z-index: 310;
  display: flex; align-items: center; justify-content: center;
  background: rgba(36,26,18,.55);
  padding: 5vh 5vw;
}
.cookie-modal[hidden] { display: none; }
.cookie-modal__box {
  background: var(--bg);
  border: 1px solid var(--line);
  max-width: 640px; width: 100%;
  max-height: 86vh; overflow-y: auto;
  padding: 40px 38px;
  box-shadow: 0 24px 70px rgba(60,42,20,.3);
}
.cookie-modal__box h2 {
  text-transform: none; letter-spacing: .03em; font-size: 1.6rem; margin-bottom: 10px;
}
.cookie-modal__box > p { color: var(--ink-soft); margin-bottom: 24px; }
.cookie-cat {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
}
.cookie-cat:last-of-type { border-bottom: 1px solid var(--line); }
.cookie-cat__info { flex: 1 1 auto; }
.cookie-cat__title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 1.12rem; letter-spacing: .02em; color: var(--ink);
  margin-bottom: 6px;
}
.cookie-cat__badge {
  font-family: var(--body); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px;
}
.cookie-cat__desc { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* Toggle-Schalter */
.cookie-toggle { position: relative; flex: none; width: 46px; height: 26px; }
.cookie-toggle input {
  position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer;
}
.cookie-toggle__track {
  position: absolute; inset: 0; background: #d8cbb1; border-radius: 999px; transition: background .2s ease;
  pointer-events: none;
}
.cookie-toggle__track::before {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  background: #fff; border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .2s ease;
}
.cookie-toggle input:checked + .cookie-toggle__track { background: var(--gold-deep); }
.cookie-toggle input:checked + .cookie-toggle__track::before { transform: translateX(20px); }
.cookie-toggle input:disabled + .cookie-toggle__track { background: var(--gold-deep); opacity: .55; cursor: not-allowed; }
.cookie-toggle input:focus-visible + .cookie-toggle__track { outline: 3px solid var(--gold); outline-offset: 2px; }

.cookie-modal__actions {
  display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; margin-top: 28px;
}
.cookie-modal__close {
  position: absolute; top: 18px; right: 22px; background: none; border: none; cursor: pointer;
  font-size: 1.7rem; line-height: 1; color: var(--ink-soft); font-family: var(--body);
}
.cookie-modal__close:hover { color: var(--gold-deep); }
.cookie-modal__box { position: relative; }

@media (max-width: 700px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; }
  .cookie-banner__actions { justify-content: stretch; }
  .cookie-banner__actions .cookie-btn { flex: 1 1 auto; text-align: center; }
  .cookie-modal__box { padding: 30px 22px; }
}

/* Rundgang-Leiste weicht dem Cookie-Banner aus, falls beide gleichzeitig sichtbar sind */
body.has-cookie-banner .tour-bar { bottom: 108px; }

/* ---------- Scroll-Reveal (dezente Eintritts-Mikrointeraktion) ----------
   Aktueller Web-Design-Trend 2026: kleine, zweckmäßige Animationen beim
   Scrollen gelten inzwischen als Qualitätsmerkmal. Bewusst subtil (leichtes
   Einblenden + minimaler Versatz, keine verspielten Effekte), passend zum
   ruhigen Galerie-Charakter. Ergänzt js/scroll-reveal.js. Respektiert
   prefers-reduced-motion vollständig. */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Geführter Rundgang (Galerie) ---------- */
.tour-bar {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--tile);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
  box-shadow: 0 12px 32px rgba(60,42,20,.22);
  /* Feste Breite statt "shrink to fit": So bleiben Zurück-/Weiter-Pfeile bei
     jedem Werk exakt an derselben Bildschirmposition, unabhängig davon, wie
     lang der jeweilige Werktitel ist. Wichtig für Menschen, die z. B. mit
     Schalter- oder Zeigehilfen an einer festen Stelle klicken. */
  width: 660px;
  max-width: calc(100% - 24px);
}
.tour-bar[hidden] { display: none; }
.tour-bar__nav {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  background: transparent;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.tour-bar__nav:hover { background: var(--gold); color: var(--cream-text); }
.tour-bar__nav:disabled { opacity: .35; cursor: default; pointer-events: none; }
.tour-bar__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
  padding: 0 14px;
}
.tour-bar__pos { font-size: .72rem; letter-spacing: .12em; color: var(--ink-soft); text-transform: uppercase; }
.tour-bar__title {
  font-family: var(--serif);
  font-size: .95rem;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-align: center;
}
.tour-bar__close {
  flex: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-soft);
  font-size: .78rem;
  letter-spacing: .08em;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.tour-bar__close:hover { color: var(--ink); background: var(--tile-2); }
@media (max-width: 640px) {
  .tour-bar__title { display: none; }
  .tour-bar__info { padding: 0 8px; }
}

.work--tour-active .work__media {
  box-shadow: 0 0 0 3px var(--gold), 0 16px 40px rgba(60,42,20,.16);
  transition: box-shadow .4s ease;
}

/* ---------- Barrierefreiheit: sichtbarer Fokus-Ring & Sprunglink ----------
   WCAG 2.2 (aktueller Standard, Stand 2026) verlangt einen deutlich
   sichtbaren Fokusindikator (2.4.7/2.4.13) und eine Möglichkeit, die
   wiederkehrende Navigation zu überspringen (2.4.1). */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--gold);
  color: var(--cream-text);
  padding: 12px 22px;
  border-radius: 0 0 10px 0;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.skip-link:focus {
  left: 0;
}

/* ---------- "Nach oben"-Button (js/back-to-top.js) ---------- */
.to-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: 20px;
  z-index: 250;                    /* unter Cookie-Banner (300) und Modal (310) */
  width: 48px; height: 48px;       /* ≥ 44 px Zielgröße (WCAG 2.5.8) */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--tile);
  color: var(--gold-text);
  box-shadow: 0 8px 22px rgba(60,42,20,.22);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, background-color .2s ease, color .2s ease, bottom .25s ease;
}
.to-top[hidden] { display: none; }
.to-top.is-visible { opacity: 1; transform: none; }
.to-top:hover { background: var(--gold-btn); color: var(--cream-text); }
.to-top svg { display: block; }
@media (prefers-reduced-motion: reduce) {
  .to-top { transition: none; transform: none; }
}
@media print { .to-top { display: none !important; } }
