/* Booms & Pastoors – Multi-Page Corporate Design System */
:root {
  --bp-navy: #072544;
  --bp-blue: #0c478a;
  --bp-blue-light: #155eb0;
  --bp-red: #e30513;
  --bp-red-hover: #be030f;
  --bp-slate: #f4f6f9;
  --bp-surface: #ffffff;
  --bp-text: #1c2838;
  --bp-muted: #5e6b7c;
  --bp-border: #dce3ec;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-soft: 0 12px 32px rgba(7, 37, 68, 0.08);
  --shadow-strong: 0 22px 54px rgba(7, 37, 68, 0.16);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Barlow', system-ui, -apple-system, sans-serif;
  color: var(--bp-text);
  background: var(--bp-surface);
  line-height: 1.65;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

.container {
  width: min(1320px, 92%);
  margin-inline: auto;
}

/* Floating Quick-Access Dock */
.floating-dock {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.floating-tab {
  background: var(--bp-red);
  color: #fff;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 16px 10px;
  border-radius: 10px 0 0 10px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: -4px 6px 20px rgba(227, 5, 19, 0.32);
  display: flex;
  align-items: center;
  gap: 8px;
}
.floating-tab.secondary {
  background: var(--bp-navy);
  box-shadow: -4px 6px 20px rgba(7, 37, 68, 0.28);
}
.floating-tab:hover {
  padding-right: 16px;
  background: var(--bp-red-hover);
}

/* Top Contact Bar */
.topbar {
  background: var(--bp-navy);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.topbar-inner {
  width: min(1320px, 92%);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  gap: 12px;
}
.topbar-items {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.topbar-item svg {
  width: 15px;
  height: 15px;
  color: var(--bp-red);
  flex-shrink: 0;
}
.topbar-badges {
  display: flex;
  gap: 10px;
  align-items: center;
}
.badge-pill {
  background: rgba(255, 255, 255, 0.12);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

/* Sticky Main Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 950;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bp-border);
  box-shadow: 0 4px 20px rgba(7, 37, 68, 0.05);
}
.header-inner {
  width: min(1320px, 92%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 20px;
}
.logo-wrap img {
  height: 54px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item {
  position: relative;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--bp-navy);
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-item:hover, .nav-item.active {
  color: var(--bp-red);
  background: rgba(12, 71, 138, 0.05);
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--bp-border);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.18s ease;
  z-index: 999;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bp-text);
  border-radius: 6px;
}
.nav-dropdown-menu a:hover, .nav-dropdown-menu a.active {
  background: var(--bp-slate);
  color: var(--bp-red);
}
.planner-nav-pill {
  background: linear-gradient(135deg, var(--bp-blue) 0%, var(--bp-navy) 100%);
  color: #fff !important;
  padding: 9px 15px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-inline: 4px;
}
.planner-nav-pill span.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.25);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-red {
  background: var(--bp-red);
  color: #fff;
  box-shadow: 0 8px 22px rgba(227, 5, 19, 0.28);
}
.btn-red:hover {
  background: var(--bp-red-hover);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--bp-navy);
  color: #fff;
}
.btn-navy:hover {
  background: var(--bp-blue);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--bp-navy);
}

/* Subpage Hero Banner */
.subpage-hero {
  position: relative;
  background: var(--bp-navy);
  color: #fff;
  padding: 68px 0 92px;
  overflow: hidden;
}
.subpage-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}
.subpage-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(7, 37, 68, 0.95) 0%, rgba(12, 71, 138, 0.78) 60%, rgba(7, 37, 68, 0.65) 100%);
}
.subpage-hero-inner {
  position: relative;
  z-index: 2;
}
.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.breadcrumbs a:hover {
  color: #fff;
  text-decoration: underline;
}
.subpage-hero h1 {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.subpage-hero p.sub-lead {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 780px;
}

/* Homepage Hero */
.hero {
  position: relative;
  background: var(--bp-navy);
  color: #fff;
  overflow: hidden;
  padding: 84px 0 115px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(7, 37, 68, 0.96) 0%, rgba(12, 71, 138, 0.82) 55%, rgba(7, 37, 68, 0.60) 100%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(227, 5, 19, 0.2);
  border: 1px solid rgba(227, 5, 19, 0.5);
  color: #ffd6d8;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.6rem, 4.5vw, 4.1rem);
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 span {
  color: #ff4754;
}
.hero-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  margin-bottom: 32px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}
.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.trust-stat strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.trust-stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.76);
}
.hero-panel {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-strong);
}
.hero-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.hero-panel-header h2, .hero-panel-header h3 {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.quick-cards {
  display: grid;
  gap: 12px;
}
.quick-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(7, 37, 68, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: all 0.2s ease;
}
.quick-card:hover {
  background: rgba(12, 71, 138, 0.85);
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateX(4px);
}
.quick-card-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.quick-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.quick-card h3, .quick-card h4 {
  font-size: 1.2rem;
  text-transform: uppercase;
}
.quick-card p {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.74);
}

/* Roof Divider */
.roof-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 3;
}
.roof-divider svg {
  width: 100%;
  height: 60px;
}

/* Sections */
.section {
  padding: 84px 0;
  position: relative;
}
.section-slate {
  background: var(--bp-slate);
}
.section-navy {
  background: linear-gradient(160deg, var(--bp-navy) 0%, var(--bp-blue) 100%);
  color: #fff;
}
.section-header {
  max-width: 780px;
  margin-bottom: 44px;
}
.section-eyebrow {
  display: inline-block;
  color: var(--bp-red);
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.section-navy .section-eyebrow {
  color: #ff7a82;
}
.section-title {
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--bp-navy);
  margin-bottom: 14px;
}
.section-navy .section-title {
  color: #fff;
}

/* Subpage Navigation Pills (for Unternehmen / Leistungen subpages) */
.subnav-strip {
  background: #fff;
  border-bottom: 1px solid var(--bp-border);
  padding: 14px 0;
}
.subnav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.subnav-link {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bp-navy);
  background: var(--bp-slate);
  border: 1px solid var(--bp-border);
}
.subnav-link:hover, .subnav-link.active {
  background: var(--bp-blue);
  color: #fff;
  border-color: var(--bp-blue);
}

/* Content Layouts */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.content-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--bp-border);
  box-shadow: var(--shadow-soft);
}
.feature-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.feature-step-card {
  background: #fff;
  border: 1px solid var(--bp-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.feature-step-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bp-red);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* Video Card */
.video-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  background: var(--bp-navy);
  aspect-ratio: 16 / 9;
  cursor: pointer;
}
.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s;
  opacity: 0.85;
}
.video-card:hover img {
  transform: scale(1.04);
  opacity: 0.7;
}
.video-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,37,68,0.88) 0%, rgba(7,37,68,0.2) 60%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  color: #fff;
}
.play-btn-circle {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--bp-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  box-shadow: 0 0 0 12px rgba(227, 5, 19, 0.25);
}

/* Sponsoring */
.sponsor-box {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--bp-border);
}
.sponsor-marquee {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 0;
}
.sponsor-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: var(--bp-slate);
  border: 1px solid var(--bp-border);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--bp-navy);
}
.sponsor-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bp-red);
}

/* Services Grid */
.services-layout {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.services-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
  background: var(--bp-navy);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, border-color 0.25s;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.45);
}
.service-card img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
  transition: transform 0.45s ease, opacity 0.3s;
}
.service-card:hover img.bg {
  transform: scale(1.06);
  opacity: 0.62;
}
.service-card-Shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 37, 68, 0.94) 10%, rgba(7, 37, 68, 0.25) 100%);
}
.service-card-content {
  position: relative;
  z-index: 2;
}
.service-card-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ff8a92;
  font-weight: 700;
}
.service-card h3 {
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 4px 0 6px;
}
.service-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

.kompetenz-panel {
  background: rgba(7, 37, 68, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.check-list {
  list-style: none;
  margin: 20px 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1rem;
}
.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bp-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
}
.cert-logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.cert-box {
  background: #fff;
  color: var(--bp-navy);
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 74px;
}

/* Map & Gallery */
.map-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--bp-border);
  overflow: hidden;
}
.map-toolbar {
  padding: 20px 28px;
  background: var(--bp-navy);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.map-filter-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.map-filter-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.map-filter-btn.active, .map-filter-btn:hover {
  background: var(--bp-red);
  border-color: var(--bp-red);
}
#bp-reference-map {
  width: 100%;
  height: 540px;
  z-index: 1;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.gallery-filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--bp-border);
  background: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--bp-navy);
  cursor: pointer;
}
.gallery-filter-btn.active, .gallery-filter-btn:hover {
  background: var(--bp-blue);
  color: #fff;
  border-color: var(--bp-blue);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bp-navy);
  box-shadow: var(--shadow-soft);
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-card:hover img {
  transform: scale(1.07);
}
.gallery-card-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,37,68,0.9) 0%, transparent 65%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #fff;
}

/* Tradition Grid */
.tradition-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.tradition-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.tradition-photos img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

/* 3D Hallen-Konfigurator Workspace + Integriertes Angebotsformular */
.konfig-preset-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bp-navy);
  color: #fff;
  padding: 16px 24px;
  border-radius: 18px 18px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: none;
}
.konfig-preset-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.konfig-preset-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 15px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}
.konfig-preset-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}
.konfig-preset-btn.active {
  background: var(--bp-red);
  border-color: var(--bp-red);
  box-shadow: 0 6px 18px rgba(227, 5, 19, 0.35);
}
.konfig-frame-wrap {
  position: relative;
  background: #072544;
  border: 2px solid var(--bp-navy);
  border-radius: 0 0 18px 18px;
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  height: 790px;
  transition: all 0.25s ease;
}
.konfig-frame-wrap.is-fullscreen {
  position: fixed;
  inset: 14px;
  height: auto;
  z-index: 9999;
  border-radius: 16px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.65);
}
.konfig-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.konfig-status-strip {
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--bp-border);
  border-radius: 14px;
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-soft);
}
.konfig-status-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.konfig-kpi-item small {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bp-muted);
  font-weight: 700;
}
.konfig-kpi-item strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.35rem;
  color: var(--bp-navy);
}

.quote-integration-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.28fr;
  gap: 32px;
  align-items: start;
  margin-top: 40px;
}
.quote-summary-card {
  background: linear-gradient(160deg, #072544 0%, #0c478a 100%);
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-strong);
  position: sticky;
  top: 98px;
}
.quote-3d-shot {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.25);
  margin: 14px 0;
}
.quote-spec-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.quote-spec-pill {
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 12px;
}
.quote-spec-pill small {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.quote-spec-pill strong {
  font-size: 0.96rem;
  color: #fff;
}
.quote-spec-textarea {
  width: 100%;
  min-height: 150px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  padding: 12px;
  resize: vertical;
  margin-bottom: 14px;
}
.quote-form-card {
  background: #fff;
  border: 1px solid var(--bp-border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-soft);
}
.form-section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--bp-navy);
  padding-bottom: 8px;
  margin: 24px 0 16px;
  border-bottom: 2px solid var(--bp-slate);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.form-section-title:first-of-type {
  margin-top: 0;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}
.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bp-navy);
  margin-bottom: 5px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--bp-border);
  border-radius: 9px;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--bp-text);
  background: var(--bp-slate);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--bp-blue);
  background: #fff;
}
.form-field input[readonly],
.form-field select.readonly-select {
  background: #eef2f7;
  color: #334155;
  border-color: #cbd5e1;
  cursor: default;
}
.form-field select.readonly-select {
  pointer-events: none;
}
.konfig-readonly-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.quote-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 37, 68, 0.76);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.quote-modal-backdrop.is-open {
  display: flex;
}
.quote-modal-box {
  background: #fff;
  color: var(--bp-text);
  max-width: 640px;
  width: 100%;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--bp-border);
}

/* Timeline for Historie */
.timeline {
  position: relative;
  display: grid;
  gap: 24px;
  padding-left: 28px;
  border-left: 3px solid var(--bp-blue);
}
.timeline-item {
  position: relative;
  background: #fff;
  border: 1px solid var(--bp-border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-soft);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 28px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bp-red);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--bp-blue);
}
.timeline-year {
  display: inline-block;
  background: var(--bp-navy);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  padding: 3px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #b8030e 0%, #e30513 100%);
  color: #fff;
  padding: 72px 0 0;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-col h4, .footer-col .footer-heading {
  font-family: 'Barlow Condensed', sans-serif;
  line-height: 1.12;
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}
.footer-col p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 16px;
  font-size: 0.96rem;
}
.footer-contact-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.partner-cards {
  display: grid;
  gap: 14px;
}
.partner-card {
  background: #fff;
  color: var(--bp-navy);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}
.partner-card strong {
  display: block;
  font-size: 1rem;
  color: var(--bp-navy);
}
.partner-card span {
  font-size: 0.82rem;
  color: var(--bp-muted);
}
.partner-badge {
  background: var(--bp-slate);
  color: var(--bp-blue);
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
}
.footer-bottom {
  background: rgba(0, 0, 0, 0.22);
  padding: 20px 0;
  font-size: 0.88rem;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 1260px) {
  .topbar-item--fax {
    display: none;
  }
  .header-inner {
    height: 76px;
    gap: 10px;
  }
  .logo-wrap img {
    height: 46px;
  }
  .nav-item {
    padding: 8px 10px;
    font-size: 0.86rem;
    white-space: nowrap;
  }
  .planner-nav-pill {
    padding: 8px 12px;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .header-actions .btn {
    padding: 10px 15px;
    font-size: 0.84rem;
    white-space: nowrap;
  }
}

/* Mobile Menu Button & Drawer */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bp-slate);
  color: var(--bp-navy);
  border: 1px solid var(--bp-border);
  border-radius: 10px;
  padding: 9px 13px;
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mobile-menu-btn:hover {
  background: #e6ecf5;
}
.mobile-menu-btn svg {
  width: 22px;
  height: 22px;
  stroke: var(--bp-navy);
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 37, 68, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1990;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.mobile-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 88vw);
  height: 100dvh;
  background: #fff;
  z-index: 2000;
  box-shadow: -16px 0 48px rgba(7, 37, 68, 0.28);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}
.mobile-drawer.is-open {
  transform: translateX(0);
}
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--bp-border);
  background: var(--bp-slate);
  position: sticky;
  top: 0;
  z-index: 5;
}
.mobile-drawer-header img {
  height: 40px;
  width: auto;
}
.mobile-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--bp-border);
  background: #fff;
  color: var(--bp-navy);
  font-size: 1.2rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mobile-drawer-body {
  padding: 18px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--bp-navy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: var(--bp-slate);
}
.mobile-nav-link.active, .mobile-nav-link:hover {
  background: rgba(227, 5, 19, 0.09);
  color: var(--bp-red);
}
.mobile-nav-group {
  border: 1px solid var(--bp-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.mobile-nav-group summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--bp-navy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: var(--bp-slate);
  cursor: pointer;
  user-select: none;
}
.mobile-nav-group summary::-webkit-details-marker {
  display: none;
}
.mobile-nav-group summary .chevron {
  transition: transform 0.2s ease;
  font-size: 0.85rem;
  color: var(--bp-red);
}
.mobile-nav-group[open] summary .chevron {
  transform: rotate(180deg);
}
.mobile-nav-sublinks {
  display: flex;
  flex-direction: column;
  padding: 6px 10px 10px;
  gap: 2px;
  border-top: 1px solid var(--bp-border);
}
.mobile-nav-sublinks a {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--bp-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav-sublinks a:hover {
  background: var(--bp-slate);
  color: var(--bp-red);
}
.mobile-drawer-cta {
  margin-top: 8px;
  display: grid;
  gap: 10px;
}
.mobile-drawer-contact {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--bp-border);
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--bp-muted);
}
.mobile-drawer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--bp-navy);
  padding: 8px 10px;
  background: var(--bp-slate);
  border-radius: 8px;
}

@media (max-width: 1080px) {
  .hero-grid, .about-grid, .services-layout, .tradition-grid, .footer-grid, .quote-integration-grid, .services-grid-3, .feature-steps-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .floating-dock {
    display: none;
  }
  /* Schlanker, einzeiliger Top-Kontaktbalken auf Tablet & Smartphone */
  .topbar-inner {
    padding: 6px 0;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .topbar-items {
    gap: 14px;
    flex-wrap: nowrap;
    overflow: hidden;
  }
  .topbar-item--address,
  .topbar-item--fax,
  .topbar-badges {
    display: none;
  }
  .topbar-item {
    font-size: 0.79rem;
    white-space: nowrap;
  }
  .topbar-item strong {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 66px;
  }
  .logo-wrap img {
    height: 40px;
  }
  .header-actions .btn-red {
    padding: 9px 12px;
    font-size: 0.78rem;
  }
  .subpage-hero {
    padding: 36px 0 58px;
  }
  .subpage-hero h1 {
    font-size: clamp(2rem, 7vw, 2.75rem);
  }
  .subpage-hero p.sub-lead {
    font-size: 0.98rem;
  }
  /* Horizontal wischbare Sub-Navigation statt mehrzeiliger Pill-Wand */
  .subnav-strip {
    padding: 10px 0;
  }
  .subnav-links {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .subnav-links::-webkit-scrollbar {
    display: none;
  }
  .subnav-links > span {
    display: none;
  }
  .subnav-link {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 7px 13px;
    font-size: 0.84rem;
  }
  .form-grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .services-grid, .gallery-grid, .hero-trust, .form-grid-2, .form-grid-3 {
    grid-template-columns: 1fr;
  }
  .header-actions .header-cta-desktop {
    display: none;
  }
}

/* 404 Baustellen-Fehlerseite */
@keyframes bpCraneSwing {
  0%, 100% { transform: rotate(-2.2deg); }
  50% { transform: rotate(2.2deg); }
}
.crane-swing-group {
  transform-origin: 320px 38px;
  animation: bpCraneSwing 4.2s ease-in-out infinite;
}
.error-404-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: stretch;
}
.error-scene-card {
  background: linear-gradient(160deg, #072544 0%, #0c478a 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-strong);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}
.error-excuse-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 18px;
}
@media (max-width: 1080px) {
  .error-404-grid {
    grid-template-columns: 1fr;
  }
}
