/* VathaPixel-Galerie — Gestaltung angelehnt an die bisherige Seite (Farben aus der Sicherung, Fredoka + Nunito lokal).
   Mobil zuerst. Kontraste geprüft: Text #1c1c26 auf #fdf3f7 15,6:1 · Akzenttext #c2185b auf Weiß 5,9:1 · Grau #5a5a6e auf Weiß 6,7:1 */

@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/fredoka-v17-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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/fredoka-v17-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/assets/fonts/nunito-v32-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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/assets/fonts/nunito-v32-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #1c1c26;
  --grau: #5a5a6e;
  --pink: #f22e7f;          /* nur Deko und große Schrift */
  --pink-text: #c2185b;     /* Akzent für Text und Links */
  --grund: #fdf3f7;
  --weiss: #ffffff;
  --fokus: #4f46e5;
  --linie: rgba(28, 28, 38, .12);
  --schatten: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 8px rgba(0, 0, 0, .05);
  --radius: 18px;
  --font-display: "Fredoka", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-text: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --breite: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--grund);
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--pink-text); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 6vw, 3rem); }
h2 { font-size: clamp(1.45rem, 4vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.springen {
  position: absolute; left: -999px; top: .5rem; z-index: 10;
  background: var(--ink); color: var(--weiss); padding: .6rem 1rem; border-radius: 999px; font-weight: 700;
}
.springen:focus { left: .75rem; color: var(--weiss); }

.wrap { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: 1rem; }

/* Kopf */
.kopf { background: var(--weiss); border-bottom: 1px solid var(--linie); }
.kopf-innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding-block: .6rem; }
.marke { display: inline-flex; align-items: center; text-decoration: none; }
.marke img { height: 40px; width: auto; }
.navi { display: flex; flex-wrap: wrap; gap: .25rem; }
.navi a {
  display: inline-block; padding: .45rem .85rem; border-radius: 999px;
  color: var(--ink); font-weight: 700; text-decoration: none;
}
.navi a:hover { background: var(--grund); }
.navi a[aria-current="page"] { background: var(--ink); color: var(--weiss); }

/* Bereiche */
main { display: block; }
.bereich { padding-block: 2.25rem; }
.bereich-eng { padding-block: 1.25rem; }
.lead { font-size: 1.15rem; color: var(--grau); max-width: 40rem; }
.kicker {
  display: inline-block; margin-bottom: .75rem; padding: .3rem .8rem; border-radius: 999px;
  background: var(--weiss); border: 2px solid var(--ink); font-weight: 800; font-size: .85rem; letter-spacing: .02em;
}
.hl { color: var(--pink); }

/* Start */
.held { display: grid; gap: 1.5rem; align-items: center; padding-block: 2rem 2.5rem; }
.held-bild { border-radius: 28px; overflow: hidden; box-shadow: 0 18px 48px rgba(28, 28, 38, .16); background: var(--weiss); }
.held-bild img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.knoepfe { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: .7rem 1.35rem; border-radius: 999px; border: 2px solid var(--ink);
  font-weight: 800; text-decoration: none; background: var(--weiss); color: var(--ink);
}
.knopf:hover { background: var(--grund); color: var(--ink); }
.knopf-voll { background: var(--ink); color: var(--weiss); }
.knopf-voll:hover { background: #33334a; color: var(--weiss); }

/* Chips (Kollektionen) */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; list-style: none; }
.chips a {
  display: inline-block; padding: .4rem .9rem; border-radius: 999px; background: var(--weiss);
  border: 1px solid var(--linie); color: var(--ink); font-weight: 700; text-decoration: none;
}
.chips a:hover, .chips a[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: var(--weiss); }

/* Karten */
.raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; padding: 0; margin: 0; list-style: none; }
.karte {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  background: var(--weiss); border-radius: var(--radius); box-shadow: var(--schatten);
  color: var(--ink); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.karte:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(28, 28, 38, .14); color: var(--ink); }
.karte-bild { aspect-ratio: 1 / 1; overflow: hidden; background: #f3eef6; }
.karte-bild img { width: 100%; height: 100%; object-fit: cover; }
.karte-text { display: flex; flex-direction: column; gap: .2rem; padding: .75rem .85rem 1rem; }
.karte-text strong { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; line-height: 1.25; }
.karte-text span { color: var(--grau); font-size: .9rem; line-height: 1.4; }

.koll-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; margin-bottom: 1rem; }
.koll-kopf h2 { margin: 0; }
.koll-kopf a { font-weight: 800; }
.galerie-koll + .galerie-koll { margin-top: 2.5rem; }

/* Motivseite */
.pfad { font-size: .92rem; color: var(--grau); }
.pfad ol { display: flex; flex-wrap: wrap; gap: .25rem; padding: 0; margin: 0; list-style: none; }
.pfad li + li::before { content: "›"; margin-right: .3rem; color: var(--grau); }
.pfad a { color: var(--grau); }
.motiv { display: grid; gap: 1.5rem; align-items: start; }
.motiv-haupt { border-radius: 24px; overflow: hidden; background: var(--weiss); box-shadow: var(--schatten); }
.motiv-text .untertitel { font-weight: 800; color: var(--pink-text); margin-bottom: .75rem; }
.motiv-text .koll-link { margin-top: 1.25rem; }

.bilder { columns: 2; column-gap: .85rem; padding: 0; margin: 0; list-style: none; }
.bilder li { break-inside: avoid; margin-bottom: .85rem; }
.bilder a { display: block; border-radius: 14px; overflow: hidden; background: var(--weiss); box-shadow: var(--schatten); }
.bilder img { width: 100%; }

/* Textseiten */
.text { max-width: 42rem; }
.text-karte { background: var(--weiss); border-radius: var(--radius); box-shadow: var(--schatten); padding: 1.5rem; }
.mail { font-size: 1.2rem; font-weight: 800; word-break: break-word; }

/* Fuß */
.fuss { margin-top: 3rem; background: var(--ink); color: #e9e9f1; }
.fuss-innen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.75rem; font-size: .95rem; }
.fuss a { color: var(--weiss); }
.fuss nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.fuss p { margin: 0; }

@media (min-width: 700px) {
  .wrap { padding-inline: 1.5rem; }
  .raster { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
  .bilder { columns: 3; }
  .held { grid-template-columns: 1.1fr 1fr; gap: 2.5rem; padding-block: 3rem 3.5rem; }
  .motiv { grid-template-columns: 1.15fr 1fr; gap: 2.5rem; }
  .bereich { padding-block: 3rem; }
}
@media (min-width: 1100px) {
  .raster-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .karte:hover { transform: none; }
}

/* Rechtstexte und Archiv (galerie-bau-2) */
.rechtstext { background: var(--weiss); border-radius: var(--radius); box-shadow: var(--schatten); padding: 1.25rem; }
.rechtstext h2 { font-size: 1.3rem; margin-top: 1.6em; }
.rechtstext h3 { margin-top: 1.2em; }
.rechtstext p, .rechtstext li { overflow-wrap: anywhere; }
.archiv-hinweis { background: #fff4d6; border: 2px solid var(--ink); border-radius: 12px; padding: .75rem 1rem; }
.archiv-text h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
@media (min-width: 700px) { .rechtstext { padding: 2rem 2.25rem; } }
