/* ==========================================================================
   Kathrin Caglar — Malerei
   Design-System „Lichtgalerie"
   --------------------------------------------------------------------------
   Zweifarbig: Helles Türkis + Teal-Tinte auf warmem Papierweiß.
   Typografie: Italiana (Display) · Karla (Text/UI)
   Mobile-first. Dieses Stylesheet ist die Basis des späteren CMS-Themes.
   ========================================================================== */

/* --- Lokale Web-Fonts (DSGVO-konform, keine Google-Verbindung) ------------ */

@font-face {
  font-family: 'Italiana';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/italiana-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/karla-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Karla';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/karla-italic-variable.woff2') format('woff2');
}

/* --- Design-Tokens -------------------------------------------------------- */

:root {
  /* Farbwelt — bewusst auf zwei Farbfamilien begrenzt */
  --paper:         #FBFAF6;   /* warmes Papierweiß (Grundfläche)            */
  --paper-deep:    #F3F1EA;   /* abgesetzte Flächen                          */
  --ink:           #16302D;   /* Teal-Tinte — Text & Kontraste               */
  --ink-soft:      rgba(22, 48, 45, 0.62);
  --ink-faint:     rgba(22, 48, 45, 0.38);
  --line:          rgba(22, 48, 45, 0.14);
  --line-strong:   rgba(22, 48, 45, 0.32);

  --tuerkis:       #4EC6BA;   /* helles Türkis — der eine Akzent             */
  --tuerkis-deep:  #2BA293;   /* Hover / Linien / große Akzente              */
  --tuerkis-ink:   #1B7A6E;   /* Türkis für KLEINEN Text (WCAG AA ≥ 4,5:1)   */
  --tuerkis-pale:  #E4F4F1;   /* getönte Flächen                             */
  --tuerkis-mist:  #F2FAF8;   /* hauchzarte Tönung                           */
  --ink-mid:       rgba(22, 48, 45, 0.74); /* lesbarer De-Emphasis-Text      */

  /* Typografie */
  --font-display: "Italiana", "Didot", serif;
  --font-text:    "Karla", "Helvetica Neue", sans-serif;

  --fs-hero:    clamp(3.4rem, 11vw, 7.5rem);
  --fs-h1:      clamp(2.6rem, 7vw, 4.8rem);
  --fs-h2:      clamp(2.1rem, 5vw, 3.4rem);
  --fs-h3:      clamp(1.5rem, 3vw, 2rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.875rem;
  --fs-label:   0.75rem;

  /* Raum & Raster */
  --space-section: clamp(4.5rem, 12vw, 9rem);
  --space-block:   clamp(2rem, 5vw, 3.5rem);
  --container:     min(1240px, 92vw);
  --container-slim: min(760px, 92vw);

  --radius: 2px;
  --frame-offset: 14px;       /* Passepartout-Versatz                        */

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;
}

/* Auf sehr schmalen Geräten kleineren Passepartout-Versatz,
   damit der Rahmen sicher im Seitenrand (4vw) bleibt. */
@media (max-width: 480px) {
  :root { --frame-offset: 9px; }
}

/* --- Reset & Basis -------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Guard gegen horizontalen Overflow (z. B. Passepartout-Versatz
     auf sehr schmalen Viewports); clip statt hidden, damit
     position: sticky intakt bleibt. */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  /* feine Papierstruktur */
  background-image:
    radial-gradient(rgba(22, 48, 45, 0.022) 1px, transparent 1px);
  background-size: 5px 5px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

::selection {
  background: var(--tuerkis);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--tuerkis-deep);
  outline-offset: 3px;
}

/* --- Utilities ------------------------------------------------------------ */

.container       { width: var(--container); margin-inline: auto; }
.container-slim  { width: var(--container-slim); margin-inline: auto; }

.label {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.label .tick { color: var(--tuerkis-ink); }

.akzent { color: var(--tuerkis); }

.section { padding-block: var(--space-section); }
.section--tinted { background: var(--tuerkis-mist); }
.section--deep   { background: var(--paper-deep); }

.section-head {
  margin-bottom: var(--space-block);
}
.section-head .label { margin-bottom: 0.9rem; }
.section-head h2 { max-width: 16ch; }
.section-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.hairline {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.lede {
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 52ch;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.2rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* --- Buttons & Links ------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.9rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-text);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out),
              transform 0.25s var(--ease-out);
}
.btn:hover {
  background: var(--tuerkis-deep);
  border-color: var(--tuerkis-deep);
}
.btn:active { transform: translateY(1px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  background: transparent;
  color: var(--tuerkis-ink);
  border-color: var(--tuerkis-deep);
}

.btn--paypal svg { flex: none; }

.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Textlink mit Unterstreichungs-Sweep */
.link-sweep {
  position: relative;
  display: inline-block;
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 0.35rem;
}
.link-sweep::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--line-strong);
}
.link-sweep::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--tuerkis-deep);
  transition: width var(--dur) var(--ease-out);
  z-index: 1;
}
.link-sweep:hover::before { width: 100%; }
.link-sweep .arrow {
  display: inline-block;
  margin-left: 0.4rem;
  transition: transform var(--dur) var(--ease-out);
}
.link-sweep:hover .arrow { transform: translateX(5px); }

/* --- Header / Navigation -------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  /* heller Türkis-Verlauf */
  background: linear-gradient(115deg, #EFFBF8 0%, #C9F0EA 48%, #8FDFD5 100%);
  transition: box-shadow var(--dur) var(--ease-out);
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(22, 48, 45, 0.14),
              0 14px 34px -20px rgba(22, 48, 45, 0.28);
}

.header-inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--ink);
}
/* Markenpunkt auf der hellen Leiste in sattem Türkis */
.site-header .brand .dot { color: var(--tuerkis-deep); }

.main-nav { display: none; }

.main-nav a {
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(22, 48, 45, 0.75); /* Tinte auf Türkis */
  padding: 0.4rem 0;
  position: relative;
  transition: color var(--dur) var(--ease-out);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width var(--dur) var(--ease-out);
}
.main-nav a:hover::after,
.main-nav a[aria-current]::after { width: 100%; }
.main-nav a[aria-current] { color: var(--ink); }

/* Burger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 120;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

/* Mobile-Overlay — liegt UNTER der Header-Leiste (z-index < 100),
   damit Burger/X immer erreichbar bleiben. */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 8vw 2.5rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.45s var(--ease-out), visibility 0s linear 0.45s;
}
.nav-overlay.is-open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}
.nav-overlay ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(0.6rem, 2.5vh, 1.4rem);
}
/* Große Display-Typo NUR für die Menüpunkte (ol),
   nicht für die Links im Overlay-Fuß. */
.nav-overlay ol a {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 4.5rem);
  line-height: 1.1;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out),
              color 0.3s;
}
.nav-overlay.is-open ol a {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.08s + var(--i, 0) * 0.06s);
}
.nav-overlay ol a:hover,
.nav-overlay ol a[aria-current] { color: var(--tuerkis-deep); }
.nav-overlay .overlay-foot {
  margin-top: clamp(2rem, 7vh, 4rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.nav-overlay .overlay-foot a:hover { color: var(--tuerkis-ink); }

body.nav-locked { overflow: hidden; }

@media (min-width: 900px) {
  .main-nav {
    display: flex;
    gap: 2.6rem;
  }
  .nav-toggle, .nav-overlay { display: none; }
}

/* --- Hero ----------------------------------------------------------------- */

.hero {
  padding-top: clamp(7rem, 18vh, 11rem);
  padding-bottom: var(--space-section);
  position: relative;
  overflow: hidden;
}

/* zarter Türkis-Schleier rechts oben */
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -15%;
  width: 60vw;
  height: 60vw;
  max-width: 760px;
  max-height: 760px;
  background: radial-gradient(closest-side, rgba(78, 198, 186, 0.16), transparent 72%);
  pointer-events: none;
}

.hero-grid {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  /* minmax(0, …) verhindert Grid-Blowout durch breite Inhalte */
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
  position: relative;
}

.hero-copy .label { margin-bottom: 1.4rem; }

.hero-title {
  font-size: var(--fs-hero);
  margin-bottom: 1.6rem;
}
.hero-title .amp { color: var(--tuerkis); }
.hero-title .punkt { color: var(--tuerkis); }

.hero-copy .lede { margin-bottom: 2.4rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  align-items: center;
}

.hero-art {
  position: relative;
  justify-self: center;
  width: min(100%, 460px);
}

/* Passepartout: versetzter Türkis-Rahmen */
.frame {
  position: relative;
  display: block;
}
.frame img {
  width: 100%;
  position: relative;
  z-index: 1;
  box-shadow: 0 24px 60px -28px rgba(22, 48, 45, 0.35);
}
.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--tuerkis);
  transform: translate(var(--frame-offset), var(--frame-offset));
  z-index: 0;
  transition: transform var(--dur) var(--ease-out);
}
.frame:hover::after {
  transform: translate(calc(var(--frame-offset) * 0.55), calc(var(--frame-offset) * 0.55));
}

.hero-art .art-caption {
  margin-top: 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--fs-small);
  color: var(--ink-soft);
}
.hero-art .art-caption .titel { font-style: italic; }

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
  .hero-art { justify-self: end; }
}

/* --- Seitenkopf (Unterseiten) ---------------------------------------------- */

.page-head {
  padding-top: clamp(7.5rem, 18vh, 11rem);
  padding-bottom: var(--space-block);
}
.page-head .label { margin-bottom: 1.2rem; }
.page-head h1 { max-width: 14ch; }
.page-head .lede { margin-top: 1rem; }

/* --- Statement / Zitat ---------------------------------------------------- */

.statement {
  text-align: center;
}
.statement blockquote {
  margin: 0 auto;
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.6vw, 3.2rem);
  line-height: 1.25;
}
.statement blockquote .akzent { color: var(--tuerkis-deep); }
.statement figcaption {
  margin-top: 1.6rem;
}
.statement .quote-mark {
  display: block;
  margin: 0 auto 1.4rem;
  width: 34px;
  height: 1px;
  background: var(--tuerkis);
}

/* --- Werk-Karten & Galerie-Raster ----------------------------------------- */

.werk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.2rem, 5vw, 3rem);
}

@media (min-width: 640px) {
  .werk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .werk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* leichter vertikaler Versatz für editorialen Rhythmus
     (margin statt transform — kollidiert sonst mit .reveal) */
  .werk-grid > :nth-child(3n + 2) { margin-top: 2.4rem; }
}

.werk-card {
  display: block;
  position: relative;
}

.werk-card .frame img {
  aspect-ratio: var(--ratio, 1 / 1);
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.werk-card .frame { overflow: visible; }
.werk-card .frame .img-clip {
  display: block;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.werk-card:hover .frame img { transform: scale(1.035); }
.werk-card .frame::after { opacity: 0; }
.werk-card:hover .frame::after,
.werk-card:focus-visible .frame::after {
  opacity: 1;
  transform: translate(calc(var(--frame-offset) * 0.7), calc(var(--frame-offset) * 0.7));
}

.werk-meta {
  margin-top: 1.1rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.werk-meta .titel {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.15;
}
.werk-meta .preis {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-align: right;
}
.werk-meta .preis-inkl {
  display: block;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: var(--ink-mid);
}
.werk-sub {
  margin-top: 0.3rem;
  font-size: var(--fs-small);
  color: var(--ink-soft);
}

.status-chip {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius);
}
.status-chip--verkauft {
  background: var(--ink);
  color: var(--paper);
}
.status-chip--reserviert {
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
}
.werk-card .status-chip {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
}

/* --- Galerie: Filter ------------------------------------------------------ */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--space-block);
}

.filter-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  user-select: none;
}
.filter-toggle input { position: absolute; opacity: 0; }
.filter-toggle .switch {
  width: 34px;
  height: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  position: relative;
  transition: all 0.3s var(--ease-out);
}
.filter-toggle .switch::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--ink-soft);
  transition: all 0.3s var(--ease-out);
}
.filter-toggle input:checked + .switch {
  background: var(--tuerkis);
  border-color: var(--tuerkis);
}
.filter-toggle input:checked + .switch::after {
  left: 18px;
  background: var(--paper);
}
.filter-toggle input:focus-visible + .switch {
  outline: 2px solid var(--tuerkis-deep);
  outline-offset: 3px;
}

.galerie-empty {
  padding: var(--space-block) 0;
  color: var(--ink-soft);
  font-style: italic;
}

/* --- Werk-Detailseite ------------------------------------------------------ */

.werk-detail {
  padding-top: clamp(7rem, 16vh, 10rem);
  padding-bottom: var(--space-section);
}

.detail-grid {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

@media (min-width: 900px) {
  .detail-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
  .detail-art { position: sticky; top: 7rem; }
}

.detail-art .frame img {
  aspect-ratio: var(--ratio, 1 / 1);
  object-fit: cover;
}

.detail-info .label { margin-bottom: 1rem; }
.detail-info h1 { margin-bottom: 1.4rem; }

.detail-facts {
  margin: 1.8rem 0;
  border-top: 1px solid var(--line);
}
.detail-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-small);
}
.detail-facts dt {
  margin: 0;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: var(--fs-label);
  font-weight: 600;
}
.detail-facts dd { margin: 0; text-align: right; }

/* Preis in Standard-Schrift (Karla), nicht im Display-Font —
   Zahlen/kaufrelevante Angaben bleiben nüchtern lesbar. */
.detail-preis {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  letter-spacing: 0.02em;
  margin: 1.6rem 0 0.4rem;
}
.detail-preis strong { font-weight: 700; }
/* §19-/Versand-Vermerk: kleiner Hinweis unter dem Preis
   (deckt beide Klassennamen ab: .mwst und .mwst-hinweis) */
.detail-preis .mwst,
.detail-preis .mwst-hinweis {
  display: block;
  font-family: var(--font-text);
  font-weight: 400;
  font-size: var(--fs-label);
  color: var(--ink-mid); /* kaufrelevant → lesbar halten */
  letter-spacing: 0.06em;
  margin-top: 0.4rem;
}

.detail-buy {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.9rem;
}
.detail-buy .btn { justify-content: center; }
.detail-buy .versand {
  font-size: var(--fs-small);
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.detail-buy .versand::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--tuerkis);
}

.detail-sold {
  margin-top: 1.6rem;
  padding: 1.2rem 1.4rem;
  background: var(--tuerkis-pale);
  font-size: var(--fs-small);
}

.detail-back {
  width: var(--container);
  margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
}

/* --- Über-mich-Seite ------------------------------------------------------- */

.bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .bio-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .bio-grid .bio-art { position: sticky; top: 7rem; }
}

.vita {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.vita li {
  display: grid;
  grid-template-columns: minmax(6.5rem, 8rem) 1fr;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.vita .jahr {
  font-weight: 700;
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  color: var(--tuerkis-ink);
}

/* Persönlicher Schluss / Signatur */
.signatur {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.2;
  margin-top: 1.4rem;
}
.signatur .dot { color: var(--tuerkis); }

.fullbleed {
  width: 100%;
  margin-block: var(--space-section);
}
.fullbleed img {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
}
.fullbleed figcaption {
  width: var(--container);
  margin: 0.9rem auto 0;
  font-size: var(--fs-small);
  color: var(--ink-soft);
}

/* --- Kontakt --------------------------------------------------------------- */

.kontakt-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
}
@media (min-width: 900px) {
  .kontakt-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
}

.kontakt-info .info-block {
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.kontakt-info .info-block:first-of-type { border-top: 1px solid var(--line); }
.kontakt-info .label { margin-bottom: 0.4rem; }
.kontakt-info a:hover { color: var(--tuerkis-ink); }

.form-feld { margin-bottom: 1.6rem; }
.form-feld label {
  display: block;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}
.form-feld input,
.form-feld textarea {
  width: 100%;
  padding: 0.85rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.3s;
}
.form-feld input:focus,
.form-feld textarea:focus {
  outline: none;
  border-bottom-color: var(--tuerkis-deep);
}
.form-feld textarea { resize: vertical; min-height: 7.5rem; }

.form-hinweis {
  font-size: var(--fs-small);
  color: var(--ink-mid); /* rechtlich relevant → lesbar halten */
  margin-top: 1.2rem;
}

.form-erfolg {
  padding: 1.4rem 1.6rem;
  background: var(--tuerkis-pale);
  font-size: var(--fs-small);
}

/* --- Teaser-Split (Bild + Text) -------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--flip > :first-child { order: 2; }
}
.split .split-copy .label { margin-bottom: 1.2rem; }
.split .split-copy h2 { margin-bottom: 1.2rem; }
.split .split-copy .link-sweep { margin-top: 1.4rem; }

/* --- Modal (PayPal-Demo) ---------------------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out), visibility 0s linear 0.35s;
}
.modal.is-open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 48, 45, 0.45);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.modal-panel {
  position: relative;
  width: min(480px, 100%);
  background: var(--paper);
  padding: clamp(1.8rem, 5vw, 2.6rem);
  border-top: 3px solid var(--tuerkis);
  box-shadow: 0 32px 80px -24px rgba(22, 48, 45, 0.4);
  transform: translateY(18px);
  transition: transform 0.35s var(--ease-out);
}
.modal.is-open .modal-panel { transform: none; }
.modal-panel h3 { margin-bottom: 1rem; }
.modal-panel .label { margin-bottom: 0.8rem; }
.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.3s;
}
.modal-close:hover { color: var(--ink); }

.demo-schritte {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  font-size: var(--fs-small);
}
.demo-schritte li {
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
}
.demo-schritte .num {
  flex: none;
  font-weight: 700;
  color: var(--tuerkis-ink);
}

/* --- Footer ----------------------------------------------------------------- */

.site-footer {
  margin-top: var(--space-section);
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}

.footer-name {
  width: var(--container);
  margin-inline: auto;
  padding: clamp(2.5rem, 7vw, 4.5rem) 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9vw, 6rem);
  line-height: 1;
  letter-spacing: 0.02em;
}
.footer-name .dot { color: var(--tuerkis); }

.footer-grid {
  width: var(--container);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  font-size: var(--fs-small);
  color: var(--ink-soft);
}
@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  }
}
.footer-grid .label { margin-bottom: 0.7rem; display: block; }
.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.footer-grid a { transition: color 0.3s; }
.footer-grid a:hover { color: var(--tuerkis-ink); }

.footer-bottom {
  border-top: 1px solid var(--line);
}
.footer-bottom-inner {
  width: var(--container);
  margin-inline: auto;
  padding-block: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 2rem;
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  color: var(--ink-mid);
}

/* --- Rechtliches (Impressum / Datenschutz) ----------------------------------- */

.legal {
  padding-top: clamp(7rem, 16vh, 10rem);
}
.legal h1 { margin-bottom: 2rem; }
.legal h2 {
  font-size: var(--fs-h3);
  margin-top: 2.4rem;
}
.legal .hinweis-box {
  margin: 2rem 0;
  padding: 1.2rem 1.4rem;
  background: var(--tuerkis-pale);
  font-size: var(--fs-small);
}

/* --- Reveal-Animationen ------------------------------------------------------ */

/* Einstiegs-Animation für Inhalte „above the fold" — rein CSS,
   funktioniert auch ohne JavaScript. Verzögerung über --d. */
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
.rise {
  animation: rise 0.9s var(--ease-out) both;
  animation-delay: var(--d, 0s);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --- Druck ------------------------------------------------------------------- */

@media print {
  .site-header, .site-footer, .nav-overlay, .modal { display: none; }
}

/* --- CMS: Galerie-Filter-Chips ----------------------------------------------- */

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.filter-chip {
  padding: .4rem .9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: var(--fs-label);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.filter-chip.is-active {
  background: var(--tuerkis);
  border-color: var(--tuerkis);
  color: var(--paper);
}

/* --- Marken-/Kontakt-Icons (PayPal, Instagram, Mail) ----------------------- */

.icon-marke {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}
.link-mit-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}
