/* =========================================================
   Sylwia Ulrich Photography — main.css
   Design-Tokens, Custom-Klassen, Komponenten
   ========================================================= */

:root {
  --color-bg:        #0F1A2B;  /* tiefes Dunkelblau (Navy) */
  --color-surface:   #1A2740;  /* Karten / Sektionen, etwas heller */
  --color-steel:     #579FD4;  /* Hauptakzent: Buttons, Eyebrows, aktive States, Hover */
  --color-sepia:     #E3AE7A;  /* ausschließlich für Text-Links */
  --color-nav-active: #8ECFFF; /* aktiver Menüpunkt */
  --color-pearl:     #EAE6DF;
  --color-muted:     #B7B7B7;
  --color-border:        rgba(255, 255, 255, 0.07);
  --color-border-strong: rgba(255, 255, 255, 0.14);
  --color-overlay:   rgba(10, 12, 15, 0.75);

  /* PhotoSwipe an Navy-Palette anpassen */
  --pswp-bg: #0F1A2B;
  --pswp-icon-color: #EAE6DF;
  --pswp-icon-color-secondary: #B7B7B7;
  --pswp-icon-stroke-color: #0F1A2B;
  --pswp-icon-stroke-width: 1px;
}

/* ── Reset / Basis ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Lenis Smooth-Scroll (greift nur, wenn Lenis aktiv ist) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-pearl);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; }

::selection { background: rgba(87, 159, 212, 0.35); color: var(--color-pearl); }

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

/* ── Typografie ────────────────────────────────────────── */
.font-display {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.font-body    { font-family: 'DM Sans', sans-serif; font-weight: 400; }

.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
}

.text-hero  { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; }
.text-h1    { font-size: clamp(2rem, 4vw, 3.5rem);   line-height: 1.15; }
.text-h2    { font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.2; }
.text-h3    { font-size: 1.25rem;  line-height: 1.3; }
.text-body  { font-size: 0.9375rem; line-height: 1.7; }
.text-small { font-size: 0.8125rem; line-height: 1.6; }

/* Intro: Elemente, die beim Laden eingeblendet werden, ab dem ersten Frame
   verstecken — verhindert das Aufblitzen (sichtbar→unsichtbar→Fade). anims.js
   entfernt .js-anim → die CSS-Transition blendet ein. Ohne JS wird .js-anim
   nach 4 s (Failsafe im <head>) entfernt und alles ist sichtbar. */
.js-anim .site-nav,
.js-anim .service-hero__content,
.js-anim .about-text,
.js-anim .about-portrait,
.js-anim .contact-inner {
  opacity: 0;
}
.service-hero__content,
.about-text,
.about-portrait,
.contact-inner {
  transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Intro-Content steigt beim Einblenden sanft auf (Portrait bleibt reines Fade). */
.js-anim .service-hero__content,
.js-anim .about-text,
.js-anim .contact-inner {
  transform: translateY(22px);
}

/* Scroll-Reveal: anims.js vergibt .reveal (versteckt) und beim Sichtbarwerden
   .is-in. Sanftes Fade + Aufsteigen. Ohne JS wird .reveal nie gesetzt → sichtbar. */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1.1s ease, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ── Buttons ───────────────────────────────────────────── */
.btn-primary, .btn-secondary, .btn-ghost {
  display: inline-block;
  padding: 0.625rem 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-primary   { background: var(--color-sepia); color: var(--color-bg); border: none; }
.btn-primary:hover { background: #ECC095; }
.btn-secondary { background: transparent; color: #ffffff; border: 1px solid rgba(255,255,255,0.55); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.85); }
.btn-ghost     { background: transparent; color: var(--color-pearl); border: 1px solid var(--color-border-strong); }
.btn-ghost:hover { border-color: var(--color-pearl); }

/* ── Navigation ────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  transition: background 0.25s ease, padding 0.25s ease, opacity 1.2s ease;
}
.site-nav.scrolled,
.site-nav.opaque {
  background: rgba(15, 26, 43, 0.96);
  backdrop-filter: blur(8px);
  padding: 0.875rem 2.5rem;
  border-bottom: 1px solid var(--color-border);
}

.nav-logo {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  flex: none;
}
.nav-logo img {
  height: 55px;
  width: 200px;
  max-width: none;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--color-nav-active); }

.nav-contact {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: var(--color-steel);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-contact:hover { color: var(--color-pearl); }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-pearl);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(13, 22, 37, 0.98);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }
.nav-overlay ul {
  list-style: none;
  margin: 0; padding: 0;
  text-align: center;
}
.nav-overlay li { margin: 1.25rem 0; }
.nav-overlay a {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 300;
  font-size: 1.75rem;
  color: var(--color-pearl);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.nav-overlay a:hover { color: var(--color-sepia); }
.nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  color: #ffffff;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.nav-close:hover { opacity: 0.65; }

/* ── Custom Cursor (nur Desktop / Pointer fine) ────────── */
#cursor { display: none !important; }

/* =========================================================
   Startseite — Carousel
   ========================================================= */
.page-home { height: 100%; }

#hero-carousel {
  position: fixed;
  inset: 0;
  overflow: hidden;
}
.carousel-track { position: relative; width: 100%; height: 100%; }

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.carousel-slide.active { opacity: 1; pointer-events: auto; }

.slide-image { position: absolute; inset: 0; overflow: hidden; }
.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 7s ease forwards;
}
@keyframes kenburns {
  from { transform: scale(1.0); }
  to   { transform: scale(1.06); }
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 12, 15, 0.82) 0%,
    rgba(10, 12, 15, 0.25) 55%,
    rgba(10, 12, 15, 0.08) 100%
  );
}

.slide-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0 3.5rem 5rem;
  max-width: 900px;
}
.slide-eyebrow {
  transition: letter-spacing 0.6s ease, opacity 0.4s ease;
  margin-bottom: 1rem;
}
.slide-title {
  color: var(--color-steel);   /* blau */
  margin: 0 0 1.75rem;
  font-weight: 700;            /* fett */
}
.slide-title em {
  font-style: normal;
  font-weight: 300;            /* fein */
  color: var(--color-pearl);   /* weiß */
}
.slide-cta { display: inline-flex; align-items: center; gap: 0.5rem; }

.carousel-controls {
  position: absolute;
  bottom: 2rem; right: 3.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.carousel-bars { display: flex; gap: 6px; }
.bar-btn {
  width: 48px; height: 2px;
  background: rgba(255, 255, 255, 0.2);
  border: none; padding: 0;
  cursor: pointer; position: relative; overflow: hidden;
}
.bar-btn[aria-selected="true"] { background: rgba(227, 174, 122, 0.3); }
.bar-fill {
  display: block;
  position: absolute; inset: 0;
  background: var(--color-sepia);
  transform: scaleX(0);
  transform-origin: left;
}
/* Aktiver Balken füllt sich per CSS (compositor) über die Slide-Dauer.
   Pausiert, wenn das Carousel #is-paused trägt (Hover / Hintergrund-Tab). */
.bar-btn[aria-selected="true"] .bar-fill {
  animation: bar-progress 6s linear forwards;
}
#hero-carousel.is-paused .bar-fill { animation-play-state: paused; }
@keyframes bar-progress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.carousel-arrows { display: flex; gap: 6px; }
.arrow-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 26, 43, 0.4);
  color: var(--color-pearl);
  font-size: 1.25rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.arrow-btn:hover {
  border-color: var(--color-sepia);
  background: rgba(15, 26, 43, 0.7);
}

/* =========================================================
   Service Landing Pages
   ========================================================= */
.service-page { padding-top: 0; }

.service-hero {
  position: relative;
  height: 70svh;
  min-height: 420px;
  overflow: hidden;
}
/* Bild 150% hoch und über top:-25% vertikal zentriert (Über-/Unterstand je 25%
   gleich → kein einseitiger Versatz). Der Überstand gibt der Parallax Spielraum,
   ohne am Rand eine Lücke aufzudecken. Der Ruhezustand (yPercent 0) ist mittig. */
.service-hero__image { position: absolute; inset: 0; }
.service-hero__image img {
  position: absolute;
  top: -25%; left: 0;
  width: 100%; height: 150%;
  object-fit: cover;
}
/* Variante: Bild beginnt oben bündig (z. B. Portraits, damit Köpfe sichtbar
   bleiben). Die Parallax schiebt das Bild nach unten und langsamer als der
   Scroll — die entstehende Lücke oben liegt immer im weggescrollten Bereich. */
.service-hero--top .service-hero__image img {
  top: 0;
  object-position: center top;
}
.service-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 12, 15, 0.80) 0%,
    rgba(10, 12, 15, 0.20) 60%,
    rgba(10, 12, 15, 0.05) 100%
  );
}
.service-hero__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0 3.5rem 3.5rem;
  max-width: 820px;
}
.service-hero__content h1 {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  color: var(--color-steel);
  margin: 0.75rem 0 0;
  line-height: 1.1;
  font-weight: 700;
}
.service-hero__content h1 em { font-style: normal; font-weight: 300; color: var(--color-pearl); }
.service-hero__sub {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: rgba(234, 230, 223, 0.65);
  max-width: 520px;
}

.badge {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--color-steel);
  border-radius: 2px;
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-steel);
}

/* Intro */
.service-intro {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 4rem;
  padding: 5rem 3.5rem;
  border-bottom: 1px solid var(--color-border);
}
.service-intro__text h2 {
  font-size: 1.5rem;
  color: var(--color-pearl);
  margin: 0 0 1.25rem;
  line-height: 1.2;
}
.service-intro__text p {
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 520px;
}

/* Blocksatz mit Silbentrennung (Hyphenopoly liefert die Trennstellen,
   hyphens:auto greift als nativer Fallback) */
.service-intro__text p,
.about-text p,
.legal-page p {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.service-intro__meta { padding-top: 0.25rem; }
.service-list { list-style: none; margin: 0.75rem 0 0; padding: 0; }
.service-list li {
  font-size: 0.875rem;
  color: var(--color-muted);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--color-border);
  display: flex; align-items: center; gap: 0.6rem;
}
.service-list li::before {
  content: '';
  display: block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--color-steel);
  flex-shrink: 0;
}

/* Galerie */
.gallery-section { padding: 5rem 3.5rem; }
.gallery-grid { columns: 2; column-gap: 1rem; }
.gallery-item {
  display: block;
  break-inside: avoid;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 2px;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-item.visible { opacity: 1; }
.gallery-item img { width: 100%; height: auto; display: block; transition: transform 0.45s ease; }
.gallery-item:hover img { transform: scale(1.03); }

@media (prefers-reduced-motion: reduce) {
  .gallery-item { opacity: 1; transition: none; }
  .slide-image img { animation: none !important; }
  .bar-btn[aria-selected="true"] .bar-fill { animation: none; transform: scaleX(1); }
}

/* CTA */
.service-cta {
  padding: 6rem 3.5rem;
  text-align: center;
  border-top: 1px solid var(--color-border);
}
.service-cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  color: var(--color-pearl);
  margin: 0 0 2rem;
}

/* =========================================================
   Über mich
   ========================================================= */
.about-page { padding: 9rem 3.5rem 5rem; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.about-portrait {
  border-radius: 2px;
  overflow: hidden;
  mix-blend-mode: screen;
}
.about-portrait img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(1) brightness(0.75) contrast(1.2);
}
.about-text h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--color-steel);
  margin: 0.75rem 0 1.75rem;
  line-height: 1.1;
  font-weight: 700;
}
.about-text h1 em { font-style: normal; font-weight: 300; color: var(--color-pearl); }
.about-text p { color: var(--color-muted); line-height: 1.85; margin-bottom: 1.5rem; max-width: 560px; }
.pull-quote {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(0.9rem, 1.6vw, 1.3rem);
  line-height: 1.3;
  color: var(--color-pearl);
  border-left: 2px solid var(--color-steel);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
}
.equipment-note {
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0;
}

.about-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
}

.about-cta__lead {
  font-size: 1rem;
  color: var(--color-pearl);
  margin: 0;
  flex: none;
}

/* About — Hintergrund (Profil) -------------------------------- */
.about-bg {
  max-width: 1200px;
  margin: 8rem auto 0;
  padding-top: 6.5rem;
  border-top: 1px solid var(--color-border);
}
.bg-head { margin-bottom: 5rem; }
.bg-lead {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.2;
  color: var(--color-pearl);
  margin: 1rem 0 0;
  max-width: 40ch;
}
.bg-cite {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-steel);
  margin-top: 1.1rem;
}
.bg-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--color-border);
}
.bg-stat {
  padding: 3.25rem 3.25rem 3.25rem 0;
  border-left: 1px solid var(--color-border);
  padding-left: 3.25rem;
}
.bg-stat:first-child { border-left: none; padding-left: 0; }
.bg-stat__num {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 400;
  letter-spacing: -0.03em;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1;
  color: var(--color-steel);
  margin: 0 0 1rem;
  min-height: clamp(2.25rem, 4vw, 3.25rem);
  display: flex;
  align-items: flex-end;
}
.bg-stat__num--text { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.bg-stat__label {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-muted);
}
.bg-qual {
  margin-top: 5.5rem;
  padding-top: 4.5rem;
  border-top: 1px solid var(--color-border);
}
.bg-qual .eyebrow { margin-bottom: 2.75rem; }
.qual-lead { max-width: 62ch; margin: 0 0 4rem; }
.qual-lead__big {
  display: block;
  font-family: 'Noto Sans', sans-serif;
  letter-spacing: -0.02em;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.2;
  color: var(--color-pearl);
}
.qual-lead__sub {
  display: block;
  margin-top: 0.85rem;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.55;
  color: var(--color-muted);
}
.qual-lead__sub strong { color: var(--color-steel); font-weight: 600; }
.qual-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--color-border);
}
.qual-item {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 2.75rem 2.75rem 0 2.75rem;
  border-left: 1px solid var(--color-border);
}
.qual-item:first-child { border-left: none; padding-left: 0; }
.qual-item strong {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  color: var(--color-pearl);
  line-height: 1.1;
}
.qual-orig { font-size: 0.9375rem; color: var(--color-pearl); line-height: 1.45; }
.qual-de { color: var(--color-muted); }
.qual-note { font-size: 0.8125rem; color: var(--color-muted); letter-spacing: 0.02em; line-height: 1.55; }
.qual-inst { font-size: 0.8125rem; color: var(--color-steel); line-height: 1.5; margin-top: auto; padding-top: 0.5rem; }

.bg-skills {
  margin-top: 5.5rem;
  padding-top: 4.5rem;
  border-top: 1px solid var(--color-border);
}
.bg-skills .eyebrow { margin-bottom: 2.75rem; }
.skill-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem 2.5rem;
}
.skill-grid li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-pearl);
}
.skill-grid li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-steel);
}
.bg-tech {
  margin: 5.5rem 0 0;
  padding-top: 4.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--color-muted);
}

/* =========================================================
   Legal-Seiten (Impressum / Datenschutz)
   ========================================================= */
.legal-page { padding: 9rem 3.5rem 5rem; max-width: 760px; margin: 0 auto; }
.legal-page h1 {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-pearl);
  margin: 0 0 2rem;
  letter-spacing: -0.03em;
}
.legal-page h2 {
  font-size: 1.15rem;
  color: var(--color-pearl);
  margin: 2.5rem 0 0.75rem;
}
.legal-page p, .legal-page address {
  color: var(--color-muted);
  line-height: 1.8;
  font-size: 0.9375rem;
  font-style: normal;
  margin: 0 0 1rem;
}
.legal-page h3 { font-size: 0.9375rem; color: var(--color-pearl); font-weight: 600; margin: 2rem 0 0.5rem; }
.legal-page ul { color: var(--color-muted); line-height: 1.8; font-size: 0.9375rem; padding-left: 1.5rem; margin: 0 0 1rem; }
.legal-page ul li { margin-bottom: 0.5rem; }
.legal-page a { color: var(--color-sepia); text-decoration: none; }
.legal-page a:hover { color: var(--color-pearl); }
.legal-stand { margin-top: 3rem; font-size: 0.8125rem; color: rgba(183,183,183,0.5); }

/* =========================================================
   Kontaktseite
   ========================================================= */
.contact-page { padding: 11rem 3.5rem 6rem; min-height: 70vh; }
.contact-inner { max-width: 880px; margin: 0 auto; }
.contact-page h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--color-pearl);
  margin: 0.75rem 0 1.5rem;
  line-height: 1.1;
}
.contact-lead {
  color: var(--color-muted);
  line-height: 1.85;
  font-size: 1.0625rem;
  max-width: 620px;
  margin: 0 0 3.5rem;
}
.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  padding: 2rem 2rem 2.25rem;
  transition: border-color 0.25s ease;
}
.contact-card:hover { border-color: var(--color-border-strong); }
.contact-card .eyebrow { margin-bottom: 0.85rem; }
.contact-big {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  color: var(--color-sepia);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
  word-break: break-word;
}
.contact-big:hover { color: var(--color-pearl); }
.contact-social { display: flex; gap: 1.75rem; }
.contact-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--color-sepia);
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-social a svg { flex-shrink: 0; }
.contact-social a:hover { color: var(--color-pearl); }

@media (max-width: 640px) {
  .contact-page { padding: 7rem 1.25rem 3rem; }
  .contact-methods { grid-template-columns: 1fr; }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  position: relative;
  z-index: 2;
  background: #101829;
  border-top: 1px solid var(--color-border);
  padding: 4rem 3.5rem 2rem;
}
/* Desktop: 4-Spalten-Raster wie der Content darüber (VITA) — Logo in Spalte 1,
   Bereiche/Über/Folgen in Spalte 2/3/4. So fluchtet der Footer mit dem Grid. */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto 3rem;
}
.footer-logo {
  margin: 0 0 1.25rem;
}
.footer-logo img {
  height: 50px;
  width: auto;
  display: block;
}
.footer-col address { font-style: normal; }
.footer-col address a {
  display: block;
  color: var(--color-sepia);
  text-decoration: none;
  margin-bottom: 0.4rem;
  transition: color 0.2s ease;
}
.footer-col address a:hover { color: var(--color-pearl); }
.footer-social { display: flex; gap: 1.25rem; margin-top: 0.25rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--color-steel);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-social a svg { flex-shrink: 0; width: 28px; height: 28px; }
.footer-social a:hover { color: var(--color-pearl); }
.footer-heading {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-steel);
  margin: 0 0 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul a {
  font-size: 0.875rem;
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-col ul a:hover { color: var(--color-sepia); }

.footer-mobile-cta {
  display: none;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: center;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--color-border-strong);
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8125rem;
  color: var(--color-pearl);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-cta-btn:hover { border-color: var(--color-sepia); color: var(--color-sepia); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-bottom p { margin: 0; font-size: 0.75rem; color: var(--color-muted); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a {
  font-size: 0.75rem;
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-legal a:hover { color: var(--color-sepia); }

/* =========================================================
   PhotoSwipe — Feinschliff
   ========================================================= */
.pswp__button--arrow { opacity: 0.6; transition: opacity 0.2s ease; }
.pswp__button--arrow:hover { opacity: 1; }
.pswp__counter {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--color-steel);
  opacity: 1;
}
.pswp__caption-flush {
  position: absolute;
  z-index: 10;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8125rem;
  color: var(--color-pearl);
  text-align: left;
  letter-spacing: 0.03em;
  padding-top: 0.7rem;
  pointer-events: none;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .nav-links, .nav-contact { display: none; }
  .nav-burger { display: flex; }
  /* Tablet: 4 Spalten würden das Logo quetschen → eine Reihe mit Flex,
     Logo links, die drei Blöcke rechts gruppiert. */
  .footer-grid { display: flex; flex-wrap: wrap; gap: 2.5rem 3rem; }
  .footer-col--brand { margin-right: auto; }
}

@media (max-width: 640px) {
  .site-nav { padding: 1rem 1.25rem; }
  .site-nav.scrolled, .site-nav.opaque { padding: 0.75rem 1.25rem; }

  .slide-content { padding: 0 1.25rem 4.5rem; }
  .carousel-controls { right: 1.25rem; bottom: 1.5rem; gap: 1rem; }
  .bar-btn { width: 32px; }

  .gallery-grid { columns: 1; }
  .gallery-section { padding: 3rem 1.25rem; }
  .service-intro { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 1.25rem; }
  .service-intro__text h2 { font-size: 1.15rem; }
  .service-hero__content { padding: 0 1.25rem 2.5rem; }
  .service-cta { padding: 4rem 1.25rem; }

  .about-page { padding: 7rem 1.25rem 3rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-bg { margin-top: 4rem; padding-top: 3rem; }
  .bg-head { margin-bottom: 2.5rem; }
  .bg-stats { grid-template-columns: 1fr; }
  .bg-stat {
    padding: 2rem 0;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--color-border);
  }
  .bg-stat:first-child { border-top: none; padding-top: 0; }
  .bg-stat__num { margin-bottom: 0.6rem; }
  .skill-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem 1.25rem; }
  .qual-list { grid-template-columns: 1fr; }
  .qual-item {
    padding: 1.5rem 0 0;
    border-left: none;
    border-top: 1px solid var(--color-border);
  }
  .qual-item:first-child { border-top: none; padding-top: 0; }
  .qual-inst { margin-top: 0; }

  .legal-page { padding: 7rem 1.25rem 3rem; }

  .site-footer { padding: 3rem 1.25rem 2rem; }
  .footer-grid { gap: 1.5rem 2rem; }
  /* Reihenfolge auf Mobile: Logo + Kontakt-Buttons, dann Social-Icons, Trennlinie,
     dann Bereiche + Über nebeneinander. */
  .footer-col--brand {
    order: 1;
    flex: 0 0 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-col--brand .footer-logo { order: 1; }
  .footer-col--brand .footer-mobile-cta { order: 2; }
  .footer-col--social {
    order: 2;
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
  }
  .footer-col--social .footer-heading { display: none; }
  .footer-col--social .footer-social { justify-content: center; margin-top: 0; }
  .footer-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
    max-width: 181px; /* wie das Logo */
  }
  .footer-mobile-cta .footer-cta-btn { justify-content: center; }
  .footer-grid .footer-col:not(.footer-col--brand):not(.footer-col--social) {
    order: 3;
    flex: 1 1 0;
    padding-top: 0;
  }
}
