/* =====================================================================
   rennART – Alexandra-Isabel
   Stylesheet · handgeschrieben, keine externen Abhängigkeiten
   Aufbau: 1 Tokens · 2 Basis · 3 Layout · 4 Header · 5 Hero · 6 Werke
           7 Lightbox · 8 Inhalte · 9 Formular · 10 Footer · 11 Motion
   ===================================================================== */

/* ---------- 0 · Schrift ---------------------------------------------- */
/* Dancing Script, SIL Open Font License 1.1 – liegt selbst auf dem Server,
   damit beim Seitenaufruf keine Daten an Google gehen (siehe
   assets/fonts/LIESMICH.txt). Nur für die Überschrift auf "Über mich". */
@font-face {
  font-family: "Dancing Script";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/dancing-script-700-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;
}
@font-face {
  font-family: "Dancing Script";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/dancing-script-700-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;
}

/* ---------- 1 · Tokens ---------------------------------------------- */
:root {
  /* Galerie-Grundton: warmes Off-White, damit die Farben der Bilder wirken */
  --paper:      #faf8f5;
  --paper-2:    #f2ece4;
  --paper-3:    #e9e1d6;
  --ink:        #121110;
  --ink-2:      #4b4641;
  --ink-3:      #8b837a;
  --line:       #e3dbd0;

  /* Akzente – direkt aus den Bildern gezogen */
  --pink:       #ff2081;
  --pink-deep:  #d5006a;
  --pink-soft:  #ffe6f0;
  --gold:       #c0902b;

  /* Detailleiste im Hero: Neon-Limette auf pudrigem Pastellrosa */
  --rosa-panel:   #f8dada;
  --gold-hell:    #a0d000;   /* die Angaben: helles Neon-Limette  */
  --gold-label:   #a0d000;   /* die kleinen Beschriftungen        */
  --lime:       #4cd430;
  --sky:        #7cc7e8;

  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino,
                  "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text",
               "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-script: "Dancing Script", "Segoe Script", "Brush Script MT",
                 "Apple Chancery", cursive;

  --wrap: 1240px;
  --wrap-narrow: 760px;
  --gut: clamp(1.25rem, 5vw, 3.5rem);

  --r-sm: 3px;
  --r-md: 6px;

  --shadow: 0 1px 2px rgba(18, 17, 16, .04), 0 12px 32px rgba(18, 17, 16, .07);
  --shadow-lg: 0 2px 6px rgba(18, 17, 16, .06), 0 30px 70px rgba(18, 17, 16, .14);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2 · Basis ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 1.6rem + 4.4vw, 5.25rem); }
h2 { font-size: clamp(1.85rem, 1.3rem + 2.4vw, 3.15rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.6rem); }

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

a { color: inherit; }

/* Link im Fließtext: dünner Strich, der beim Hover pink aufleuchtet */
.prose a,
a.tlink {
  text-decoration: none;
  background-image: linear-gradient(var(--pink), var(--pink));
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 1px;
  transition: background-size .3s var(--ease), color .3s var(--ease);
}
.prose a:hover,
a.tlink:hover { color: var(--pink-deep); background-size: 100% 2px; }

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

::selection { background: var(--pink); color: #fff; }

.skip-link {
  position: absolute;
  left: 1rem; top: -100%;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: var(--r-md);
  font-size: .9rem;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 3 · Layout ----------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(4rem, 9vw, 8.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
/* Ein Abschnitt, der unmittelbar an den Seitenkopf anschliesst: Das
   volle Abschnittspolster von bis zu 8,5rem reisst dort eine Luecke,
   obwohl der Text zum Kopf gehoert. */
.section--anschluss { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.section--paper2 { background: var(--paper-2); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Kleines Label über Überschriften */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--rosa-akzent, #ff9dd6);
}

.lead {
  font-size: clamp(1.1rem, 1rem + .55vw, 1.4rem);
  line-height: 1.6;
  color: var(--ink-2);
}

.section-head { max-width: 62ch; margin-bottom: clamp(2.2rem, 5vw, 3.8rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before,
.eyebrow--plain::before { display: none; }
.eyebrow--plain { gap: 0; }

/* Buttons */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.7rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bg);
  border-radius: 999px;
  font: inherit;
  font-size: .93rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              border-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); --btn-bg: var(--pink); }
.btn:active { transform: translateY(0); }

.btn--pink { --btn-bg: var(--pink); }
.btn--pink:hover { --btn-bg: var(--ink); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; }

.btn .arw { transition: transform .25s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- 4 · Header ----------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.6rem;
}

/* Wortmarke: "renn" ruhig, "ART" rosa – wie der Domainname */
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: .35rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
  line-height: 1;
}
.brand b { font-weight: 700; }
.brand .art { color: var(--rosa-akzent, #ff9dd6); }
.brand .dot {
  width: 7px; height: 7px;
  background: var(--rosa-akzent, #ff9dd6);
  border-radius: 50%;
  align-self: center;
  transition: transform .3s var(--ease);
}
.brand:hover .dot { transform: scale(1.7); }
.brand small {
  display: block;
  font-family: var(--font-sans);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: .3rem;
}
.brand-stack { display: flex; flex-direction: column; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.2rem);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  position: relative;
  font-size: .93rem;
  font-weight: 500;
  text-decoration: none;
  padding-block: .4rem;
  white-space: nowrap;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--rosa-akzent, #ff9dd6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { font-weight: 600; }

.nav-cta { margin-left: .4rem; padding: .62rem 1.25rem; font-size: .87rem; }

.burger {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  position: relative;
  width: 22px; height: 1.8px;
  background: var(--ink);
  transition: background-color .2s var(--ease);
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px; height: 1.8px;
  background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.burger span::before { top: -7px; }
.burger span::after  { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .burger { display: inline-flex; }

  /* Wichtig: backdrop-filter würde den Header zum Bezugsrahmen für
     position:fixed machen – das Overlay-Menü wäre dann eingeklemmt. */
  .site-header {
    background: var(--paper);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-menu {
    display: block;
    position: fixed;
    z-index: 90;
    inset: 4.6rem 0 0;
    background: var(--paper);
    padding: 2rem var(--gut) 3rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity .28s var(--ease), transform .28s var(--ease),
                visibility .28s;
    overflow-y: auto;
  }
  .nav-menu.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    visibility: visible;
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .nav-list li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-list a {
    display: block;
    padding: 1.1rem 0;
    font-family: var(--font-display);
    font-size: 1.6rem;
  }
  .nav-list a::after { display: none; }
  .nav-cta { margin: 1.8rem 0 0; }
}

/* ---------- 5 · Hero -------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 8vw, 7rem);
  overflow: hidden;
}

/* weiche Farbwolken im Hintergrund – Neon, aber stark abgeschwächt */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 46vw; height: 46vw;
  top: -14vw; right: -10vw;
  background: radial-gradient(circle, rgba(255, 32, 129, .38), transparent 70%);
}
.hero::after {
  width: 34vw; height: 34vw;
  bottom: -12vw; left: -8vw;
  background: radial-gradient(circle, rgba(192, 144, 43, .3), transparent 70%);
}

.hero > * { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.hero-title {
  font-size: clamp(2.4rem, 1.45rem + 3.35vw, 4.4rem);
  margin-bottom: .35em;
}
.hero-title .ln { display: block; }
/* „bunt" – jeder Buchstabe in einem eigenen Pastellton. */
.hero-title .bunt {
  font-style: italic;
  position: relative;
}
.hero-title .bunt span { color: var(--c); }
.hero-title .bunt span:nth-child(1) { --c: #ff9dd6; }  /* Bonbonrosa  */
.hero-title .bunt span:nth-child(2) { --c: #ffbe7a; }  /* Apricot     */
.hero-title .bunt span:nth-child(3) { --c: #7ff0cb; }  /* Mint        */
.hero-title .bunt span:nth-child(4) { --c: #ffe45e; }  /* Vanillegelb */

.hero-sub {
  max-width: 46ch;
  font-size: clamp(1.05rem, .97rem + .45vw, 1.28rem);
  color: var(--ink-2);
  margin-bottom: 2rem;
}

.hero-figure {
  position: relative;
  isolation: isolate;
}
.hero-figure img {
  width: 100%;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
}
/* gedrehtes zweites Bild als kleiner Stapel */
.hero-figure .stack {
  position: absolute;
  right: -3%;
  bottom: -9%;
  width: 40%;
  z-index: 2;
  transform: rotate(4deg);
  transition: transform .5s var(--ease);
}
.hero-figure .stack img {
  border: 7px solid var(--paper);
  box-shadow: var(--shadow-lg);
}
.hero-figure:hover .stack { transform: rotate(1deg) translateY(-6px); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.6rem;
  margin-top: clamp(3rem, 7vw, 5rem);
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.2rem);
  background: var(--rosa-panel);
  border-radius: var(--r-md);
}
.hero-meta div { min-width: 8rem; }
.hero-meta dt {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--gold-label);
  margin-bottom: .3rem;
}
.hero-meta dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--gold-hell);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-figure .stack { width: 34%; bottom: -7%; }
}

/* ---------- 6 · Werke ------------------------------------------------- */
.works {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.6rem, 3.4vw, 3rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.works--two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }

.work {
  display: flex;
  flex-direction: column;
  margin: 0;
}

/* Gleich große Kacheln, Bild immer vollständig – wie ein Passepartout */
.work-media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
/* Quadratische Kachel über den Padding-Trick: gibt dem Bild eine
   verlässliche Bezugshöhe, unabhängig vom Seitenverhältnis des Werks. */
.work-media::before {
  content: "";
  display: block;
  padding-top: 100%;
}
.work-media picture {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(18, 17, 16, .07), 0 10px 26px rgba(18, 17, 16, .1);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.work-media .zoom {
  position: absolute;
  right: 0; bottom: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .8rem;
  background: rgba(250, 248, 245, .94);
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  transform: translateY(10px);
  opacity: 0;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.work-media:hover img,
.work-media:focus-visible img {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 2px 5px rgba(18, 17, 16, .08), 0 22px 46px rgba(18, 17, 16, .18);
}
.work-media:hover .zoom,
.work-media:focus-visible .zoom { opacity: 1; transform: none; }

.work-body {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.05rem;
}
.work-title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  margin: 0 0 .2rem;
  line-height: 1.2;
}
.work-meta {
  margin: 0;
  font-size: .88rem;
  color: var(--ink-3);
}
.work-tag {
  flex: none;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pink);
  white-space: nowrap;
  padding-top: .25rem;
}

/* Hervorgehobenes Werk (Aufmacher in der Galerie) */
.work--wide { grid-column: 1 / -1; }
.work--wide .work-media::before { padding-top: 62.5%; }

/* Filterleiste der Galerie */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.filter {
  padding: .5rem 1.05rem;
  background: transparent;
  border: 1.4px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.filter:hover { border-color: var(--ink-3); color: var(--ink); }
.filter[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.works-empty {
  padding: 3rem 0;
  color: var(--ink-3);
  font-style: italic;
}

/* ---------- 7 · Lightbox ---------------------------------------------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  background: rgba(14, 13, 12, .95);
  padding: clamp(.75rem, 2.5vw, 2rem);
}
.lb[open], .lb.is-open { display: grid; grid-template-rows: auto 1fr auto; }

.lb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, .72);
  font-size: .82rem;
  letter-spacing: .05em;
}

.lb-stage {
  position: relative;
  min-height: 0;
  padding-block: .75rem;
}
/* absolut positioniert – nur so bekommt max-height eine verlässliche Bezugshöhe */
.lb-stage picture {
  position: absolute;
  inset: .75rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  animation: lb-in .38s var(--ease) both;
}
@keyframes lb-in {
  from { opacity: 0; transform: scale(.97); }
  to   { opacity: 1; transform: none; }
}

.lb-cap {
  text-align: center;
  color: #fff;
  padding-top: .9rem;
}
.lb-cap h2 {
  font-size: clamp(1.2rem, 1rem + 1vw, 1.75rem);
  margin: 0 0 .3rem;
}
.lb-cap .lb-meta {
  margin: 0;
  color: rgba(255, 255, 255, .62);
  font-size: .9rem;
}
.lb-cap .lb-text {
  max-width: 62ch;
  margin: .8rem auto 0;
  color: rgba(255, 255, 255, .72);
  font-size: .93rem;
  line-height: 1.6;
}
.lb-cap .btn {
  margin-top: 1.1rem;
  --btn-bg: var(--pink);
  border-color: var(--pink);
}
.lb-cap .btn:hover { --btn-bg: #fff; --btn-fg: var(--ink); border-color: #fff; }

.lb-btn {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  background: rgba(255, 255, 255, .1);
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.lb-btn:hover { background: var(--pink); transform: scale(1.08); }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
}
.lb-nav:hover { transform: translateY(-50%) scale(1.08); }
.lb-prev { left: 0; }
.lb-next { right: 0; }

.lb-thumbs {
  display: flex;
  justify-content: center;
  gap: .55rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.lb-thumbs button {
  width: 58px; height: 46px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 3px;
  background: none;
  overflow: hidden;
  cursor: pointer;
  opacity: .5;
  transition: opacity .25s var(--ease), border-color .25s var(--ease);
}
.lb-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumbs button:hover { opacity: .85; }
.lb-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--pink); }

@media (max-width: 640px) {
  .lb-nav { width: 42px; height: 42px; }
  .lb-thumbs button { width: 46px; height: 36px; }
}

/* Bei flachen Fenstern hat nur das Nötigste Platz */
@media (max-height: 760px) {
  .lb-cap .lb-text { display: none; }
  .lb-cap .btn { margin-top: .8rem; padding: .7rem 1.3rem; }
}
@media (max-height: 560px) {
  .lb-cap .lb-meta, .lb-thumbs { display: none; }
}

/* ---------- 8 · Inhaltsbausteine --------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.split--flip .split-media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split-media { order: 0; }
}

.split-media img {
  width: 100%;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow);
}

/* Bei langen Texten läuft das Bild mit */
@media (min-width: 861px) {
  .split--sticky { align-items: start; }
  .split--sticky .split-media {
    position: sticky;
    top: 6.5rem;
  }
}

.prose { max-width: 68ch; }
/* Ueberschriften INNERHALB eines Textfeldes.
   Die globalen h2/h3 sind Abschnittsueberschriften und entsprechend
   gross - h2 geht bis 3,15rem. Mitten in einem Absatz waere das eine
   Wand. Hier bekommen sie ein ruhigeres Mass, bleiben aber deutlich als
   Ueberschrift erkennbar und behalten ihre Rangfolge: h2 ueber h3. */
.prose h2 {
  font-size: clamp(1.45rem, 1.2rem + 1.1vw, 2rem);
  margin-top: 2.4em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2.4em; }
.prose h3:first-child { margin-top: 0; }
.prose blockquote {
  margin: 1.6em 0;
  padding-left: 1.1rem;
  border-left: 3px solid var(--pink);
  font-style: italic;
  color: var(--ink-2);
}
/* Bei zentriertem Text haengt ein linker Strich im Nichts - dort traegt
   das Zitat sich selbst, ueber Kursivschrift und Abstand. */
.prose--center blockquote {
  border-left: 0;
  padding-left: 0;
  margin-inline: auto;
  max-width: 46ch;
}
.prose ul { padding-left: 1.15rem; margin: 0 0 1.15em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--pink); }

/* Zitat / Leitsatz */
.quote {
  position: relative;
  margin: 0;
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 1.15rem + 1.75vw, 2.5rem);
  line-height: 1.22;
  letter-spacing: -.015em;
}
.quote--wide { max-width: none; }
/* Das Zitat steht seit dem Wegfall von "Auf einen Blick" allein in
   seinem Abschnitt - mittig statt in einer Spalte. */
.quote--mittig { max-width: none; text-align: center; }
.quote .hl {
  background: linear-gradient(transparent 62%, var(--pink-soft) 62%);
  padding-inline: .05em;
}
.quote figcaption {
  margin-top: 1.6rem;
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Aufruf-Band, kräftig eingefärbt */
.band {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  width: 60vw; height: 60vw;
  top: -30vw; right: -18vw;
  background: radial-gradient(circle, rgba(255, 32, 129, .5), transparent 68%);
  filter: blur(70px);
  pointer-events: none;
}
.band > * { position: relative; }
.band h2 { color: #fff; }
.band p { color: rgba(250, 248, 245, .76); }
.band .btn {
  --btn-bg: var(--pink);
  border-color: var(--pink);
}
.band .btn:hover { --btn-bg: var(--paper); --btn-fg: var(--ink); border-color: var(--paper); }
.band .btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  border-color: rgba(250, 248, 245, .4);
}
.band .btn--ghost:hover { --btn-bg: var(--paper); --btn-fg: var(--ink); }

/* Instagram-Kacheln */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: .7rem;
}
.ig-grid a {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--paper-3);
}
.ig-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .4s var(--ease);
}
.ig-grid a:hover img { transform: scale(1.07); filter: saturate(1.15); }

/* Seitenkopf für Unterseiten */
.page-head {
  padding-block: clamp(2.8rem, 6vw, 5rem) clamp(2rem, 4vw, 3.2rem);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 4.25rem); margin-bottom: .3em; }
.page-head .lead { max-width: 58ch; }

.crumbs {
  font-size: .8rem;
  color: var(--ink-3);
  margin-bottom: 1.4rem;
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--pink); }
.crumbs span { margin-inline: .45rem; }

/* Zentrierter Seitenkopf mit Schreibschrift-Überschrift */
/* Kopf der Seite "Ueber mich": Schriftzug links, Foto rechts.
   Das Foto liegt schraeg - dieselbe Sprache wie das kleine gekippte
   Bild im Hero der Startseite: Papierrand, kraeftiger Schatten, und
   beim Darueberfahren richtet es sich ein Stueck auf. */
.page-head--portrait { text-align: left; }
/* Flex statt Raster - und das ist der Punkt: Bei zwei Rasterspalten
   bekam der Schriftzug eine 581 px breite Spalte, obwohl er nur 257 px
   braucht. Die restlichen 324 px standen als Loch zwischen Text und
   Foto. Im Flex-Verbund ist jeder Teil so breit wie sein Inhalt, und
   beide zusammen stehen mittig. */
.portrait-split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}
.portrait-split > :first-child { flex: 0 1 auto; }
.portrait-foto {
  margin: 0;
  flex: 0 0 auto;
  width: min(100%, 22rem);
}
/* Die Drehung sitzt auf dem BILD, nicht auf der figure.
   Grund: Die figure traegt "reveal" fuer das Einblenden, und die
   Einblend-Regel endet mit "transform: none" - das wuerde eine Drehung
   auf derselben Ebene wieder loeschen. Auf dem Bild kommen sich beide
   nicht in die Quere. */
.portrait-foto img {
  display: block;
  width: 100%;
  border: 9px solid var(--paper);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
  transform: rotate(3.5deg);
  transition: transform .5s var(--ease);
}
.portrait-foto:hover img { transform: rotate(1deg) translateY(-6px); }

/* Auf schmalen Schirmen untereinander und mittig - nebeneinander waere
   beides zu klein. */
@media (max-width: 760px) {
  /* Untereinander statt nebeneinander - nicht mehr ueber
     grid-template-columns, seit der Kopf im Flex-Verbund liegt. */
  .portrait-split { flex-direction: column; text-align: center; }
  .portrait-split > :first-child { width: 100%; }
  .portrait-split .crumbs { text-align: center; }
  .portrait-foto { width: min(100%, 15rem); margin-top: 1.2rem; }
  /* Etwas weniger Neigung, damit die Ecken auf schmalen Schirmen nicht
     an den Rand stossen. */
  .portrait-foto img { transform: rotate(2.5deg); }
}

.page-head--center { text-align: center; }
.page-head--center .crumbs { text-align: center; }
.page-head--center .eyebrow { margin-bottom: 1.4rem; }

.script-title {
  font-family: var(--font-script);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
  margin: 0;
  /* Schreibschriften haben lange Ober- und Unterlängen – etwas Luft lassen */
  padding-block: .12em .18em;
}
.script-title .greet {
  display: block;
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
  color: var(--ink-2);
}
.script-title .name {
  display: block;
  font-size: clamp(3.4rem, 2.1rem + 5.6vw, 6.5rem);
  /* Dieselbe Farbe wie die Zeile darueber - beide Zeilen sind ein
     zusammenhaengender Schriftzug, kein Titel mit Untertitel. */
  color: var(--ink-2);
}

/* Mittig gesetzter Fließtext */
.prose--center {
  max-width: 66ch;
  margin-inline: auto;
  text-align: center;
  text-wrap: pretty;
}

/* Einzelnes Bild, mittig, als Abschluss des Textblocks */
/* Info-Liste (Details zu einem Werk / Fakten) */
.facts { margin: 0; }
.facts div {
  display: grid;
  grid-template-columns: minmax(7.5rem, 12rem) 1fr;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}
.facts dt { color: var(--ink-3); font-size: .9rem; }
.facts dd { margin: 0; }
@media (max-width: 520px) {
  .facts div { grid-template-columns: 1fr; gap: .15rem; }
}

/* FAQ / Ausklapper */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--pink);
  transition: transform .3s var(--ease);
}
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc-body { padding-bottom: 1.4rem; color: var(--ink-2); max-width: 68ch; }

/* ---------- 9 · Formular ----------------------------------------------- */
.form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .45rem; }
.field label {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.field .hint { font-size: .8rem; color: var(--ink-3); font-weight: 400; }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: .85rem 1rem;
  background: var(--paper);
  border: 1.4px solid var(--line);
  border-radius: var(--r-md);
  font: inherit;
  font-size: .97rem;
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--ink-3); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 32, 129, .16);
}
.field input::placeholder, .field textarea::placeholder { color: #b6ada2; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .7rem;
  align-items: start;
  font-size: .88rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.check input { width: 1.1rem; height: 1.1rem; margin-top: .28rem; accent-color: var(--pink); }

/* Honeypot gegen Spam-Bots */
.hp {
  position: absolute !important;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-note {
  font-size: .85rem;
  color: var(--ink-3);
  border-left: 2px solid var(--pink);
  padding-left: 1rem;
}

.contact-cards {
  display: grid;
  gap: 1.5rem;
}
.contact-card {
  padding: 1.5rem 1.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.contact-card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.contact-card p { font-size: .93rem; color: var(--ink-2); margin-bottom: .8rem; }

/* ---------- 10 · Footer ------------------------------------------------ */
.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h2 {
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1.1rem;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-list a { text-decoration: none; color: var(--ink-2); transition: color .2s var(--ease); }
.footer-list a:hover { color: var(--pink); }

.footer-about p { color: var(--ink-2); max-width: 34ch; margin-top: 1rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .84rem;
  color: var(--ink-3);
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--pink); }

.social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.social a {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1.4px solid var(--line);
  border-radius: 50%;
  color: var(--ink-2);
  transition: all .25s var(--ease);
}
.social a:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
  transform: translateY(-2px);
}
.social svg { width: 19px; height: 19px; }

/* ---------- 11 · Motion ------------------------------------------------ */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- Druck ------------------------------------------------------ */
@media print {
  .site-header, .site-footer, .band, .lb, .btn { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .section { padding-block: 1rem; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
}

/* ---------- Baustellen-Seite (Website offline) ------------------------ */
/* Erscheint nur, wenn die Website im Verwaltungsbereich offline geschaltet
   ist. Gleiche Sprache wie die Website: Papiergrund, Wortmarke, Georgia,
   Schreibschrift - dazu vier Farbtupfen in den Pastelltoenen von "bunt". */
.offline-seite {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}
.offline-kopf { padding-block: clamp(1.4rem, 3vw, 2.2rem); }
.offline-kopf .wrap { display: flex; justify-content: center; }

.offline-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: clamp(2rem, 6vw, 5rem);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
/* weicher rosa Farbschein im Hintergrund */
.offline-main::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -12%;
  bottom: -35%;
  width: min(70vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pink-soft) 0%, rgba(255, 230, 240, 0) 70%);
}

.offline-inhalt { text-align: center; }

.offline-farben {
  display: flex;
  justify-content: center;
  gap: .6rem;
  margin: 0 0 2rem;
}
.offline-farben span {
  width: .95rem;
  height: .95rem;
  border-radius: 50%;
  background: var(--c);
  animation: offline-tupfen 2.6s var(--ease) infinite;
  animation-delay: calc(var(--i) * .2s);
}
.offline-farben span:nth-child(1) { --c: #ff9dd6; --i: 0; }
.offline-farben span:nth-child(2) { --c: #ffbe7a; --i: 1; }
.offline-farben span:nth-child(3) { --c: #7ff0cb; --i: 2; }
.offline-farben span:nth-child(4) { --c: #ffe45e; --i: 3; }
@keyframes offline-tupfen {
  0%, 60%, 100% { transform: translateY(0) scale(1); }
  30%           { transform: translateY(-.6rem) scale(1.18); }
}

.offline-eyebrow { justify-content: center; }
.offline-titel {
  font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.2rem);
  margin-bottom: .1em;
}
.offline-gruss {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: clamp(1.9rem, 1.35rem + 2.1vw, 2.9rem);
  line-height: 1.15;
  color: var(--pink);
  margin: 0 0 1.5rem;
}
.offline-text { max-width: 46ch; margin-inline: auto; }
.offline-knoepfe { justify-content: center; margin-top: 2.2rem; }

.offline-fuss {
  padding-block: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--ink-3);
  text-align: center;
}
.offline-fuss p { margin: 0; }
.offline-fuss a { color: inherit; }
.offline-fuss a:hover { color: var(--pink); }

@media (prefers-reduced-motion: reduce) {
  .offline-farben span { animation: none; }
}
