/* ================================================
   SB IDEALBAU — DESIGN-SYSTEM
   Farben: #0B1E3C | #D1D1D1 | #FFFFFF
   ================================================ */

/* ─── CSS VARIABLES ─────────────────────────── */
:root {
  --color-navy:    #0B1E3C;
  --color-navy-hover: #1A3A6B;
  --color-navy-active: #091628;
  --color-grey:    #D1D1D1;
  --color-white:   #FFFFFF;
  --color-text:    #1A1A1A;
  --color-textmuted: #666666;
  --color-bg:      #FFFFFF;
  --color-bgalt:   #F7F7F7;

  --shadow-card:   0 2px 8px rgba(11, 30, 60, 0.08);
  --shadow-card-hover: 0 4px 16px rgba(11, 30, 60, 0.14);
  --shadow-header: 0 2px 12px rgba(11, 30, 60, 0.10);

  --radius-card:   8px;
  --radius-btn:    4px;
  --radius-pill:   20px;

  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  48px;
  --space-xl:  80px;

  --container-max:    1200px;
  --container-padding: 24px;

  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ─── RESET & BASE ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; }

/* ─── TYPOGRAPHY ───────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.25;
}
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.375rem, 3vw, 1.875rem); }
h3 { font-size: 1.125rem; }
p  { font-size: 1rem; line-height: 1.7; color: var(--color-text); }

/* ─── LAYOUT ───────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-lg) 0;
}
.section--alt {
  background: var(--color-bgalt);
}
.section--navy {
  background: var(--color-navy);
  color: var(--color-white);
}
.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy p {
  color: var(--color-white);
}

/* ─── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-navy);
  color: #FFFFFF !important;
  border-color: var(--color-navy);
}
.btn--primary:hover {
  background: var(--color-navy-hover);
  border-color: var(--color-navy-hover);
}
.btn--primary:active {
  background: var(--color-navy-active);
}
.btn--outline {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.btn--outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
}
.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn--outline-white:hover {
  background: var(--color-white);
  color: var(--color-navy);
}
.btn--full { width: 100%; justify-content: center; }

/* ─── HEADER ───────────────────────────────── */
.header-topbar {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 8px 0;
  font-size: 0.8125rem;
}
.header-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.header-topbar a { color: var(--color-white); }
.header-topbar a:hover { text-decoration: underline; }
.header-topbar__left { display: flex; gap: 16px; flex-wrap: wrap; }
.header-topbar__right { font-size: 0.8125rem; opacity: 0.85; }

.header-main {
  background: var(--color-white);
  box-shadow: var(--shadow-header);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-main__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--container-padding);
  max-width: var(--container-max);
  margin: 0 auto;
}
.header-logo img {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.header-nav { display: flex; align-items: center; gap: 32px; }
.header-nav ul { display: flex; gap: 24px; align-items: center; }
.header-nav a {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-navy);
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--color-navy-hover); }

.nav-dropdown {
  position: relative;
  padding: 14px 0;
  margin: -14px 0;
}
.nav-dropdown::after {
  content: "";
  position: absolute;
  left: -20px;
  right: -20px;
  top: 100%;
  height: 22px;
}
.nav-dropdown > span,
.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav-dropdown__arrow { font-size: 0.7rem; }
.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: -14px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-hover);
  padding: 8px;
  min-width: 200px;
  z-index: 500;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu { display: block; }
.nav-dropdown__menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 400;
}
.nav-dropdown__menu a:hover { background: var(--color-bgalt); }

/* Mobile Menu Toggle */
.header-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--color-navy);
}
.header-menu-toggle svg { width: 24px; height: 24px; }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-white);
  z-index: 300;
  padding: 24px;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}
.mobile-nav.active { display: flex; }
.mobile-nav__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.mobile-nav__header img {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.mobile-nav__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-navy);
  cursor: pointer;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 0; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-navy);
  border-bottom: 1px solid var(--color-grey);
}
.mobile-nav__dropdown-items {
  display: none;
  flex-direction: column;
  padding-left: 16px;
}
.mobile-nav__dropdown-items.open { display: flex; }
.mobile-nav__dropdown-items a {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-textmuted);
}
.mobile-nav .btn { margin-top: 24px; }

/* ─── HERO ─────────────────────────────────── */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-color: var(--color-navy);
  background-image: linear-gradient(
    135deg,
    rgba(11, 30, 60, 0.92) 0%,
    rgba(11, 30, 60, 0.75) 100%
  );
  color: var(--color-white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 80% 50%, rgba(26, 58, 107, 0.4) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero__eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: var(--color-white);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.hero h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero__lead {
  color: rgba(255,255,255,0.9);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 600px;
}
.hero__buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ─── SECTION HEADER ───────────────────────── */
.section-header { margin-bottom: 48px; }
.section-header--center { text-align: center; }
.section-header--center p { max-width: 600px; margin: 12px auto 0; }
.section-header h2 { margin-bottom: 12px; }
.section-header p  { color: var(--color-textmuted); font-size: 1.0625rem; }

/* ─── CARDS ───────────────────────────────── */
.card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.card__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--color-bgalt);
}
.card__body { padding: 20px; }
.card__category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-navy);
  opacity: 0.7;
  margin-bottom: 6px;
}
.card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
}
.card__text {
  font-size: 0.9375rem;
  color: var(--color-textmuted);
  line-height: 1.6;
}
.card__location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  color: var(--color-textmuted);
  margin-top: 12px;
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-top: 14px;
  transition: gap 0.2s;
}
.card__link:hover { gap: 10px; }

/* ─── WERTE-CARDS ─────────────────────────── */
/* ─── WERTE-CARDS ─────────────────────────── */
.werte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.werte-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

/* Mobile: kompakter */
@media (max-width: 640px) {
  .werte-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .werte-card {
    padding: 16px 10px !important;
  }
  .werte-card__icon {
    width: 36px !important;
    height: 36px !important;
    margin-bottom: 10px;
  }
  .werte-card__title {
    font-size: 0.8125rem !important;
    line-height: 1.3;
    margin-bottom: 6px;
  }
  .werte-card__text {
    font-size: 0.75rem !important;
    line-height: 1.45 !important;
    -webkit-line-clamp: 4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
  }
}

@media (max-width: 380px) {
  .werte-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .werte-card {
    padding: 12px 8px !important;
  }
  .werte-card__title {
    font-size: 0.75rem !important;
  }
  .werte-card__text {
    display: none;
  }
}
.werte-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.werte-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  color: var(--color-navy);
}
.werte-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 10px;
}
.werte-card__text {
  font-size: 0.9375rem;
  color: var(--color-textmuted);
  line-height: 1.65;
}

/* ─── GRID LAYOUTS ────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

/* ─── LEISTUNGEN ───────────────────────────── */
.leistung-block {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-grey);
}
.leistung-block:last-child { border-bottom: none; }
.leistung-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}
.leistung-block__content h2 { margin-bottom: 16px; }
.leistung-block__content p  { margin-bottom: 20px; }
.leistung-block__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.leistung-block__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--color-text);
}
.leistung-block__features li::before {
  content: '✓';
  color: var(--color-navy);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.leistung-block__image {
  border-radius: var(--radius-card);
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--color-bgalt);
  width: 100%;
}
.leistung-block__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bgalt);
  border: 2px dashed var(--color-grey);
  color: var(--color-textmuted);
  font-size: 0.875rem;
  text-align: center;
  padding: 24px;
}

/* ─── PROZESS ──────────────────────────────── */
.prozess-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  position: relative;
}
.prozess-step {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}
.prozess-step__number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.prozess-step__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
}
.prozess-step__text {
  font-size: 0.9rem;
  color: var(--color-textmuted);
  line-height: 1.6;
}
.prozess-step + .prozess-step::before {
  /* Pfeil wird via CSS eingefügt */
}

/* ─── CTA SECTION ──────────────────────────── */
.cta-section {
  background: var(--color-navy);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 {
  color: var(--color-white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
}
.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.0625rem;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-section .hero__buttons { justify-content: center; }

/* ─── REGIONAL ─────────────────────────────── */
.regional-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.regional-text h2 { margin-bottom: 16px; }
.regional-text p  { margin-bottom: 20px; }
.regional-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.regional-list span {
  background: var(--color-bgalt);
  border: 1px solid var(--color-grey);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-navy);
}
.regional-map {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bgalt);
  border: 1px solid var(--color-grey);
}
.osm-static-map {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.osm-static-map__tiles {
  position: absolute;
  left: 0;
  top: 50%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  aspect-ratio: 1;
  transform: translateY(-50%);
}
.osm-static-map__tiles img {
  display: block;
  width: 100%;
  height: 100%;
}
.osm-static-map__marker {
  position: absolute;
  left: 42.8%;
  top: 44.8%;
  width: 18px;
  height: 18px;
  border: 3px solid var(--color-white);
  border-radius: 50% 50% 50% 0;
  background: #d93636;
  box-shadow: 0 2px 8px rgba(11, 30, 60, 0.35);
  transform: translate(-50%, -100%) rotate(-45deg);
}
.osm-static-map__marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-white);
  transform: translate(-50%, -50%);
}
.regional-map__link {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: var(--color-white);
  border: 1px solid var(--color-grey);
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-card);
  color: var(--color-navy);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 8px 12px;
}
.regional-map__link:hover { border-color: var(--color-navy); }
.regional-map__attribution {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--color-textmuted);
  font-size: 0.6875rem;
  line-height: 1;
  padding: 5px 7px;
}
.regional-map__placeholder {
  text-align: center;
  color: var(--color-textmuted);
  font-size: 0.875rem;
  padding: 24px;
}
.regional-map__placeholder p { color: var(--color-textmuted); margin-bottom: 12px; }

.prozess-contact-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* ─── KONTAKT-FORMULAR ───────────────────── */
.kontakt-section { background: var(--color-bgalt); }
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-lg);
  align-items: start;
}
.kontakt-info h2 { margin-bottom: 20px; }
.kontakt-info > p { margin-bottom: 28px; }
.kontakt-details { display: flex; flex-direction: column; gap: 16px; }
.kontakt-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.kontakt-detail__icon { flex-shrink: 0; margin-top: 2px; color: var(--color-navy); }
.kontakt-detail__text { font-size: 0.9375rem; }
.kontakt-detail__label { font-weight: 600; color: var(--color-navy); font-size: 0.875rem; }
.kontakt-detail__value { color: var(--color-textmuted); }
.kontakt-detail__value a { color: var(--color-navy); }
.kontakt-detail__value a:hover { text-decoration: underline; }

.kontakt-form {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
.form-group { margin-bottom: var(--space-sm); }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 6px;
}
.form-group label .required { color: #C62828; margin-left: 2px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-grey);
  border-radius: var(--radius-btn);
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-navy);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group--file { margin-bottom: var(--space-sm); }
.file-input {
  display: block;
  width: 100%;
  padding: 16px;
  border: 2px dashed var(--color-grey);
  border-radius: var(--radius-btn);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s;
  font-size: 0.875rem;
  color: var(--color-textmuted);
  background: var(--color-bgalt);
}
.file-input:hover { border-color: var(--color-navy); }
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: var(--space-sm) 0;
}
.form-checkbox input { margin-top: 3px; flex-shrink: 0; width: auto; }
.form-checkbox label {
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.5;
}
.form-checkbox label a { color: var(--color-navy); text-decoration: underline; }
/* ─── PROJEKTE ─────────────────────────────── */
.projekte-header { margin-bottom: var(--space-lg); }
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-grey);
}
.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-grey);
  background: transparent;
  color: var(--color-navy);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--color-navy); }
.filter-btn.active {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}
.projekt-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.projekt-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.projekt-card__image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-bgalt);
}
.projekt-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.projekt-card__tags {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tag {
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tag--location {
  background: rgba(11, 30, 60, 0.7);
  backdrop-filter: blur(4px);
}
.projekt-card__body { padding: 20px; }
.projekt-card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
}
.projekt-card__text {
  font-size: 0.9rem;
  color: var(--color-textmuted);
  line-height: 1.6;
}
.projekt-placeholder {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bgalt);
  border: 2px dashed var(--color-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--color-textmuted);
  font-size: 0.875rem;
  width: 100%;
}

/* ─── ÜBER UNS ─────────────────────────────── */
.inhaber-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.inhaber-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
}
.inhaber-card__photo {
  background: var(--color-bgalt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.inhaber-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.inhaber-card__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  background: var(--color-bgalt);
  border-right: 1px solid var(--color-grey);
  color: var(--color-textmuted);
  font-size: 0.75rem;
  text-align: center;
  padding: 16px;
}
.inhaber-card__body { padding: 24px; }
.inhaber-card__name { font-size: 1.25rem; font-weight: 600; color: var(--color-navy); margin-bottom: 4px; }
.inhaber-card__role { font-size: 0.875rem; font-weight: 600; color: var(--color-navy); opacity: 0.65; margin-bottom: 14px; }
.inhaber-card__bio  { font-size: 0.9375rem; color: var(--color-textmuted); line-height: 1.65; margin-bottom: 16px; }
.inhaber-card__bio-list { margin-bottom: 16px; }
.inhaber-card__bio-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-text);
  margin-bottom: 6px;
}
.inhaber-card__bio-list li::before { content: '–'; color: var(--color-navy); flex-shrink: 0; }
.inhaber-card__contact { display: flex; flex-direction: column; gap: 6px; }
.inhaber-card__contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-navy);
}
.inhaber-card__contact a:hover { text-decoration: underline; }

/* ─── PAGE HEADER ──────────────────────────── */
.page-header {
  background: var(--color-navy);
  padding: 60px 0;
  text-align: center;
}
.page-header h1 {
  color: var(--color-white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 12px;
}
.page-header p {
  color: rgba(255,255,255,0.8);
  font-size: 1.0625rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ─── TEXT PAGE (Impressum, Datenschutz, AGB) ── */
.text-page { padding: var(--space-lg) 0 var(--space-xl); }
.text-content {
  max-width: 760px;
  margin: 0 auto;
}
.text-content h2 {
  font-size: 1.25rem;
  margin-top: 32px;
  margin-bottom: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--color-grey);
}
.text-content h2:first-child { border-top: none; padding-top: 0; }
.text-content p { margin-bottom: 14px; font-size: 0.9375rem; }
.text-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 14px;
}
.text-content ul li { font-size: 0.9375rem; margin-bottom: 6px; }
.text-content a { color: var(--color-navy); text-decoration: underline; }

/* ─── FOOTER ──────────────────────────────── */
.footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 60px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer__brand-logo { height: 44px; margin-bottom: 16px; }
.footer__brand-desc { color: rgba(255,255,255,0.75); font-size: 0.9rem; line-height: 1.65; margin-bottom: 20px; max-width: 320px; }
.footer__social { display: flex; gap: 12px; flex-wrap: wrap; }
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--color-white);
  transition: background 0.2s, border-color 0.2s;
}
.footer__social a:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.6); }
.footer__social svg { width: 18px; height: 18px; }
.footer__col h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--color-white); }
.footer__bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.footer__bottom-links a { color: rgba(255,255,255,0.5); }
.footer__bottom-links a:hover { color: rgba(255,255,255,0.85); }

/* ─── INHABER-TEAM-SECTION ─────────────────── */
.team-section { padding: var(--space-xl) 0; background: var(--color-bgalt); }

/* ─── LOGO ──────────────────────────────── */
.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}
@media (max-width: 900px) {
  .header-nav { display: none; }
  .header-menu-toggle { display: block; }
  .hero { min-height: 70vh; }
  .leistung-block__inner { grid-template-columns: 1fr; }
  .leistung-block__image { order: -1; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .regional-grid { grid-template-columns: 1fr; }
  .inhaber-card { grid-template-columns: 1fr; }
  .inhaber-card__photo { aspect-ratio: 3/2; max-height: 240px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --space-lg: 36px; --space-xl: 56px; }
  .hero__buttons { flex-direction: column; }
  .hero__buttons .btn { width: 100%; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .inhaber-grid { grid-template-columns: 1fr; }
  .prozess-grid { grid-template-columns: 1fr 1fr; }
  .kontakt-form { padding: 24px 20px; }
  .werte-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ─── UTILITY ──────────────────────────────── */
.text-center { text-align: center; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
