/* built.in.layers — gemeinsames Stylesheet (alle Seiten)
   Tokens (Farben/Schriften) liegen in tokens.css */

/* ============================================================
       built.in.layers — Startseite (Variante A „Editorial Galerie")
       Klassisch, symmetrisch, museal — HELL & creme, Bordeaux als Marke.
       Headlines: Cormorant Garamond · Fließtext: Source Sans 3
       ============================================================ */

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

    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      background: var(--cream);
      color: var(--ink);
      font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
      font-size: 17px;
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

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

    a { color: inherit; }

    h1, h2, h3 {
      font-family: "Cormorant Garamond", Georgia, serif;
      font-weight: 500;
      margin: 0;
      letter-spacing: 0.01em;
    }

    p { margin: 0 0 1.1em; }

    .wrap {
      max-width: var(--maxw);
      margin-inline: auto;
      padding-inline: 24px;
    }

    /* ---------- Kleine Hilfsklassen ---------- */
    .eyebrow {
      font-family: "Source Sans 3", sans-serif;
      font-size: 0.74rem;
      font-weight: 600;
      letter-spacing: 0.28em;
      text-transform: uppercase;
      color: var(--bordeaux);
      margin: 0 0 1.1rem;
    }

    .rule {
      width: 64px;
      height: 1px;
      background: var(--line);
      border: 0;
      margin: 1.4rem auto;
    }
    .rule--accent { background: var(--bordeaux); height: 2px; width: 48px; }

    .center { text-align: center; }
    .accent { color: var(--bordeaux); }

    /* ---------- Buttons ---------- */
    .btn {
      display: inline-block;
      font-family: "Source Sans 3", sans-serif;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      text-decoration: none;
      padding: 15px 34px;
      border-radius: var(--radius);
      transition: background-color .35s ease, color .35s ease, border-color .35s ease, transform .35s ease;
    }
    .btn--primary {
      background: var(--bordeaux);
      color: var(--cream);
      border: 1px solid var(--bordeaux);
    }
    .btn--primary:hover,
    .btn--primary:focus-visible {
      background: var(--bordeaux-dark);
      border-color: var(--bordeaux-dark);
    }
    .btn--ghost {
      background: transparent;
      color: var(--bordeaux);
      border: 1px solid var(--bordeaux);
    }
    .btn--ghost:hover,
    .btn--ghost:focus-visible {
      background: var(--bordeaux);
      color: var(--cream);
    }
    .btn--light {
      background: var(--cream);
      color: var(--bordeaux);
      border: 1px solid var(--cream);
    }
    .btn--light:hover,
    .btn--light:focus-visible {
      background: transparent;
      color: var(--cream);
      border-color: var(--cream);
    }

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

    /* ============================================================
       HEADER / NAV
       ============================================================ */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(250, 246, 240, 0.92);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border-bottom: 1px solid var(--line);
    }
    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      min-height: 76px;
    }
    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: var(--bordeaux);
    }
    .brand img { height: 100px; width: auto; border-radius: 0; }
    .brand .wordmark {
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: 1.55rem;
      font-weight: 600;
      letter-spacing: 0.02em;
      line-height: 1;
    }

    .nav-toggle {
      display: none;
      background: none;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 9px 14px;
      cursor: pointer;
      font-family: "Source Sans 3", sans-serif;
      font-size: 0.74rem;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--ink);
    }

    .main-nav ul {
      list-style: none;
      display: flex;
      gap: 34px;
      margin: 0;
      padding: 0;
    }
    .main-nav a {
      text-decoration: none;
      font-size: 0.82rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--ink);
      padding-bottom: 4px;
      border-bottom: 1px solid transparent;
      transition: color .3s ease, border-color .3s ease;
    }
    .main-nav a:hover,
    .main-nav a:focus-visible,
    .main-nav a.is-active {
      color: var(--bordeaux);
      border-bottom-color: var(--bordeaux);
    }

    /* ============================================================
       HERO — Werk „Wellengang" als helles Vollbild
       Bild komplett sichtbar, Text auf hellem Cremebereich, dunkle Tinte.
       Kein dunkles Overlay — nur ein dezenter heller Creme-Schleier.
       ============================================================ */
    .hero {
      position: relative;
      min-height: 78vh;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      background: var(--bordeaux-dark);
    }
    .hero__bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      /* kein CSS-Upscaling -> bleibt scharf */
      object-position: 50% 38%;
      z-index: 0;
    }
    /* Zarter BORDEAUX-Schleier: das Werk schimmert deutlich durch,
       in der Mitte etwas dichter für sicheren Kontrast des hellen Textes. */
    .hero__veil {
      position: absolute;
      inset: 0;
      z-index: 1;
      background:
        radial-gradient(74% 68% at 50% 50%,
          rgba(84, 18, 28, 0.50) 0%,
          rgba(84, 18, 28, 0.24) 58%,
          rgba(110, 30, 42, 0.08) 100%),
        linear-gradient(180deg,
          rgba(110, 30, 42, 0.20) 0%,
          rgba(84, 18, 28, 0.34) 100%);
    }
    .hero__content {
      position: relative;
      z-index: 2;
      max-width: 660px;
      margin: 0 auto;
      padding: 120px 24px;
      color: var(--cream);
      text-align: center;
    }
    .hero .eyebrow { color: var(--cream); }
    .hero h1 {
      font-size: clamp(2.8rem, 7vw, 5.4rem);
      line-height: 1.02;
      font-weight: 500;
      margin: 0 0 0.6rem;
      color: var(--cream);
      text-shadow: 0 2px 10px rgba(40, 10, 16, 0.55), 0 2px 30px rgba(40, 10, 16, 0.40);
    }
    .hero h1 .accent { color: #F0CDB6; font-style: italic; }
    .hero__rule {
      width: 56px; height: 2px; border: 0;
      background: var(--cream);
      margin: 1.4rem auto 1.7rem;
    }
    .hero__sub {
      font-size: clamp(1rem, 1.7vw, 1.2rem);
      max-width: 480px;
      margin: 0 auto 2.2rem;
      color: var(--cream);
      line-height: 1.65;
      text-shadow: 0 1px 14px rgba(40, 10, 16, 0.40);
    }
    .hero__caption {
      position: absolute;
      bottom: 22px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 2;
      font-size: 0.74rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--ink);
      background: rgba(250, 246, 240, 0.78);
      border: 1px solid var(--line);
      border-radius: 100px;
      padding: 7px 16px;
      font-weight: 600;
    }
    .hero__caption .sep { color: var(--bordeaux); margin: 0 4px; }

    /* ============================================================
       Allgemeine Sektionen
       ============================================================ */
    section { padding: clamp(38px, 5vw, 70px) 0; }

    .section-head { max-width: 760px; margin: 0 auto clamp(22px, 3vw, 36px); }
    .section-head h2 {
      font-size: clamp(2rem, 4.4vw, 3.2rem);
      line-height: 1.1;
      font-weight: 500;
    }
    .section-head p {
      color: var(--mokka);
      font-size: 1.06rem;
      margin-top: 0.4rem;
    }

    /* ---------- Story / Haltung ---------- */
    .story { background: var(--parchment); }
    .story__grid {
      display: grid;
      grid-template-columns: 1.05fr 0.95fr;
      gap: clamp(28px, 4vw, 54px);
      align-items: center;
    }
    .story__figure { margin: 0; }
    .story__figure img {
      width: 100%;
      aspect-ratio: 3 / 2;
      object-fit: cover;
      box-shadow: 0 18px 48px rgba(44, 38, 34, 0.16);
    }
    .story__figure figcaption {
      font-size: 0.82rem;
      color: var(--mokka);
      letter-spacing: 0.04em;
      margin-top: 0.9rem;
      font-style: italic;
    }
    .story__text h2 {
      font-size: clamp(1.9rem, 3.8vw, 2.9rem);
      line-height: 1.12;
      margin-bottom: 1.2rem;
    }
    .story__text .lead {
      font-size: 1.18rem;
      color: var(--ink);
      line-height: 1.6;
    }
    .story__text p { color: var(--mokka); }
    .story__text .btn { margin-top: 0.8rem; }

    /* ---------- Werke-Grid ---------- */
    .works-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: clamp(18px, 2.4vw, 30px);
    }
    .work {
      display: flex;
      flex-direction: column;
      text-decoration: none;
      color: inherit;
      background: var(--cream);
    }
    .work__media {
      position: relative;
      overflow: hidden;
      /* 3:2 statt 4:3 — näher am Querformat der Leinwände, beschneidet weniger */
      aspect-ratio: 3 / 2;
      background: var(--parchment);
      border: 1px solid var(--line);
    }
    .work__media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .4s ease;
    }
    .work:hover .work__media img,
    .work:focus-visible .work__media img {
      transform: scale(1.045);
    }
    .badge {
      position: absolute;
      top: 14px;
      left: 14px;
      z-index: 2;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: rgba(250, 246, 240, 0.95);
      color: var(--bordeaux);
      font-size: 0.66rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      padding: 6px 12px;
      border-radius: 100px;
      border: 1px solid var(--bordeaux);
    }
    .badge::before {
      content: "";
      width: 7px; height: 7px;
      border-radius: 50%;
      background: var(--bordeaux);
    }
    .work__body { padding: 22px 4px 4px; }
    .work__title {
      font-size: 1.7rem;
      line-height: 1.15;
      margin-bottom: 0.3rem;
      transition: color .3s ease;
    }
    .work:hover .work__title,
    .work:focus-visible .work__title { color: var(--bordeaux); }
    .work__meta {
      font-size: 0.92rem;
      color: var(--mokka);
      margin: 0 0 0.9rem;
      line-height: 1.55;
    }
    .work__price {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 12px;
      padding-top: 0.9rem;
      border-top: 1px solid var(--line);
      font-size: 0.86rem;
    }
    .work__price .price {
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: 1.5rem;
      font-weight: 600;
      color: var(--ink);
      line-height: 1;
      letter-spacing: 0.01em;
    }
    .work__price .cta {
      font-size: 0.74rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--bordeaux);
      white-space: nowrap;
    }
    .work__note {
      margin: 0.7rem 0 0;
      font-size: 0.76rem;
      color: var(--mokka);
      letter-spacing: 0.02em;
    }

    .works-foot { margin-top: clamp(44px, 6vw, 64px); }

    /* ---------- Über mich (Teaser, hell) ---------- */
    .about { background: var(--cream); border-top: 1px solid var(--line); }
    .about__grid {
      display: grid;
      grid-template-columns: 0.85fr 1.15fr;
      gap: clamp(28px, 4vw, 54px);
      align-items: center;
    }
    .about__figure { margin: 0; }
    .about__figure img {
      width: 100%;
      aspect-ratio: 4 / 5;
      object-fit: cover;
      object-position: 50% 30%;
      box-shadow: 0 18px 48px rgba(44, 38, 34, 0.18);
    }
    .about__text .eyebrow { color: var(--bordeaux); }
    .about__text h2 {
      font-size: clamp(2rem, 4.4vw, 3.1rem);
      line-height: 1.12;
      margin-bottom: 1.2rem;
    }
    .about__text .lead {
      font-size: 1.18rem;
      color: var(--ink);
      line-height: 1.6;
    }
    .about__text p { color: var(--mokka); }
    .about__quote {
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: clamp(1.5rem, 2.6vw, 2rem);
      line-height: 1.35;
      font-style: italic;
      color: var(--bordeaux);
      border-left: 2px solid var(--bordeaux);
      padding-left: 1.2rem;
      margin: 1.6rem 0 1.6rem;
    }
    .about__sig {
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: 1.7rem;
      color: var(--ink);
      margin: 0.4rem 0 1.6rem;
      letter-spacing: 0.06em;
    }

    /* ---------- Vertrauens-Band (Bordeaux) ---------- */
    .trust {
      background: var(--bordeaux);
      color: var(--cream);
      padding: clamp(40px, 5vw, 60px) 0;
    }
    .trust ul {
      list-style: none;
      margin: 0 auto; padding: 0;
      max-width: 840px;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      gap: 16px 44px;
      text-align: center;
    }
    .trust li {
      font-size: 0.86rem;
      color: rgba(250, 246, 240, 0.82);
      letter-spacing: 0.03em;
      position: relative;
      padding: 4px 14px;
    }
    .trust li + li::before {
      content: "";
      position: absolute;
      left: -22px; top: 50%;
      transform: translateY(-50%);
      width: 1px; height: 34px;
      background: rgba(250, 246, 240, 0.24);
    }
    .trust li svg {
      width: 30px; height: 30px;
      display: block;
      margin: 0 auto 12px;
      color: rgba(250, 246, 240, 0.92);
    }
    .trust li strong {
      display: block;
      font-family: "Cormorant Garamond", Georgia, serif;
      font-weight: 600;
      font-size: 1.22rem;
      color: var(--cream);
      margin-bottom: 2px;
      letter-spacing: 0.01em;
    }

    /* ============================================================
       FOOTER — hell gehalten, Bordeaux als Akzent
       ============================================================ */
    .site-footer {
      background: var(--parchment);
      color: var(--mokka);
      border-top: 1px solid var(--line);
      padding: clamp(56px, 7vw, 80px) 0 32px;
    }
    .footer-top {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr;
      gap: 40px;
      padding-bottom: 44px;
      border-bottom: 1px solid var(--line);
    }
    .footer-brand .wordmark {
      font-family: "Cormorant Garamond", Georgia, serif;
      font-size: 1.8rem;
      font-weight: 600;
      color: var(--bordeaux);
      letter-spacing: 0.02em;
      display: block;
      margin-bottom: 0.7rem;
    }
    .footer-brand p {
      max-width: 320px;
      font-size: 0.95rem;
      color: var(--mokka);
    }
    .footer-col h3 {
      font-family: "Source Sans 3", sans-serif;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--bordeaux);
      margin-bottom: 1.1rem;
    }
    .footer-col ul { list-style: none; margin: 0; padding: 0; }
    .footer-col li { margin-bottom: 0.7rem; }
    .footer-col a {
      text-decoration: none;
      font-size: 0.95rem;
      color: var(--ink);
      transition: color .3s ease;
    }
    .footer-col a:hover,
    .footer-col a:focus-visible { color: var(--bordeaux); }
    .footer-bottom {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding-top: 26px;
      font-size: 0.82rem;
      color: var(--mokka);
    }
    .footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
    .footer-bottom a { text-decoration: none; color: var(--mokka); transition: color .3s ease; }
    .footer-bottom a:hover,
    .footer-bottom a:focus-visible { color: var(--bordeaux); }

    /* ============================================================
       RESPONSIVE
       ============================================================ */
    @media (max-width: 1180px) {
      .trust ul { gap: 14px 32px; }
    }

    @media (max-width: 900px) {
      .works-grid { grid-template-columns: repeat(2, 1fr); }
      .story__grid { grid-template-columns: 1fr; }
      .story__figure { order: -1; }
      .about__grid { grid-template-columns: 1fr; }
      .about__figure { order: -1; max-width: 380px; }
      .footer-top { grid-template-columns: 1fr 1fr; }
      .footer-brand { grid-column: 1 / -1; }
    }

    @media (max-width: 640px) {
      body { font-size: 16px; }

      .nav-toggle { display: inline-block; }
      .main-nav {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--cream);
        border-bottom: 1px solid var(--line);
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease;
      }
      .main-nav.is-open { max-height: 340px; }
      .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 8px 24px 20px;
      }
      .main-nav li { border-bottom: 1px solid var(--line); }
      .main-nav li:last-child { border-bottom: 0; }
      .main-nav a {
        display: block;
        padding: 15px 0;
        border-bottom: 0;
      }
      .main-nav a:hover,
      .main-nav a.is-active { border-bottom: 0; }

      .hero { min-height: 84vh; }
      .hero__content { padding: 88px 22px; }
      /* Auf Schmalbild etwas dichterer Bordeaux-Schleier für sicheren Textkontrast */
      .hero__veil {
        background:
          radial-gradient(95% 62% at 50% 46%,
            rgba(84, 18, 28, 0.58) 0%,
            rgba(84, 18, 28, 0.34) 60%,
            rgba(110, 30, 42, 0.16) 100%),
          linear-gradient(180deg,
            rgba(110, 30, 42, 0.26) 0%,
            rgba(84, 18, 28, 0.40) 100%);
      }

      .works-grid { grid-template-columns: 1fr; gap: 36px; }

      .trust ul { flex-direction: column; }
      .trust li::before { display: none !important; }
      .trust li + li { border-top: 1px solid rgba(250,246,240,0.24); padding-top: 16px; margin-top: 4px; }

      .footer-top { grid-template-columns: 1fr; gap: 30px; }
      .footer-bottom { flex-direction: column; align-items: flex-start; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      * { transition: none !important; }
    }

/* ============================================================
   Kunst-Applikationen & Marken-Updates (Stand 15.06.2026)
   Dezent, galerie-tauglich — bewusst nicht kitschig.
   ============================================================ */

/* Namens-Logo im Header/Footer — gross & gut sichtbar (ueberschreibt .brand img) */
.brand-logo { height: 100px; width: auto; display: block; border-radius: 0; transition: height .3s ease; }
.footer-brand .brand-logo { height: 78px; margin-bottom: 16px; }
@media (max-width: 600px){ .brand img, .brand-logo { height: 64px; } }
.site-header .header-inner { min-height: 132px; transition: min-height .3s ease; }

/* Beim Scrollen schrumpft der Header sanft — erster Eindruck bleibt gross,
   danach nimmt die Leiste weniger Platz vom Inhalt. */
.site-header.is-shrunk .header-inner { min-height: 76px; }
.site-header.is-shrunk .brand-logo { height: 60px; }

/* Klare, moderne Akzentlinie (kein Pinsel) */
.rule--accent { background: var(--bordeaux); height: 2px; width: 56px; }
.section-head.center .rule--accent { margin-left: auto; margin-right: auto; }

/* Pinsel-Trenner entfernt (auf Wunsch) */
.art-divider { display: none; }

/* „Verkauft"-Badge: gedämpft, klar abgesetzt von „Verfügbar" */
.badge--sold {
  background: var(--bordeaux);
  color: var(--cream);
  border-color: var(--bordeaux);
}
.badge--sold::before { background: var(--cream); }

/* Sehr feine Leinwand-/Papiertextur über dem Creme-Grund */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Sanftes Einblenden beim Scrollen (nur wenn gewünscht) */
@media (prefers-reduced-motion: no-preference){
  [data-reveal]{ opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
  [data-reveal].is-visible{ opacity: 1; transform: none; }
}

/* Kleine handschriftliche Signatur-Note (z. B. im Footer) */
.signature { font-family: var(--font-head); font-style: italic; color: var(--bordeaux); font-size: 1.15rem; }

/* ============================================================
   Lightbox — Großansicht der Werkbilder (Werkseiten)
   Ruhig & galerie-tauglich: dunkler Tinte-Grund, Bild mittig,
   Titelzeile darunter. Schließen per Klick, ESC oder Button.
   ============================================================ */
.has-lightbox { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(28, 24, 21, 0.93);
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }

.lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1120px, 100%);
  max-height: 80vh;
  background: var(--parchment);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.lightbox__caption {
  margin: 0;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--cream);
  opacity: 0.9;
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: 1px solid rgba(250, 246, 240, 0.45);
  border-radius: 100px;
  color: var(--cream);
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 9px 16px;
  cursor: pointer;
  transition: border-color .3s ease, background-color .3s ease;
}
.lightbox__close:hover,
.lightbox__close:focus-visible {
  border-color: var(--cream);
  background: rgba(250, 246, 240, 0.12);
}

@media (prefers-reduced-motion: no-preference) {
  .lightbox { animation: lightbox-fade .25s ease; }
  @keyframes lightbox-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
}
