/* ============================================
   RUETIMANN HOCH + TIEFBAU AG — REDESIGN
   digital M. Akquise-Studie
   Design: Backsteinrot + Anthrazit + Warmgrau
   Typo: DM Serif Text + Inter
   ============================================ */

:root {
  /* Palette — abgeleitet vom Original */
  --brick: #BE402F;
  --brick-deep: #9A3325;
  --brick-soft: #D4695B;
  --brick-bg: #FDF4F2;
  --earth: #4A3528;
  --earth-mid: #6B5548;
  --charcoal: #1C1E21;
  --charcoal-soft: #2B2F33;
  --slate: #5A6168;
  --warmgray: #8C8580;
  --sand: #C4B5A4;
  --sand-light: #DDD2C4;
  --cream: #F6F3EF;
  --cream-soft: #FAFAF8;
  --white: #FFFFFF;
  --line: #E2DDD6;
  --line-dark: #3A3D42;
  --success: #2D8A4E;

  /* Type */
  --heading: 'DM Serif Text', Georgia, 'Times New Roman', serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --max: 1240px;
  --max-wide: 1400px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(4rem, 8vw, 7rem);
  --radius: 6px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(28,30,33,0.06);
  --shadow-md: 0 4px 16px rgba(28,30,33,0.08);
  --shadow-lg: 0 8px 32px rgba(28,30,33,0.12);
  --shadow-brick: 0 4px 16px rgba(190,64,47,0.15);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream-soft);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; font-family: var(--body); font-weight: 600; }

p { max-width: 68ch; }

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

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

/* ============================================
   DEMO BANNER
   ============================================ */
.demo-banner {
  background: var(--charcoal);
  color: var(--sand-light);
  font-family: var(--body);
  font-size: 13px;
  text-align: center;
  padding: 8px var(--gutter);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 100;
}
.demo-banner strong {
  color: var(--white);
  font-weight: 600;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  width: 44px;
  height: 44px;
  background: var(--brick);
  color: var(--white);
  font-family: var(--heading);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  line-height: 1;
}
.brand-text strong {
  display: block;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
}
.brand-text span {
  font-size: 12px;
  color: var(--slate);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 0;
  align-items: center;
}
.nav-links li a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--slate);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--brick);
  background: var(--brick-bg);
}

/* Dropdown */
.nav-links .has-dropdown { position: relative; }
.nav-links .has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 5px;
  vertical-align: middle;
  opacity: 0.5;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 6px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all 0.2s;
  z-index: 80;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 400;
  color: var(--charcoal);
  transition: background 0.15s, color 0.15s;
}
.dropdown a:hover {
  background: var(--brick-bg);
  color: var(--brick);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--brick);
  padding: 9px 18px;
  border-radius: var(--radius);
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--brick-deep);
  box-shadow: var(--shadow-brick);
}
.nav-cta svg { width: 16px; height: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 85;
  padding: 100px var(--gutter) 40px;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--charcoal);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:hover { color: var(--brick); }
.mobile-nav .mobile-sub { padding-left: 20px; }
.mobile-nav .mobile-sub a {
  font-size: 16px;
  font-weight: 400;
  color: var(--slate);
}
.mobile-nav .mobile-cta {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  background: var(--brick);
  padding: 14px 24px;
  border-radius: var(--radius);
  text-align: center;
  justify-content: center;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius);
  transition: all 0.25s;
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--brick);
  color: var(--white);
  border: none;
}
.btn-primary:hover {
  background: var(--brick-deep);
  box-shadow: var(--shadow-brick);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--charcoal);
  color: var(--white);
  border: none;
}
.btn-secondary:hover {
  background: var(--charcoal-soft);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--line);
}
.btn-outline:hover {
  border-color: var(--brick);
  color: var(--brick);
  background: var(--brick-bg);
}

.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: none;
  padding: 13px 16px;
}
.btn-ghost:hover { color: var(--brick); }

.btn-white {
  background: var(--white);
  color: var(--brick);
  border: none;
}
.btn-white:hover {
  background: var(--cream);
  transform: translateY(-1px);
}

/* ============================================
   SECTION UTILITIES
   ============================================ */
.section { padding: var(--section-pad) 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-dark {
  background: var(--charcoal);
  color: var(--sand-light);
}
.section-dark h2,
.section-dark h3 { color: var(--white); }
.section-brick {
  background: var(--brick);
  color: var(--white);
}
.section-brick h2,
.section-brick h3 { color: var(--white); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-header p {
  margin: 1rem auto 0;
  color: var(--slate);
  font-size: 17px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 1rem;
}
.eyebrow svg { width: 16px; height: 16px; }

.section-dark .eyebrow { color: var(--brick-soft); }

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(160deg, var(--charcoal) 0%, var(--charcoal-soft) 60%, #3A2E28 100%);
  color: var(--sand-light);
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(4rem, 10vw, 7rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(190,64,47,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--brick-soft);
}

.hero-lead {
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.7;
  color: var(--sand);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
}
.hero-stat .num {
  display: block;
  font-family: var(--heading);
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
}
.hero-stat .label {
  display: block;
  font-size: 13px;
  color: var(--warmgray);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
}
.hero-image-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(180deg, var(--earth) 0%, var(--earth-mid) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.hero-image-wrapper .placeholder-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.15;
  color: var(--sand);
}
.hero-image-wrapper .placeholder-icon svg { width: 120px; height: 120px; }

.hero-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--brick);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.hero-badge strong {
  display: block;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
}
.hero-badge span {
  font-size: 12px;
  opacity: 0.85;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--white);
  border-top: 3px solid var(--brick);
  padding: 2.5rem 0;
}
.stats-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {}
.stat-number {
  font-family: var(--heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--brick);
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  color: var(--slate);
  margin-top: 6px;
}

/* ============================================
   FEATURE GRID (Leistungen cards)
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brick);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--brick-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--brick);
}
.feature-icon svg { width: 24px; height: 24px; }

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.feature-card p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
}
.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brick);
  margin-top: 1.25rem;
  transition: gap 0.2s;
}
.feature-link:hover { gap: 10px; }
.feature-link svg { width: 16px; height: 16px; }

/* ============================================
   CTA SPLIT
   ============================================ */
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 420px;
}
.cta-split-content {
  padding: clamp(3rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-split-content h2 { margin-bottom: 1.25rem; }
.cta-split-content p {
  color: var(--slate);
  margin-bottom: 2rem;
  font-size: 17px;
}
.cta-split-visual {
  background: linear-gradient(160deg, var(--earth) 0%, var(--earth-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}
.cta-split-visual .placeholder-icon {
  opacity: 0.12;
  color: var(--sand);
}
.cta-split-visual .placeholder-icon svg { width: 100px; height: 100px; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--brick);
  color: var(--white);
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-banner p {
  font-size: 17px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.cta-banner .btn-white:hover {
  background: var(--cream-soft);
}

/* ============================================
   REFERENZ GRID
   ============================================ */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.ref-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.3s;
}
.ref-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.ref-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(160deg, var(--earth) 0%, var(--earth-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.ref-thumb .placeholder-icon {
  opacity: 0.12;
  color: var(--sand);
}
.ref-thumb .placeholder-icon svg { width: 48px; height: 48px; }

.ref-body {
  padding: 1.5rem;
}
.ref-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.ref-body p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.5;
}
.ref-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--brick);
  background: var(--brick-bg);
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 0.75rem;
}

/* ============================================
   TIMELINE (Geschichte)
   ============================================ */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brick);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--brick);
}
.timeline-year {
  font-family: var(--heading);
  font-size: 1.4rem;
  color: var(--brick);
  margin-bottom: 0.5rem;
}
.timeline-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.timeline-item p {
  font-size: 15px;
  color: var(--slate);
}

/* ============================================
   TEAM GRID
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: all 0.3s;
}
.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.team-photo {
  aspect-ratio: 1;
  background: linear-gradient(160deg, var(--cream) 0%, var(--sand-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo .placeholder-icon {
  opacity: 0.15;
  color: var(--warmgray);
}
.team-photo .placeholder-icon svg { width: 48px; height: 48px; }
.team-info {
  padding: 1.25rem;
}
.team-info h4 {
  font-size: 15px;
  margin-bottom: 3px;
}
.team-info span {
  font-size: 13px;
  color: var(--slate);
}

/* ============================================
   CONTACT SPLIT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
}
.contact-info-block {
  display: flex;
  gap: 16px;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-info-block:first-child { padding-top: 0; }
.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--brick-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brick);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-text h4 { margin-bottom: 2px; }
.contact-text p {
  font-size: 15px;
  color: var(--slate);
}
.contact-text a {
  color: var(--brick);
  font-weight: 500;
}
.contact-text a:hover {
  text-decoration: underline;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.contact-form h3 {
  margin-bottom: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--body);
  font-size: 15px;
  color: var(--charcoal);
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brick);
  box-shadow: 0 0 0 3px rgba(190,64,47,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  text-align: left;
  cursor: pointer;
  gap: 1rem;
}
.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--brick);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  padding-bottom: 1.25rem;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.7;
}

/* ============================================
   PAGE HEADER (Subpages)
   ============================================ */
.page-header {
  background: linear-gradient(160deg, var(--charcoal) 0%, var(--charcoal-soft) 100%);
  color: var(--sand-light);
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.page-header h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}
.page-header p {
  font-size: 17px;
  color: var(--sand);
  max-width: 600px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--warmgray);
  margin-bottom: 1.5rem;
}
.breadcrumb a {
  color: var(--sand);
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: 0.4; }

/* ============================================
   LEISTUNG DETAIL (Subpage)
   ============================================ */
.leistung-content {
  max-width: 780px;
}
.leistung-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.leistung-content p {
  margin-bottom: 1.25rem;
  font-size: 17px;
  color: var(--slate);
  line-height: 1.7;
}
.leistung-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style: none;
}
.leistung-content ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 0.5rem;
  font-size: 16px;
  color: var(--charcoal);
}
.leistung-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--brick);
  border-radius: 50%;
}

.leistung-sidebar {
  position: sticky;
  top: 100px;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.sidebar-card h4 { margin-bottom: 1rem; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--slate);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
}
.sidebar-nav a:last-child { border-bottom: none; }
.sidebar-nav a:hover,
.sidebar-nav a.active { color: var(--brick); font-weight: 600; }
.sidebar-nav a svg { width: 16px; height: 16px; }

.leistung-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--charcoal);
  color: var(--warmgray);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--warmgray);
  margin-top: 1rem;
  max-width: 300px;
}
.footer-brand .brand-mark {
  background: var(--brick);
}
.footer-brand .brand-text strong { color: var(--white); }
.footer-brand .brand-text span { color: var(--warmgray); }

.footer h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}
.footer ul li { margin-bottom: 0.65rem; }
.footer ul li a {
  font-size: 15px;
  color: var(--warmgray);
  transition: color 0.2s;
}
.footer ul li a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 0.75rem;
  font-size: 15px;
}
.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--brick-soft);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-item a { color: var(--sand-light); }
.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  color: var(--warmgray);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--white); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-stats { gap: 1.5rem; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .feature-grid { grid-template-columns: 1fr 1fr; }
  .ref-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }

  .cta-split { grid-template-columns: 1fr; }
  .cta-split-visual { min-height: 250px; }

  .contact-grid { grid-template-columns: 1fr; }
  .leistung-layout { grid-template-columns: 1fr; }
  .leistung-sidebar { position: static; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2rem; }
  .nav-inner { height: 60px; }
  .nav-cta { display: none; }
}
