/* =========================================================================
   ARTMIRA – Stylesheet
   Ruhige Galerie-Ästhetik: helles Cremeweiß, dunkles Grau, ein Akzent in
   Siegelwachs-Rot (aufgenommen aus den Werken von Mike Bruchner).
   ========================================================================= */

/* ---------- Schriften (selbst gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Design-Token ---------- */
:root {
  --bg: #FAFAF7;
  --paper: #EFE8DD;
  --ink: #26231F;
  --ink-soft: #6E6960;
  --ink-faint: #9B958A;
  --line: #E5E1D8;
  --wax: #7E2A20;            /* Siegelwachs-Rot */
  --dark: #171512;
  --white: #FFFFFF;

  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Inter", Helvetica, Arial, sans-serif;

  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --radius: 4px;

  --t-fast: 0.3s ease;
  --t-med: 0.5s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* Kleiner Siegelwachs-Punkt als wiederkehrendes Detail */
.wax-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--wax); vertical-align: middle;
}

/* =========================================================================
   INTRO (Startsequenz)
   ========================================================================= */
#intro {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
#intro.intro-done { opacity: 0; visibility: hidden; pointer-events: none; }
#intro.intro-removed { display: none; }

.intro-stroke {
  position: absolute; top: 0; bottom: 0; width: 34vw; max-width: 520px;
  background-image: url("../img/start.webp");
  background-size: cover;
  opacity: 0;
  transition: opacity 1.6s ease, transform 1.6s ease;
}
.intro-stroke.left  { left: 0;  background-position: left center;  transform: translateX(-24px); }
.intro-stroke.right { right: 0; background-position: right center; transform: translateX(24px); }
#intro.s1 .intro-stroke { opacity: 1; transform: translateX(0); }

.intro-center { position: relative; text-align: center; padding: 0 16px; max-width: 90vw; }
.intro-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(44px, 9vw, 108px);
  letter-spacing: 0.28em; text-indent: 0.28em; /* gleicht letzten Buchstaben aus */
  color: var(--ink);
  opacity: 0; transform: translateY(14px);
  transition: opacity 1.2s ease 0.5s, transform 1.2s ease 0.5s;
}
.intro-rule {
  width: 0; height: 1px; background: var(--ink); margin: 26px auto 24px;
  transition: width 0.9s ease 1.5s;
}
.intro-slogan {
  font-size: clamp(12px, 1.6vw, 15px);
  letter-spacing: 0.32em; text-transform: uppercase; text-indent: 0.32em;
  color: var(--ink-soft);
  opacity: 0; transform: translateY(10px);
  transition: opacity 1.1s ease 1.9s, transform 1.1s ease 1.9s;
}
#intro.s2 .intro-title { opacity: 1; transform: none; }
#intro.s2 .intro-rule { width: 56px; }
#intro.s2 .intro-slogan { opacity: 1; transform: none; }

.intro-enter {
  position: absolute; bottom: 46px; left: 50%; transform: translateX(-50%);
  background: none; border: none;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.3em; text-indent: 0.3em;
  text-transform: uppercase; color: var(--ink);
  opacity: 0; transition: opacity 1s ease 2.6s;
  padding: 12px 20px;
}
#intro.s2 .intro-enter { opacity: 1; }
.intro-enter::after {
  content: ""; display: block; margin: 10px auto 0;
  width: 9px; height: 9px;
  border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  transform: rotate(45deg);
  animation: introArrow 1.8s ease-in-out infinite;
}
@keyframes introArrow {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50% { transform: rotate(45deg) translate(4px, 4px); }
}

/* =========================================================================
   HEADER / NAVIGATION
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 72px;
}
.brand {
  font-family: var(--serif); font-weight: 500;
  font-size: 24px; letter-spacing: 0.24em;
  text-decoration: none; color: var(--ink);
  white-space: nowrap;
}
.brand .wax-dot { width: 6px; height: 6px; margin-left: 8px; margin-top: -4px; }

.main-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); }
.main-nav a {
  text-decoration: none; font-size: 13.5px; letter-spacing: 0.08em;
  color: var(--ink-soft); text-transform: uppercase;
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a.active { color: var(--ink); border-bottom-color: var(--wax); }

.lang-switch { display: flex; align-items: center; gap: 4px; }
.lang-switch button {
  background: none; border: none;
  font-size: 12px; letter-spacing: 0.06em; color: var(--ink-faint);
  padding: 5px 6px; text-transform: uppercase;
  transition: color var(--t-fast);
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.active { color: var(--ink); font-weight: 600; }
.lang-switch .sep { color: var(--line); font-size: 11px; }

/* Mobile Navigation */
.nav-toggle { display: none; background: none; border: none; padding: 10px; }
.nav-toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start;
    padding: 18px var(--pad) 24px; gap: 16px;
    display: none;
  }
  .main-nav.open { display: flex; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* =========================================================================
   HOMEPAGE
   ========================================================================= */
.hero { padding: clamp(40px, 7vh, 90px) 0 clamp(36px, 6vh, 72px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.kicker {
  font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--wax); margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--wax); }
h1.hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 4.6vw, 58px); line-height: 1.12;
  margin-bottom: 22px;
}
.hero-text { color: var(--ink-soft); max-width: 44ch; margin-bottom: 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-block; text-decoration: none;
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 13px 26px; border-radius: 999px;
  border: 1px solid var(--ink); color: var(--ink); background: transparent;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.solid { background: var(--ink); color: var(--bg); }
.btn.solid:hover { background: var(--wax); border-color: var(--wax); }

.hero-media { position: relative; }
.hero-media img { width: 100%; border-radius: var(--radius); }
.hero-media figcaption {
  margin-top: 10px; font-size: 12px; color: var(--ink-faint); letter-spacing: 0.04em;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* Breites Zwischenbild mit Textzeile */
.band { margin: clamp(40px, 8vh, 90px) 0; }
.band figure { position: relative; overflow: hidden; border-radius: var(--radius); }
.band img { width: 100%; height: clamp(340px, 62vh, 620px); object-fit: cover; }
.band-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(24px, 5vw, 56px);
  background: linear-gradient(to top, rgba(23, 21, 18, 0.72), rgba(23, 21, 18, 0));
  color: var(--white);
}
.band-caption h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(24px, 3.4vw, 40px); line-height: 1.2; max-width: 22ch;
}
.band-caption p { margin-top: 10px; font-size: 14.5px; color: rgba(255,255,255,0.82); max-width: 62ch; }

/* Werk-Vorschau auf der Startseite */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 34px); }
.section-head p { color: var(--ink-soft); font-size: 14.5px; }
.link-arrow {
  text-decoration: none; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--wax); padding-bottom: 3px;
  transition: color var(--t-fast);
}
.link-arrow:hover { color: var(--wax); }

/* =========================================================================
   ÜBER ARTMIRA
   ========================================================================= */
.about { padding: clamp(50px, 9vh, 110px) 0; border-top: 1px solid var(--line); }
.about-lead {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(24px, 3.2vw, 38px); line-height: 1.3;
  max-width: 26ch; margin-bottom: clamp(36px, 6vh, 64px);
}
.about-grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(30px, 5vw, 80px);
}
.about-text p { color: var(--ink-soft); margin-bottom: 20px; max-width: 58ch; }
.about-text p strong { color: var(--ink); font-weight: 500; }
.about-claim {
  margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(19px, 2vw, 23px); line-height: 1.4;
  color: var(--ink);
}
.about-claim .wax-dot { margin-right: 12px; margin-top: -3px; }
.about-media { display: grid; gap: 18px; align-content: start; }
.about-media figure { margin: 0; }
.about-media img { width: 100%; border-radius: var(--radius); }
.about-media figcaption { margin-top: 8px; font-size: 12px; color: var(--ink-faint); }
.about-media .shift { margin-top: clamp(20px, 6vh, 70px); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { grid-template-columns: 1fr 1fr; }
  .about-media .shift { margin-top: 34px; }
}
@media (max-width: 560px) {
  .about-media { grid-template-columns: 1fr; }
  .about-media .shift { margin-top: 0; }
}

/* =========================================================================
   GALERIE (Werke)
   ========================================================================= */
.page-head { padding: clamp(40px, 7vh, 80px) 0 0; }
.page-head h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 3.4vw, 32px); letter-spacing: 0.02em;
}
.page-head .sub { color: var(--ink-soft); margin-top: 10px; max-width: 60ch; }

/* Filterleiste */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: clamp(40px, 6vh, 60px) 0 34px;
}
.filter-btn {
  border-radius: 999px; padding: 6px 14px;
  font-size: 13.5px; letter-spacing: 0.02em;
  background: transparent; color: var(--ink-soft);
  border: 1px solid var(--line);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.filter-btn:hover { border-color: var(--ink-faint); color: var(--ink); }
.filter-btn.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Masonry-Raster über CSS-Spalten – Bilder behalten ihr Originalformat */
.masonry { column-count: 3; column-gap: 16px; }
@media (max-width: 1024px) { .masonry { column-count: 2; } }
@media (max-width: 620px)  { .masonry { column-count: 1; } }

.work-card {
  break-inside: avoid; margin-bottom: 16px;
  position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; background: var(--white);
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.work-card.visible { opacity: 1; transform: none; }
.work-card.filtering { opacity: 0; transform: scale(0.98); transition: opacity 0.3s ease, transform 0.3s ease; }
.work-card.hidden { display: none; }

.work-card img {
  width: 100%; transition: transform 0.35s ease;
}
.work-card:hover img { transform: scale(1.025); }

.work-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(23, 21, 18, 0.7);
  color: var(--white); padding: 12px 16px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.work-card:hover .work-meta { opacity: 1; transform: none; }
.work-meta .wm-title { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.work-meta .wm-artist { font-size: 11.5px; color: rgba(255,255,255,0.72); margin-top: 2px; }

/* Mobile: Bildunterschrift dauerhaft unter dem Bild */
.work-caption-mobile { display: none; }
@media (hover: none), (max-width: 620px) {
  .work-meta { display: none; }
  .work-caption-mobile {
    display: block; padding: 10px 2px 4px;
    font-size: 12.5px; color: var(--ink-soft);
  }
  .work-caption-mobile b { display: block; color: var(--ink); font-weight: 500; }
}

.load-more-row { text-align: center; margin: 44px 0 20px; }
.load-more {
  border-radius: 999px; padding: 10px 26px;
  font-size: 13.5px; background: transparent;
  color: var(--ink-soft); border: 1px solid var(--line);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.load-more:hover { border-color: var(--ink); color: var(--ink); }
.load-more[hidden] { display: none; }

/* =========================================================================
   LIGHTBOX
   ========================================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(12, 11, 10, 0.93);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }

.lb-figure {
  display: flex; flex-direction: column; align-items: center;
  max-width: min(1100px, 94vw);
  transform: scale(0.95); transition: transform 0.25s ease;
}
.lightbox.open .lb-figure { transform: scale(1); }
.lb-img { max-height: 72vh; max-width: 100%; width: auto; border-radius: 2px; }

.lb-caption { text-align: center; margin-top: 20px; color: var(--white); }
.lb-title { font-size: 16px; font-weight: 600; letter-spacing: 0.02em; }
.lb-tech { font-size: 13px; color: rgba(255,255,255,0.66); margin-top: 5px; }
.lb-artist-link {
  display: inline-block; margin-top: 9px;
  font-size: 13.5px; color: rgba(255,255,255,0.88);
  text-decoration: underline; text-underline-offset: 3px;
  transition: color var(--t-fast);
}
.lb-artist-link:hover { color: var(--white); }
.lb-inquire {
  margin-top: 16px;
  border-radius: 999px; padding: 10px 24px;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--bg); color: var(--ink); border: 1px solid var(--bg);
  transition: background var(--t-fast), color var(--t-fast);
}
.lb-inquire:hover { background: var(--wax); border-color: var(--wax); color: var(--white); }

.lb-close, .lb-prev, .lb-next {
  position: absolute; background: none; border: none; color: rgba(255,255,255,0.65);
  transition: color var(--t-fast);
  padding: 14px; line-height: 0;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: var(--white); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 6px; top: 50%; transform: translateY(-50%); }
.lb-close svg, .lb-prev svg, .lb-next svg { width: 30px; height: 30px; }
@media (max-width: 620px) {
  .lb-prev svg, .lb-next svg { width: 24px; height: 24px; }
  .lb-img { max-height: 58vh; }
}

/* =========================================================================
   ANFRAGE-FORMULAR (Modal)
   ========================================================================= */
.inquiry {
  position: fixed; inset: 0; z-index: 950;
  background: rgba(12, 11, 10, 0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.inquiry.open { opacity: 1; visibility: visible; }
.inquiry-card {
  background: var(--bg); border-radius: 6px;
  width: min(440px, 100%); padding: clamp(26px, 5vw, 38px);
  position: relative;
  transform: translateY(12px); transition: transform 0.25s ease;
  box-shadow: 0 24px 70px rgba(0,0,0,0.3);
}
.inquiry.open .inquiry-card { transform: none; }
.inquiry-close {
  position: absolute; top: 14px; right: 14px;
  background: none; border: none; color: var(--ink-faint); line-height: 0; padding: 8px;
}
.inquiry-close:hover { color: var(--ink); }
.inquiry-close svg { width: 20px; height: 20px; }

.inquiry-work { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.inquiry-work img { width: 64px; height: 64px; object-fit: cover; border-radius: 3px; }
.inquiry-work .iw-title { font-size: 14px; font-weight: 600; }
.inquiry-work .iw-sub { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }

.inquiry h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; margin-bottom: 6px; }
.inquiry .form-intro { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 20px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; letter-spacing: 0.04em; color: var(--ink-soft); margin-bottom: 6px; }
.field input[type="email"], .field input[type="tel"] {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); font-family: var(--sans); font-size: 15px; color: var(--ink);
  transition: border-color var(--t-fast);
}
.field input:focus { outline: none; border-color: var(--ink); }
.field.error input { border-color: var(--wax); }
.field .err-msg { display: none; font-size: 12px; color: var(--wax); margin-top: 5px; }
.field.error .err-msg { display: block; }

.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 22px; cursor: pointer; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--wax); cursor: pointer; }
.check span { font-size: 13.5px; color: var(--ink); }

.inquiry .btn { width: 100%; text-align: center; border: none; }
.form-note { font-size: 11.5px; color: var(--ink-faint); margin-top: 12px; text-align: center; }

/* =========================================================================
   KÜNSTLER
   ========================================================================= */
.artist-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px; margin-top: clamp(36px, 6vh, 56px);
}
.artist-card { text-decoration: none; display: block; }
.artist-card figure { overflow: hidden; border-radius: var(--radius); }
.artist-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.4s ease; }
.artist-card:hover img { transform: scale(1.03); }
.artist-card .ac-name {
  font-family: var(--serif); font-weight: 600; font-size: 21px; margin-top: 14px;
}
.artist-card .ac-link {
  font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 4px;
  border-bottom: 1px solid var(--wax); display: inline-block; padding-bottom: 2px;
}

/* Künstler-Detailseite */
.artist-head { padding: clamp(40px, 7vh, 80px) 0 clamp(30px, 5vh, 50px); }
.artist-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 44px); }
.artist-bio { color: var(--ink-soft); max-width: 72ch; margin-top: 18px; }
.artist-works-title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.6vw, 30px);
  margin: clamp(30px, 5vh, 50px) 0 0; padding-top: clamp(26px, 4vh, 40px);
  border-top: 1px solid var(--line);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: clamp(60px, 10vh, 120px);
  padding: clamp(40px, 6vh, 64px) 0 34px;
}
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand .brand { font-size: 21px; }
.footer-brand p { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a {
  text-decoration: none; font-size: 13px; color: var(--ink-soft);
  transition: color var(--t-fast);
}
.footer-nav a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--ink-faint);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* =========================================================================
   Scroll-Reveal für Sektionen
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Fokus-Sichtbarkeit für Tastaturnutzung */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--wax); outline-offset: 2px;
}

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