/* Seitenspezifisches CSS für index.html, am 07.10.2026 aus dem Inline-<style>-Block ausgelagert (unverändert). */
/* ============================================================
   WEBDESIGN HERO — vollflächige Animationsbühne
   H1 und Lead bleiben echte HTML-Inhalte, die Animation verschmilzt
   über weiche Verläufe mit dem Hintergrund.
   ============================================================ */
.wd-hero {
  --wd-bg: #fcf7f4;        /* exakt der Cream-Ton der Zeichnung */
  --wd-ink: #2b2925;
  --wd-ink-soft: #5b554f;
  --wd-accent: #6f8a18;    /* dunkler Textakzent mit sicherem Kontrast */
  --wd-action: #aacd2b;    /* helles Grün für Flächen und Aktionen */
  --wd-kicker: #8a6d5a;
  --wd-pad-top: clamp(2.6rem, 4.6vw, 4.3rem);
  --wd-pad-x: clamp(1.2rem, 4vw, 3.6rem);
  --wd-pad-bottom: clamp(3rem, 5vw, 5rem);
  /* Breite der Textspalte. Eine Quelle für die Spalte selbst und für den
     Verlauf, der die Zeichnung unter ihr abdeckt. */
  --wd-text-col: min(49vw, 640px);
  /* Rechte Kante der Textspalte, gemessen ab der Kante der Bildbühne –
     die ragt links um --wd-pad-x über den Textbereich hinaus. */
  --wd-text-edge: calc(2 * var(--wd-pad-x) + var(--wd-text-col));
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 80px);
  display: grid;
  align-items: start;
  background:
    radial-gradient(circle at 82% 34%, rgba(170, 205, 43, 0.08), transparent 34%),
    linear-gradient(135deg, #fdfbf8 0%, #faf6f1 56%, #f4f1eb 100%);
  overflow: hidden;
}

.wd-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, #fdfbf8 86%);
  z-index: 3;
  pointer-events: none;
}

.wd-hero-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: var(--wd-pad-top) var(--wd-pad-x) var(--wd-pad-bottom);
  position: relative;
  z-index: 4;
}

.wd-stage {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--wd-pad-top) - var(--wd-pad-bottom));
}

.wd-video-stage {
  position: absolute;
  inset: calc(88px - var(--wd-pad-top)) calc(-1 * var(--wd-pad-x)) calc(-1 * var(--wd-pad-bottom));
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.wd-video-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 35%;
  opacity: 0.7;
  filter: saturate(0.9) contrast(1.01);
  transform: scale(1.01);
  transform-origin: center center;
}

/* Der abdeckende Verlauf ist in denselben absoluten Längen definiert wie
   die Textspalte darüber (--wd-text-col), nicht in Prozent der Bühne.
   Mit Prozentstopps lief beides auseinander: Bei rund 820px endete der
   Text erst dort, wo der Verlauf nur noch gut die Hälfte deckte – dann
   schlug die Zeichnung durch die Schrift. */
.wd-video-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg,
      rgba(253,251,248,0.97) 0,
      rgba(253,251,248,0.93) var(--wd-text-edge),
      rgba(253,251,248,0.34) calc(var(--wd-text-edge) + 12vw),
      rgba(253,251,248,0.12) 100%),
    linear-gradient(180deg, rgba(253,251,248,0.74) 0%, rgba(253,251,248,0.10) 36%, rgba(253,251,248,0.82) 100%);
  pointer-events: none;
}

.wd-video-stage::after {
  content: "";
  position: absolute;
  right: 6%;
  top: 12%;
  z-index: 1;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(170, 205, 43, 0.28), transparent 66%);
  opacity: 0.34;
  filter: blur(12px);
  pointer-events: none;
}

/* Textspalte: Kicker + Überschrift + Lead als eine harmonische Gruppe,
   vertikal zentriert, links, in begrenzter Breite (kollidiert nicht mit der Hand). */
.wd-content {
  position: relative;
  z-index: 3;
  width: var(--wd-text-col);
  max-width: 640px;
  padding-top: clamp(0.35rem, 2.1vw, 1.55rem);
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 1.8vw, 1.35rem);
}

.wd-kicker {
  color: var(--wd-kicker);
  font-size: clamp(0.68rem, 0.9vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wd-headline {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.04em;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.62rem, 5.15vw, 5.7rem);
  /* In em, damit die Zeilenbreite mit der Schriftgröße mitwächst. Zuvor
     war die Textspalte bei 640px gedeckelt, die Schrift wuchs aber bis
     1770px weiter – ab ca. 1800px brach die zweite Zeile deshalb um. */
  max-width: 8.4em;
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--wd-ink);
}

.wd-line { display: block; }

.wd-word {
  display: inline-block;       /* ohne JS sofort sichtbar; JS splittet in Buchstaben */
  white-space: nowrap;         /* hält das Wort zusammen: die Buchstaben-Spans der
                                  Animation sind inline-block und wären sonst jeweils
                                  eine erlaubte Umbruchstelle mitten im Wort */
}
.wd-hero.wd-anim-pending .wd-word {
  opacity: 0;
}
.wd-word.accent {
  color: var(--wd-accent);
  font-style: italic;
  font-weight: 500;
  text-shadow: 0 0 18px rgba(170, 205, 43, 0.18);
}
/* Einzelne Buchstaben: rein über die Deckkraft sanft einblenden – keine
   Bewegung, keine Unschärfe, damit es flüssig statt abgehackt wirkt */
.wd-char {
  display: inline-block;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  will-change: opacity;
}
.wd-char.is-visible {
  opacity: 1;
}

.wd-lead {
  margin: 0;
  max-width: 36rem;
  color: var(--wd-ink-soft);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.68;
}

.wd-trust-list {
  display: grid;
  gap: 0.55rem;
  max-width: 36rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--wd-ink-soft);
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  line-height: 1.45;
}

.wd-trust-list li {
  display: grid;
  grid-template-columns: 0.55rem 1fr;
  gap: 0.6rem;
  align-items: baseline;
}

.wd-trust-list li::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--wd-accent);
  box-shadow: 0 0 0 3px rgba(111, 138, 24, 0.1);
}

.wd-trust-list strong {
  color: var(--wd-ink);
  font-weight: 700;
}

.wd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 0.25rem;
}


.wd-particles {
  display: none;
}
.wd-leaf {
  fill: #94a653;            /* gedämpftes Salbeigrün (JS animiert den Farbverlauf) */
  opacity: 0;
  will-change: transform, opacity;
}
.wd-leaf.accent {
  fill: var(--wd-accent);   /* Limettengrün für die betonten Wörter */
}
.wd-dot {
  fill: var(--wd-accent);
  opacity: 0;
  will-change: transform, opacity;
}

/* Unterhalb von 900px kippt der Hero vom Zweispalter (Text links neben der
   Zeichnung) auf eine Ebene: Text über die volle Breite, Bild als
   zurückgenommener Hintergrund. Derselbe Breakpoint, an dem auch die
   Navigation ins Burger-Menü klappt – vorher lagen beide 140px auseinander,
   wodurch zwischen 761 und 900px eine Mobil-Navigation über einem
   Desktop-Layout stand und unter dem Hero-Text bis zu 430px leer blieben. */
@media (max-width: 900px) {
  .wd-hero {
    --wd-pad-top: 2.8rem;
    min-height: auto;
  }
  .wd-stage { min-height: 0; }
  .wd-video-stage { top: calc(80px - var(--wd-pad-top)); }
  .wd-video-stage video {
    object-position: 69% 35%;
    opacity: 0.4;
  }
  /* Kräftigerer Schleier: Der Text liegt hier über dem Bild statt daneben,
     und die Animation enthält auch dunkle Frames. Die Deckung muss deshalb
     auf der gesamten Textfläche tragen, nicht nur am linken Rand. */
  .wd-video-stage::before {
    background:
      linear-gradient(180deg, rgba(253,251,248,0.95) 0%, rgba(253,251,248,0.8) 46%, rgba(253,251,248,0.9) 100%),
      linear-gradient(90deg, rgba(253,251,248,0.9) 0%, rgba(253,251,248,0.66) 62%, rgba(253,251,248,0.3) 100%);
  }
  .wd-content {
    width: 100%;
    max-width: 100%;
    gap: 0.9rem;
    padding-top: clamp(1.7rem, 7vh, 3.2rem);
  }
  .wd-headline { max-width: none; }
}

@media (max-width: 760px) {
  .wd-headline {
    font-size: clamp(2.15rem, 10vw, 2.95rem);
    line-height: 1.04;
  }
  .wd-char { transition-duration: 0.35s; }
  .wd-lead { max-width: none; }
  .wd-hero-actions .btn { width: 100%; justify-content: center; }
}

/* Reduced Motion: Buchstaben sofort scharf, keine Bewegung */
@media (prefers-reduced-motion: reduce) {
  .wd-video-stage video { display: none; }
  .wd-char { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* CTA-Buttons NUR auf dieser Seite im Grün des H1-Akzents statt Orange.
   Gefüllter Button mit dunklem Text – auf Limettengrün gut lesbar. */
.btn-primary {
  background: #aacd2b !important;
  color: #2b2925 !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .4) inset,
    0 4px 10px rgba(100, 120, 24, .13) !important;
}
.btn-primary::before { display: none !important; }
.btn-primary:hover {
  background: #9fbe26 !important;
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .35) inset,
    0 6px 14px rgba(100, 120, 24, .17) !important;
}
.btn-outline,
.btn-secondary,
.nav-cta {
  background: rgba(255,255,255,.72) !important;
  border: 1px solid rgba(47,42,37,.22) !important;
  box-shadow: none !important;
}
.btn-outline:hover,
.btn-secondary:hover,
.nav-cta:hover {
  background: #fff !important;
  transform: translateY(-1px);
  border-color: rgba(170,205,43,.75) !important;
  box-shadow: 0 6px 16px rgba(44,44,44,.08) !important;
}
/* Aktiver Menüpunkt „Webdesign" mit grünem Strich statt Orange */
.nav-links a.active::after { background: #aacd2b; }

/* Startseite: Der Hero bekommt mehr Raum unter der globalen, zentrierten
   Navigation. --wd-pad-top ist die einzige Stellschraube dafür; die Bühne
   leitet ihre Position oben daraus ab, damit beide nicht auseinanderlaufen.
   100svh statt 100vh, sonst springt die Höhe auf Mobilgeräten, sobald die
   Adressleiste ein- oder ausfährt. */
body.home-nav-overlay .wd-hero {
  --wd-pad-top: clamp(8rem, 10vw, 9rem);
  min-height: 100svh;
}

/* Ab hier ist die Navigation einzeilig (80px) statt zweizeilig. */
@media (max-width: 900px) {
  body.home-nav-overlay .wd-hero {
    --wd-pad-top: 6rem;
    min-height: auto;
  }
}

@media (max-width: 760px) {
  body.home-nav-overlay .wd-hero { --wd-pad-top: 5rem; }
}

/* ============================================================
   EDITORIAL-LAYER unter dem Hero — rahmenlos & typografisch.
   Keine Karten, keine Balken: Hierarchie über Weißraum,
   Haarlinien und Schrift. (Der Hero darüber bleibt unverändert.)
   ============================================================ */

/* Dezentes Einblenden beim Scrollen */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s cubic-bezier(.22, .61, .36, 1),
              transform 0.8s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* Gemeinsame Bausteine */
.wd-eyebrow {
  margin: 0 0 1.1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.wd-eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.7rem;
  height: 1px;
  margin-right: 0.7rem;
  vertical-align: middle;
  background: #aacd2b;
}
.wd-display,
.wd-section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #2b2925;
}
.wd-display {
  margin: 0 auto;
  max-width: 24ch;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.08;
}
.wd-display em { font-style: italic; color: #6f8a18; }
.wd-section-title {
  margin: 0 0 clamp(1.4rem, 2.6vw, 2rem);
  max-width: 26ch;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  line-height: 1.13;
}

/* 1 · Einleitung / Haltung */
.wd-start-intro {
  padding: clamp(3.8rem, 7vw, 6rem) 0;
  background: #fdfbf8;
}
.wd-intro-editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1.18fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.wd-intro-copy { min-width: 0; }
.wd-manifesto {
  max-width: 1000px;
  margin: 0 auto clamp(2.4rem, 4.5vw, 3.4rem);
  text-align: center;
}
.wd-intro-editorial .wd-manifesto {
  max-width: 620px;
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
  text-align: left;
}
.wd-intro-editorial .wd-display {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.25rem, 4.1vw, 3.75rem);
}
.wd-prose { max-width: 1000px; margin: 0 auto; }
.wd-intro-editorial .wd-prose {
  max-width: 620px;
  margin: 0;
}
.wd-prose-lead {
  margin: 0 auto clamp(1.8rem, 3.2vw, 2.4rem);
  max-width: 60ch;
  color: #403c37;
  font-size: clamp(1.08rem, 1.4vw, 1.28rem);
  line-height: 1.7;
  text-align: center;
}
.wd-intro-editorial .wd-prose-lead {
  max-width: 48ch;
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  text-align: left;
}
.wd-credo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1.6rem;
  margin: clamp(2.2rem, 3.8vw, 3rem) auto 0;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: #6f675f;
}
.wd-intro-editorial .wd-credo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: start;
  gap: 0.7rem 1.2rem;
  margin-top: clamp(1.5rem, 3vw, 2rem);
}
.wd-credo span { position: relative; padding-left: 1.1rem; }
.wd-credo span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: #aacd2b;
  transform: rotate(45deg);
}

/* 2b · Service-Teaser (Hub) — rahmenlose Karten mit grünem Link */
.wd-paths { padding: clamp(3rem, 5.5vw, 4.8rem) 0 clamp(2.6rem, 4.5vw, 3.8rem); background: #fdfbf8; }
.wd-paths-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(1.6rem, 3.2vw, 2.8rem);
  max-width: 980px;
  margin: 0 auto;
}
.wd-path {
  margin: 0;
  padding-top: clamp(1.1rem, 2vw, 1.45rem);
  border-top: 1px solid rgba(170, 205, 43, 0.4);
  display: flex;
  flex-direction: column;
}
.wd-path--foundation { border-top-color: rgba(43,41,37,.16); }
.wd-path--foundation .wd-path-tag { color:#756f68; }
.wd-path-tag {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5c7314;
}
.wd-path h3 {
  margin: 0 0 0.6rem;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  line-height: 1.18;
  color: #2b2925;
}
.wd-path p {
  margin: 0 0 1.1rem;
  max-width: 44ch;
  color: #5f5a54;
  font-size: 0.99rem;
  line-height: 1.72;
}
.wd-path-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent-ink);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}
.wd-path-link:hover { gap: 0.75rem; color: #5c7314; }
.wd-path-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.15rem;
  margin-top: auto;
}
.wd-path-links .wd-path-link { margin-top: 0; }
.wd-path-link--quiet {
  color: #756f68;
  font-weight: 600;
}
.wd-path-link--quiet:hover { color: #5c7314; }
@media (min-width: 981px) {
  /* Überschriften auf zwei Zeilen ausrichten, damit Fließtext und
     CTA-Zeile beider Spalten auf gemeinsamer Höhe starten. */
  .wd-path h3 { min-height: calc(2 * 1.18em); }
  .wd-path p:last-of-type { margin-bottom: 1.5rem; }
  /* CTAs untereinander: gleiche Höhe der Linkzeile in allen drei Spalten,
     unabhängig von der Länge der Linktexte. */
  .wd-path-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
}
@media (max-width: 980px) {
  .wd-paths-grid { grid-template-columns: 1fr; gap: 1.9rem; max-width: 640px; }
}

/* 2c · Ablauf-Teaser — ruhige Schrittfolge mit Link zum Detail */
.wd-process-teaser {
  position: relative;
  padding: clamp(2.8rem, 5vw, 4.2rem) 0 clamp(3rem, 5.5vw, 4.8rem);
  background: #fdfbf8;
}
/* Feine Trennlinie als bewusster Schnitt zwischen Leistungen und Ablauf */
.wd-process-teaser::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 3rem));
  height: 1px;
  background: rgba(47, 42, 37, 0.1);
}
.wd-process-steps {
  list-style: none;
  counter-reset: wd-step;
  margin: 1.9rem auto 0;
  padding: 0;
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.4vw, 2rem);
}
.wd-process-steps li {
  counter-increment: wd-step;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(170, 205, 43, 0.4);
  font-size: 0.94rem;
  line-height: 1.5;
  color: #5f5a54;
}
.wd-process-steps li::before {
  content: "0" counter(wd-step);
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #5c7314;
}
.wd-process-steps li strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1rem;
  font-weight: 600;
  color: #2f2a25;
}
.wd-process-note {
  margin: 1.6rem auto 0;
  max-width: 1120px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem 1.4rem;
}
.wd-process-note p {
  margin: 0;
  color: #5f5a54;
  font-size: 0.97rem;
  line-height: 1.7;
  max-width: 62ch;
}
@media (max-width: 980px) {
  .wd-process-steps { grid-template-columns: 1fr; max-width: 640px; }
  .wd-process-note { max-width: 640px; }
}
@media (max-width: 560px) {
  .wd-process-steps { grid-template-columns: 1fr; }
}

.home-image-lightbox {
  width: min(1180px, calc(100vw - 2rem));
  max-width: none;
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: #fff;
}
.home-image-lightbox::backdrop {
  background: rgba(22, 21, 19, 0.88);
  backdrop-filter: blur(5px);
}
.home-image-lightbox-inner {
  position: relative;
  display: grid;
  gap: 0.8rem;
  justify-items: center;
}
.home-image-lightbox-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 7rem);
  object-fit: contain;
  border-radius: 14px;
  border: 0;
  background: transparent;
  clip-path: inset(2px round 12px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}
.home-image-lightbox-caption {
  max-width: 72ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}
.home-image-lightbox-close {
  justify-self: end;
  padding: 0.62rem 0.88rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.home-image-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.home-image-lightbox-close:focus-visible {
  outline: 3px solid #c9e45b;
  outline-offset: 3px;
}
@media (max-width: 640px) {
  .home-image-lightbox {
    width: calc(100vw - 1rem);
    max-height: calc(100vh - 1rem);
  }
  .home-image-lightbox-image {
    max-height: calc(100vh - 6.5rem);
    border-radius: 10px;
  }
}
/* 2 · Herkunft: Skizze → Bewegung */
.wd-origin {
  padding: clamp(2.8rem, 4.5vw, 4rem) 0;
  background: #fbf8f4;
  border-top: 1px solid rgba(232, 225, 216, 0.55);
  border-bottom: 1px solid rgba(232, 225, 216, 0.45);
  overflow: hidden;
}
.wd-why-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.8rem, 4.5vw, 4.5rem);
  align-items: center;
}
.wd-why-copy .wd-section-title { margin-bottom: 1.1rem; }
.wd-why-text {
  margin: 0;
  max-width: 46ch;
  color: #5f5a54;
  font-size: 1.02rem;
  line-height: 1.8;
}
.wd-showcase {
  margin: 0 0 0 calc((100vw - min(1200px, calc(100vw - 3rem))) / -2);
  overflow: hidden;
  -webkit-mask-image:
    linear-gradient(90deg, #000 0%, #000 64%, rgba(0, 0, 0, 0.7) 82%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image:
    linear-gradient(90deg, #000 0%, #000 64%, rgba(0, 0, 0, 0.7) 82%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.wd-showcase img {
  display: block;
  width: 100%;
  height: auto;
  transform: scaleX(-1);
}
.wd-showcase-caption {
  margin: 0.75rem 0 0;
  color: #756f68;
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: left;
}

/* Block-Kopf (zentrierter Eyebrow + Titel) — genutzt vom Service-Teaser */
.wd-block-head {
  max-width: 40ch;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.wd-block-head .wd-section-title {
  margin-left: auto;
  margin-right: auto;
}
.wd-intro {
  padding: clamp(5.5rem, 9vw, 8rem) 0 clamp(4.5rem, 7vw, 6.5rem);
  background: #f7f3ed;
  border-bottom: 1px solid rgba(43, 41, 37, .1);
}
.wd-intro-head { max-width: 860px; margin: 0 auto; text-align: center; }
.wd-intro-head .wd-eyebrow { justify-content: center; }
.wd-intro h2 {
  max-width: 14ch;
  margin: .8rem auto 1.35rem;
  font-family: var(--serif);
  font-size: clamp(3rem, 4.8vw, 5.35rem);
  font-weight: 400;
  line-height: .99;
}
.wd-intro-lead { max-width: 61ch; margin: 0 auto; color:#5d5952; font-size:clamp(1.04rem,1.5vw,1.17rem); line-height:1.65; }
.wd-intro-benefits { margin-top: clamp(3.25rem, 6vw, 5rem); padding-top: 1.15rem; border-top: 1px solid rgba(43, 41, 37, .16); }
.wd-intro-benefits h3 { margin: 0; color: var(--accent-ink); font-size: .78rem; font-weight: 400; letter-spacing: .13em; text-align: center; text-transform: uppercase; }
.wd-intro-benefits ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.25rem; list-style: none; }
.wd-intro-benefits li { padding: .4rem clamp(1.3rem, 3vw, 3.25rem) 0; }
.wd-intro-benefits li + li { border-left: 1px solid rgba(43, 41, 37, .16); }
.wd-intro-benefits span { display: block; margin-bottom: .75rem; color: var(--accent-ink); font-size: .78rem; font-weight: 800; letter-spacing: .1em; }
.wd-intro-benefits h4 { margin-bottom: .45rem; font-size: 1.13rem; }
.wd-intro-benefits p { color: var(--mid); line-height: 1.62; }
.wd-design-teaser { padding:clamp(4.5rem,8vw,7rem) 0; background:#f7f3ed; }
/* Kopfzeile über der Galerie: die Überschrift bekommt genug Breite, damit
   „Gestaltungsbeispiel“ nicht mit Bindestrich getrennt werden muss. */
.wd-design-teaser-head {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(1.4rem,4vw,3.5rem);
  align-items:end;
  margin-bottom:clamp(2.6rem,5vw,4rem);
}
.wd-design-teaser h2 { margin:.65rem 0 0; font-family:var(--serif); font-size:clamp(2.2rem,3.9vw,3.9rem); font-weight:400; line-height:1.06; hyphens:none; }
.wd-design-teaser-text p { margin:0 0 1rem; color:var(--mid); line-height:1.75; }
.wd-design-teaser-text p:last-child { margin-bottom:0; }
.wd-design-teaser .lumiere-toggle { min-height:0; }
.wd-design-teaser-note { max-width:920px; margin:1.6rem auto 0; padding-right:6.5rem; color:var(--mid); font-size:.86rem; line-height:1.6; }
.project-reference-section {
  padding: var(--section-space) var(--section-pad-x);
  background: #fdfbf8;
  border-top: 1px solid rgba(232, 225, 216, 0.72);
  scroll-margin-top: 10rem;
}
.project-reference {
  max-width: 1120px;
  margin: 0 auto;
}
.project-reference-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.project-reference-head .ed-title {
  max-width: 26ch;
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  text-align: left;
}
.project-reference-head > p {
  margin: 0;
  color: var(--mid);
  line-height: 1.78;
}
.project-reference-row {
  display: grid;
  grid-template-columns: minmax(420px, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.project-reference-preview {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(43, 41, 37, 0.14);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(51, 43, 31, 0.09);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.project-reference-preview:hover {
  transform: translateY(-2px);
  border-color: rgba(170, 205, 43, 0.62);
  box-shadow: 0 22px 48px rgba(51, 43, 31, 0.13);
}
.project-reference-browserbar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 0.85rem;
  border-bottom: 1px solid rgba(43, 41, 37, 0.08);
  background: #f6f1ea;
}
.project-reference-browserbar span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(43, 41, 37, 0.2);
}
.project-reference-preview img {
  display: block;
  width: 100%;
  height: auto;
}
.project-reference-copy h3 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 400;
  line-height: 1.12;
}
.project-reference-role {
  margin: 0 0 0.95rem;
  color: var(--accent-ink);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.55;
}
.project-reference-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.2rem;
  margin-top: 1.5rem;
}
.project-reference-link {
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.project-reference-media { position: relative; }
.project-reference-mobile {
  position: absolute;
  right: -0.9rem;
  bottom: -2rem;
  width: clamp(104px, 24%, 148px);
  margin: 0;
  border: 4px solid #2b2925;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 44px rgba(51, 43, 31, 0.24);
}
.project-reference-mobile img {
  display: block;
  width: 100%;
  height: auto;
}
.project-case {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}
.project-case li {
  display: grid;
  grid-template-columns: 0.55rem minmax(0, 1fr);
  gap: 0.72rem;
  align-items: start;
  color: var(--mid);
  line-height: 1.62;
  font-size: 0.95rem;
}
.project-case li::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--peach);
  box-shadow: 0 0 0 4px rgba(170, 205, 43, 0.12);
  margin-top: 0.58em;
}
.project-case strong {
  color: var(--text);
  font-weight: 700;
}
.project-reference-outcome {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(43, 41, 37, 0.12);
}
.project-reference-outcome-label {
  margin: 0 0 0.55rem;
  color: var(--accent-ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.project-reference-outcome p:not(.project-reference-outcome-label):not(.project-reference-source) {
  margin: 0;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.7;
}
.project-reference-source {
  margin: 0.6rem 0 0;
  color: var(--mid);
  font-size: 0.76rem;
  line-height: 1.55;
}

/* Ein Angebot: Preis links, Umfang und nächster Schritt rechts. */
.wd-pricing-teaser {
  padding: clamp(3.4rem, 6vw, 5.2rem) 0;
  background: #f7f3ed;
  border-top: 1px solid rgba(43, 41, 37, .08);
}
.wd-pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.wd-pricing-heading .wd-eyebrow { color: var(--accent-ink); }
.wd-pricing-heading .wd-section-title {
  margin: 0 0 1.6rem;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.1;
}
.wd-price-figure {
  margin: 0 0 .75rem;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5.2vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: #2b2925;
}
.wd-price-regular {
  margin: 0 0 .9rem;
  color: #5b554f;
  font-size: .9rem;
  line-height: 1.6;
}
.wd-price-promotion {
  max-width: 35ch;
  margin: 0;
  color: #5b554f;
  font-size: .9rem;
  line-height: 1.6;
}
.website-package-tax-note {
  max-width: 36ch;
  margin: 1rem 0 0;
  color: #5b554f;
  font-size: .85rem;
  line-height: 1.6;
}
.wd-pricing-content {
  padding: 1.15rem 0 0;
  border-top: 1px solid rgba(43, 41, 37, .2);
}
.wd-pricing-lead {
  margin: 0;
  max-width: 48ch;
  color: #2b2925;
  font-size: clamp(1.05rem, 1.35vw, 1.17rem);
  line-height: 1.65;
}
.wd-pricing-includes {
  display: grid;
  gap: .65rem;
  margin: 1.4rem 0;
  padding: 0;
  list-style: none;
  color: #5b554f;
  font-size: 1rem;
  line-height: 1.6;
}
.wd-pricing-includes li {
  display: grid;
  grid-template-columns: .8rem minmax(0, 1fr);
  gap: .65rem;
  align-items: baseline;
}
.wd-pricing-includes li::before {
  content: "";
  width: .6rem;
  height: 1px;
  background: var(--accent-ink);
  transform: translateY(-.3em);
}
.wd-pricing-conditions {
  max-width: 52ch;
  margin: 0;
  color: #5b554f;
  font-size: .95rem;
  line-height: 1.65;
}
.wd-pricing-conditions + .wd-pricing-conditions { margin-top: .75rem; }
.wd-pricing-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.7rem;
}
.wd-pricing-actions .btn { min-height: 48px; }
.wd-pricing-actions .wd-path-link { min-height: 44px; }
.wd-pricing-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 2rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.2rem;
  border-top: 1px solid rgba(43, 41, 37, .12);
}
.wd-pricing-foot .wd-path-link { min-height: 44px; }
@media (max-width: 760px) {
  .wd-pricing-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .wd-pricing-heading .wd-section-title { margin-bottom: 1.2rem; }
  .wd-pricing-conditions + .wd-pricing-conditions { margin-top: .75rem; }
.wd-pricing-actions { align-items: stretch; }
  .wd-pricing-actions .btn { justify-content: center; white-space: normal; text-align: center; }
  .wd-pricing-foot { flex-direction: column; align-items: flex-start; }
}

/* Kurze Fragen zum Einstieg – gleiche Aufklapper-Optik wie auf den
   Ratgeberseiten (.ed-faq-item liegt im globalen Stylesheet). */
.wd-home-faq {
  padding: clamp(3.4rem, 6vw, 5.2rem) 0;
  background: #fdfbf8;
  border-top: 1px solid rgba(43, 41, 37, .08);
}
.wd-home-faq-list,
.wd-home-faq-foot { max-width: 760px; margin-inline: auto; }
.wd-home-faq-lead {
  margin: 0;
  color: #5b554f;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.65;
}
.wd-home-faq .ed-faq-answer p + p { margin-top: 0.65rem; }
.wd-home-faq-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1.6rem;
  margin-top: clamp(1.6rem, 3vw, 2.2rem);
}

.wd-meet {
  padding: clamp(3.4rem, 6vw, 5.2rem) 0;
  background: #fdfbf8;
}
.wd-meet-layout {
  display: grid;
  grid-template-columns: clamp(140px, 18vw, 200px) 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
}
.wd-meet-photo {
  margin: 0;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f0ea;
}
.wd-meet-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 24%;
}
.wd-meet-copy .wd-section-title { margin-bottom: 0.8rem; }
.wd-meet-copy p {
  margin: 0;
  max-width: 54ch;
  color: #5f5a54;
  line-height: 1.8;
}
.wd-meet-copy a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 7 · Abschluss */
.wd-closing {
  padding: clamp(3.8rem, 7vw, 6.5rem) 0;
  background: linear-gradient(180deg, #F7F9EC 0%, #FDFBF8 100%);
  text-align: center;
}
.wd-closing-inner { max-width: 640px; margin: 0 auto; }
.wd-closing-inner::before {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin: 0 auto clamp(1.6rem, 3vw, 2.2rem);
  background: linear-gradient(90deg, transparent, #aacd2b, transparent);
}
.wd-closing-inner h2 {
  margin: 0 0 1rem;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.12;
  color: #2b2925;
}
.wd-closing-inner > p {
  margin: 0 auto clamp(1.8rem, 3vw, 2.4rem);
  max-width: 48ch;
  color: #5f5a54;
  font-size: 1.05rem;
  line-height: 1.8;
}
.wd-closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}
.wd-closing-note {
  margin: clamp(1.1rem, 2vw, 1.6rem) 0 0;
  color: #756f68;
  font-size: 0.88rem;
}

/* Responsive */
/* Bild-neben-Text-Raster klappen auf eine Spalte, sobald die Textspalte
   sonst unter ~300px gedrückt würde. Gleicher Breakpoint wie Navigation
   und Hero – vorher hielten diese Raster bis 760px durch und zerhackten
   dazwischen die Überschriften. */
@media (max-width: 900px) {
  .project-reference-head,
  .project-reference-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .project-reference-head { gap: 1rem; }
  .project-reference-media { margin-bottom: 1.2rem; }
  /* minmax(0,…) statt 1fr: sonst darf die Spalte auf die min-content-Breite
     ihres längsten Wortes wachsen und sprengt den Container. */
  .wd-design-teaser-head { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .wd-design-teaser-note { padding-right: 0; }
}
@media (max-width: 760px) {
  .wd-meet-layout {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 1.3rem;
    max-width: 100%;
  }
  .wd-meet-photo { width: clamp(120px, 42vw, 160px); }
  .wd-intro { padding: 4.75rem 0 4.25rem; }
  .wd-intro h2 { max-width: 12ch; font-size: clamp(2.55rem, 10vw, 3.35rem); }
  .wd-intro-benefits { margin-top: 3rem; }
  .wd-intro-benefits h3 { text-align: left; }
  .wd-intro-benefits ol { grid-template-columns: 1fr; margin-top: .9rem; }
  .wd-intro-benefits li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); column-gap: .7rem; padding: 1rem 0; border-top: 1px solid rgba(43, 41, 37, .16); }
  .wd-intro-benefits li + li { border-left: 0; }
  .wd-intro-benefits li:last-child { border-bottom: 1px solid rgba(43, 41, 37, .16); }
  .wd-intro-benefits li > div { grid-column: 2; }
  .wd-intro-benefits span { margin: .15rem 0 0; }
  .project-reference-mobile {
    width: 30%;
    right: 0.2rem;
    bottom: -1.4rem;
    border-width: 3px;
    border-radius: 18px;
  }
}
