/* ==========================================================================
   Walter Theis Communications
   Farben stammen aus dem Logo: Dunkelblau und Anthrazit auf Weiß.
   ========================================================================== */

:root {
  --navy: #012148;
  --navy-hover: #0a3468;
  --charcoal: #36373b;
  --ink: #171a20;
  --text: #3d424b;
  --muted: #696e78;
  --line: #d9dbdf;
  --line-dark: #c3c6cc;
  --bg: #ffffff;
  --bg-tint: #f3f4f6;
  --maxw: 1160px;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h4 { font-family: var(--sans); font-weight: 600; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Bausteine, die überall vorkommen ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  padding: 15px 24px;
  border: 1px solid var(--navy);
  border-radius: 3px;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.btn:hover { background: var(--navy-hover); border-color: var(--navy-hover); }
.btn-small { font-size: 16px; padding: 11px 18px; }

.text-link {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.text-link:hover { text-decoration-thickness: 2px; }

.section { padding: 104px 0; border-top: 1px solid var(--line); }
.section.tint { background: var(--bg-tint); border-top: 0; }
.section.no-rule { border-top: 0; }

.section-head h2 { font-size: clamp(32px, 3.5vw, 46px); margin-bottom: 18px; }
.section-head p { font-size: 19px; max-width: 34em; }
.section-head.wide { max-width: 760px; margin-bottom: 56px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px 80px;
  align-items: start;
}

.plain-list li { position: relative; padding: 4px 0 4px 22px; font-size: 17px; }
.plain-list li::before { content: "–"; position: absolute; left: 0; color: var(--muted); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.scrolled { border-bottom-color: var(--line); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 136px;
  transition: height .25s ease;
}
.header.scrolled .nav { height: 88px; }
.brand { flex: none; }
.brand img { height: 104px; width: auto; transition: height .25s ease; }
.header.scrolled .brand img { height: 68px; }

.nav-links { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.nav-links a { font-size: 17px; color: var(--ink); }
.nav-links a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

.burger { display: none; flex-direction: column; gap: 6px; background: none; border: 0; cursor: pointer; padding: 10px 4px; }
.burger span { width: 28px; height: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: absolute;
  top: 100%; left: 0; right: 0;
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 8px 20px 24px;
}
.mobile-menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobile-menu .btn { margin-top: 20px; text-align: center; }

/* ---------- Hero ---------- */
.hero { padding: 208px 0 0; }
.hero h1 {
  font-size: clamp(38px, 5.6vw, 74px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 14.5em;
}
.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px 80px;
  align-items: start;
  margin-top: 52px;
}
.lead { font-size: 22px; line-height: 1.5; color: var(--ink); max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 34px; }

.facts > div { border-top: 1px solid var(--line); padding: 14px 0 18px; }
.facts dt { font-weight: 600; color: var(--ink); }
.facts dd { font-size: 17px; }

.audience {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px 24px;
  margin-top: 96px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--line);
  font-size: 17px;
}
.audience p { color: var(--muted); }
.audience ul { display: flex; flex-wrap: wrap; gap: 4px 36px; color: var(--ink); }

/* ---------- Hürden ---------- */
.problem-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-bottom: -36px; }
.problem-list li { border-top: 1px solid var(--line); padding: 22px 0 36px; }
.problem-list h3 { font-size: 25px; margin-bottom: 8px; }

/* ---------- Ablauf ---------- */
/* Die Spalten teilen sich ein Zeilenraster (subgrid), damit Überschriften,
   Texte und Ergebnis-Zeilen nebeneinander auf einer Höhe stehen. */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto 1fr auto; column-gap: 56px; }
.step { display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; border-top: 2px solid var(--navy); padding-top: 18px; }
.step-no { font-family: var(--serif); font-size: 60px; line-height: 1; color: var(--navy); margin-bottom: 22px; }
.step h3 { font-size: 27px; margin-bottom: 10px; }
.step .result {
  font-size: 17px;
  color: var(--ink);
}
.step .result::before { content: ""; display: block; border-top: 1px solid var(--line); margin: 22px 0 14px; }
.step .result span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Bausteine ---------- */
.modules { border-bottom: 1px solid var(--line-dark); }
.module {
  display: grid;
  grid-template-columns: 84px minmax(0, 5fr) minmax(0, 6fr);
  gap: 16px 44px;
  padding: 36px 0 40px;
  border-top: 1px solid var(--line-dark);
}
.module-letter { font-family: var(--serif); font-size: 64px; line-height: .85; color: var(--navy); }
.module h3 { font-size: 28px; margin-bottom: 10px; }
.module .tag {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  padding: 3px 9px;
  border: 1px solid var(--navy);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.3;
}
.modules-note { margin-top: 36px; font-size: 19px; }
.modules-note .text-link { margin-left: 6px; white-space: nowrap; }

/* ---------- Pakete ---------- */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, auto) 1fr auto; column-gap: 56px; }
.package { display: grid; grid-row: span 5; grid-template-rows: subgrid; align-content: start; justify-items: start; border-top: 2px solid var(--navy); padding-top: 18px; }
.package .combo { font-size: 15px; font-weight: 600; letter-spacing: .03em; color: var(--muted); margin-bottom: 14px; }
.package h3 { font-size: 28px; margin-bottom: 12px; }
.package .for { margin-bottom: 14px; }
.package ul { margin-bottom: 26px; }
/* ---------- Hero-Claim (zweizeilig) ---------- */
.hero .hero-claim { max-width: none; font-size: clamp(36px, 4.4vw, 64px); }
.hero-claim span { display: block; }
.hero-claim span + span { font-style: italic; }

/* ---------- Zielgruppen ---------- */
.target-groups { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); column-gap: 56px; }
.target { display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; border-top: 2px solid var(--navy); padding-top: 18px; }
.target .kicker,
.target-pair .label,
.pairs-labels span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.target h3 { font-size: clamp(28px, 2.8vw, 34px); margin: 10px 0 22px; }
.target-pair { border-top: 1px solid var(--line); padding: 14px 0 18px; }
.target-pair .label { margin-bottom: 4px; }
.target-pair p:last-child { max-width: 32em; }

/* ---------- Leistungen als Problem und Lösung ---------- */
.service {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 24px 64px;
  padding: 40px 0 44px;
  border-top: 1px solid var(--line-dark);
}
.service:last-of-type { border-bottom: 1px solid var(--line-dark); }
.service-head h3 { font-size: 32px; margin-bottom: 10px; }
.pairs li { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; padding: 14px 0; border-top: 1px solid var(--line); }
.pairs li.pairs-labels { border-top: 0; padding: 0 0 8px; }
.pairs li.pairs-labels span:last-child { padding-left: 30px; }
.pair-problem { color: var(--muted); font-size: 17px; }
.pair-solution { position: relative; padding-left: 30px; color: var(--ink); font-size: 17px; }
.pair-solution::before { content: "\2192"; position: absolute; left: 0; color: var(--navy); font-weight: 600; }

/* ---------- Über uns ---------- */
.about-text p { font-size: 20px; margin-bottom: 18px; max-width: 34em; }
.about-text figure { margin-top: 44px; }
.about-text blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 2.6vw, 32px);
  line-height: 1.3;
  color: var(--navy);
  max-width: 22em;
}
.about-text figcaption { margin-top: 14px; font-size: 16px; color: var(--muted); }

.people { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 88px; }
.person { border-top: 2px solid var(--navy); padding-top: 18px; }
.person h3 { font-size: 30px; }
.person .role { font-size: 16px; color: var(--muted); margin: 2px 0 14px; }
.person p:last-child { max-width: 30em; }

.principles { margin-top: 96px; }
.sub-head { font-size: clamp(28px, 2.8vw, 34px); margin-bottom: 30px; }
.principle-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 56px; margin-bottom: -32px; }
.principle-list li { border-top: 1px solid var(--line); padding: 20px 0 32px; }
.principle-list h3 { font-family: var(--sans); font-size: 18px; font-weight: 600; letter-spacing: 0; color: var(--ink); line-height: 1.35; margin-bottom: 6px; }
.principle-list p { font-size: 17px; }

/* ---------- FAQ ---------- */
.faq-list { border-bottom: 1px solid var(--line-dark); }
.faq-item { border-top: 1px solid var(--line-dark); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.3;
  color: var(--navy);
}
.faq-q .pm { flex: none; width: 20px; text-align: center; font-family: var(--sans); font-size: 26px; line-height: 1; }
.faq-q .pm::before { content: "+"; }
.faq-item.open .pm::before { content: "\2212"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 44px 26px 0; max-width: 38em; }

/* ---------- Kontakt ---------- */
.contact-details { margin-top: 36px; border-bottom: 1px solid var(--line); }
.contact-details > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.contact-details dt { color: var(--muted); font-size: 17px; }
.contact-details dd { color: var(--ink); }
.contact-details a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 17px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid #9a9ea7;
  border-radius: 3px;
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 1px var(--navy);
}
.field textarea { resize: vertical; min-height: 150px; }
.form-check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 26px; }
.form-check input { flex: none; width: 18px; height: 18px; margin-top: 4px; accent-color: var(--navy); }
.form-check label { font-size: 16px; line-height: 1.5; }
.form-check a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.form-note { margin-top: 16px; font-size: 15px; color: var(--muted); }
.form-success {
  display: none;
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 3px solid var(--navy);
  background: var(--bg-tint);
  color: var(--ink);
}

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding: 76px 0 0; font-size: 17px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 60px; }
.footer-name { font-family: var(--serif); font-size: 30px; line-height: 1.1; color: #fff; }
.footer-name span {
  display: block;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}
.footer-brand p { margin-top: 20px; max-width: 17em; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer li { margin-bottom: 8px; line-height: 1.45; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: 15px;
}
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 24px; }

/* ---------- Impressum und Datenschutz ---------- */
.legal-page { padding: 196px 0 104px; }
.legal-page .container { max-width: 800px; }
.legal-page h1 { font-size: clamp(36px, 4.4vw, 52px); margin-bottom: 28px; }
.legal-page h2 { font-size: 28px; margin: 44px 0 12px; }
.legal-page h3 { font-family: var(--sans); font-size: 19px; font-weight: 600; letter-spacing: 0; color: var(--ink); margin: 26px 0 6px; }
.legal-page p, .legal-page li { margin-bottom: 14px; }
.legal-page ul { list-style: disc; padding-left: 24px; margin-bottom: 14px; }
.legal-page a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.legal-page .back { display: inline-block; font-weight: 600; margin-bottom: 32px; }

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 1080px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .mobile-menu.open { display: flex; }
  .split, .hero-body { gap: 40px 56px; }
  .steps, .packages { gap: 40px; }
  .principle-list { gap: 0 40px; }
}

@media (max-width: 900px) {
  .split, .hero-body { grid-template-columns: 1fr; }
  .steps, .packages { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 48px; }
  .step, .package { display: block; grid-row: auto; }
  .principle-list { grid-template-columns: 1fr 1fr; }
  .module { grid-template-columns: 64px 1fr; }
  .module .plain-list { grid-column: 2; }
  .module-letter { font-size: 52px; }
  .service { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .section-head.wide { margin-bottom: 40px; }

  .nav { height: 96px; }
  .brand img { height: 74px; }
  .header.scrolled .nav { height: 74px; }
  .header.scrolled .brand img { height: 58px; }

  .hero { padding-top: 136px; }
  .hero-body { margin-top: 32px; }
  .lead { font-size: 20px; }
  .audience { grid-template-columns: 1fr; margin-top: 64px; }
  .audience ul { flex-direction: column; }

  .problem-list, .people, .principle-list, .form-row, .footer-grid, .target-groups { grid-template-columns: 1fr; }
  .target-groups { grid-template-rows: none; row-gap: 48px; }
  .target { display: block; grid-row: auto; }
  .pairs li { grid-template-columns: 1fr; gap: 4px; }
  .pairs li.pairs-labels { display: none; }
  .form-row { gap: 0; }
  .people { gap: 40px; margin-top: 64px; }
  .principles { margin-top: 72px; }

  .module { grid-template-columns: 1fr; gap: 12px; padding: 28px 0 32px; }
  .module .plain-list { grid-column: 1; }
  .module .tag { margin-left: 0; }
  .module h3 .tag { display: block; width: fit-content; margin-top: 8px; }

  .faq-q { font-size: 21px; }
  .faq-a p { padding-right: 0; }
  .contact-details > div { grid-template-columns: 1fr; gap: 0; }
  .legal-page { padding: 140px 0 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
