/* =========================================================
   Stephen Scholz — Medienproduktion
   Gestaltung nach der E-Mail-Signatur: strikt schwarz-weiss,
   Haarlinien-Rahmen, fetter Namenszug mit weiter Laufweite.
   Bewusst keine Akzentfarbe — der Kontrast traegt allein.

   Keine externen Abhaengigkeiten, kein Build-Schritt.
   Schriften systemseitig: eingebettete Google Fonts waeren
   in Deutschland datenschutzrechtlich heikel.
   ========================================================= */

/* ---------- Tokens ---------- */

:root {
  --ink:    #000000;
  --paper:  #ffffff;
  --muted:  #6e6e6e;   /* 4.8:1 auf Weiss */
  --tint:   #f4f4f4;
  --line:   #000000;
  --hair:   1px;

  --sans: ui-sans-serif, system-ui, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* Harter Schlagschatten, Weichzeichnung exakt null.
     Das ist das praegende Merkmal der Marke — nie einen Blur-Wert setzen. */
  --shadow-lg: 10px 10px 0 var(--ink);
  --shadow-md: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --pace: 560ms;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink:   #ffffff;
    --paper: #000000;
    --muted: #9d9d9d;   /* 6.4:1 auf Schwarz */
    --tint:  #0e0e0e;
    --line:  #ffffff;
  }
}

/* ---------- Reset ---------- */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
h3 { font-size: 1.1rem; letter-spacing: -.005em; }

p { margin: 0 0 1.05em; }
a { color: inherit; }

::selection { background: var(--ink); color: var(--paper); }

/* ---------- Bausteine ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: .8rem 1.2rem;
}
.skip:focus { left: 0; }

/* Vollstaendig entfernt — auch fuer Screenreader. Genutzt fuer den
   Honigtopf im Kontaktformular, den nur Bots ausfuellen sollen. */
.hidden { display: none; }

.eyebrow {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 54ch;
}

.section { padding-block: clamp(4rem, 10vw, 7.5rem); }

.section-head { margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head h2 { max-width: 17ch; }
.section-head.center {
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
}
.section-head.center h2,
.section-head.center .lede { max-width: none; margin-inline: auto; }

.section-tint { background: var(--tint); }

/* Invertierter Abschnitt: saemtliche Tokens tauschen, alles Weitere
   erbt daraus automatisch — Buttons, Rahmen und Platzhalter inklusive. */
.section-invert {
  --ink:   #ffffff;
  --paper: #000000;
  --line:  #ffffff;
  --tint:  #0e0e0e;
  --muted: #9d9d9d;
  background: var(--paper);
  color: var(--ink);
}
@media (prefers-color-scheme: dark) {
  .section-invert {
    --ink:   #000000;
    --paper: #ffffff;
    --line:  #000000;
    --tint:  #f4f4f4;
    --muted: #6e6e6e;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2rem;
  border: var(--hair) solid var(--line);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background var(--pace), color var(--pace),
              box-shadow 120ms ease, transform 120ms ease;
}
.btn:hover { background: var(--paper); color: var(--ink); }

/* Beim Klick wandert der Knopf auf den Schatten — er wird flach gedrueckt. */
.btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-invert {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.btn-invert:hover { background: transparent; color: var(--paper); }

.btn-block { display: flex; width: 100%; margin-top: auto; }

:where(a, button, input, textarea):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: var(--hair) solid transparent;
  transition: border-color var(--pace);
}
.header.is-stuck { border-bottom-color: var(--line); }

.header-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Namenszug nach dem Vorbild der Signatur: fett, weit gesperrt. */
.wordmark {
  display: grid;
  gap: .1rem;
  text-decoration: none;
  line-height: 1.1;
}
.wordmark-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .09em;
}
.wordmark-sub {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: 1.9rem; }

.nav a {
  text-decoration: none;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--pace);
}
.nav a:hover { color: var(--ink); }

.nav-cta {
  color: var(--ink) !important;
  border: var(--hair) solid var(--line);
  padding: .6rem 1.2rem;
  box-shadow: 3px 3px 0 var(--ink);
  transition: background var(--pace), color var(--pace),
              box-shadow 120ms ease, transform 120ms ease;
}
.nav-cta:hover { background: var(--ink); color: var(--paper) !important; }
.nav-cta:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: var(--hair) solid var(--line);
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform var(--pace), opacity var(--pace);
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

/* Der gerahmte Kasten zitiert die Signatur — Rahmen plus harter Schatten. */
.hero-box {
  border: var(--hair) solid var(--line);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
}

.hero-text {
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-text h1 { margin-bottom: .45em; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.hero-media {
  border-left: var(--hair) solid var(--line);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  display: grid;
  align-items: stretch;
}

/* ---------- Platzhalter-Bildflaechen ---------- */

.ph {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border: var(--hair) solid var(--line);
  background: var(--tint);
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* Diagonalkreuz — die uebliche Markierung fuer eine Leerflaeche. */
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top right,
      transparent calc(50% - .5px), currentColor calc(50% - .5px),
      currentColor calc(50% + .5px), transparent calc(50% + .5px)),
    linear-gradient(to bottom right,
      transparent calc(50% - .5px), currentColor calc(50% - .5px),
      currentColor calc(50% + .5px), transparent calc(50% + .5px));
  opacity: .12;
}
.ph span {
  position: relative;
  z-index: 1;
  background: var(--paper);
  padding: .5rem .9rem;
  border: var(--hair) solid var(--line);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ph-tall { aspect-ratio: 3 / 4; height: 100%; }
.ph-wide { aspect-ratio: 16 / 10; }

/* ---------- Zahlenband ---------- */

.band { border-block: var(--hair) solid var(--line); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1rem, 2vw, 1.75rem);
  display: grid;
  gap: .25rem;
}
.stat + .stat { border-left: var(--hair) solid var(--line); }

.stat-value {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.1;
}
.stat-label {
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--muted);
}

/* ---------- Leistungen ---------- */

/* Raster aus Haarlinien: schwarzer Untergrund, weisse Zellen. */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: var(--hair);
  background: var(--line);
  border: var(--hair) solid var(--line);
  box-shadow: var(--shadow-lg);
}

.service {
  background: var(--paper);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: background var(--pace), color var(--pace);
}
.service:hover { background: var(--ink); color: var(--paper); }
.service:hover p { color: inherit; opacity: .72; }

.service-num {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  margin-bottom: 1.75rem;
}

.service p {
  color: var(--muted);
  font-size: .93rem;
  margin-bottom: 0;
  transition: color var(--pace);
}

/* ---------- Galerie ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(.75rem, 1.5vw, 1.15rem);
}
.gallery .ph { grid-column: span 2; box-shadow: var(--shadow-md); }
.gallery .ph-wide { grid-column: span 3; }

/* ---------- Ablauf ---------- */

.ablauf-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.sticky-head { margin-bottom: 0; }
@media (min-width: 861px) {
  .sticky-head { position: sticky; top: 9rem; }
}

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }

.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.9rem 0 1.9rem 4rem;
  border-top: var(--hair) solid var(--line);
}
.steps li:last-child { border-bottom: var(--hair) solid var(--line); }

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.9rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--muted); margin-bottom: 0; font-size: .93rem; }

/* ---------- Preise ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: clamp(.9rem, 1.8vw, 1.4rem);
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--paper);
  border: var(--hair) solid var(--line);
  box-shadow: var(--shadow-md);
  padding: clamp(1.75rem, 3vw, 2.4rem);
}

/* Das hervorgehobene Paket wird invertiert statt eingefaerbt.
   Schwarze Karte auf schwarzem Schatten wuerde verschmelzen, deshalb
   liegt ein heller Ring dazwischen — erst dann liest sich die Staffelung. */
.plan-featured {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 0 0 4px var(--paper), 10px 10px 0 var(--ink);
}
.plan-featured .plan-for,
.plan-featured ul { color: currentColor; opacity: .72; }
.plan-featured li { border-color: currentColor; }

.plan-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--paper);
  color: var(--ink);
  border-left: var(--hair) solid var(--line);
  border-bottom: var(--hair) solid var(--line);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .45rem .8rem;
}

.plan h3 { margin-bottom: .6rem; }

.plan-price {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: .2rem;
}
.plan-for {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.plan ul {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  font-size: .9rem;
  color: var(--muted);
}
.plan li {
  padding: .6rem 0;
  border-top: var(--hair) solid var(--line);
  opacity: 1;
}

/* ---------- Kontakt ---------- */

.kontakt-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.kontakt-meta {
  margin: 2.5rem 0 0;
  display: grid;
  gap: 0;
  border-top: var(--hair) solid var(--line);
}
.kontakt-meta > div {
  padding: 1rem 0;
  border-bottom: var(--hair) solid var(--line);
}
.kontakt-meta dt {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .25rem;
}
.kontakt-meta dd { margin: 0; font-size: .98rem; }
.kontakt-meta a { text-underline-offset: 3px; }

/* E-Mail und Telefon sind gleichwertig zum Formular — entsprechend
   groesser gesetzt, damit sie nicht wie eine Fussnote wirken. */
.kontakt-meta .direkt dd {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -.01em;
}

.form { display: grid; gap: 1rem; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field { display: grid; gap: .4rem; margin: 0; }

.field label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  font: inherit;
  font-size: .96rem;
  width: 100%;
  padding: .85rem 1rem;
  color: var(--ink);
  background: var(--paper);
  border: var(--hair) solid var(--line);
  border-radius: 0;
}
.field textarea { resize: vertical; min-height: 8rem; }

.form .btn { justify-self: start; }

.form-note {
  font-size: .82rem;
  color: var(--muted);
  margin: 0;
  padding-left: 1rem;
  border-left: 2px solid var(--line);
}

/* ---------- Footer / Signatur ---------- */

.footer { padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }

/* Nachbau des gerahmten Signaturblocks aus der E-Mail. */
.sig {
  border: var(--hair) solid var(--line);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem);
}

.sig-name {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.05;
  margin: 0 0 .35rem;
}
.sig-role {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin: 0 0 .15rem;
}
.sig-title {
  font-size: .7rem;
  letter-spacing: .05em;
  color: var(--muted);
  margin: 0;
}

.sig-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}
.sig-social a {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  font-size: .88rem;
  transition: opacity var(--pace);
}
.sig-social a:hover { opacity: .6; }

.ic {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ic .ic-fill { fill: currentColor; stroke: none; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 2rem;
  margin-top: 1.5rem;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a,
.footer-copy {
  font-size: .75rem;
  letter-spacing: .06em;
  color: var(--muted);
  text-decoration: none;
  margin: 0;
}
.footer-nav a:hover { color: var(--ink); }

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */

.legal { padding-block: clamp(3rem, 7vw, 5rem) clamp(4rem, 9vw, 7rem); }

.legal-head {
  border: var(--hair) solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.legal-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: .3em; }
.legal-head p { margin: 0; color: var(--muted); }

.prose { max-width: 68ch; }

.prose h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: var(--hair) solid var(--line);
}
.prose h2:first-of-type { margin-top: 0; }

.prose h3 {
  font-size: 1rem;
  margin-top: 2rem;
  margin-bottom: .4em;
}

.prose p,
.prose li { color: var(--muted); font-size: .96rem; }
.prose strong { color: var(--ink); font-weight: 700; }

.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.05em; }
.prose li { margin-bottom: .4em; }

.prose address {
  font-style: normal;
  color: var(--ink);
  line-height: 1.9;
}

.prose a { text-underline-offset: 3px; }

/* Auffaellige Markierung fuer alles, was noch eingetragen werden muss.
   Bewusst schreiend — das soll niemandem durchrutschen. */
.todo {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .15rem .55rem;
  box-shadow: 3px 3px 0 var(--ink);
  margin: .15rem .2rem;
}

.hinweis {
  border: 2px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}
.hinweis p { margin-bottom: 0; color: var(--ink); font-size: .92rem; }
.hinweis p + p { margin-top: .7em; }
.hinweis strong { display: block; margin-bottom: .3em; }

/* ---------- Reveal-Animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--pace) ease, transform var(--pace) cubic-bezier(.22,.61,.36,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Ohne JS darf nichts unsichtbar bleiben. */
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Responsiv ---------- */

@media (max-width: 980px) {
  .hero-box { grid-template-columns: 1fr; }
  .hero-media {
    border-left: 0;
    border-top: var(--hair) solid var(--line);
  }
  .ph-tall { aspect-ratio: 16 / 10; height: auto; }
}

@media (max-width: 860px) {
  .ablauf-grid,
  .kontakt-grid { grid-template-columns: 1fr; }

  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .ph,
  .gallery .ph-wide { grid-column: span 1; aspect-ratio: 4 / 3; }

  .sig { grid-template-columns: 1fr; }
  .sig-social {
    border-top: var(--hair) solid var(--line);
    padding-top: 1.25rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 var(--gutter) 1.25rem;
    background: var(--paper);
    border-bottom: var(--hair) solid var(--line);
  }
  .nav.is-open { display: flex; }

  .nav a {
    padding: 1rem 0;
    font-size: .85rem;
    border-bottom: var(--hair) solid var(--line);
  }
  .nav-cta {
    border: var(--hair) solid var(--line);
    text-align: center;
    justify-content: center;
    margin-top: 1rem;
    padding: .9rem 1.2rem;
  }

  .stats { grid-template-columns: 1fr; }
  .stat + .stat {
    border-left: 0;
    border-top: var(--hair) solid var(--line);
  }

  .field-row { grid-template-columns: 1fr; }
  .steps li { padding-left: 3rem; }
}

@media (max-width: 720px) {
  /* Schattenversatz verkleinern, damit nichts in den Seitenrand laeuft. */
  :root {
    --shadow-lg: 6px 6px 0 var(--ink);
    --shadow-md: 5px 5px 0 var(--ink);
    --shadow-sm: 3px 3px 0 var(--ink);
  }
  .plan-featured { box-shadow: 0 0 0 3px var(--paper), 6px 6px 0 var(--ink); }
  .btn:active { transform: translate(3px, 3px); }
}

@media (max-width: 460px) {
  .gallery { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
