@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Open+Sans:wght@400;500;600&display=swap');

:root {
  --red: #C62828;
  --red-dark: #8E0000;
  --red-light: #EF5350;
  --navy: #1A2744;
  --navy-dark: #0F1B32;
  --navy-mid: #243252;
  --white: #ffffff;
  --off-white: #F7F8FA;
  --gray-light: #ECEFF4;
  --gray: #D0D6E0;
  --gray-mid: #9AA3B2;
  --text: #1C2333;
  --text-soft: #5A6272;
  --shadow-sm: 0 2px 8px rgba(26,39,68,0.08);
  --shadow: 0 6px 24px rgba(26,39,68,0.12);
  --shadow-lg: 0 16px 48px rgba(26,39,68,0.18);
  --shadow-red: 0 8px 30px rgba(198,40,40,0.35);
  --radius: 10px;
  --radius-lg: 16px;
  --t: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
}

/* ── UTILITIES ─────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  margin-bottom: 18px;
  color: var(--navy);
}

.section-sub {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 560px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all var(--t);
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-red {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline-red:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── NAVIGATION ─────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  border-top: 3px solid var(--red);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t);
}
.site-nav.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 80px;
  width: 80px;
  object-fit: contain;
  /* white logo bg is invisible on white nav – use extra height to visually enlarge actual graphic */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.3px;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color var(--t), background var(--t);
  position: relative;
}
.nav-links a:hover { color: var(--red); background: rgba(198,40,40,0.05); }
.nav-links a.active { color: var(--red); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.nav-links .nav-cta {
  margin-left: 12px;
  background: var(--red);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 8px;
}
.nav-links .nav-cta:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(198,40,40,0.3);
}
.nav-links .nav-cta::after { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  border-radius: 6px;
  transition: background var(--t);
}
.hamburger:hover { background: var(--gray-light); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--t);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px 28px 20px;
  background: var(--white);
  border-top: 1px solid var(--gray-light);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-light);
  transition: color var(--t);
}
.mobile-menu a:hover { color: var(--red); }
.mobile-menu a.active { color: var(--red); }
.mobile-menu .nav-cta-m {
  margin-top: 12px;
  background: var(--red);
  color: var(--white) !important;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius);
  border-bottom: none;
}

/* ── HERO ─────────────────────────────────────────── */
.hero {
  position: relative;
  background-image: url('../public/heizung-waermepumpe.png');
  background-size: cover;
  background-position: right center;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  padding: 64px 0 56px;
}

.hero > .container {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.42) 0%,
    rgba(0,0,0,0.12) 45%,
    transparent 72%
  );
  z-index: 0;
}

.hero > .container { position: relative; z-index: 1; }

.hero-content {
  width: 55%;
  padding-left: 8px;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.hero-label span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 0;
  text-shadow: 0 2px 16px rgba(0,0,0,0.55);
}
.hero h1 em {
  font-style: normal;
  color: var(--white);
}

.hero-rule {
  width: 44px;
  height: 3px;
  background: var(--red);
  margin: 24px 0;
}

.hero-sub {
  font-size: 16px;
  color: var(--white);
  margin-bottom: 32px;
  line-height: 1.75;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* ── HERO KPI STRIP ─────────────────────────────── */
.hero-kpi {
  display: flex;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.30);
}
.hero-kpi-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 22px;
  border-right: 1px solid rgba(255,255,255,0.25);
  margin-right: 22px;
}
.hero-kpi-item:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hero-kpi-item strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.hero-kpi-item span {
  font-size: 10px;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* ── STATS BAR ─────────────────────────────────────── */
.stats-bar {
  background: var(--red);
  padding: 32px 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
  position: relative;
}
.stat-item {
  padding: 8px 20px;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 5px;
  letter-spacing: -1px;
}
.stat-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.82);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* ── SERVICE CARDS ─────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red);
}

.sc-photo {
  height: 200px;
  overflow: hidden;
}
.sc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.service-card:hover .sc-photo img {
  transform: scale(1.04);
}

.sc-body {
  padding: 28px 28px 32px;
}
.sc-body h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--navy);
}
.sc-body p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 22px;
}
.sc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--red);
  text-transform: uppercase;
  transition: gap var(--t), color var(--t);
}
.sc-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; transition: transform var(--t); }
.sc-link:hover { color: var(--red-dark); gap: 10px; }
.sc-link:hover svg { transform: translateX(3px); }

/* ── ANBIETER ─────────────────────────────────────── */
.anbieter-section { background: var(--navy); }
.anbieter-section .section-title { color: var(--white); }
.anbieter-section .section-sub { color: rgba(255,255,255,0.6); }

.anbieter-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.anbieter-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  transition: all var(--t);
  cursor: default;
}
.anbieter-card:hover {
  background: rgba(198,40,40,0.12);
  border-color: rgba(198,40,40,0.4);
  transform: translateY(-4px);
}
.anbieter-card svg {
  width: 38px;
  height: 38px;
  fill: var(--red-light);
  margin: 0 auto 12px;
  display: block;
}
.anbieter-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.3px;
}

/* ── ZUSÄTZLICHE LEISTUNGEN ────────────────────────── */
.zusatz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}

.zusatz-card {
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--red);
  padding: 28px 28px 28px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray);
  border-left: 4px solid var(--red);
  transition: transform var(--t), box-shadow var(--t);
}
.zusatz-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}
.zusatz-icon {
  width: 44px;
  height: 44px;
  background: rgba(198,40,40,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.zusatz-icon svg { width: 22px; height: 22px; fill: var(--red); }
.zusatz-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--navy);
}
.zusatz-card p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ── RECHNER CTA ──────────────────────────────────── */
.rechner-section {
  background: linear-gradient(135deg, #0a1226 0%, var(--navy) 60%, #16203a 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.rechner-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(198,40,40,0.06);
  top: -200px;
  right: -200px;
  pointer-events: none;
}
.rechner-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(198,40,40,0.04);
  bottom: -150px;
  left: -100px;
  pointer-events: none;
}
.rechner-section .container { position: relative; z-index: 1; }
.rechner-section .section-title { color: var(--white); }
.rechner-section .section-sub { color: rgba(255,255,255,0.65); margin: 0 auto 44px; }

.rechner-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── PARTNER TICKER ───────────────────────────────── */
.ticker-section {
  padding: 52px 0;
  background: var(--off-white);
  border-top: 1px solid var(--gray);
  border-bottom: 1px solid var(--gray);
  overflow: hidden;
}
.ticker-label {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 36px;
}
.ticker-track-wrap {
  overflow: hidden;
  position: relative;
}
.ticker-track-wrap::before,
.ticker-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker-track-wrap::before { left: 0; background: linear-gradient(to right, var(--off-white), transparent); }
.ticker-track-wrap::after { right: 0; background: linear-gradient(to left, var(--off-white), transparent); }

.ticker-track {
  display: flex;
  align-items: center;
  gap: 64px;
  animation: ticker 36s linear infinite;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ticker-item img {
  height: 46px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.45);
  transition: filter 0.4s ease, transform 0.3s ease;
}
.ticker-item img:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.08);
}

/* ── CONTACT FORM ─────────────────────────────────── */
.contact-section { background: var(--off-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-size: 26px;
  margin-bottom: 16px;
  color: var(--navy);
}
.contact-info p {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 32px;
  line-height: 1.7;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-detail-icon {
  width: 42px;
  height: 42px;
  background: rgba(198,40,40,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 18px; height: 18px; fill: var(--red); }
.contact-detail-text strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.contact-detail-text span {
  font-size: 14px;
  color: var(--text-soft);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray);
}
.contact-form-card h3 {
  font-size: 22px;
  margin-bottom: 6px;
  color: var(--navy);
}
.contact-form-card > p {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--navy);
  margin-bottom: 7px;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray);
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(198,40,40,0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%239AA3B2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* ── PAGE HERO ─────────────────────────────────────── */
.page-hero {
  position: relative;
  background: var(--navy-dark);
  padding: 80px 0 64px;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 85% 50%, rgba(198,40,40,0.14) 0%, transparent 65%),
    linear-gradient(135deg, var(--navy-dark), #162040);
  z-index: 0;
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb a { color: rgba(255,255,255,0.45); transition: color var(--t); }
.breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.breadcrumb span { color: var(--red-light); }
.breadcrumb-sep { font-size: 10px; opacity: 0.4; }
.page-hero h1 {
  font-size: clamp(30px, 4.5vw, 52px);
  color: var(--white);
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  line-height: 1.7;
}

/* ── DETAIL PAGES ─────────────────────────────────── */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid var(--gray);
}
.service-detail-grid:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.service-detail-grid:nth-child(even) { direction: rtl; }
.service-detail-grid:nth-child(even) > * { direction: ltr; }

.service-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--red) 0%, #8E0000 60%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.service-detail-img svg {
  width: 120px;
  height: 120px;
  fill: rgba(255,255,255,0.12);
  position: relative;
  z-index: 1;
}
.service-detail-img::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.service-detail-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.12), transparent 55%);
}
.service-detail-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.service-detail-text h3 {
  font-size: 28px;
  margin-bottom: 14px;
  color: var(--navy);
}
.service-detail-text p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 24px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.feature-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: rgba(198,40,40,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%23C62828' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ── SANITÄR PARTNERS ─────────────────────────────── */
.partner-showcases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.partner-showcase-item {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--gray);
  transition: all var(--t);
}
.partner-showcase-item:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.partner-showcase-item img {
  height: 40px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 14px;
  filter: grayscale(0.4);
}
.partner-showcase-item p {
  font-size: 12px;
  color: var(--text-soft);
}

/* ── KLIMA SPECS ──────────────────────────────────── */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.spec-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
}
.spec-card-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--red-light);
  line-height: 1;
  margin-bottom: 6px;
}
.spec-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* ── GOOGLE MAPS ──────────────────────────────────── */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray);
  margin-top: 32px;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: none;
}

/* ── KONTAKT PAGE LAYOUT ──────────────────────────── */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.kontakt-info h3 {
  font-size: 24px;
  margin-bottom: 12px;
}
.kontakt-info > p {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 28px;
  line-height: 1.7;
}
.info-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.info-icon {
  width: 46px;
  height: 46px;
  background: rgba(198,40,40,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-icon svg { width: 20px; height: 20px; fill: var(--red); }
.info-text strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}
.info-text span {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.5;
}

/* ── KONTAKT CARDS & MAP ──────────────────────────── */
.kontakt-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.kontakt-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: box-shadow 0.2s;
}
.kontakt-card:hover {
  box-shadow: 0 4px 16px rgba(26,39,68,0.08);
}
.kontakt-card-icon {
  width: 42px;
  height: 42px;
  background: rgba(198,40,40,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kontakt-card-icon svg { width: 20px; height: 20px; fill: var(--red); }
.kontakt-card h4 {
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.kontakt-card p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}
.kontakt-map {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.kontakt-form-col {
  /* right column of kontakt-grid */
}
.contact-form-full .form-group textarea {
  min-height: 140px;
}

/* ── CALCULATOR MODAL ─────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,27,50,0.75);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
  backdrop-filter: blur(4px);
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.96) translateY(8px);
  transition: transform var(--t);
  scrollbar-width: thin;
  scrollbar-color: var(--gray) transparent;
}
.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 32px 36px 24px;
  border-bottom: 1px solid var(--gray-light);
  position: relative;
}
.modal-header h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 4px;
}
.modal-header p {
  font-size: 13px;
  color: var(--text-soft);
}
.modal-close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 34px;
  height: 34px;
  background: var(--gray-light);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-size: 18px;
  transition: all var(--t);
}
.modal-close:hover {
  background: var(--gray);
  color: var(--navy);
  transform: rotate(90deg);
}

.step-bar {
  display: flex;
  gap: 6px;
  padding: 20px 36px 0;
}
.step-seg {
  flex: 1;
  height: 4px;
  background: var(--gray-light);
  border-radius: 2px;
  transition: background var(--t);
}
.step-seg.done { background: #4CAF50; }
.step-seg.active { background: var(--red); }

.step-counter {
  padding: 12px 36px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gray-mid);
  text-transform: uppercase;
}

.modal-body {
  padding: 24px 36px 32px;
}

.step-pane {
  display: none;
  animation: fadeStep 0.25s ease;
}
.step-pane.active { display: block; }
@keyframes fadeStep {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

.step-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 8px;
}
.option-grid-3 { grid-template-columns: repeat(3, 1fr); }

.opt-card {
  border: 2px solid var(--gray);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all var(--t);
  user-select: none;
}
.opt-card:hover {
  border-color: var(--red);
  background: rgba(198,40,40,0.03);
}
.opt-card.selected {
  border-color: var(--red);
  background: rgba(198,40,40,0.06);
}
.opt-card svg {
  width: 28px;
  height: 28px;
  fill: var(--red);
  margin: 0 auto 8px;
  display: block;
}
.opt-card span {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.3px;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.radio-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1.5px solid var(--gray);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--t);
  user-select: none;
}
.radio-item:hover { border-color: var(--red); background: rgba(198,40,40,0.03); }
.radio-item input { display: none; }
.radio-item.checked {
  border-color: var(--red);
  background: rgba(198,40,40,0.06);
}
.radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color var(--t);
}
.radio-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  display: none;
}
.radio-item.checked .radio-dot {
  border-color: var(--red);
}
.radio-item.checked .radio-dot::after { display: block; }
.radio-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.checkbox-item input { display: none; }
.checkbox-box {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray);
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
}
.checkbox-item.checked .checkbox-box {
  background: var(--red);
  border-color: var(--red);
}
.checkbox-box::after {
  content: '';
  width: 10px;
  height: 7px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='7' fill='none' viewBox='0 0 10 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3.5L3.5 6L9 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  display: none;
}
.checkbox-item.checked .checkbox-box::after { display: block; }
.checkbox-label {
  font-size: 14px;
  color: var(--text);
}

.modal-footer {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 24px;
}
.modal-footer .btn { min-width: 120px; justify-content: center; }
.btn-prev {
  background: transparent;
  color: var(--text-soft);
  border: 1.5px solid var(--gray);
}
.btn-prev:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--gray-light);
}

.success-step {
  text-align: center;
  padding: 20px 0;
}
.success-icon {
  width: 72px;
  height: 72px;
  background: rgba(76,175,80,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.success-icon svg { width: 36px; height: 36px; fill: #4CAF50; }
.success-step h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--navy);
}
.success-step p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.65;
}

/* ── CTA BANNER ───────────────────────────────────── */
.cta-banner {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); font-size: clamp(24px, 3.2vw, 38px); margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.65); font-size: 16px; margin-bottom: 36px; }
.cta-banner .btn-ghost { border-color: rgba(255,255,255,0.40); font-size: 14px; padding: 15px 32px; }
.cta-banner .btn-ghost:hover { background: rgba(255,255,255,0.10); border-color: var(--white); }

/* ── FOOTER ───────────────────────────────────────── */
.site-footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 72px 0 0;
  border-top: 3px solid var(--red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand-logo {
  height: 64px;
  width: 64px;
  object-fit: contain;
  background: rgba(255,255,255,0.97);
  padding: 6px;
  border-radius: 10px;
  margin-bottom: 18px;
  display: block;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}
.social-row {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
  color: rgba(255,255,255,0.6);
}
.social-btn:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-3px);
}
.social-btn svg { width: 17px; height: 17px; fill: currentColor; }

.footer-col h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 20px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color var(--t);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-addr {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-addr-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-addr-item svg {
  width: 14px;
  height: 14px;
  fill: var(--red-light);
  margin-top: 3px;
  flex-shrink: 0;
  opacity: 0.8;
}
.footer-addr-item span {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
.footer-copy a {
  color: rgba(255,255,255,0.45);
  transition: color var(--t);
}
.footer-copy a:hover { color: var(--white); }
.footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  transition: color var(--t);
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }
.nencode-link {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  transition: color var(--t);
}
.nencode-link:hover { color: rgba(255,255,255,0.6); }
.nencode-link strong { font-weight: 700; }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .anbieter-grid { grid-template-columns: repeat(3, 1fr); }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .service-detail-grid { gap: 40px; }
  .service-detail-grid:nth-child(even) { direction: ltr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links { display: none !important; }
  .hamburger { display: flex; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }

  .services-grid { grid-template-columns: 1fr; }
  .anbieter-grid { grid-template-columns: repeat(2, 1fr); }
  .zusatz-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-detail-grid:nth-child(even) { direction: ltr; }
  .partner-showcases { grid-template-columns: repeat(2, 1fr); }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .kontakt-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; min-height: 360px; }
  .hero h1 { font-size: clamp(34px, 9vw, 48px); letter-spacing: -1px; }
  .hero-kpi { flex-wrap: wrap; gap: 16px; }
  .hero-kpi-item { border-right: none; margin-right: 0; padding-right: 0; }
  .rechner-btns { flex-direction: column; align-items: center; }
  .modal { border-radius: 16px; }
  .modal-header, .modal-body, .step-bar, .step-counter { padding-left: 24px; padding-right: 24px; }
  .option-grid { grid-template-columns: 1fr 1fr; }
  .option-grid-3 { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
}
