/* =====================================================================
   Reith GmbH — Bespoke-Onepager (Projekt Phönix)
   Designrichtung: sauber-technisch & energiebewusst.
   Hell, freundlich, mit Teal als Struktur- und Rost/Orange als Energiefarbe.
   Eigenes Token-System — bewusst anders als andere Phönix-Demos.
===================================================================== */

:root {
  /* Markenfarben */
  --brand: #0f6f73; /* teal */
  --brand-deep: #083c40;
  --brand-ink: #0a2f33;
  --accent: #d46b35; /* rost/orange */
  --accent-deep: #b9551f;
  --accent2: #c6e6df; /* helles mint */
  --paper: #f7fbfb;
  --paper-warm: #fefdf9;
  --surface: #fff;

  --ink: #14282b;
  --muted: #5c7074;
  --line: #dfeae9;
  --line-strong: #c7dbd9;

  /* Typo */
  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --text-eyebrow: 0.72rem;
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  --text-h2: clamp(1.7rem, 1.2rem + 2.2vw, 2.9rem);
  --text-hero: clamp(2.3rem, 1.2rem + 4.6vw, 4.6rem);

  /* Raum */
  --shell: 1180px;
  --gutter: clamp(1.1rem, 0.6rem + 3vw, 2.4rem);
  --space-section: clamp(3.6rem, 2.4rem + 5vw, 7rem);
  --radius: 18px;
  --radius-lg: 26px;

  /* Schatten */
  --shadow-sm: 0 2px 10px rgba(8, 60, 64, 0.06);
  --shadow-md: 0 18px 44px -22px rgba(8, 60, 64, 0.4);
  --shadow-lg: 0 34px 70px -34px rgba(8, 60, 64, 0.5);

  /* Motion */
  --dur: 0.55s;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

.shell {
  width: min(100% - calc(var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 12px;
}

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

/* ---------- Eyebrow / Headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-display);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.eyebrow--light {
  color: #ffd9c4;
}
.eyebrow--light::before {
  background: var(--accent);
}

.display {
  font-size: var(--text-h2);
  font-weight: 800;
  color: var(--brand-ink);
  max-width: 18ch;
}
.display--light {
  color: #fff;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.4rem);
}
.section-head .display {
  margin-bottom: 0.9rem;
}
.section-head__lead {
  color: var(--muted);
  max-width: 52ch;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.82em 1.45em;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease);
  will-change: transform;
}
.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active {
  transform: translateY(0);
}

.btn--accent {
  --btn-bg: var(--accent);
}
.btn--accent:hover {
  background: var(--accent-deep);
}
.btn--brand {
  --btn-bg: var(--brand);
}
.btn--brand:hover {
  background: var(--brand-deep);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(2px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn--call {
  --btn-bg: var(--paper);
  --btn-fg: var(--brand-deep);
  border-color: var(--line-strong);
  font-size: 0.9rem;
}
.btn--call svg {
  fill: currentColor;
  stroke: none;
  width: 16px;
  height: 16px;
}
.btn--call:hover {
  background: #fff;
}

/* ---------- Header / Nav ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 251, 251, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.masthead.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.masthead__inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  height: 46px;
  width: auto;
}
.mainnav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: auto;
}
.mainnav a {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--brand-ink);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.18s var(--ease);
}
.mainnav a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s var(--ease);
}
.mainnav a:hover::after,
.mainnav a:focus-visible::after {
  transform: scaleX(1);
}
.masthead__cta {
  margin-left: 0.4rem;
}

.navtoggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0 11px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  cursor: pointer;
}
.navtoggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--brand-deep);
  border-radius: 2px;
  transition:
    transform 0.25s var(--ease),
    opacity 0.2s var(--ease);
}
.masthead.nav-open .navtoggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.masthead.nav-open .navtoggle span:nth-child(2) {
  opacity: 0;
}
.masthead.nav-open .navtoggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile-Menü — SOLIDER Hintergrund */
.mobilenav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 0.5rem var(--gutter) 1.2rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.masthead.nav-open .mobilenav {
  display: flex;
}
.mobilenav a {
  padding: 0.85rem 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--brand-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobilenav a:last-child {
  border-bottom: none;
}
.mobilenav__call {
  margin-top: 0.6rem;
  color: #fff !important;
  background: var(--accent);
  border-radius: 12px;
  text-align: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(540px, 78vh, 760px);
  padding: clamp(5rem, 4rem + 6vw, 8rem) 0 clamp(3.5rem, 2rem + 5vw, 6rem);
  color: #fff;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    105deg,
    rgba(8, 47, 51, 0.93) 0%,
    rgba(10, 60, 64, 0.78) 42%,
    rgba(8, 47, 51, 0.42) 100%
  );
}
.hero__inner {
  max-width: 740px;
}
.hero__title {
  font-size: var(--text-hero);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 1.1rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}
.hero__accent {
  color: #ffb487;
}
.hero__lead {
  max-width: 52ch;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.22rem);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.8rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.2rem;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.45em 0.95em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  color: #eafaf6;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.hero__trust li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Intro / Metriken ---------- */
.intro {
  padding: var(--space-section) 0;
  background: var(--paper);
}
.intro__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.intro__copy .display {
  margin-bottom: 1.1rem;
}
.intro__copy p {
  color: var(--muted);
  max-width: 50ch;
}
.metrics {
  margin: 0;
  display: grid;
  gap: 0.9rem;
}
.metric {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: 1.2rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.metric dt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem);
  color: var(--brand);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2.4em;
}
.metric dt span {
  color: var(--accent);
}
.metric dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* ---------- Leistungen / Cards ---------- */
.leistungen {
  padding: var(--space-section) 0;
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%);
}
.cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
}
.card {
  grid-column: span 2;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.7rem 1.6rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
  will-change: transform;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.card:hover::before {
  transform: scaleX(1);
}
.card--lg {
  grid-column: span 3;
}
.card__no {
  position: absolute;
  top: 1.3rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent2);
}
.card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: var(--accent2);
  color: var(--brand-deep);
}
.card__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--brand-ink);
  margin-bottom: 0.5rem;
}
.card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.15rem;
}
.card__link {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-deep);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.card__link::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}
.card__link:hover::after {
  transform: translateX(4px);
}

/* ---------- Ablauf (dunkles Teal-Band) ---------- */
.ablauf {
  padding: var(--space-section) 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(212, 107, 53, 0.18), transparent 45%),
    linear-gradient(160deg, var(--brand-deep) 0%, var(--brand-ink) 100%);
  color: #fff;
}
.ablauf__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.ablauf__head .display {
  margin-bottom: 1rem;
}
.ablauf__lead {
  color: rgba(255, 255, 255, 0.82);
  max-width: 42ch;
  margin-bottom: 1.8rem;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.step {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.4rem 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  transition:
    background-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.step:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}
.step__no {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: #ffb487;
  line-height: 1;
  flex-shrink: 0;
}
.step h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.3rem;
}
.step p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.94rem;
}

/* ---------- Referenzen ---------- */
.referenzen {
  padding: var(--space-section) 0;
  background: var(--paper);
}
.refs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.ref {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  isolation: isolate;
}
.ref--wide {
  grid-column: 1 / -1;
}
.ref img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  transition: transform var(--dur) var(--ease);
}
.ref--wide img {
  aspect-ratio: 24 / 9;
}
.ref:hover img {
  transform: scale(1.04);
}
.ref::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    0deg,
    rgba(8, 47, 51, 0.9) 0%,
    rgba(8, 47, 51, 0.32) 46%,
    rgba(8, 47, 51, 0) 72%
  );
}
.ref figcaption {
  position: absolute;
  z-index: 2;
  inset: auto 0 0 0;
  padding: 1.5rem 1.6rem 1.4rem;
  color: #fff;
}
.ref__tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.3em 0.85em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--accent);
  border-radius: 999px;
}
.ref figcaption h3 {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}
.ref figcaption p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.93rem;
  max-width: 46ch;
}

/* ---------- Standort ---------- */
.standort {
  padding: var(--space-section) 0;
  background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 100%);
}
.standort__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
.standort__copy .display {
  margin-bottom: 1rem;
}
.standort__copy > p {
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 1.4rem;
}
.standort__list {
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}
.standort__list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
  color: var(--brand-ink);
}
.standort__list svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.standort__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-md);
  background: var(--surface);
}
.standort__map iframe {
  width: 100%;
  height: clamp(280px, 38vw, 420px);
  border: 0;
  filter: saturate(0.92);
}

/* ---------- Kontakt ---------- */
.kontakt {
  padding: var(--space-section) 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(212, 107, 53, 0.2), transparent 42%),
    linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
}
.kontakt__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: start;
}
.kontakt__info .display {
  margin-bottom: 1rem;
}
.kontakt__intro {
  color: rgba(255, 255, 255, 0.86);
  max-width: 42ch;
  margin-bottom: 1.8rem;
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 1.06rem;
}
.contact-list a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.contact-list a:hover {
  border-bottom-color: #ffb487;
}
.contact-list svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: #ffb487;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.kontakt__form {
  display: grid;
  gap: 0.95rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.4rem);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.kontakt__form label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--brand-ink);
}
.kontakt__form input,
.kontakt__form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 0.78em 0.95em;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  transition:
    border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}
.kontakt__form input::placeholder,
.kontakt__form textarea::placeholder {
  color: #9aabad;
}
.kontakt__form input:focus,
.kontakt__form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 111, 115, 0.16);
}
.kontakt__form textarea {
  resize: vertical;
  min-height: 96px;
}
.kontakt__form .btn {
  justify-content: center;
  margin-top: 0.3rem;
}
.form-note {
  margin: 0;
  padding: 0.8rem 1rem;
  background: var(--accent2);
  border-radius: 12px;
  color: var(--brand-deep);
  font-size: 0.92rem;
  font-weight: 500;
}

/* ---------- Footer ---------- */
.sitefoot {
  background: var(--brand-ink);
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(2.4rem, 1.6rem + 3vw, 3.6rem) 0;
}
.sitefoot__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.8rem;
}
.sitefoot__brand {
  max-width: 34ch;
}
.brand--foot img {
  height: 52px;
  width: auto;
  margin-bottom: 0.7rem;
  background: #fff;
  padding: 8px 12px;
  border-radius: 12px;
}
.sitefoot__brand p {
  font-size: 0.92rem;
}
.sitefoot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  justify-content: flex-end;
}
.sitefoot__links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
.sitefoot__links a:hover {
  color: #ffb487;
}

/* ---------- Mobile-Call FAB ---------- */
.mobilecall {
  display: none;
  position: fixed;
  z-index: 90;
  right: 16px;
  bottom: 16px;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.25em;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
}
.mobilecall svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

/* =====================================================================
   Schwarzwald-Agent Powered-by-Footer (pbStrip) — kanonisch aus _kit/footer.css
===================================================================== */
.pbStrip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 26px 16px 22px;
  text-align: center;
  background: #fefdf9;
  border-top: 1px solid #e8e0d5;
}
.pbStrip .pbLink {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  opacity: 0.75;
  transition: opacity 0.18s ease;
  text-decoration: none;
}
.pbStrip .pbLink:hover {
  opacity: 1;
  text-decoration: none;
}
.pbStrip .pbLabel {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: #8b7355;
}
.pbStrip .pbIcon {
  height: 32px;
  width: 32px;
  object-fit: contain;
  display: block;
}
.pbStrip .pbName {
  font-family:
    "Plus Jakarta Sans",
    "Inter",
    system-ui,
    -apple-system,
    Segoe UI,
    Arial,
    sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0d4a3c;
}

/* =====================================================================
   Scroll-Reveal
===================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* =====================================================================
   Responsive
===================================================================== */
@media (max-width: 960px) {
  .mainnav,
  .masthead__cta {
    display: none;
  }
  .navtoggle {
    display: flex;
  }
  .intro__grid,
  .ablauf__grid,
  .standort__grid,
  .kontakt__grid {
    grid-template-columns: 1fr;
  }
  .ablauf__head {
    order: -1;
  }
  .card--lg {
    grid-column: span 3;
  }
  .mobilecall {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .card,
  .card--lg {
    grid-column: span 1;
  }
  .refs {
    grid-template-columns: 1fr;
  }
  .ref img,
  .ref--wide img {
    aspect-ratio: 16 / 10;
  }
  .sitefoot__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .sitefoot__links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .card,
  .card--lg {
    grid-column: span 1;
  }
  .hero__trust li {
    font-size: 0.78rem;
  }
}

/* =====================================================================
   Reduced Motion
===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
