/* Landing template — sections only. Base/topbar/footer/button styles: siehe style.css.
   Typo/Farben nach digital@work Design Guidelines v7.4 (§7.04.1 Type scale:
   Statement-Scope, Card-Heading-Regel; §7.04.4 Card-first Composition;
   §7.04.6 Single-surface rule; §7.05.2 Stipple-Render 33 %).

   Landing-Body wird über Gutenberg-Blocks komponiert (siehe inc/block-patterns.php).
   Der Abschnitt "Gutenberg-Adapter" am Ende richtet die Core-Block-Wrapper
   (Group, Columns, Buttons, Image) auf unsere dawl-*-Klassen aus. */

/* Hero — Headline oben, Anzeigen-Visual darunter, beides zentriert. Ruhig, nicht schreiend. */
.dawl-hero { padding: 0 0 32px; background: var(--daw-white); }
.dawl-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}
.dawl-hero__headline {
  margin: 0;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.dawl-hero__line {
  display: block;
  line-height: 1;
}
.dawl-hero__line + .dawl-hero__line { margin-top: 20px; }
.dawl-hero__pre {
  display: block;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--daw-accent);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 6px;
}
.dawl-hero__word {
  font-size: clamp(64px, 9.5vw, 128px);
  color: var(--daw-graphite);
  line-height: 0.95;
  display: inline-flex;
  align-items: baseline;
}
/* Diagonal-Kaskade wie Anzeigenvorlage: jeder Block eine Stufe weiter rechts.
   Werte responsiv, Basis ist die Wort-Font-Size (~9.5vw). */
.dawl-hero__line:nth-child(1) .dawl-hero__pre  { margin-left: 0; }
.dawl-hero__line:nth-child(1) .dawl-hero__word { margin-left: clamp(32px, 4.5vw, 64px); }
.dawl-hero__line:nth-child(2) .dawl-hero__pre  { margin-left: clamp(80px, 9vw, 130px); }
.dawl-hero__line:nth-child(2) .dawl-hero__word { margin-left: clamp(130px, 14vw, 220px); }
.dawl-hero__svg {
  height: 1em;
  width: auto;
  display: block;
  /* SVG hat Cloud-Whitespace rechts+oben; Layout kompensiert */
  margin-right: -0.05em;
  margin-top: -0.30em;
  margin-bottom: 0;
}
/* Kleiner CI-Punkt rechts neben Wort — runder Dot passend zu Geologicas
   Satzpunkt-Form. margin-bottom = baseline-frac aus stipple_text.py
   (Geologica-500-Metrik), damit der Punkt auf der Text-Baseline sitzt
   (nicht auf Deszender-Linie). */
.dawl-hero__dot {
  display: inline-block;
  width: 0.09em;
  height: 0.09em;
  background: var(--daw-accent);
  border-radius: 50%;
  align-self: flex-end;
  margin-bottom: 0.174em;
  margin-left: 0.02em;
  font-size: 1em;
  text-indent: -9999px;
  overflow: hidden;
}
/* Fuer Screenreader/Crawler/KI-Agenten sichtbar, visuell nicht */
.dawl-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Stipple-Bilder: bei 33% des Original-Rasters darstellen, damit die Punkte
   in allen Varianten (Groß 2400px, Klein 1200px) gleich groß rendern. */
.dawl-hero__visual {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
}

/* Intro — 24px regular Magenta, links im narrow-container. Passt zur Outro-Größe. */
.dawl-intro { padding: 56px 0 40px; }
.dawl-intro p,
.dawl-intro .wp-block-paragraph {
  margin: 0 0 24px;
  font-size: 24px !important;
  line-height: 1.4 !important;
  color: var(--daw-accent) !important;
  font-weight: 400 !important;
  font-family: var(--daw-font) !important;
}
.dawl-cta-row { margin-top: 40px; text-align: center; }

/* Cases — kein eigener Section-Background/Border (PDF-Scribble 2026-08-09).
   Ruhig auf demselben White wie Intro. */
.dawl-cases { padding: 56px 0 72px; }

/* Section-Zwischenheadline in der Case-Textspalte: bold magenta, aber in
   Fließtextgröße (17px) — Chefdesigner 2026-08-11 "nicht zu viele Größen".
   !important gegen WP Global-Styles (laden nach add_editor_style und würden
   font-size/color/font-family überschreiben). */
h2.dawl-h2,
.dawl-h2 {
  font-weight: 700 !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
  color: var(--daw-accent) !important;
  margin: 0 0 16px;
  font-family: var(--daw-font) !important;
}
.dawl-h2--center { text-align: center; }

.dawl-case__text p,
.dawl-case__text .wp-block-paragraph { font-size: 17px; line-height: 1.55; margin: 0 0 16px; color: var(--daw-graphite); }

/* Höhere Spezifität als WP-Core (.wp-block-columns.is-layout-flex = (0,2,0)):
   .dawl-case.wp-block-columns = (0,2,0), lädt später → gewinnt.
   Frontend hat beide Klassen; Editor auch. */
.dawl-case,
.dawl-case.wp-block-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin: 0 0 64px;
}
.dawl-case:last-of-type { margin-bottom: 0; }
.dawl-case__image { display: flex; justify-content: center; }
.dawl-case__image img {
  display: block;
  width: 100%;
  height: auto;
}
/* 33%-Regel siehe Hero: Groß 2400 → 800px, Klein 1200 → 400px. */
.dawl-case__image--gross img { max-width: 800px; }
.dawl-case__image--klein img { max-width: 400px; }
/* Inline-Case-Link: regular + Akzentfarbe (lila), Chefdesigner 2026-08-11.
   Höhere Spezifität (0,2,1) schlägt WP-Editor-Default `.editor-styles-wrapper a` (0,1,1). */
.dawl-cases a.dawl-case__link,
a.dawl-case__link { font-weight: 400 !important; color: var(--daw-link) !important; }
@media (max-width: 780px) {
  .dawl-case,
  .dawl-case.wp-block-columns { grid-template-columns: 1fr; }
  .dawl-case--rl .dawl-case__image { order: -1; }
}

/* Testimonials — statische Core-Zitatblöcke auf derselben neutralen Fläche.
   Das auto-fit-Grid nimmt weitere, im Editor duplizierte Stimmen ohne
   cardinality-spezifische Selektoren oder Codeänderung auf. */
.dawl-testimonials {
  padding: 72px 0;
  background: var(--daw-white);
}
h2.dawl-testimonials__heading,
.dawl-testimonials__heading {
  margin: 0 0 32px;
  color: var(--daw-accent) !important;
  font-family: var(--daw-font) !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  text-align: center;
}
.dawl-testimonial.wp-block-quote,
.dawl-testimonial {
  box-sizing: border-box;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--daw-border-subtle);
  border-top: 4px solid var(--daw-accent);
  color: var(--daw-graphite);
}
.dawl-testimonial--featured.wp-block-quote,
.dawl-testimonial--featured {
  margin-bottom: 24px;
  padding: 36px;
}
.dawl-testimonial p {
  margin: 0 0 16px;
  color: var(--daw-graphite);
  font-family: var(--daw-font);
  font-size: 17px;
  line-height: 1.6;
}
.dawl-testimonial p:last-of-type { margin-bottom: 24px; }
.dawl-testimonial__attribution {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--daw-graphite);
  font-family: var(--daw-font);
  font-size: 15px;
  font-style: normal;
  line-height: 1.45;
}
.dawl-testimonial__name {
  color: var(--daw-accent);
  font-size: 17px;
  font-weight: 700;
}
.dawl-page .dawl-testimonial__role a,
.dawl-testimonial__role a {
  color: var(--daw-link);
  font-weight: 600;
}
.dawl-testimonials__grid,
.dawl-testimonials__grid.wp-block-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
  align-items: stretch;
}
.dawl-testimonials__grid > .dawl-testimonial { height: 100%; }

@media (max-width: 620px) {
  .dawl-testimonial.wp-block-quote,
  .dawl-testimonial,
  .dawl-testimonial--featured.wp-block-quote,
  .dawl-testimonial--featured { padding: 24px; }
}

/* Progress-Chip: "selective progress cues" per CI 7.01.4, in Seiten-Akzentfarbe */
.dawl-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 14px;
  margin: 0 0 16px;
  background: rgba(149,31,113,0.08);
  border: 1px solid rgba(149,31,113,0.30);
  border-radius: 999px;
  color: var(--daw-graphite);
  font-size: 15px;
  font-weight: 600;
}
.dawl-stat__value { font-size: 18px; color: var(--daw-accent); font-weight: 700; letter-spacing: -0.01em; }

/* Outro — Statement in Statement-Größe, Magenta regular, zentriert.
   h2.dawl-outro__text = (0,1,1) schlägt WP-Editor-Defaults für h2. */
.dawl-outro { padding: 72px 0 96px; background: var(--daw-white); }
h2.dawl-outro__text,
.dawl-outro__text {
  font-size: 24px !important;
  line-height: 1.4 !important;
  text-align: center !important;
  margin: 0 0 40px;
  color: var(--daw-accent) !important;
  font-weight: 400 !important;
  font-family: var(--daw-font) !important;
}
.dawl-cta-row--center { text-align: center; }
.dawl-outro__mail { text-align: center; margin: 32px 0 0; font-size: 16px; color: var(--daw-graphite); }
.dawl-outro__mail a { color: var(--daw-link); font-weight: 600; }

.dawl-form { max-width: 620px; margin: 0 auto; }
.dawl-form input[type=text],
.dawl-form input[type=email],
.dawl-form input[type=tel],
.dawl-form textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  color: var(--daw-graphite);
  background: var(--daw-white);
  border: 1px solid var(--daw-border-subtle);
  border-radius: 6px;
  box-sizing: border-box;
}
.dawl-form input:focus,
.dawl-form textarea:focus {
  outline: 2px solid var(--daw-accent);
  outline-offset: 2px;
  border-color: var(--daw-accent);
}
.dawl-form label {
  display: block;
  margin: 20px 0 8px;
  font-weight: 600;
  color: var(--daw-graphite);
  font-size: 15px;
}

/* Password wall */
.dawl-pwd { padding: 96px 0; text-align: center; }
.dawl-pwd__title { font-weight: 700; font-size: 32px; color: var(--daw-accent); margin: 0 0 24px; letter-spacing: -0.02em; }
.dawl-pwd .post-password-form { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.dawl-pwd .post-password-form input[type=password] {
  padding: 12px 14px;
  font: inherit;
  border: 1px solid var(--daw-border-subtle);
  border-radius: 4px;
  min-width: 240px;
}
.dawl-pwd .post-password-form input[type=submit] {
  padding: 12px 24px;
  font: inherit;
  font-weight: 600;
  color: var(--daw-action-primary-foreground);
  background: var(--daw-action-primary-background);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

/* ---------- Gutenberg-Adapter ----------
   Der Body dieser Landing kommt aus Core-Blocks (Group, Columns, Buttons, Image).
   Hier justieren wir deren Wrapper so, dass unser dawl-*-Layout greift, ohne
   dass Marketing im Editor irgendetwas anders macht als "Pattern einfügen". */

/* Core-Group setzt margin-block-start:24px auf child-Group-Elemente.
   Unsere Sections (dawl-intro / dawl-cases / dawl-outro) tragen ihr eigenes
   padding, keinen zusätzlichen block-Margin. */
.dawl-intro, .dawl-cases, .dawl-testimonials, .dawl-outro { margin-block-start: 0; margin-block-end: 0; }

/* Core-Columns hat display:flex. Auf .dawl-case wollen wir unser Grid.
   Höhere Spezifität durch .dawl-landing-Präfix nicht nötig, aber klarer. */
.dawl-case.wp-block-columns { gap: 56px; }
.dawl-case .wp-block-column { flex-basis: auto; }

/* Core-Image kommt als <figure> mit default-Margins. Unsere dawl-case__image
   zentriert das Bild — Figure-Margins killen wir. */
.dawl-case__image .wp-block-image { margin: 0; width: 100%; }
.dawl-case__image .wp-block-image img { display: block; width: 100%; height: auto; }

/* Core-Buttons werden siteweit in style.css gestylt, damit normale Pages
   wie /ueber-uns/ denselben Primär-CTA erhalten wie Landing und Homepage. */

/* Core-Paragraph im Intro-Container: Absätze bekommen ihre 24px accent
   Statement-Scope-Styles bereits über .dawl-intro p (oben). Kein Adapter nötig. */

/* Core-Heading im Case: gleicher Anker (.dawl-h2) wie vorher. */

/* Core-Paragraph im Outro-Mail: keine zusätzlichen Margins. */
.dawl-outro__mail { margin: 32px 0 0; font-size: 16px; color: var(--daw-graphite); }
.dawl-outro__mail a { color: var(--daw-link); font-weight: 600; }
