/* ====================================================
   GE Gräser Eschbach — Website Proposal
   Design tokens nach Styleguide 10
   ==================================================== */

:root {
  /* Aufzählungszeichen: der Kranhaken aus dem Logo.
     Als Maske eingebunden, nicht als fertiges Bild — so bestimmt die Farbe
     weiterhin das CSS (background), und derselbe Haken funktioniert auch auf
     hellem Grund oder im Hover-Zustand.
     Bewusst grob gezeichnet: bei 14 Pixeln verschluckt jede Feinheit sich
     selbst, ein Haken muss auf einen Blick als Haken lesbar sein. */
  --marker-haken: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 2v7'/%3E%3Cpath d='M12 9a5 5 0 1 0 5 5'/%3E%3C/svg%3E");
  /* Alternative: der Warn-Chevron aus dem Logo. Bei kleinen Größen deutlich
     ruhiger als der Haken — falls der Haken zu unruhig wirkt, hier tauschen. */
  --marker-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 16l8-8 8 8'/%3E%3C/svg%3E");

  /* Brand */
  --c-primary: #FADF00;
  --c-primary-hover: #E8CE00;
  --c-ink: #000000;
  --c-bg: #FFFFFF;
  --c-bg-dark: #1F2124;
  --c-bg-deep: #000000;
  --c-text: #1F2124;
  --c-text-muted: #7A7A7A;
  --c-text-secondary: #54595F;
  --c-text-inverse: #FFFFFF;
  --c-border: #DDDDDD;

  /* Type */
  --font-display: "Barlow Condensed", "DIN 2014", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Barlow", "DIN 2014", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(80px, 10vw, 140px);
  /* Einheitliche Mindesthöhe aller Seiten-Heroes (Startseite ausgenommen). */
  --hero-min: clamp(440px, 60vh, 680px);

  --radius: 2px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-weight: 400;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

/* ============ TYPO ============ */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--c-primary);
}
.eyebrow.on-dark { color: rgba(255,255,255,0.7); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.h-display {
  font-weight: 900;
  font-size: clamp(56px, 8vw, 128px);
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.01em;
}
.h-xl {
  font-weight: 900;
  font-size: clamp(44px, 6vw, 88px);
  text-transform: uppercase;
  line-height: 0.9;
}
.h-l {
  font-weight: 800;
  font-size: clamp(32px, 4vw, 56px);
  text-transform: uppercase;
  line-height: 0.95;
}
.h-m {
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 32px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.h-s {
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lead { font-size: 19px; line-height: 1.55; color: var(--c-text-secondary); max-width: 60ch; }
.body-text { font-size: 16px; line-height: 1.65; color: var(--c-text-secondary); }

.yellow { color: var(--c-primary); }
.muted { color: var(--c-text-muted); }

/* Gelbe Akzentlinie */
.accent-line {
  display: block;
  width: 64px;
  height: 4px;
  background: var(--c-primary);
  border: 0;
  margin: 18px 0 24px;
}

/* ============ WARN-CHEVRON ============ */
.chevron-strip {
  height: 14px;
  background:
    repeating-linear-gradient(
      135deg,
      var(--c-primary) 0 18px,
      var(--c-ink) 18px 36px
    );
}
.chevron-strip.thin { height: 8px; }
.chevron-strip.thick { height: 22px; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.86);
  border-bottom: 1px solid var(--c-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 64px;
  width: auto;
  display: block;
}
@media (max-width: 600px) {
  .nav-inner { height: 84px; }
  .nav-logo img { height: 48px; }
}
.nav-links {
  display: flex;
  gap: 32px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav-links a {
  position: relative;
  padding: 8px 0;
  color: var(--c-ink);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--c-text-muted); }
/* Telefonnummer in der Kopfzeile, abgesetzt hinter den Menuepunkten.
   Sie traegt die Markenfarbe — sie ist ein Angebot, kein weiterer
   Menuepunkt.

   WORAUF MAN HIER HEREINFAELLT: Die Regel .nav weiter oben setzt einen
   HELLEN Grund (rgba(255,255,255,.86)). Gelb waere darauf unlesbar. Er
   kommt aber nie zum Tragen: homepage.css setzt fuer .home — und diese
   Klasse steht auf JEDER Seite am html-Element — background: transparent
   ueber einem dunklen body, und die Menuepunkte auf rgba(255,255,255,.82).
   Gelb auf #0A0A0B ergibt rund 14:1. Wer den hellen Grund je wieder
   aktiviert, muss diese Farbe mit aendern. */
.nav-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding: 8px 0 8px 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--c-primary);
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.nav-tel:hover { opacity: 0.78; }
.nav-tel svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
/* Unter 1180 px wird es im Menue eng — dann weicht die Nummer in das
   aufklappbare Menue aus, wo sie ohnehin steht. */
@media (max-width: 1180px) { .nav-tel { display: none; } }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer;
}
.btn-primary {
  background: var(--c-primary);
  color: var(--c-ink);
}
.btn-primary:hover {
  background: var(--c-primary-hover);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--c-ink);
  border: 2px solid var(--c-ink);
  padding: 14px 26px;
}
.btn-secondary:hover { background: var(--c-ink); color: var(--c-text-inverse); }
.btn-secondary.on-dark {
  color: var(--c-text-inverse);
  border-color: var(--c-text-inverse);
}
.btn-secondary.on-dark:hover { background: var(--c-text-inverse); color: var(--c-ink); }
.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  padding: 14px 0;
  border-bottom: 2px solid var(--c-ink);
  border-radius: 0;
}
.btn .arrow { width: 18px; height: 12px; }

/* Weiterführender Textlink („Unsere Geschichte", „Alle Leistungen").
   Die Regel stand im Vorgängerprojekt unter `.ref-head .all` und galt damit nur
   innerhalb eines Abschnitts. Auf der Startseite steht der Link außerhalb davon
   und war deshalb vollständig ungestylt — samt des eingebetteten SVG, das ohne
   Größenangabe auf die Standardgröße für ersetzte Elemente zurückfällt
   (300 × 150 px). Daraus wurden die riesigen Pfeile auf der Startseite.
   Deshalb hier bewusst ohne Einschränkung auf einen Elternbereich. */
.all {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase;
  color: #fff; text-decoration: none;
}
.all svg { width: 18px; height: 12px; flex: 0 0 auto; transition: transform .25s; }
.all:hover, .all:focus-visible { color: var(--c-primary); }
.all:hover svg, .all:focus-visible svg { transform: translateX(5px); }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: var(--c-bg-deep);
  color: var(--c-text-inverse);
  overflow: hidden;
  padding-top: 104px;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  width: 100%;
  align-items: stretch;
}
.hero-text {
  padding: clamp(60px, 10vh, 140px) var(--gutter) clamp(80px, 14vh, 160px) calc((100vw - var(--container))/2 + var(--gutter));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.hero-text .eyebrow.on-dark::before { background: var(--c-primary); }
.hero-title { margin-top: 24px; }
.hero-title .y { color: var(--c-primary); }
.hero-title .it { font-style: italic; font-weight: 300; text-transform: none; }
.hero-sub {
  margin-top: 32px;
  max-width: 48ch;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255,255,255,0.75);
}
.hero-cta { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.hero-cta .btn-secondary.on-dark { background: transparent; }

.hero-meta {
  position: absolute;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.hero-meta strong { font-size: 28px; color: var(--c-primary); letter-spacing: 0; line-height: 1; }

.hero-stats {
  position: absolute;
  left: calc((100vw - var(--container))/2 + var(--gutter));
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  z-index: 3;
}
.hero-stat {
  padding: 24px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hero-stat:last-child { border-right: none; }
.hero-stat .v {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 36px;
  line-height: 1;
  color: var(--c-text-inverse);
}
.hero-stat .v .unit { color: var(--c-primary); font-size: 0.7em; margin-left: 2px; }
.hero-stat .l {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
}

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text { padding: 100px var(--gutter) 60px; }
  .hero-stats { position: static; grid-template-columns: repeat(2, 1fr); }
}

/* ============ TICKER ============ */
.ticker {
  background: var(--c-ink);
  color: var(--c-text-inverse);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}
.ticker-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 64px;
}
.ticker-dot { color: var(--c-primary); }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ SECTION ============ */
section { padding: var(--section-y) 0; }
section.dark { background: var(--c-ink); color: var(--c-text-inverse); }
section.dark .lead, section.dark .body-text { color: rgba(255,255,255,0.7); }
section.dark .muted { color: rgba(255,255,255,0.5); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head .col-r { display: flex; flex-direction: column; justify-content: end; }

@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
}

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-border);
  border-left: 1px solid var(--c-border);
}
.service {
  grid-column: span 4;
  padding: 40px 32px;
  border-right: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg);
  position: relative;
  transition: background 0.25s, color 0.25s;
  display: flex;
  flex-direction: column;
  min-height: 360px;
}
.service:hover {
  background: var(--c-ink);
  color: var(--c-text-inverse);
}
.service:hover .service-num,
.service:hover .service-list li { color: rgba(255,255,255,0.7); }
.service:hover .service-list li::before { background: var(--c-primary); }
.service:hover .service-arrow { background: var(--c-primary); color: var(--c-ink); }

.service.feature { grid-column: span 6; }
.service-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.service-title {
  margin-top: 14px;
  margin-bottom: 8px;
}
.service-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  color: var(--c-text-secondary);
  flex: 1;
}
.service-list li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
}
.service-list li::before {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  margin-top: 8px;
  background: var(--c-ink);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.service-arrow {
  margin-top: 24px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--c-primary);
  color: var(--c-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  transition: transform 0.25s;
}
.service:hover .service-arrow { transform: translateX(4px); }

@media (max-width: 1000px) {
  .service { grid-column: span 6; }
  .service.feature { grid-column: span 12; }
}
@media (max-width: 600px) {
  .service, .service.feature { grid-column: span 12; }
}

/* ============ BRANCHEN ============ */
.branchen {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
}
.branche {
  background: var(--c-bg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  position: relative;
}
.branche .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--c-primary);
}
.branche .name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  text-transform: uppercase;
  line-height: 0.95;
}
.branche .meta {
  margin-top: auto;
  font-size: 13.5px;
  color: var(--c-text-muted);
  line-height: 1.5;
}

@media (max-width: 900px) { .branchen { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .branchen { grid-template-columns: 1fr; } }

/* ============ REFERENZEN ============ */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ref {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.ref:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 40px -30px rgba(0,0,0,0.18);
}
.ref-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ref-loc {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.ref-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.05;
  text-transform: uppercase;
}
.ref-desc {
  font-size: 14.5px;
  color: var(--c-text-secondary);
  margin-top: 4px;
}
.ref-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  display: flex;
  justify-content: space-between;
}

@media (max-width: 900px) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ref-grid { grid-template-columns: 1fr; } }

/* ============ TRADITION TIMELINE ============ */
.timeline {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  position: relative;
  margin-top: 60px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 32px;
  height: 2px;
  background: rgba(255,255,255,0.15);
}
.timeline-item {
  padding: 0 24px 0 0;
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 18px;
  height: 18px;
  background: var(--c-primary);
  border: 4px solid var(--c-ink);
  border-radius: 999px;
  z-index: 2;
}
.timeline-year {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  color: var(--c-primary);
  margin-top: 64px;
  letter-spacing: -0.01em;
}
.timeline-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  margin-top: 14px;
}
.timeline-desc {
  font-size: 14.5px;
  color: rgba(255,255,255,0.65);
  margin-top: 10px;
  max-width: 32ch;
}

@media (max-width: 800px) {
  .timeline { grid-template-columns: 1fr; gap: 24px; }
  .timeline::before { left: 8px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline-item { padding-left: 36px; padding-right: 0; }
  .timeline-item::before { top: 8px; left: 0; }
  .timeline-year { margin-top: 0; }
}

/* ============ KARRIERE ============ */
.karriere {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.karriere-claim {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 5vw, 72px);
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.01em;
}
.karriere-claim mark {
  background: var(--c-primary);
  color: var(--c-ink);
  padding: 0 0.15em;
}
.karriere-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--c-border);
}
.karriere-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--c-border);
  align-items: center;
}
.karriere-list .role {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
}
.karriere-list .loc {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.karriere-list .arrow {
  width: 38px; height: 38px;
  border-radius: 999px;
  background: var(--c-ink);
  color: var(--c-text-inverse);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.karriere-list li:hover .arrow { background: var(--c-primary); color: var(--c-ink); }

@media (max-width: 900px) {
  .karriere { grid-template-columns: 1fr; gap: 40px; }
}

/* ============ KONTAKT ============ */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.kontakt-card {
  border: 1px solid rgba(255,255,255,0.15);
  padding: 32px;
  background: rgba(255,255,255,0.02);
}
.kontakt-card .label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-primary);
}
.kontakt-card .name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  text-transform: uppercase;
  margin-top: 12px;
}
.kontakt-card .addr {
  margin-top: 16px;
  font-size: 14.5px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
.kontakt-card .contact-line {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kontakt-card .contact-line span { color: rgba(255,255,255,0.55); font-weight: 500; letter-spacing: 0.14em; font-size: 11px; }

@media (max-width: 900px) { .kontakt-grid { grid-template-columns: 1fr; } }

/* CTA Card */
.cta-band {
  margin-top: 80px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  padding: 48px 56px;
  background: var(--c-primary);
  color: var(--c-ink);
  align-items: center;
}
.cta-band .h {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 48px);
  text-transform: uppercase;
  line-height: 0.95;
}
.cta-band .sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.cta-band .btn { background: var(--c-ink); color: var(--c-text-inverse); }
.cta-band .btn:hover { background: var(--c-bg-dark); }

@media (max-width: 800px) {
  .cta-band { grid-template-columns: 1fr; gap: 24px; padding: 32px; }
}

/* ============ FOOTER ============ */
footer.foot {
  background: var(--c-ink);
  color: var(--c-text-inverse);
  padding: 80px 0 40px;
}
/* Erste Spalte (Claim) doppelt so breit, die Link-Spalten teilen sich den Rest.
   Implizite Spalten statt festem Raster: Ist ein Bereich im CMS abgeschaltet,
   entfällt seine Footer-Spalte — ohne leere Rasterspalte am rechten Rand. */
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr);
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 48px;
}
.foot-grid h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 18px;
}
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { color: rgba(255,255,255,0.85); font-size: 14.5px; }
.foot-grid a:hover { color: var(--c-primary); }
/* Logo am Fuß. Etwas kleiner als in der Kopfzeile — es soll den Abschluss
   markieren, nicht mit dem Claim darunter um die Aufmerksamkeit streiten.
   Die Höhe steht fest, damit beim Laden nichts springt. */
.foot-logo { display: inline-block; margin-bottom: 26px; }
.foot-logo img { width: 158px; height: auto; opacity: 0.92; transition: opacity 0.2s ease; }
.foot-logo:hover img,
.foot-logo:focus-visible img { opacity: 1; }

.foot-claim {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 16px;
}
.foot-claim .y { color: var(--c-primary); }

/* Anschrift und Telefon in der Fusszeile. <address> kursiviert in den
   meisten Browsern von sich aus — das passt hier nicht. */
.foot-nap {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}
.foot-nap-name { color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.foot-nap a { color: rgba(255, 255, 255, 0.85); }
.foot-nap a:hover { color: var(--c-primary); }
.foot-meta {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 800px) {
  .foot-grid { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .foot-meta { flex-direction: column; gap: 12px; }
}

/* Hover micro reveal for service cards */
.service-title, .service-num, .service-list, .service-arrow { position: relative; z-index: 1; }

/* ============ MARKENFLÄCHE STATT FOTO ============
   Solange keine freigegebenen Fotos vorliegen, tragen Hero- und Bildflächen
   das Markenmuster statt eines Bildes: Graphit-Grund, feines Chevron-Raster
   in Gelb, Lichtkegel von oben links.
   Nutzung: class="brand-fill" (Karten-/Bildplatz) bzw. "brand-fill-hero"
   (große Seiten-Heroes) auf der Fläche selbst. Inhalt darüber braucht
   position:relative + z-index. */
.brand-fill {
  background-color: #0A0A0B;
  background-image:
    repeating-linear-gradient(135deg, rgba(250,223,0,.05) 0 12px, rgba(255,255,255,0) 12px 24px),
    radial-gradient(120% 95% at 12% 0%, rgba(250,223,0,.12), rgba(250,223,0,0) 62%);
}
.brand-fill-hero {
  min-height: var(--hero-min);
  /* Gelbe Kante als einheitlicher Hero-Abschluss — sie ersetzt die Kante,
     die früher der Bildrand gab. */
  border-bottom: 3px solid var(--c-primary);
  background-color: #0A0A0B;
  /* Reihenfolge = Stapel von oben nach unten: die Abdunklung liegt ÜBER dem
     Raster, sonst kann sie es nicht abdunkeln. */
  background-image:
    /* 1) oben abdunkeln (Lesbarkeit der transparenten Nav), unten auslaufen
          lassen (sauberer Übergang zur Folgesektion) */
    linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 34%, rgba(0,0,0,.3) 72%, rgba(0,0,0,.72) 100%),
    /* 2) Lichtkegel auf Höhe der Headline — nicht hinter der fixen Nav */
    radial-gradient(80% 70% at 16% 48%, rgba(250,223,0,.13), rgba(250,223,0,0) 62%),
    /* 3) Chevron-Raster, gleiche Rasterweite wie .brand-fill */
    repeating-linear-gradient(135deg, rgba(250,223,0,.06) 0 12px, rgba(255,255,255,0) 12px 24px);
}

/* ============ SCROLL-HINWEIS ============
   Marken-Element aus den Original-Entwürfen (Styleguide, Kampagnenseite):
   ein schmaler Balken, in dem ein gelber Läufer nach unten wandert, darunter
   das Wort. Sitzt am unteren Rand eines Heroes und zeigt, dass es weitergeht.
   Der Hero muss dafür position: relative tragen (.page-hero hat das bereits).
   Nutzung:
     <div class="scroll-cue" aria-hidden="true"><span class="bar"></span>Scrollen</div>
   auf einer Fläche mit position: relative. */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  /* Rein visueller Hinweis — er soll die Textauswahl darunter nicht abfangen. */
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s;
}
.scroll-cue .bar {
  width: 6px;
  height: 76px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}
.scroll-cue .bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  border-radius: 3px;
  background: var(--c-primary);
  box-shadow: 0 0 14px rgba(250, 223, 0, 0.6);
  animation: scroll-cue-run 1.8s ease-in-out infinite;
}
@keyframes scroll-cue-run {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* Niedrige Fenster: der Hinweis wird kleiner, aber NICHT ausgeblendet — er
   sitzt auf einer eigenen Fläche und kollidiert mit nichts. (Er stammt aus
   einem Entwurf, in dem er im Hero über dem Text stand; dort war Ausblenden
   richtig, hier nicht.) */
@media (max-height: 720px) {
  .scroll-cue { bottom: 16px; gap: 9px; font-size: 12px; }
  .scroll-cue .bar { height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue .bar::after { animation: none; }
}

/* ============ MEDIEN UND TRENNLINIEN IM FLIESSTEXT ============
   Aus dem Richtext-Editor des CMS (Werkzeuge „Upload“ und „Trennlinie“).
   Gilt überall, wo Richtext läuft: Blogbeiträge, Leistungen, Über uns,
   Rechtstexte. Bilder laufen auf die Breite der Textspalte und behalten ihr
   Seitenverhältnis; die Trennlinie ist der gelbe Strich des Hauses. */
.rt-media { margin: 32px 0; }
.rt-media img,
.rt-media video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.rt-hr {
  border: 0;
  width: 64px;
  height: 4px;
  margin: 40px 0;
  background: var(--c-primary);
}
