/* =====================================================================
   ALR Media – Anna-Lena Rumpler · Fotografie & Content Creation, Erlangen
   Design-System (Vanilla, kein Build). Clean & editorial.
   Farb-/Typo-Basis aus dem Claude-Design-Handoff, Motion bewusst ruhig.
   ===================================================================== */

/* ---------- Tokens ----------
   GENAU VIER FARBEN auf der ganzen Seite:
   • Weiß      #FFFFFF  – alle Flächen und Sektionshintergründe
   • Schwarz   #111111  – Fließtext, Überschriften, dunkler Anker (Footer)
   • Bordeaux  #4E100C  – das EINZIGE Rot (Logo-Porto-Rot): Buttons, kleine Flächen,
                          Hervorhebungs-Wörter, Marquee-Text, Linien/Akzente
   • Lachs     #E4A99B  – nur klein und vereinzelt (Punkt der Wortmarke, Details,
                          Hover auf dunklem/rotem Grund). Nie Text auf Weiß, nie große Fläche.
   Altnamen (--oxblood/--rose/--blush/--sand/--cream/--ink) sind Aliasse auf diese vier Werte. */
:root {
  --white: #FFFFFF;
  --black: #111111;
  --bordeaux: #4E100C;
  --salmon: #E4A99B;

  /* Aliasse (zeigen auf die obigen vier – kein zusätzlicher Farbton) */
  --sand: var(--white);
  --cream: var(--white);
  --ink: var(--black);
  --oxblood: var(--bordeaux);
  --deep: var(--black);
  --rose: var(--salmon);
  --blush: var(--salmon);

  --on-dark: rgba(255,255,255,0.82);
  --on-dark-soft: rgba(255,255,255,0.60);
  --muted: rgba(17,17,17,0.66);
  --muted-soft: rgba(17,17,17,0.62);  /* 0.5 lag unter WCAG AA (3.5:1) */
  --line: rgba(78, 16, 12, 0.12);
  --line-dark: rgba(255,255,255,0.14);

  --serif: 'Spectral', Georgia, 'Times New Roman', serif;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --spartan: 'League Spartan', 'Archivo', system-ui, -apple-system, sans-serif;

  --maxw: 1240px;
  --maxw-narrow: 1000px;
  --maxw-wide: 1560px;        /* nur für den Instagram-Feed */
  --pad-x: clamp(24px, 5vw, 72px);
  --section-y: clamp(84px, 11vw, 150px);
  --radius-card: 20px;
  --radius-img: 16px;
  --nav-h: 92px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--bordeaux); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--black); }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
input, textarea, button, select { font-family: inherit; }
::selection { background: var(--oxblood); color: var(--sand); }
::placeholder { color: rgba(17,17,17,0.4); }
:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.container-narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
/* Alle Sektionsflächen sind weiß – kein Cream, kein rotes/dunkles Sektionsfeld mehr.
   (Klassennamen bleiben, damit das Markup unverändert bleibt.) */
.bg-cream { background: var(--white); }
.bg-sand  { background: var(--white); }
.bg-oxblood { background: var(--white); color: var(--black); }
.bg-deep    { background: var(--white); color: var(--black); }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--bordeaux); margin: 0;
}
/* Lachs wäre auf Weiß zu kontrastarm – Eyebrows immer Bordeaux. */
.eyebrow--rose { color: var(--bordeaux); }
.eyebrow--blush { color: var(--bordeaux); }
.eyebrow .rule { width: 36px; height: 1.5px; background: currentColor; display: block; flex-shrink: 0; }

.display {
  font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; line-height: 1;
  color: var(--black);
}
/* Umbruch statt Überlauf für alle großen Headlines … */
h1, h2, .hero__title, .statement__text, .display { overflow-wrap: break-word; }
/* … echte Silbentrennung nur dort, wo lange Komposita vorkommen (nicht im Hero!) */
.pagehero h1, .svc-head h2, .split h2, .about__body h1, .contact__lead h1 { -webkit-hyphens: auto; hyphens: auto; }
.hero__title { -webkit-hyphens: manual; hyphens: manual; }
.accent { color: var(--bordeaux); }
.bg-oxblood .accent, .bg-deep .accent { color: var(--bordeaux); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--oxblood); color: var(--sand);
  padding: 16px 30px; border-radius: 100px; border: 1.5px solid var(--oxblood);
  font-size: 14px; font-weight: 700; letter-spacing: .04em; cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn:hover { background: var(--salmon); border-color: var(--salmon); color: var(--bordeaux); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--black); border-color: rgba(78,16,12,.28); }
.btn--outline:hover { background: transparent; color: var(--bordeaux); border-color: var(--bordeaux); transform: translateY(-2px); }
/* Früher weißer Button auf rotem Grund – die Sektionen sind jetzt weiß,
   deshalb identisch zum Primär-Button (Bordeaux). Markup bleibt unverändert. */
.btn--cream { background: var(--bordeaux); color: var(--white); border-color: var(--bordeaux); }
.btn--cream:hover { background: var(--salmon); border-color: var(--salmon); color: var(--bordeaux); }
.btn--sm { padding: 12px 22px; font-size: 13px; letter-spacing: .06em; }

.textlink {
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--bordeaux); border-bottom: 1.5px solid rgba(78,16,12,.3); padding-bottom: 3px;
}
.bg-oxblood .textlink, .bg-deep .textlink { color: var(--bordeaux); border-color: rgba(78,16,12,.3); }
.bg-oxblood .textlink:hover, .bg-deep .textlink:hover { color: var(--black); border-color: var(--black); }

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad-x);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(78, 16, 12, 0.5);
  padding-top: 15px; padding-bottom: 15px;
}
/* War für Seiten mit dunklem Hero gedacht. Seit alle Sektionen weiß sind,
   verhält sich die Nav überall gleich – Modifier bleibt als No-Op im Markup. */
.nav--solid {
  background: transparent;
  border-bottom-color: transparent;
}
.nav__logo {
  font-family: var(--sans); font-weight: 900; font-size: 22px; letter-spacing: -.03em;
  color: var(--oxblood); line-height: 1;
}
.nav__logo .dot { color: var(--rose); }
.nav__logo:hover { color: var(--oxblood); }
.nav__right { display: flex; align-items: center; gap: clamp(14px, 2vw, 34px); }
.nav__links { display: none; }
.nav__link {
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--black);
}
.nav__link:hover { color: var(--bordeaux); }
.nav__link.is-active { color: var(--oxblood); border-bottom: 1.5px solid var(--oxblood); padding-bottom: 2px; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--oxblood); color: var(--sand);
  padding: 11px 22px; border-radius: 100px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  transition: background .3s var(--ease), transform .3s var(--ease), color .3s var(--ease);
}
.nav__cta:hover { background: var(--salmon); color: var(--bordeaux); transform: translateY(-2px); }

/* Hamburger */
.nav__burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
  background: transparent; border: 0; cursor: pointer;
}
.nav__burger span { display: block; height: 2px; width: 100%; background: var(--oxblood); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s var(--ease); }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile-Drawer */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--sand);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--pad-x);
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform .5s var(--ease), opacity .4s var(--ease), visibility .4s;
}
body.menu-open .drawer { transform: translateY(0); opacity: 1; visibility: visible; }
.drawer a { font-family: var(--serif); font-size: clamp(30px, 8vw, 46px); font-weight: 500; color: var(--black); padding: 10px 0; }
.drawer a:hover, .drawer a.is-active { color: var(--bordeaux); }
.drawer__meta { margin-top: 40px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.drawer__meta a { font-family: var(--sans); font-size: 15px; color: var(--muted); }

@media (min-width: 961px) {
  .nav__links { display: flex; gap: clamp(16px, 2vw, 32px); align-items: center; }
  .nav__burger { display: none; }
  .drawer { display: none; }
}

/* =====================================================================
   HERO (Startseite)
   ===================================================================== */
.hero {
  position: relative; background: var(--sand); overflow: hidden;
  display: grid; grid-template-columns: 1fr;
}
.hero__text {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(120px, 22vw, 150px) var(--pad-x) clamp(48px, 8vw, 72px);
}
.hero__title {
  font-family: var(--serif); font-weight: 500; letter-spacing: -.01em;
  font-size: clamp(52px, 13vw, 120px); line-height: .92; color: var(--black); margin: 0;
}
.hero__title .accent { color: var(--oxblood); }
/* mehr Luft zwischen Eyebrow und großer Überschrift (Punkt 4) */
.hero__text .eyebrow { margin-bottom: clamp(22px, 3.6vw, 40px); }
.hero__intro { max-width: 440px; margin: 30px 0 0; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.7; color: rgba(17,17,17,.72); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__media { position: relative; overflow: hidden; min-height: 66vh; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(78,16,12,.12), transparent 45%); }
.hero__ig {
  position: absolute; left: 24px; bottom: 24px; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 10px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 700; letter-spacing: .03em; color: var(--oxblood);
}
.hero__scroll {
  display: none; position: absolute; left: var(--pad-x); bottom: 26px;
  align-items: center; gap: 10px; color: rgba(17,17,17,.62);
  font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}
.hero__scroll .line { width: 44px; height: 1px; background: rgba(17,17,17,.35); display: block; }

@media (min-width: 761px) {
  .hero { grid-template-columns: 1.05fr .95fr; min-height: 100svh; }
  .hero__media { min-height: auto; }
  .hero__scroll { display: flex; }
}

/* =====================================================================
   MARQUEE – clean & normal: heller Grund, Bordeaux-Text, ruhiger Lauf
   ===================================================================== */
.ticker {
  background: var(--white); overflow: hidden; padding: 16px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.ticker__row { display: flex; width: max-content; animation: ticker-drift 48s linear infinite; }
.ticker__track {
  display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap;
}
.ticker__item {
  font-family: var(--sans); font-weight: 500; letter-spacing: normal; text-transform: none;
  font-size: clamp(15px, 1.6vw, 18px); line-height: 1; color: var(--bordeaux);
}
.ticker__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--salmon); display: block; flex-shrink: 0; }
@keyframes ticker-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker:hover .ticker__row { animation-play-state: paused; }

/* =====================================================================
   PHILOSOPHY / großes Statement (Word-Storm ersetzt durch ruhiges Reveal)
   ===================================================================== */
/* Diese Sektion läuft komplett in League Spartan (geometrisch, clean, kräftig)
   – wie in der Canva-Referenz. Rest der Seite behält Archivo/Spectral. */
.statement { max-width: var(--maxw-narrow); margin: 0 auto; position: relative; }
/* „Mein Blick"-Label: clean & normal (normale Laufweite, keine Versalien) */
.statement__eyebrow {
  margin-bottom: 14px; font-family: var(--spartan); font-weight: 600;
  font-size: 15px; letter-spacing: normal; text-transform: none; color: var(--bordeaux);
}
.statement__eyebrow::before { display: none; }
/* editorialer Blickfang: großes Anführungszeichen */
.statement__mark {
  display: block; font-family: var(--spartan); font-weight: 700;
  font-size: clamp(56px, 8.5vw, 110px); line-height: .8; color: var(--bordeaux);
  margin: 0 0 14px -.04em;
}
/* dichter, größer, weniger „Luft" zwischen Zeilen/Buchstaben – kein Fließtext-Klotz mehr */
.statement__text {
  font-family: var(--spartan); font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(28px, 4.6vw, 56px); line-height: 1.14; color: var(--black);
  text-wrap: balance; margin: 0;
}
.statement__text .accent { color: var(--bordeaux); }
.statement__sign {
  margin-top: 30px; font-family: var(--spartan); font-weight: 600; font-size: 14px;
  letter-spacing: .02em; color: var(--bordeaux);
}
.statement__sign span { color: var(--bordeaux); }

/* =====================================================================
   LEISTUNGEN (Karten)
   ===================================================================== */
.svc-head { display: grid; gap: 20px; margin-bottom: 52px; }
.svc-head h2 { font-family: var(--serif); font-size: clamp(36px, 5.5vw, 68px); line-height: 1; letter-spacing: -.01em; color: var(--black); margin-top: 16px; }
.svc-head__intro { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 340px; }
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.svc-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: clamp(30px, 4vw, 40px) clamp(26px, 3vw, 34px);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px -28px rgba(78,16,12,.4); }
.svc-card__num { font-family: var(--serif); font-size: 34px; color: var(--bordeaux); line-height: 1; }
.svc-card h3 { font-family: var(--serif); font-weight: 600; font-size: 28px; margin: 18px 0 14px; color: var(--black); }
.svc-card p { font-size: 15px; line-height: 1.72; color: var(--muted); margin-bottom: 24px; }
.svc-card .textlink { margin-top: auto; align-self: flex-start; }
.svc-card--dark { background: var(--oxblood); border-color: var(--oxblood); }
.svc-card--dark:hover { box-shadow: 0 24px 50px -28px rgba(78,16,12,.6); }
.svc-card--dark .svc-card__num { color: var(--blush); }
.svc-card--dark h3 { color: var(--white); }
.svc-card--dark p { color: rgba(255,255,255,.8); }
.svc-card--dark .textlink { color: var(--white); border-color: rgba(255,255,255,.4); }
.svc-card--dark .textlink:hover { color: var(--salmon); border-color: var(--salmon); }

@media (min-width: 720px)  { .svc-head { grid-template-columns: 1.4fr .8fr; align-items: end; } .svc-head__intro { justify-self: end; } }
@media (min-width: 961px)  { .svc-grid { grid-template-columns: repeat(3, 1fr); } }

/* =====================================================================
   GALERIE
   ===================================================================== */
.gal-head { text-align: center; margin-bottom: 52px; }
.gal-head .eyebrow { justify-content: center; margin-bottom: 16px; }
.gal-head h2 { font-family: var(--serif); font-size: clamp(38px, 6vw, 76px); line-height: 1; letter-spacing: -.01em; color: var(--black); }
.gal { display: grid; grid-template-columns: 1fr; gap: 16px; }
.gal figure { position: relative; margin: 0; border-radius: var(--radius-img); overflow: hidden; aspect-ratio: 4/5; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal figure:hover img { transform: scale(1.05); }
/* Verlauf unter der Bildunterschrift: weisser Text stand auf hellen Fotos
   (z. B. der Taufe) bei nur 1,7:1 – der Scrim bringt ihn sicher über 4,5:1. */
.gal figure::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px;
  /* Stopps in px, nicht in %: die Unterschrift sitzt 16-33px ueber der Unterkante.
     Bei Prozentwerten wandert die volle Deckkraft je nach Bildhoehe darunter weg. */
  background: linear-gradient(to top,
    rgba(17,17,17,.66) 0px,
    rgba(17,17,17,.62) 60px,
    rgba(17,17,17,.28) 120px,
    rgba(17,17,17,0) 200px);
  pointer-events: none; z-index: 1;
}
.gal figcaption {
  position: absolute; left: 18px; bottom: 16px; z-index: 2; color: var(--white);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(17,17,17,.5); pointer-events: none;
}
/* Auf der hellen Platzhalter-Kachel wuerde der Scrim stoeren. */
.gal figure:has(.placeholder)::after,
.gal figure:has(.ph)::after { display: none; }
/* Platzhalter-Kachel (noch kein echtes Foto) */
.gal .placeholder, .ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: 100%; height: 100%; background: rgba(78, 16, 12, 0.06); color: var(--muted-soft);
  font-size: 13px; letter-spacing: .04em; padding: 20px;
}
/* Auf der hellen Platzhalter-Kachel wäre die weiße Bildunterschrift unsichtbar. */
.gal figure:has(.placeholder) figcaption,
.gal figure:has(.ph) figcaption { color: var(--bordeaux); text-shadow: none; }

@media (min-width: 461px) { .gal { grid-template-columns: repeat(2, 1fr); } .gal figure { aspect-ratio: 1/1; } }
@media (min-width: 761px) {
  .gal { grid-template-columns: repeat(12, 1fr); }
  .gal figure { aspect-ratio: 1/1; }
  .gal .span-5 { grid-column: span 5; aspect-ratio: 4/5; }
  .gal .span-7 { grid-column: span 7; aspect-ratio: 7/5; }
  .gal .span-4 { grid-column: span 4; aspect-ratio: 1/1; }
}

/* =====================================================================
   ÜBER MICH (dunkel)
   ===================================================================== */
.about { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.about__media .frame { border-radius: 20px; overflow: hidden; aspect-ratio: 4/5; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute; right: -14px; bottom: 26px;
  background: var(--oxblood); color: var(--sand);
  padding: 16px 22px; border-radius: 14px; box-shadow: 0 20px 40px -20px rgba(17,17,17,.6);
}
.about__badge .name { font-family: var(--serif); font-size: 26px; line-height: 1; }
.about__badge .place { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blush); margin-top: 4px; }
.about__body h2, .about__body h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5vw, 60px); line-height: 1.05; letter-spacing: -.01em; margin: 20px 0 26px; }
.about__body p { font-size: clamp(15px, 1.25vw, 17px); line-height: 1.8; color: var(--muted); margin-bottom: 18px; }
.about__body .btn { margin-top: 20px; }
@media (min-width: 961px) { .about { grid-template-columns: .85fr 1.15fr; } }

/* =====================================================================
   INSTAGRAM (Consent-gesteuert)
   ===================================================================== */
.ig-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 40px; }
.ig-head__id { display: flex; align-items: center; gap: 18px; }
.ig-avatar {
  width: 66px; height: 66px; border-radius: 50%; background: var(--oxblood);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--sand); font-family: var(--sans); font-weight: 900; font-size: 15px; letter-spacing: -.03em;
  box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--blush);
}
.ig-head__handle { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px); color: var(--black); }
.ig-head__sub { font-size: 13px; color: rgba(17,17,17,.66); margin-top: 2px; }
/* Der Feed darf breiter laufen als der Textcontainer und die Kacheln stehen im
   Instagram-Hochformat 4:5 – sonst wirken vier Quadrate in einer Reihe winzig. */
.section:has(.ig-grid) .container { max-width: var(--maxw-wide); }
.ig-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ig-grid figure { position: relative; margin: 0; aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; }
.ig-note { text-align: center; font-size: 13px; color: rgba(17,17,17,.62); margin-top: 28px; }
@media (min-width: 640px) { .ig-grid { grid-template-columns: repeat(4, 1fr); } }

/* =====================================================================
   KONTAKT
   ===================================================================== */
.contact { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 72px); align-items: start; }
.contact__lead h2, .contact__lead h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6.5vw, 84px); line-height: .98; letter-spacing: -.01em; margin: 20px 0 28px; }
.contact__lead p { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 440px; margin-bottom: 36px; }
/* Direktkontakt: E-Mail und Telefon standen als zwei inline-blocks fast
   aneinander – auf dem Handy kaum sicher zu treffen und für zwei
   gleichrangige Angaben viel zu laut. Jetzt eigene Zeilen, kleines Label,
   ruhigere Größe, jedes Ziel mindestens 44 px hoch (WCAG 2.5.5). */
.contact__direct { display: flex; flex-direction: column; gap: 22px; margin-bottom: 4px; }
.contact__item { display: flex; flex-direction: column; gap: 6px; }
.contact__label {
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(17,17,17,.55);
}
.contact__mail {
  display: inline-flex; align-items: center; align-self: flex-start;
  min-height: 44px; font-family: var(--serif); font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.15; color: var(--bordeaux);
  border-bottom: 1.5px solid rgba(78,16,12,.3); padding-bottom: 4px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.contact__mail:hover, .contact__mail:focus-visible { color: var(--black); border-color: var(--black); }
/* Auf dem Handy ist die Kontaktspalte zentriert – die Angaben ziehen mit,
   sonst stehen sie als einziger Block linksbündig und wirken verrutscht. */
@media (max-width: 760px) {
  .contact__direct, .contact__item { align-items: center; }
  .contact__mail { align-self: center; }
}
.contact__socials { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.pill-outline {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1.5px solid rgba(78,16,12,.28); color: var(--black);
  padding: 12px 20px; border-radius: 100px; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.pill-outline:hover { border-color: var(--bordeaux); color: var(--bordeaux); }

/* Formular liegt jetzt auf Weiß – die Kante macht die Karte sichtbar. */
.form {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(28px, 3.5vw, 44px); color: var(--black);
  display: flex; flex-direction: column; gap: 18px;
}
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(17,17,17,.6); }
.form input, .form textarea, .form select {
  border: none; border-bottom: 1.5px solid rgba(78,16,12,.22); background: transparent;
  padding: 10px 2px; font-size: 16px; color: var(--black); outline: none; border-radius: 0;
}
.form textarea { resize: vertical; min-height: 96px; }
.form input:focus, .form textarea:focus, .form select:focus { border-bottom-color: var(--oxblood); }
.form .consent { flex-direction: row; align-items: flex-start; gap: 10px; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 13px; color: var(--muted); line-height: 1.5; }
/* 24px: WCAG 2.5.8 (AA) verlangt mindestens 24x24 CSS-Pixel Zielflaeche. */
.form .consent input { width: 24px; height: 24px; flex-shrink: 0; margin-top: 0; accent-color: var(--oxblood); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button { margin-top: 6px; }
.form__note { font-size: 13px; padding: 12px 14px; border-radius: 10px; line-height: 1.5; }
.form__note--ok { background: rgba(228, 169, 155, 0.22); color: var(--bordeaux); }
.form__note--err { background: rgba(78, 16, 12, 0.10); color: var(--bordeaux); font-weight: 600; }

@media (min-width: 961px) { .contact { grid-template-columns: 1.1fr .9fr; } }

/* =====================================================================
   SUBPAGE-HERO / Breadcrumb / Prose
   ===================================================================== */
.pagehero { padding-top: calc(var(--nav-h) + clamp(30px, 6vw, 70px)); padding-bottom: clamp(40px, 6vw, 70px); }
.pagehero h1 { font-family: var(--serif); font-size: clamp(40px, 7vw, 88px); line-height: 1; letter-spacing: -.01em; color: var(--black); margin: 18px 0 0; }
.pagehero h1 .accent { color: var(--oxblood); }
.pagehero__intro { max-width: 620px; margin: 28px 0 0; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.7; color: var(--muted); }
.breadcrumb { font-size: 12px; letter-spacing: .06em; color: var(--muted-soft); text-transform: uppercase; }
.breadcrumb a { color: var(--muted-soft); }
.breadcrumb a:hover { color: var(--oxblood); }

.prose { max-width: 760px; }
.prose h2 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; margin: 48px 0 18px; color: var(--black); }
.prose h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 2.4vw, 26px); margin: 34px 0 12px; color: var(--black); }
.prose p { font-size: 16px; line-height: 1.8; color: var(--black); margin-bottom: 18px; }
.prose ul { margin: 0 0 20px; padding-left: 22px; }
.prose li { font-size: 16px; line-height: 1.8; margin-bottom: 8px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; word-break: break-word; }
.prose h4 { font-family: var(--sans); font-weight: 600; font-size: 17px; margin: 22px 0 8px; color: var(--black); }
.prose__source { font-size: 14px; opacity: .6; margin-top: 34px; }
.prose .placeholder-box {
  border: 1px dashed rgba(78,16,12,.35); border-radius: 12px; padding: 20px 22px; margin: 22px 0;
  background: rgba(228,169,155,.06); font-size: 14px; line-height: 1.6; color: var(--muted);
}
.prose .placeholder-box strong { color: var(--oxblood); }

/* Zwei-Spalten-Leistungsdetail (Text + Bild) */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split__media { border-radius: var(--radius-img); overflow: hidden; aspect-ratio: 4/5; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-family: var(--serif); font-size: clamp(30px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -.01em; margin: 16px 0 22px; color: var(--black); }
.split p { font-size: 16px; line-height: 1.8; color: var(--muted); margin-bottom: 16px; }
.split ul { list-style: none; margin: 22px 0 30px; padding: 0; }
.split li { position: relative; padding-left: 26px; margin-bottom: 12px; font-size: 16px; line-height: 1.6; color: var(--black); }
.split li::before { content: "→"; position: absolute; left: 0; color: var(--bordeaux); font-weight: 700; }
@media (min-width: 861px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
}

/* Leistungs-Übersicht: drei Wege verlinkt */
.ways { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 48px; }
.way {
  display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: clamp(28px, 3.5vw, 40px); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.way:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(78,16,12,.4); color: var(--black); }
.way__num { font-family: var(--serif); font-size: 30px; color: var(--bordeaux); }
.way h2, .way h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 14px 0 12px; color: var(--black); }
.way p { font-size: 15px; line-height: 1.7; color: var(--muted); margin-bottom: 18px; }
.way .textlink { pointer-events: none; }
@media (min-width: 861px) { .ways { grid-template-columns: repeat(3, 1fr); } }

/* CTA-Streifen unten auf Unterseiten */
.cta-strip { text-align: center; }
.cta-strip h2 { font-family: var(--serif); font-size: clamp(32px, 5vw, 64px); line-height: 1.02; letter-spacing: -.01em; margin: 0 0 28px; }
.cta-strip .accent { color: var(--bordeaux); }
.cta-strip p { max-width: 520px; margin: 0 auto 32px; font-size: 17px; line-height: 1.7; color: var(--muted); }

/* =====================================================================
   FOOTER
   ===================================================================== */
/* Footer ist weiß wie der Rest der Seite – nur so kann die Wortmarke im
   Logo-Bordeaux stehen (auf Schwarz wären das 1,26:1 = unsichtbar).
   Die Oberkante trennt die Fußzeile vom Inhalt. */
.footer { background: var(--white); color: var(--muted); padding: clamp(56px, 7vw, 90px) var(--pad-x) 36px; border-top: 1px solid var(--line); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; }
.footer__top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer__brand { max-width: 320px; }
.footer__logo { font-family: var(--sans); font-weight: 900; font-size: 26px; letter-spacing: -.03em; color: var(--bordeaux); }
.footer__logo .dot { color: var(--salmon); }
.footer__tag { font-size: 14px; line-height: 1.7; margin-top: 16px; color: var(--muted); }
.footer__cols { display: flex; gap: clamp(40px, 6vw, 80px); flex-wrap: wrap; }
.footer__col h4 { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--bordeaux); margin-bottom: 16px; }
.footer__col a { display: block; color: var(--black); font-size: 14px; margin-bottom: 11px; }
.footer__col a:hover { color: var(--bordeaux); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 22px; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 12.5px; color: var(--muted-soft); }
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__legal a { color: var(--muted-soft); }
.footer__legal a:hover { color: var(--bordeaux); }
/* FARU-Credit (dofollow, dezent) */
.footer__credit { margin-top: 18px; font-size: 12px; color: var(--muted-soft); }
.footer__credit a { color: var(--bordeaux); border-bottom: 1px solid rgba(78,16,12,.3); }
.footer__credit a:hover { color: var(--black); border-color: var(--black); }

/* =====================================================================
   REVEAL-ANIMATION (ruhig – nur Fade-up)
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .06s; }
.reveal[data-delay="2"] { transition-delay: .12s; }
.reveal[data-delay="3"] { transition-delay: .18s; }

/* =====================================================================
   KI-Kennzeichnung (Art. 50 EU-KI-VO) – aktuell keine KI-Bilder aktiv,
   Mechanismus liegt bereit für den Fall der Fälle.
   ===================================================================== */
[data-ai]::after {
  content: attr(data-ai); position: absolute; right: 10px; bottom: 10px; z-index: 3;
  background: rgba(17,17,17,.82); color: #FFFFFF; font-family: var(--sans);
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 6px; pointer-events: none;
}

/* =====================================================================
   WOW – Inszenierung (clean, aber mit Wirkung)
   ===================================================================== */

/* --- Page-Load-Intro (Vorhang), nur Startseite, einmal pro Session ---
   Schwarz statt Bordeaux: als bildschirmfüllende Fläche wirkte #4E100C zu hell,
   und Rot wäre damit die größte Fläche der ganzen Seite gewesen. */
.intro {
  position: fixed; inset: 0; z-index: 300;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  transform: translateY(0);
  transition: transform 1s cubic-bezier(.76,0,.24,1);
}
.intro__word {
  font-family: var(--sans); font-weight: 900; letter-spacing: -.03em;
  font-size: clamp(28px, 7vw, 64px); color: var(--white);
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.intro__word .dot { color: var(--salmon); }
.intro.is-ready .intro__word { opacity: 1; transform: none; }
.intro.is-lifted { transform: translateY(-100%); }
body.intro-active { overflow: hidden; }

/* --- Hero-Headline: Masken-Reveal (ganze Headline gleitet hoch, robust bei Umbruch) --- */
.hero__title { overflow: hidden; padding-bottom: .08em; }
.hero__title .hero__title-in { display: block; transform: translateY(105%); transition: transform 1s cubic-bezier(.2,.8,.2,1) .05s; }
body.stage-in .hero__title .hero__title-in { transform: none; }

/* Hero-Begleittext gestaffelt einblenden, sobald die Bühne frei ist */
.hero__text .eyebrow,
.hero__text .hero__intro,
.hero__text .hero__actions { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
body.stage-in .hero__text .eyebrow { transition-delay: .30s; opacity: 1; transform: none; }
body.stage-in .hero__text .hero__intro { transition-delay: .40s; opacity: 1; transform: none; }
body.stage-in .hero__text .hero__actions { transition-delay: .50s; opacity: 1; transform: none; }

/* --- Hero-Bild: steht sofort (LCP-Element, kein Reveal – Entrée liefern Vorhang + Headline) --- */

/* --- Bild-Reveal beim Scrollen (Wipe von unten + leichte Skalierung) --- */
.img-reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.05s cubic-bezier(.2,.8,.2,1); }
.img-reveal.is-in { clip-path: inset(0 0 0 0); }
.img-reveal img { transform: scale(1.06); transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.img-reveal.is-in img { transform: scale(1); }
/* Hover-Zoom der Galerie soll den Reveal-Zustand nicht stören */
.gal figure.img-reveal.is-in:hover img { transform: scale(1.05); }

/* =====================================================================
   MOBIL (≤ 760px): Text sauber mittig zur Sektion / zum Bild (Punkt 5)
   ===================================================================== */
@media (max-width: 760px) {
  .hero__text { text-align: center; align-items: center; }
  .hero__text .eyebrow { justify-content: center; }
  .hero__text .eyebrow .rule { display: none; }
  .hero__intro { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }

  .pagehero { text-align: center; }
  .pagehero .eyebrow { justify-content: center; }
  .pagehero__intro { margin-left: auto; margin-right: auto; }

  .split { text-align: center; }
  .split .eyebrow { justify-content: center; }
  .split ul { display: inline-block; text-align: left; }   /* Aufzählung bleibt lesbar */

  .about { text-align: center; }
  .about__body .eyebrow { justify-content: center; }
  .about__media { justify-self: center; max-width: 420px; width: 100%; }

  .contact__lead { text-align: center; }
  .contact__lead .eyebrow { justify-content: center; }
  .contact__lead p { margin-left: auto; margin-right: auto; }
  .contact__socials { justify-content: center; }

  .svc-head { text-align: center; }
  .svc-head .eyebrow { justify-content: center; }
  .svc-head__intro { margin-left: auto; margin-right: auto; }

  .statement { text-align: center; }
  .statement__eyebrow { justify-content: center; }
  .statement__mark { margin-left: 0; }
}

/* =====================================================================
   Reduced motion
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .intro { display: none !important; }
  .hero__title .hero__title-in { transform: none !important; }
  .hero__text .eyebrow, .hero__text .hero__intro, .hero__text .hero__actions { opacity: 1 !important; transform: none !important; }
  .hero__media img { animation: none !important; transform: none !important; opacity: 1 !important; }
  .img-reveal { clip-path: none !important; }
  .img-reveal img { transform: none !important; }
  .ticker__row { transform: none !important; animation: none !important; }
}


/* =====================================================================
   SCROLL-KAMERAFAHRT (Startseite) – eingebaut 26.07.2026
   ===================================================================== */
/* =====================================================================
   SCROLL-KAMERAFAHRT – Prototyp-Sektion für ALR Media
   Technik: Scroll steuert Zeit (wie Apple-Produktseiten). Kein Video,
   keine KI, keine externe Bibliothek. Nur opacity + transform.
   Tokens, Farben und Fonts kommen aus dem bestehenden Design-System.
   ===================================================================== */

.kf {
  position: relative;
  /* Scrollstrecke = Länge der Fahrt. Kein Leerlauf am Ende. */
  height: 330vh;
  background: var(--white);
}

/* --- Die Bühne bleibt stehen, während gescrollt wird --- */
.kf__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: clip;
  display: grid;
  place-items: center;
  background: var(--black);
}

/* --- Bildebenen --- */
.kf__layers { position: absolute; inset: 0; }
.kf__layers.has-video .kf__layer { display: none; }

.kf__layer {
  position: absolute;
  inset: 0;
  /* Der Wechsel läuft als Vorhang, nicht als Überblendung.
     Zwei sehr verschiedene Fotos übereinander geblendet sehen immer
     nach Doppelbelichtung aus – ein Vorhang wirkt gewollt.
     Die Kante ist weich (Verlaufsmaske), damit sie nicht schneidet. */
  --wp: 108%;
  -webkit-mask-image: linear-gradient(to top, #000 calc(var(--wp) - 9%), transparent calc(var(--wp) + 9%));
          mask-image: linear-gradient(to top, #000 calc(var(--wp) - 9%), transparent calc(var(--wp) + 9%));
  will-change: mask-image;
}
.kf__layer[data-layer="0"] {
  -webkit-mask-image: none;
          mask-image: none;
}
.kf__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: none; z-index: 1;
}
.kf__video.is-on { display: block; }
.kf__layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(var(--z, 1));
  transform-origin: var(--ox, 50%) var(--oy, 50%);
  will-change: transform;
}

/* Ruhiger Schleier, damit Text immer lesbar bleibt (WCAG) */
.kf__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(17,17,17,.72) 0%, rgba(17,17,17,.28) 42%, rgba(17,17,17,.12) 70%, rgba(17,17,17,.34) 100%);
  pointer-events: none;
}

/* --- Blende: das Bildfenster öffnet sich beim Eintritt --- */
.kf__aperture {
  position: absolute;
  inset: 0;
  clip-path: inset(var(--ap, 22%) var(--ap-x, 16%) round 16px);
  transition: none;
}

/* --- Text, der mitläuft --- */
.kf__text {
  position: relative;
  z-index: 2;
  width: min(1240px, 100%);
  padding: 0 var(--pad-x);
  color: #fff;
  /* Alle Zeilen liegen in derselben Rasterzelle übereinander. Der Wechsel
     läuft dann über visibility statt display – sonst springt die Höhe des
     Blocks bei jedem Zeilenwechsel und erzeugt messbares CLS. */
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
}
.kf__line { grid-area: 1 / 1; }
.kf__meta { grid-area: 2 / 1; }
.kf__line {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 6.4vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 15ch;
}
.kf__line .accent { color: var(--salmon); }

/* Wörter erscheinen einzeln – der eigentliche „Apple"-Griff */
.kf__w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.36em);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.kf__w.is-in { opacity: 1; transform: none; }

.kf__meta {
  margin-top: 26px;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.kf__meta.is-in { opacity: 1; transform: none; }

/* --- Fortschrittsanzeige: dünner Strich, kein Spielzeug --- */
.kf__progress {
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: 34px;
  height: 1px;
  background: rgba(255,255,255,.22);
  z-index: 2;
}
.kf__progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--salmon);
  transform-origin: left;
}

/* --- Schlussakkord: Aufblende ins Weiß + CTA --- */
.kf__outro {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: var(--white);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  padding: 0 var(--pad-x);
}
.kf__outro.is-live { pointer-events: auto; }
.kf__outro h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 5.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--black);
  margin: 0 0 22px;
  max-width: 16ch;
}
.kf__outro .btn { margin-top: 6px; }
.kf__outro > div { opacity: 0; will-change: opacity, transform; }

/* --- Mobil: gleiche Fahrt, kürzer und ruhiger --- */
@media (max-width: 760px) {
  .kf { height: 290vh; }
  .kf__line { max-width: 12ch; }
  .kf__progress { bottom: 26px; }
}

/* --- Wer keine Bewegung will, bekommt eine ruhige Bildstrecke --- */
@media (prefers-reduced-motion: reduce) {
  .kf { height: auto; }
  .kf__stage { position: static; height: auto; }
  .kf__layers { position: static; display: grid; gap: 10px; }
  .kf__layer { position: static; opacity: 1; }
  .kf__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: none; z-index: 1;
}
.kf__video.is-on { display: block; }
.kf__layer img { transform: none; height: auto; }
  .kf__aperture { clip-path: none; }
  .kf__scrim, .kf__progress { display: none; }
  .kf__text { position: static; padding: 40px var(--pad-x); color: var(--black); }
  .kf__w, .kf__meta { opacity: 1; transform: none; transition: none; }
  .kf__line .accent { color: var(--bordeaux); }
  .kf__outro { position: static; opacity: 1; padding: 60px var(--pad-x); }
}
