/* ==========================================================================
   PEGASUS SB · Sauberkeit, die bleibt.
   Design: Nachtblau + Porzellan + Messing · Besley + Hanken Grotesk
   ========================================================================== */

/* ---------- Fonts (self-hosted, DSGVO-konform) ---------- */

@font-face {
  font-family: "Besley";
  src: url("../fonts/besley-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Besley";
  src: url("../fonts/besley-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Besley";
  src: url("../fonts/besley-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

:root {
  /* Farbwelt nach Kundenwunsch 28.08.: kräftiges Blau + Weiß (statt Creme),
     Eisblau für helle Bänder, Gold als Akzent (wie im Flyer) */
  --night: #17305a;        /* sattes Marineblau */
  --night-deep: #0d1c3a;
  --night-raise: #22406e;  /* Flächen auf Nacht */
  --porcelain: #e8f1f8;    /* Hellblau, Seitengrund */
  --paper: #ffffff;        /* Weiß, helle Bänder */
  --ink: #1d2b45;
  --muted: #52627a;
  --line: #ccdcea;
  --line-strong: #aec6d9;
  --brass: #b98f3e;        /* Akzent auf hell */
  --brass-deep: #96712c;
  --brass-bright: #e3c27c; /* Akzent auf Nacht */
  --star: #f2e5c4;
  --night-text: #f2f6fa;
  --night-muted: #a8bad3;
  --night-line: #2e4a7a;
  --wa: #1da851;
  --wa-deep: #15803d;
  --ok: #2e7d4f;

  --font-display: "Besley", "Iowan Old Style", Georgia, serif;
  --font-body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --radius: 10px;
}

/* ---------- Reset & Grundlagen ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--porcelain);
  font-feature-settings: "kern";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.6em;
  color: inherit;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  max-width: 68ch;
}

a {
  color: inherit;
}

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

::selection {
  background: var(--night);
  color: var(--star);
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

[id] {
  scroll-margin-top: 92px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--night);
  color: var(--night-text);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.btn:active {
  transform: scale(0.97);
}
.btn svg {
  flex: none;
}

.btn--brass {
  background: var(--brass-bright);
  border-color: var(--brass-bright);
  color: var(--night-deep);
}
.btn--night {
  background: var(--night);
  border-color: var(--night);
  color: var(--night-text);
}
.btn--ghost-light {
  background: transparent;
  border-color: rgba(244, 241, 234, 0.45);
  color: var(--night-text);
}
.btn--ghost-dark {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--wa {
  background: var(--wa);
  border-color: var(--wa);
  color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .btn--brass:hover { background: #ecd196; border-color: #ecd196; }
  .btn--night:hover { background: var(--night-deep); border-color: var(--night-deep); }
  .btn--ghost-light:hover { border-color: var(--star); color: var(--star); }
  .btn--ghost-dark:hover { border-color: var(--night); }
  .btn--wa:hover { background: var(--wa-deep); border-color: var(--wa-deep); }
  a.tel-link:hover { color: var(--brass-deep); }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--night);
  color: var(--night-text);
  border-bottom: 1px solid var(--night-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  text-decoration: none;
  margin-right: auto;
}
.brand__star {
  align-self: center;
  color: var(--brass-bright);
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}
.brand__name small {
  font-size: 1em;
  color: var(--brass-bright);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.site-nav a:not(.btn) {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--night-muted);
  transition: color 150ms ease;
}
@media (hover: hover) {
  .site-nav a:not(.btn):hover { color: var(--night-text); }
}
.site-nav .btn {
  padding: 0.65rem 1.15rem;
  font-size: 0.94rem;
}
.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  font-weight: 700;
  color: var(--night-text) !important;
  font-variant-numeric: tabular-nums;
}
.header-tel svg { color: var(--brass-bright); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  margin: -0.5rem;
  cursor: pointer;
  color: var(--night-text);
}

@media (max-width: 940px) {
  .site-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--night-deep);
    border-bottom: 1px solid var(--night-line);
    padding: 0.75rem var(--gutter) 1.5rem;
    display: none;
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav a:not(.btn) {
    padding: 0.9rem 0;
    font-size: 1.1rem;
    color: var(--night-text);
    border-bottom: 1px solid var(--night-line);
  }
  .site-nav .btn {
    margin-top: 1rem;
  }
  .header-tel {
    order: -1;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--night-line);
  }
  .nav-toggle {
    display: inline-flex;
  }
}

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

.hero {
  position: relative;
  background: linear-gradient(178deg, var(--night-deep) 4%, var(--night) 58%, #23457a 100%);
  color: var(--night-text);
  overflow: hidden;
}
.hero__skyline {
  position: absolute;
  inset-inline: 0;
  pointer-events: none;
  bottom: -2px;
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(4.5rem, 10vw, 8.5rem) clamp(9rem, 18vw, 13rem);
  display: grid;
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__content {
  max-width: 720px;
}
.hero__logo {
  width: 100%;
  height: auto;
  max-width: 340px;
  justify-self: end;
  align-self: start;
  margin-top: 2.75rem;
  filter: drop-shadow(0 22px 44px rgba(5, 14, 34, 0.5));
}
@media (prefers-reduced-motion: no-preference) {
  .hero__logo {
    opacity: 0;
    transform: translateY(12px);
    animation: rise 650ms var(--ease-out) 200ms forwards;
  }
}
@media (max-width: 940px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .hero__logo {
    order: -1;
    justify-self: start;
    max-width: min(320px, 72vw);
  }
}
.hero__kicker {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brass-bright);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero h1 {
  font-weight: 800;
  font-size: clamp(2.7rem, 6.4vw, 4.6rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.45em;
}
.hero__lede {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.7;
  color: var(--night-muted);
  max-width: 34em;
  margin-bottom: 2rem;
}
.hero__lede strong {
  color: var(--night-text);
  font-weight: 600;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.1rem;
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--night-muted);
}
.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__facts svg {
  color: var(--brass-bright);
  flex: none;
}

/* Hero-Reveal */
@media (prefers-reduced-motion: no-preference) {
  .hero__content > * {
    opacity: 0;
    transform: translateY(12px);
    animation: rise 550ms var(--ease-out) forwards;
  }
  .hero__content > *:nth-child(1) { animation-delay: 40ms; }
  .hero__content > *:nth-child(2) { animation-delay: 110ms; }
  .hero__content > *:nth-child(3) { animation-delay: 180ms; }
  .hero__content > *:nth-child(4) { animation-delay: 250ms; }
  .hero__content > *:nth-child(5) { animation-delay: 320ms; }
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Sektionen allgemein ---------- */

.section {
  padding-block: var(--section);
}
.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}
.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  letter-spacing: -0.005em;
}
.section-head p {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0;
}

/* ---------- Prinzipien (Warum PEGASUS SB) ---------- */

.principles {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.principles__intro h2 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
}
.principles__intro p {
  color: var(--muted);
  font-size: 1.08rem;
}
.principles__note {
  border-top: 2px solid var(--night);
  margin-top: 1.75rem;
  padding-top: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  max-width: 30em;
}
.principles ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.principles li {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 1.1rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
}
.principles li:first-child {
  border-top: 0;
  padding-top: 0;
}
.principles .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--brass);
  line-height: 1.3;
}
.principles h3 {
  font-size: 1.22rem;
  margin-bottom: 0.25em;
}
.principles li p {
  margin: 0;
  color: var(--muted);
}
@media (max-width: 860px) {
  .principles {
    grid-template-columns: 1fr;
  }
}

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

.services {
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 1.25rem 3rem;
  padding-block: clamp(1.75rem, 4vw, 2.6rem);
  border-top: 1px solid var(--line);
}
.service-row:first-of-type {
  border-top: 0;
}
.service-row h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin-bottom: 0.3em;
}
.service-row__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.99rem;
  max-width: 26em;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-content: flex-start;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.94rem;
  font-weight: 500;
  padding: 0.42rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--porcelain);
  color: var(--ink);
}
a.chip {
  text-decoration: none;
  font-weight: 700;
  border-color: var(--night);
  background: var(--night);
  color: var(--night-text);
  transition: background-color 160ms ease, transform 160ms var(--ease-out);
}
a.chip:active { transform: scale(0.97); }
a.chip svg { color: var(--brass-bright); }
@media (hover: hover) {
  a.chip:hover { background: var(--night-deep); }
}
.services__note {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.97rem;
  max-width: 62ch;
}
@media (max-width: 820px) {
  .service-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Markenprinzip (Statement) ---------- */

.statement {
  padding-block: clamp(4.5rem, 10vw, 8rem);
}
.statement blockquote {
  margin: 0;
}
.statement blockquote p:first-child {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  line-height: 1.22;
  margin-bottom: 0.55em;
  color: var(--ink);
  max-width: 17em;
}
.statement blockquote p:first-child .brass {
  color: var(--brass-deep);
}
.statement blockquote footer {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 44ch;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  counter-reset: step;
}
.step {
  border-top: 2px solid var(--night);
  padding-top: 1.25rem;
}
.step .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--brass);
  display: block;
  margin-bottom: 0.4rem;
  line-height: 1;
}
.step h3 {
  font-size: 1.28rem;
  margin-bottom: 0.3em;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.99rem;
}
@media (max-width: 720px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Über uns ---------- */

.about {
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.about__plate {
  max-width: 400px;
}
.about h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
}
.about p {
  color: var(--muted);
}
.about__sign {
  margin-top: 1.75rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.about__sign .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
}
.about__sign .role {
  color: var(--muted);
  font-size: 0.97rem;
}
.about__contactline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
@media (max-width: 860px) {
  .about__grid {
    grid-template-columns: 1fr;
  }
  .about__plate {
    max-width: 320px;
  }
}

/* ---------- Einsatzgebiete (Nachtband mit Sternkarte) ---------- */

.area {
  background: linear-gradient(184deg, var(--night) 0%, var(--night-deep) 100%);
  color: var(--night-text);
  overflow: hidden;
}
.area__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.area h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
}
.area p {
  color: var(--night-muted);
  line-height: 1.7;
}
.area__cities {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.area__cities li {
  border: 1px solid var(--night-line);
  border-radius: 999px;
  padding: 0.38rem 0.85rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--night-text);
}
.area__cities li.is-hq {
  border-color: var(--brass-bright);
  color: var(--brass-bright);
  font-weight: 700;
}
.area__map svg {
  width: 100%;
}
@media (max-width: 860px) {
  .area__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 780px;
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.13rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .faq__icon {
  flex: none;
  color: var(--brass);
  transition: transform 200ms var(--ease-out);
}
.faq details[open] summary .faq__icon {
  transform: rotate(45deg);
}
.faq details > div {
  padding: 0 2.5rem 1.35rem 0.25rem;
  color: var(--muted);
}
.faq details > div p {
  margin: 0 0 0.6em;
}
.faq details > div p:last-child {
  margin-bottom: 0;
}

/* ---------- Angebot / Formular ---------- */

.quote {
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.quote__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.25rem;
}
.form .field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.form .field--full {
  grid-column: 1 / -1;
}
.form label {
  font-weight: 600;
  font-size: 0.93rem;
}
.form label .opt {
  color: var(--muted);
  font-weight: 400;
}
.form input,
.form select,
.form textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--porcelain);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.72rem 0.9rem;
  width: 100%;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.form textarea {
  resize: vertical;
  min-height: 120px;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--night);
  background: #fff;
}
.form .radio-row {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding-top: 0.2rem;
}
.form .radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
}
.form input[type="radio"],
.form input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--night);
  margin: 0;
}
.form .consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.65rem;
}
.form .consent label {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--muted);
}
.form .consent input {
  margin-top: 0.2rem;
  flex: none;
}
.form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form button[type="submit"] {
  justify-self: start;
  margin-top: 0.25rem;
}
.form__hint {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}
@media (max-width: 640px) {
  .form {
    grid-template-columns: 1fr;
  }
  .form .field--full {
    grid-column: auto;
  }
}

/* Kontakt-Karte neben dem Formular */
.direct {
  background: var(--night);
  color: var(--night-text);
  border-radius: 14px;
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  position: sticky;
  top: 96px;
}
.direct h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4em;
}
.direct p {
  color: var(--night-muted);
  font-size: 0.98rem;
}
.direct .tel-big {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 1.7rem);
  color: var(--night-text);
  text-decoration: none;
  margin: 0.4rem 0 1.1rem;
  font-variant-numeric: tabular-nums;
}
.direct .tel-big svg { color: var(--brass-bright); }
.direct .btn {
  width: 100%;
  margin-bottom: 0.7rem;
}
.direct__meta {
  margin: 1.1rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--night-line);
  font-size: 0.92rem;
  color: var(--night-muted);
}
.direct__meta a {
  color: var(--night-text);
  text-decoration-color: var(--night-line);
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  .quote__grid {
    grid-template-columns: 1fr;
  }
  .direct {
    position: static;
  }
}

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

.site-footer {
  background: var(--night-deep);
  color: var(--night-muted);
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.75rem;
  font-size: 0.96rem;
}
.site-footer a {
  color: var(--night-text);
  text-decoration: none;
}
@media (hover: hover) {
  .site-footer a:hover {
    text-decoration: underline;
    text-decoration-color: var(--brass-bright);
  }
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-grid li,
.footer-grid address {
  overflow-wrap: anywhere;
}
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--night-muted);
  margin-bottom: 0.9rem;
}
.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-grid li {
  margin-bottom: 0.55rem;
}
.footer-brand .brand {
  margin-bottom: 0.9rem;
}
.footer-brand .slogan {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--night-text);
  margin-bottom: 0.75rem;
}
.footer-brand p {
  max-width: 34ch;
}
.footer-bottom {
  border-top: 1px solid var(--night-line);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  font-size: 0.9rem;
}
address {
  font-style: normal;
}
@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 460px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Mobile Sticky Bar ---------- */

.sticky-cta {
  display: none;
}
@media (max-width: 900px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
  .sticky-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background: rgba(251, 253, 254, 0.96);
    border-top: 1px solid var(--line);
    padding: 0.55rem var(--gutter) calc(0.55rem + env(safe-area-inset-bottom, 0px));
  }
  .sticky-cta .btn {
    padding: 0.8rem 0.5rem;
    font-size: 0.97rem;
  }
}

/* ---------- Unterseiten (Landingpages) ---------- */

.page-hero {
  background: linear-gradient(178deg, var(--night-deep) 0%, var(--night) 75%);
  color: var(--night-text);
  position: relative;
  overflow: hidden;
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(3.25rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem);
}
.page-hero__content {
  max-width: 760px;
}
.breadcrumb {
  font-size: 0.9rem;
  color: var(--night-muted);
  margin-bottom: 1.4rem;
}
.breadcrumb a {
  color: var(--night-muted);
  text-decoration: none;
}
@media (hover: hover) {
  .breadcrumb a:hover { color: var(--night-text); }
}
.breadcrumb .sep {
  margin-inline: 0.5rem;
  color: var(--night-line);
}
.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 0.4em;
}
.page-hero .lede {
  font-size: 1.14rem;
  color: var(--night-muted);
  line-height: 1.7;
  max-width: 38em;
  margin-bottom: 1.75rem;
}
.page-hero__logo {
  position: absolute;
  top: clamp(1.5rem, 4vw, 3rem);
  right: 4%;
  width: min(220px, 20vw);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 14px 28px rgba(5, 14, 34, 0.45));
}
@media (max-width: 940px) {
  .page-hero__logo {
    display: none;
  }
}

/* Leistungs-Checkliste */
.includes {
  columns: 2;
  column-gap: 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 860px;
}
.includes li {
  break-inside: avoid;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding-block: 0.5rem;
  font-size: 1.02rem;
}
.includes svg {
  flex: none;
  color: var(--brass);
  margin-top: 0.28rem;
}
.includes .sub {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}
@media (max-width: 680px) {
  .includes {
    columns: 1;
  }
}
.includes-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 1.5rem;
  max-width: 60ch;
}

/* Kompakte Prinzipien-Zeile auf Landingpages */
.mini-principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem;
}
.mini-principles div {
  border-top: 2px solid var(--night);
  padding-top: 0.9rem;
}
.mini-principles h3 {
  font-size: 1.08rem;
  margin-bottom: 0.2em;
}
.mini-principles p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
}
@media (max-width: 860px) {
  .mini-principles {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .mini-principles {
    grid-template-columns: 1fr;
  }
}

/* Weitere Leistungen */
.more-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Einsatzgebiet-Zeile auf Landingpages */
.area-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0;
  padding-block: 1.15rem;
  border-block: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.98rem;
  max-width: none;
}
.area-line svg {
  color: var(--brass);
  flex: none;
}
.area-line strong {
  color: var(--ink);
}
.area-line a {
  margin-left: auto;
  font-weight: 600;
  color: var(--ink);
  text-decoration-color: var(--brass);
}

/* ---------- Rechtstexte ---------- */

.legal {
  max-width: 760px;
  padding-block: clamp(3rem, 6vw, 5rem);
  overflow-wrap: anywhere;
  hyphens: auto;
}
.legal h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
}
.legal h2 {
  font-size: 1.45rem;
  margin-top: 2.2em;
}
.legal h3 {
  font-size: 1.15rem;
  margin-top: 1.6em;
}
.legal p, .legal li {
  color: var(--muted);
}
.legal strong {
  color: var(--ink);
}
.legal .note {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
}

/* ---------- Danke-Seite ---------- */

.thanks {
  min-height: 55vh;
  display: grid;
  align-content: center;
  padding-block: clamp(4rem, 10vw, 7rem);
  max-width: 640px;
}
.thanks h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}
.thanks p {
  color: var(--muted);
  font-size: 1.1rem;
}
.thanks .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}
