:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f4f9fc;
  --color-bg-deep: #041c2c;
  --color-primary: #0092d6;
  --color-primary-dark: #0576a8;
  --color-primary-darker: #013a55;
  --color-text: #1d1d1f;
  --color-text-muted: #6e7780;
  --color-text-inverse: #f4f8fa;
  --color-border: #e5eaee;
  --radius: 20px;
  --shadow-sm: 0 1px 3px rgba(20, 30, 40, 0.06), 0 1px 2px rgba(20,30,40,0.04);
  --shadow-md: 0 20px 40px rgba(10, 30, 45, 0.10);
  --max-width: 1200px;
  --font: -apple-system, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Überschriften: leicht gesetzt statt fett, eng laufend – das ist der
   wesentliche optische Unterschied zu den Referenzseiten. */
h1, h2 { line-height: 1.1; margin: 0 0 .5em; font-weight: 450; letter-spacing: -0.035em; }
h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
svg { display: block; }

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.eyebrow.on-blue {
  color: #bfe6f7;
}
.eyebrow.lg {
  font-size: 1.05rem;
}

/* Siegel-Badge "Legendary since 1922" (Hero Startseite) */
/* Der Schlagschatten sitzt bewusst am Wrapper, nicht am <svg>. Ein Filter
   direkt auf einem SVG-Element lässt WebKit das Siegel gelegentlich als
   schwarze Scheibe ausgeben. */
.hero-seal-wrap { margin-bottom: 22px; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.35)); }
.hero-seal {
  width: 112px; height: 112px;
  animation: sealStamp 0.8s cubic-bezier(.22,.85,.3,1) 0.25s both;
}
.hero-seal .seal-ring-outer { fill: none; stroke: #fff; stroke-width: 1.5; opacity: 0.85; }
.hero-seal .seal-ring-inner { fill: none; stroke: #fff; stroke-width: 0.9; opacity: 0.4; }
.hero-seal .seal-text-top {
  fill: #fff; font-size: 12px; font-weight: 600; letter-spacing: 2.4px;
  font-family: var(--font);
}
.hero-seal .seal-text-bottom {
  fill: #fff; font-size: 10px; font-weight: 600; letter-spacing: 4px;
  font-family: var(--font); opacity: 0.75;
}
.hero-seal .seal-year {
  fill: #fff; font-size: 34px; font-weight: 700; letter-spacing: 0.5px;
  font-family: var(--font);
}
.hero-seal .seal-dot { fill: #fff; opacity: 0.6; }
@media (prefers-reduced-motion: reduce) {
  .hero-seal { animation: none; }
}
@media (max-width: 560px) {
  .hero-seal { width: 92px; height: 92px; }
}
@keyframes sealStamp {
  0%   { opacity: 0; transform: scale(1.5) rotate(-10deg); }
  55%  { opacity: 1; transform: scale(0.93) rotate(3deg); }
  80%  { transform: scale(1.02) rotate(-1deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

.section { padding: 120px 0; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head p { color: var(--color-text-muted); font-size: 1.15rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section.alt { background: var(--color-bg-alt); }
.section.tight { padding: 64px 0; }

/* Statement: full-bleed dark editorial break */
.statement {
  background: var(--color-bg-deep);
  color: #fff;
  padding: 160px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.statement::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 40%, rgba(0,0,0,0.6), transparent 80%);
  mask-image: radial-gradient(60% 60% at 50% 40%, rgba(0,0,0,0.6), transparent 80%);
  pointer-events: none;
}
.statement .container { position: relative; }
.statement h2 {
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #fff;
}
.statement p {
  font-size: 1.15rem;
  color: #9fc3d6;
  max-width: 560px;
  margin: 0 auto;
}
@media (max-width: 560px) {
  .statement { padding: 100px 0; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-primary-dark); box-shadow: var(--shadow-md); }
.btn-white { background: #fff; color: var(--color-primary-dark); box-shadow: var(--shadow-sm); }
.btn-white:hover { background: #eaf5fc; box-shadow: var(--shadow-md); }
.btn-outline { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.14); }
.btn-outline-dark { border-color: var(--color-primary); color: var(--color-primary-dark); }
.btn-outline-dark:hover { background: var(--color-primary); color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* Icon system (no emoji): line-icon badges + real brand icon images */
.icon-badge {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--color-bg-alt);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; flex-shrink: 0;
}
.icon-badge img { width: 26px; height: 26px; object-fit: contain; }
.icon-badge svg { width: 24px; height: 24px; color: var(--color-primary); }
.icon-badge.on-white { background: rgba(255,255,255,0.15); }
.icon-badge.on-white svg { color: #fff; }
.icon-badge.lg { width: 56px; height: 56px; border-radius: 14px; }
.icon-badge.lg img, .icon-badge.lg svg { width: 30px; height: 30px; }

/* Einheitliche Bildsprache: leichter Blauton über allen Fotos, damit Archiv- und
   moderne Aufnahmen wie eine bewusste Bildregie wirken statt wie ein Materialmix. */
.teaser-media, .ref-media, .about-photo img, .history-photo img, .gallery-item img {
  filter: saturate(112%) contrast(103%);
}
.teaser-media, .ref-media, .about-photo, .history-photo, .gallery-item {
  position: relative;
}
.teaser-media::after, .ref-media::after, .about-photo::after, .history-photo::after, .gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(0,146,214,0.22) 0%, rgba(1,58,85,0.32) 100%);
  mix-blend-mode: color;
  pointer-events: none;
}

/* Referenz-Detailseiten */
.project-tagline { max-width: 640px; margin: 0 auto; text-align: center; }
.project-tagline p { font-size: 1.35rem; font-weight: 650; color: var(--color-text); line-height: 1.5; margin-bottom: 12px; letter-spacing: -0.01em; }
.project-tagline p:last-child { color: var(--color-text-muted); font-weight: 500; font-style: italic; font-size: 1.1rem; margin-bottom: 0; }

.project-story { max-width: 700px; margin: 0 auto; }
.project-story h2 {
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--color-primary-dark);
  letter-spacing: -0.02em;
  margin: 56px 0 18px;
}
.project-story h2:first-child { margin-top: 0; }
.project-story p { font-size: 1.05rem; line-height: 1.85; color: var(--color-text-muted); margin-bottom: 20px; }
.project-story p:last-child { margin-bottom: 0; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); cursor: zoom-in; border: 0; padding: 0; background: none; display: block; width: 100%; }
.gallery-item picture { display: block; }
.gallery-item img { width: 100%; height: 300px; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.wide img { height: 420px; }
@media (max-width: 700px) {
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.wide img { height: 300px; }
}

/* Lightbox für Foto-Galerien */
.lightbox {
  position: fixed; inset: 0; z-index: 1100;
  display: none;
  align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox-backdrop { position: fixed; inset: 0; background: rgba(4, 20, 30, 0.92); }
.lightbox-figure { position: relative; z-index: 1; max-width: min(1100px, 92vw); max-height: 88vh; }
.lightbox-figure img {
  display: block; max-width: 100%; max-height: 88vh;
  width: auto; height: auto;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute; top: -18px; right: -18px;
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text); box-shadow: var(--shadow-md);
}
.lightbox-close svg { width: 18px; height: 18px; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  z-index: 2; transition: background .15s ease;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.26); }
.lightbox-nav svg { width: 22px; height: 22px; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter {
  position: absolute; bottom: -34px; left: 50%; transform: translateX(-50%);
  color: #cfe3ea; font-size: 0.82rem; font-weight: 600;
}
@media (max-width: 720px) {
  .lightbox { padding: 20px; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-close { top: -14px; right: 4px; }
}

.project-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
  padding: 32px 0; border-top: 1px solid var(--color-border);
}
.project-meta p { color: var(--color-text-muted); margin-bottom: 0; }
.project-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  box-shadow: 0 0 0 rgba(10,30,45,0);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 24px rgba(10,30,45,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
  transition: height .25s ease;
}
.site-header.scrolled .container { height: 60px; }
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link img { height: 40px; width: auto; transition: height .25s ease; }
.site-header.scrolled .logo-link img { height: 32px; }
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--color-primary); }
.nav-links a.active { color: var(--color-primary-dark); }
.nav-links a.active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--color-primary);
  border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--color-text); border-radius: 2px; }

/* Photo hero (used on subpages) */
.photo-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 88px 0 64px;
  overflow: hidden;
}
.photo-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(2,45,66,0.92) 0%, rgba(0,132,190,0.82) 100%);
}
.photo-hero .container { position: relative; }
.photo-hero h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); color: #fff; max-width: 760px; }
.photo-hero p { color: #dcf0f8; font-size: 1.08rem; max-width: 620px; margin-bottom: 0; }
.photo-hero .breadcrumb { font-size: 0.85rem; color: #bfe3f2; margin-bottom: 14px; }
.photo-hero .breadcrumb a:hover { color: #fff; }

/* Home hero */
.hero {
  position: relative;
  background-size: cover;
  background-position: center 65%;
  color: var(--color-text-inverse);
  overflow: hidden;
  padding: 100px 0 90px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(125deg, rgba(2,45,66,0.94) 10%, rgba(0,143,203,0.82) 75%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 400; letter-spacing: -0.04em; color: #fff; }
.hero-lead { font-size: 1.15rem; color: #eaf6fc; max-width: 600px; line-height: 1.6; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.25);
}
.hero-stats-2 {
  grid-template-columns: repeat(2, auto);
  justify-content: start;
  gap: 56px;
}
.hero-stats .stat-num { font-size: 1.9rem; font-weight: 800; color: #fff; }
.hero-stats .stat-label { font-size: 0.82rem; color: #d7ecf5; }

.hero-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.hero-card h3 { color: var(--color-text); font-size: 1.15rem; }
.hero-card p { color: var(--color-text-muted); font-size: 0.95rem; }
.hero-card ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 12px; }
.hero-card li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; color: var(--color-text);
  background: var(--color-bg-alt);
  padding: 10px 14px; border-radius: 10px;
}
.hero-card li .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); flex-shrink: 0; }

/* Trust bar */
.trust-bar { padding: 36px 0; }
.trust-bar .container { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; }
.trust-bar .trust-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-text-muted); width: 100%; text-align: center; margin-bottom: 4px; }
.trust-chip {
  font-size: 0.92rem; font-weight: 600; color: var(--color-text-muted);
  opacity: 0.85;
}

/* Teaser grid (Startseite -> Unterseiten) */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.teaser-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.teaser-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.teaser-media { height: 160px; background-size: cover; background-position: center; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.teaser-card:hover .teaser-media { transform: scale(1.06); }
.teaser-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.teaser-body h3 { font-size: 1.08rem; margin-bottom: 0; }
.teaser-body p { color: var(--color-text-muted); font-size: 0.92rem; flex: 1; }
.teaser-link { color: var(--color-primary-dark); font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.teaser-card:hover .teaser-link { text-decoration: underline; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-copy p { color: var(--color-text-muted); }
.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.about-photo:hover img { transform: scale(1.05); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stat-row .stat-num { font-size: 2rem; font-weight: 800; color: var(--color-primary-dark); }
.stat-row .stat-label { font-size: 0.85rem; color: var(--color-text-muted); }

/* History - "prägnant": alternating photo features */
.history-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}
.history-feature:last-child { margin-bottom: 0; }
.history-feature.reverse .history-photo { order: 2; }
.history-feature.reverse .history-copy { order: 1; }
.history-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.history-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.history-photo:hover img { transform: scale(1.05); }
.history-copy .year-badge {
  display: inline-block; font-size: 1.6rem; font-weight: 800; color: var(--color-primary);
  margin-bottom: 10px; letter-spacing: -0.02em;
}
.history-copy h3 { font-size: 1.4rem; margin-bottom: 10px; }
.history-copy p { color: var(--color-text-muted); font-size: 1rem; }

.milestones {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--color-border);
}
.milestones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.milestone {
  padding: 18px 20px;
  border-left: 3px solid var(--color-primary);
  background: var(--color-bg-alt);
  border-radius: 0 10px 10px 0;
}
.milestone .year { font-weight: 800; color: var(--color-primary-dark); font-size: 1rem; margin-bottom: 4px; }
.milestone p { font-size: 0.88rem; color: var(--color-text-muted); margin-bottom: 0; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.service-card h3 { font-size: 1.08rem; }
.service-card > p { color: var(--color-text-muted); font-size: 0.92rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.service-tags span {
  font-size: 0.76rem; font-weight: 600; color: var(--color-primary-dark);
  background: var(--color-bg-alt); padding: 4px 10px; border-radius: 999px;
}

/* Services: Sticky-Sidebar-Layout (Leistungsseite) */
.services-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}
.services-layout > * { min-width: 0; }
.services-nav {
  position: sticky;
  top: 100px;
}
.services-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.services-nav a {
  display: block;
  padding: 10px 16px;
  border-left: 3px solid transparent;
  border-radius: 0 10px 10px 0;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.services-nav a:hover { color: var(--color-text); background: var(--color-bg-alt); }
.services-nav a.active {
  color: var(--color-primary-dark);
  background: var(--color-bg-alt);
  border-left-color: var(--color-primary);
}
.services-detail { display: flex; flex-direction: column; }
.service-block {
  padding: 44px 0;
  border-bottom: 1px solid var(--color-border);
  scroll-margin-top: 100px;
}
.service-block:first-child { padding-top: 0; }
.service-block:last-child { border-bottom: none; padding-bottom: 0; }
/* In der Leistungsliste dürfen die Symbole deutlich größer stehen –
   sie sind dort das Erkennungsmerkmal der jeweiligen Kategorie. */
.service-block .icon-badge.lg {
  width: 84px; height: 84px; border-radius: 20px;
  margin-bottom: 20px;
}
.service-block .icon-badge.lg img,
.service-block .icon-badge.lg svg { width: 48px; height: 48px; }
.service-block h3 { font-size: 1.6rem; margin-bottom: 10px; }
.service-block > p { color: var(--color-text-muted); font-size: 1.05rem; max-width: 620px; }
.service-block .service-tags { margin-top: 16px; margin-bottom: 20px; }
.service-block .inquiry-trigger { display: inline-flex; }

@media (max-width: 900px) {
  .services-layout { grid-template-columns: 1fr; gap: 0; }
  .services-nav {
    position: sticky;
    top: 76px;
    z-index: 20;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    padding: 10px 0;
    margin-bottom: 8px;
  }
  .services-nav ul { flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 2px; }
  .services-nav a { white-space: nowrap; border-left: none; border-bottom: 3px solid transparent; border-radius: 8px 8px 0 0; }
  .services-nav a.active { border-left: none; border-bottom-color: var(--color-primary); }
  .service-block { scroll-margin-top: 130px; }
}

.leistungen-intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: -1px 0 0;
}
.leistungen-intro div { aspect-ratio: 16/10; background-size: cover; background-position: center; }

/* Leistungen: Gebäude-Übersichtsgrafik mit klickbaren Markierungen */
.overview-section { padding-bottom: 40px; }
.site-illustration {
  display: block;
  width: 100%;
  max-width: 860px;
  height: auto;
  margin: 0 auto;
}
.illustration-ground-band { fill: var(--color-bg-alt); }
.illustration-dashed { stroke: var(--color-primary); stroke-width: 1.5; stroke-dasharray: 7 7; opacity: .5; fill: none; }
.illustration-fill { fill: #fff; stroke: var(--color-primary); stroke-width: 2; }
.illustration-roof { fill: var(--color-bg-alt); stroke: var(--color-primary); stroke-width: 2; }
.illustration-detail { stroke: var(--color-primary); stroke-width: 1.5; fill: none; opacity: .55; }
.illustration-dot { fill: var(--color-primary); opacity: .4; }
/* Gewerke-Symbole: kräftiger gezeichnet, damit sie klar erkennbar bleiben */
.illustration-symbol {
  fill: none;
  stroke: var(--color-primary-dark);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.illustration-symbol-fill {
  fill: #fff;
  stroke: var(--color-primary-dark);
  stroke-width: 2;
  stroke-linejoin: round;
}
.illustration-spray {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 3 4;
}
.illustration-heat {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: .6;
}
.illustration-pipe {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 7;
  stroke-linecap: round;
  opacity: .75;
}
.illustration-water {
  fill: none;
  stroke: #5cc4ef;
  stroke-width: 2.5;
  stroke-linecap: round;
}
.illustration-drop { fill: #5cc4ef; }
/* Maskottchen auf der Hausansicht */
.illustration-dog {
  pointer-events: none;
  /* gleichmäßiges Gehtempo – die Dauer setzt das Skript */
  transition: transform 900ms linear;
}
.illustration-dog .dog-shadow { fill: rgba(16, 42, 60, .16); }
.illustration-dog.is-walking .dog-bob { animation: dogWalk 340ms ease-in-out infinite; }
@keyframes dogWalk {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-3px) rotate(-1.5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .illustration-dog { transition: none; }
  .illustration-dog.is-walking .dog-bob { animation: none; }
}

.illustration-pin { cursor: pointer; }
.illustration-pin circle {
  fill: var(--color-primary);
  stroke: #fff;
  stroke-width: 3;
  transition: transform .15s ease, fill .15s ease;
  transform-origin: center;
  transform-box: fill-box;
}
.illustration-pin text {
  fill: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font);
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
}
.illustration-pin:hover circle,
.illustration-pin:focus circle { transform: scale(1.2); fill: var(--color-primary-dark); }

.illustration-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  max-width: 760px;
  margin: 32px auto 0;
}
.illustration-legend a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.illustration-legend a:hover { color: var(--color-primary-dark); }
.illustration-legend .num {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--color-bg-alt); color: var(--color-primary-dark);
  font-size: 0.72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 560px) {
  .illustration-legend { gap: 8px 16px; }
  .illustration-legend a { font-size: 0.8rem; }
}

/* References */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.ref-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.ref-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.ref-media { height: 170px; background-size: cover; background-position: center; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.ref-card:hover .ref-media { transform: scale(1.06); }
.ref-body { padding: 22px; }
.ref-body h3 { font-size: 1.02rem; }
.ref-body p { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 0; }

.clients-block {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 20px;
}
.clients-grid h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-primary-dark); margin-bottom: 8px; }
.clients-grid p { font-size: 0.86rem; color: var(--color-text-muted); margin: 0; }

/* Careers - light blue base */
.careers {
  background: linear-gradient(160deg, var(--color-primary-darker) 0%, var(--color-primary-dark) 100%);
  color: var(--color-text-inverse);
  position: relative;
  overflow: hidden;
}
.careers::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 15% 10%, rgba(255,255,255,0.10), transparent 60%);
}
.careers .container { position: relative; }
.careers .section-head p { color: #d7ecf5; }
.careers h2, .careers h3 { color: #fff; }

.career-photo-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}
.career-photo-block .about-photo { box-shadow: var(--shadow-md); }
.career-photo-block p { color: #d7ecf5; }
.career-photo-block h2 { color: #fff; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 64px;
}
.benefit-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.benefit-card h3 { color: var(--color-text); font-size: 1rem; }
.benefit-card p { color: var(--color-text-muted); font-size: 0.88rem; margin-bottom: 0; }

.jobs-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.job-card {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 26px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.job-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.job-info h3 { font-size: 1.05rem; color: var(--color-text); margin-bottom: 6px; }
.job-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.job-tags span {
  font-size: 0.78rem; font-weight: 600; color: var(--color-primary-dark);
  background: var(--color-bg-alt); padding: 4px 10px; border-radius: 999px;
}

.initiative-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.initiative-card h3 { color: var(--color-text); margin-bottom: 6px; }
.initiative-card p { color: var(--color-text-muted); margin-bottom: 0; max-width: 520px; }

/* Quick apply — modal, reachable from every page */
.apply-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 5vh 20px;
  overflow-y: auto;
}
.apply-modal.open { display: flex; }
.apply-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(3, 30, 46, 0.6);
  backdrop-filter: blur(2px);
}
.apply-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-md);
  max-width: 640px;
  width: 100%;
  z-index: 1;
}
.apply-card .apply-head { max-width: 620px; margin-bottom: 24px; padding-right: 30px; }
.apply-card .apply-head h3 { color: var(--color-text); font-size: 1.35rem; }
.apply-card .apply-head p { color: var(--color-text-muted); margin-bottom: 0; }
.apply-close {
  position: absolute; top: 20px; right: 20px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--color-bg-alt); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-muted);
}
.apply-close:hover { background: var(--color-border); color: var(--color-text); }
.apply-close svg { width: 16px; height: 16px; }
.apply-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.apply-form .field-full { grid-column: 1 / -1; }
.apply-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}
.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--color-text);
}
.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  background: #fff;
}
.apply-form textarea { resize: vertical; min-height: 90px; }
.apply-note { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 12px; margin-bottom: 0; }
.apply-form .apply-submit { margin-top: 4px; }
body.modal-open { overflow: hidden; }

/* ---------- Bewerbungs-Buddy: Maskottchen als schwebender Einstieg ---------- */
.apply-buddy {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  transform: translateY(16px) scale(.9);
  transition: opacity .4s ease, transform .45s cubic-bezier(.2,.8,.3,1.3);
  pointer-events: none;
}
.apply-buddy.show { opacity: 1; transform: none; }
/* Nur Hund und Schließen-Knopf fangen Klicks – die Fläche drumherum bleibt frei,
   sonst blockiert die unsichtbare Sprechblase Links darunter. */
.apply-buddy.show .buddy-dog,
.apply-buddy.show .buddy-dismiss { pointer-events: auto; }
.buddy-bubble { pointer-events: none; }
/* Während ein Modal offen ist, hält sich der Buddy zurück */
body.modal-open .apply-buddy { opacity: 0; }
body.modal-open .apply-buddy .buddy-dog,
body.modal-open .apply-buddy .buddy-dismiss { pointer-events: none; }
/* In der Fußzeile ausblenden, damit Impressum und Datenschutz klickbar bleiben */
.apply-buddy.at-footer { opacity: 0; }
.apply-buddy.at-footer .buddy-dog,
.apply-buddy.at-footer .buddy-dismiss { pointer-events: none; }

.buddy-bubble {
  position: relative;
  pointer-events: none;
  background: #fff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 12px;
  max-width: 210px;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease;
}
.buddy-bubble.show { opacity: 1; transform: none; }
.buddy-bubble::after {
  content: '';
  position: absolute;
  right: -7px;
  bottom: 14px;
  width: 12px; height: 12px;
  background: #fff;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  transform: rotate(-45deg);
}

.buddy-dog-wrap { position: relative; flex-shrink: 0; }
.buddy-dog {
  display: block;
  width: 78px;
  border: 0; padding: 0; background: none;
  line-height: 0;
  cursor: pointer;
  filter: drop-shadow(0 8px 16px rgba(16, 42, 60, .24));
  transition: transform .25s cubic-bezier(.2,.8,.3,1.2);
}
.buddy-dog img { width: 100%; height: auto; display: block; }
.buddy-dog:hover { transform: translateY(-5px) scale(1.05); }
.buddy-dog:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 4px; border-radius: 8px; }

/* Auftritt neben dem 1922-Siegel, danach Trab in die Ecke */

.buddy-dismiss {
  position: absolute;
  top: -2px; right: -4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text-muted);
  font-size: 14px; line-height: 1;
  padding: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s ease;
}
.apply-buddy:hover .buddy-dismiss,
.buddy-dismiss:focus-visible { opacity: 1; }

@media (max-width: 700px) {
  .apply-buddy { right: 14px; bottom: 14px; gap: 8px; }
  .buddy-dog { width: 58px; }
  .buddy-bubble { max-width: 150px; font-size: .8rem; padding: 8px 11px; margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .apply-buddy, .buddy-bubble, .buddy-dog { transition: none; }
  .apply-buddy { transform: none; }
  .buddy-dog:hover { transform: none; }
}

.inline-apply-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
  margin-top: 48px;
}
.inline-apply-banner h3 { color: var(--color-text); margin-bottom: 6px; }
.inline-apply-banner p { color: var(--color-text-muted); margin-bottom: 0; max-width: 480px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 22px;
}
.contact-card .icon-badge { margin-bottom: 0; }
.contact-card h4 { margin-bottom: 4px; font-size: 0.98rem; }
.contact-card p { color: var(--color-text-muted); margin-bottom: 0; font-size: 0.92rem; }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 340px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* Zwei-Klick-Loesung: Die Karte laedt erst nach ausdruecklicher Zustimmung,
   vorher geht keine Anfrage an Google. */
.map-consent {
  width: 100%; min-height: 340px; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 32px 26px; text-align: center;
  background: var(--color-bg-alt);
}
.map-consent p { margin: 0; max-width: 420px; font-size: 0.92rem; color: var(--color-text-muted); line-height: 1.6; }
.map-consent p a { color: var(--color-primary-dark); font-weight: 600; }
.map-consent .btn { cursor: pointer; }

/* Kontaktpersonen (Accordion) */
.people-accordion { display: flex; flex-direction: column; gap: 12px; }
.people-group {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.people-group summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 650;
  font-size: 1.02rem;
}
.people-group summary::-webkit-details-marker { display: none; }
.people-group summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-primary);
  transition: transform .2s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.people-group[open] summary::after { transform: rotate(45deg); }
.people-group summary:hover { color: var(--color-primary-dark); }
.people-list {
  padding: 4px 24px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.person-card h5 { margin: 0 0 6px; font-size: 0.98rem; }
.person-card p { margin: 0; font-size: 0.86rem; color: var(--color-text-muted); line-height: 1.5; }
.person-card a { color: var(--color-primary-dark); font-weight: 600; }

/* FAQ – gleiches Accordion-Prinzip wie die Ansprechpartner auf der Kontaktseite */
.faq-intro { max-width: 640px; color: var(--color-text-muted); font-size: 1.05rem; margin-top: 12px; }
.faq-wrap { max-width: 800px; }
.faq-group-title {
  font-size: 1.05rem;
  color: var(--color-primary-dark);
  margin: 44px 0 16px;
  letter-spacing: 0.01em;
}
.faq-group-title:first-child { margin-top: 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 650;
  font-size: 1.02rem;
  color: var(--color-text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-primary);
  transition: transform .2s ease;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--color-primary-dark); }
.faq-item summary:focus-visible { outline: 3px solid var(--color-primary); outline-offset: -3px; }
.faq-answer { padding: 0 24px 22px; }
.faq-answer p { color: var(--color-text-muted); margin: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--color-primary-dark); font-weight: 600; }
.faq-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Combé in Zahlen */
.facts-wrap { max-width: 860px; }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.fact-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.fact-num {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.fact-label { display: block; margin-top: 6px; font-size: 0.88rem; color: var(--color-text-muted); }
.facts-note { color: var(--color-text-muted); margin-top: 18px; max-width: 700px; }
.facts-note a { color: var(--color-primary-dark); font-weight: 600; }
.facts-list ul { margin: 0; padding-left: 20px; }
.facts-list li { color: var(--color-text-muted); margin-bottom: 10px; line-height: 1.6; }
.facts-list li strong { color: var(--color-text); }
.doc-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-top: 18px; }
.doc-item {
  display: block;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.doc-item:hover { border-color: var(--color-primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.doc-name { display: block; font-weight: 650; color: var(--color-text); margin-bottom: 4px; }
.doc-desc { display: block; font-size: 0.88rem; color: var(--color-text-muted); line-height: 1.5; }
.doc-meta { display: block; font-size: 0.78rem; color: var(--color-primary-dark); font-weight: 600; margin-top: 8px; }

.facts-table { overflow-x: auto; }
.facts-table table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 520px; }
.facts-table th, .facts-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.facts-table th { color: var(--color-primary-dark); font-size: 0.85rem; letter-spacing: 0.02em; }
.facts-table td { color: var(--color-text-muted); }
.facts-table td a { color: var(--color-text); font-weight: 600; }
.facts-table tr:last-child td { border-bottom: none; }

@media (max-width: 700px) {
  .faq-item summary { padding: 16px 18px; font-size: 0.98rem; }
  .faq-answer { padding: 0 18px 18px; }
}

.job-alias {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.45;
}

/* Startseite: einspaltiger Hero mit Vertrauenszeile */
.hero-single { grid-template-columns: 1fr !important; max-width: 920px; }
.hero-trust { margin-top: 38px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.22); }
.trust-clients { font-size: 0.98rem; color: #eaf6fc; margin: 0 0 8px; max-width: 640px; line-height: 1.6; }
.trust-clients strong { color: #fff; font-weight: 600; }
.trust-certs { font-size: 0.8rem; color: #bcdcee; letter-spacing: 0.02em; margin: 0; }

/* Gewerke-Raster auf der Startseite */
.trade-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.trade-card {
  display: block;
  padding: 24px 24px 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.trade-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.trade-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--color-text); }
.trade-card p { font-size: 0.9rem; color: var(--color-text-muted); margin: 0; line-height: 1.6; }

/* Beweise */
.proof-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.proof-item {
  display: block;
  padding: 26px 28px 28px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.proof-item:hover { border-color: var(--color-primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.proof-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.proof-head h3 { margin: 0; font-size: 1.1rem; color: var(--color-text); }
/* Der Auftraggeber trägt die Referenz, nicht der Projektname – deshalb
   deutlich größer als zuvor und auf eigener Zeile, wenn der Platz knapp wird. */
.proof-client { font-size: 0.98rem; color: var(--color-primary-dark); font-weight: 650; letter-spacing: -0.01em; white-space: nowrap; }
.proof-item p { margin: 0; font-size: 0.94rem; color: var(--color-text-muted); line-height: 1.65; }
.proof-item strong { color: var(--color-text); font-weight: 600; }

.section-cta { text-align: center; margin-top: 34px; }
.cta-hours { text-align: center; margin-top: 18px; font-size: 0.88rem; color: var(--color-text-muted); }
.cta-hours a { color: var(--color-primary-dark); font-weight: 600; }

@media (max-width: 700px) {
  .trade-card { padding: 20px; }
  .proof-item { padding: 22px; }
  .hero-trust { margin-top: 28px; }
}

/* Footer */
.site-footer { background: var(--color-bg-deep); color: #bcdcee; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a:hover { color: #fff; }
/* Fußzeile nutzt eine eigene helle Logo-Fassung. Der frühere Weiß-Filter
   ließ beim neuen Logo Kontur und Füllung zu einem Klumpen verschmelzen. */
.footer-brand img { height: 36px; width: auto; opacity: 0.95; margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; max-width: 300px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; color: #85b1c7;
}
.footer-bottom .legal-links a { color: #85b1c7; }
.footer-bottom .legal-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom .legal-links span { padding: 0 6px; opacity: .6; }

/* Legal-Seiten (Impressum, Datenschutz) */
.legal-hero { padding: 56px 0 40px; }
.legal-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.legal-content { max-width: 720px; }
.legal-content h2 { font-size: 1.15rem; margin-top: 40px; margin-bottom: 12px; color: var(--color-primary-dark); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--color-text-muted); margin-bottom: 16px; }
.legal-content ul { color: var(--color-text-muted); padding-left: 20px; margin-bottom: 16px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--color-primary-dark); font-weight: 600; }
.legal-content .legal-address { color: var(--color-text); font-weight: 600; font-style: normal; margin-bottom: 16px; }
.legal-content .legal-stand { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--color-border); font-size: 0.88rem; }

/* Reveal animation */
/* Einblenden beim Scrollen – aber nur, wenn JavaScript läuft.
   Ohne JS (und für Crawler, die die Seite rendern) bleibt der Inhalt
   sichtbar, statt dauerhaft auf opacity 0 zu stehen. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .about-grid, .contact-grid, .career-photo-block { grid-template-columns: 1fr; }
  .history-feature { grid-template-columns: 1fr; gap: 20px; }
  .history-feature.reverse .history-photo, .history-feature.reverse .history-copy { order: unset; }
  .nav-links, .header-actions .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .apply-form { grid-template-columns: 1fr; }
  .leistungen-intro { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .site-header.open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--color-border);
    padding: 8px 24px 20px;
    box-shadow: 0 12px 24px rgba(10, 30, 45, 0.12);
  }
  .site-header.open .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--color-border); }
  .site-header.open .header-actions .nav-cta { display: inline-flex; margin: 12px 24px 0; }
}
@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .hero { padding: 84px 0 60px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .job-card, .initiative-card, .inline-apply-banner { flex-direction: column; align-items: flex-start; }
  .apply-card { padding: 24px; }
  .stat-row { grid-template-columns: 1fr; gap: 10px; }
}
