/* ============================================================
   Pölzl Bau GmbH – Stylesheet
   HINWEIS: Alle Markenfarben sind Platzhalter.
   Farben werden nach Logo-Lieferung in :root angepasst.
   ============================================================ */

/* ── CSS-Variablen (PLACEHOLDER – nach Logo-Lieferung ersetzen) ── */
:root {
  /* Primärfarbe – Platzhalter Blau */
  --c-primary:       #1B4D8A;
  --c-primary-dark:  #153B6C;
  --c-primary-light: #D6E4F7;

  /* Akzentfarbe – Platzhalter Orange */
  --c-accent:        #E87820;
  --c-accent-dark:   #C46510;
  --c-accent-light:  #FEF0E2;

  /* Neutraltöne */
  --c-bg:            #F5F7FA;
  --c-bg-white:      #FFFFFF;
  --c-bg-dark:       #0F1D3A;
  --c-text:          #1A202C;
  --c-text-muted:    #64748B;
  --c-text-light:    #9CA3AF;
  --c-border:        #E2E8F0;

  /* Radien – keine harten Ecken */
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-2xl: 36px;

  /* Schatten */
  --shadow-sm: 0 1px 4px rgba(0,0,0,.07);
  --shadow-md: 0 4px 20px rgba(0,0,0,.09);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);

  /* Übergänge */
  --t: 220ms ease;

  /* Layout */
  --max-w: 1180px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg-white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { max-width: 66ch; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section ── */
.section {
  padding: 80px 0;
}
.section--alt { background: var(--c-bg); }
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p {
  color: var(--c-text-muted);
  font-size: 1.05rem;
  margin: 0 auto;
}
.section-eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 10px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-md);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--t);
  cursor: pointer;
  text-decoration: none;
}
.btn:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--c-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--c-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,120,32,.35);
}
.btn-outline-white {
  border: 2px solid rgba(255,255,255,.6);
  color: #fff;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
}

/* ════════════════════════════════════════
   HEADER
   ════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.site-header-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 68px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-logo img { height: 42px; width: auto; }
.logo-text { line-height: 1.2; }
.logo-text .logo-name {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-primary);
}
.logo-text .logo-sub {
  display: block;
  font-size: .72rem;
  font-weight: 500;
  color: var(--c-text-muted);
  letter-spacing: .03em;
}
.main-nav {
  margin-left: auto;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: .9rem;
  color: var(--c-text);
  transition: var(--t);
}
.main-nav a:hover { background: var(--c-bg); color: var(--c-primary); }
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--c-primary);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--c-primary-light);
  transition: var(--t);
}
.header-phone:hover {
  background: var(--c-primary-light);
  border-color: var(--c-primary);
}
.header-phone svg { flex-shrink: 0; }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
  border-radius: var(--r-sm);
  transition: var(--t);
}
.nav-burger:hover { background: var(--c-bg); }
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: var(--t);
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hidden on all screen sizes by default; opened via JS .open class */
.mobile-nav { display: none; }

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  background:
    linear-gradient(to bottom, rgba(8,18,38,.72) 0%, rgba(8,18,38,.52) 45%, rgba(8,18,38,.75) 100%),
    url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 100px;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--c-bg-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* Grid overlay pattern */
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .025;
  background-image:
    linear-gradient(rgba(255,255,255,.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.8) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.hero-content { color: #fff; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--c-accent);
  border-radius: 2px;
}
.hero-content h1 { color: #fff; margin-bottom: 20px; }
.hero-content h1 span { color: var(--c-accent); }
.hero-subline {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
  margin-bottom: 36px;
  max-width: 52ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Hero visual card */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}
.hero-badge-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 380px;
}
.hero-stat-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  text-align: center;
  color: #fff;
}
.hero-stat-card .stat-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-card .stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  line-height: 1.3;
}
.hero-stat-card--wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 20px 24px;
}
.hero-stat-card--wide .stat-icon {
  width: 44px;
  height: 44px;
  background: var(--c-accent);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
}
.hero-stat-card--wide .stat-text .stat-num { font-size: 1.3rem; margin-bottom: 2px; }

/* ════════════════════════════════════════
   LEISTUNGEN
   ════════════════════════════════════════ */
.leistungen-list {
  max-width: 860px;
  margin: 0 auto;
}
.leistung-row {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid var(--c-border);
  position: relative;
  transition: var(--t);
}
.leistung-row:first-child { border-top: 1px solid var(--c-border); }
.leistung-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--c-accent);
  border-radius: 0 3px 3px 0;
  opacity: 0;
  transform: scaleY(0.4);
  transition: var(--t);
}
.leistung-row:hover::before { opacity: 1; transform: scaleY(1); }

.leistung-row-icon {
  width: 56px;
  height: 56px;
  background: var(--c-accent-light);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  color: var(--c-accent);
  flex-shrink: 0;
  transition: var(--t);
}
.leistung-row:hover .leistung-row-icon {
  background: var(--c-accent);
  color: #fff;
}
.leistung-row-content { flex: 1; }
.leistung-row-content h3 {
  font-size: 1.15rem;
  color: var(--c-primary);
  margin-bottom: 6px;
  transition: var(--t);
}
.leistung-row:hover .leistung-row-content h3 { color: var(--c-accent-dark); }
.leistung-row-content p {
  color: var(--c-text-muted);
  font-size: .95rem;
  line-height: 1.65;
  max-width: unset;
}
.leistung-row-num {
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  color: var(--c-text-light);
  letter-spacing: .04em;
  margin-top: 4px;
  flex-shrink: 0;
  align-self: center;
}

/* ════════════════════════════════════════
   REFERENZEN – Bento Grid
   ════════════════════════════════════════ */
.referenzen-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 320px 320px 260px;
  gap: 14px;
}
/* Bento column spans */
.ref-b1 { grid-column: 1 / 5; }
.ref-b2 { grid-column: 5 / 7; }
.ref-b3 { grid-column: 1 / 3; }
.ref-b4 { grid-column: 3 / 7; }
.ref-b5 { grid-column: 1 / 4; }
.ref-b6 { grid-column: 4 / 7; }

.ref-bento-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
  cursor: default;
}
.ref-bento-card:hover {
  transform: scale(1.015);
  box-shadow: var(--shadow-lg);
}
/* Gradient backgrounds per card */
.ref-c1 { background: linear-gradient(140deg, #0F2D5C 0%, #1B5FAE 100%); }
.ref-c2 { background: linear-gradient(140deg, #1F3A2E 0%, #276B4D 100%); }
.ref-c3 { background: linear-gradient(140deg, #3B1C08 0%, #C26A1E 100%); }
.ref-c4 { background: linear-gradient(140deg, #1A1A3E 0%, #4A4AB0 100%); }
.ref-c5 { background: linear-gradient(140deg, #1C2B3A 0%, #3A6A8C 100%); }
.ref-c6 { background: linear-gradient(140deg, #2A1230 0%, #7B3FAD 100%); }

/* Dark overlay for text legibility */
.ref-bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 20%, rgba(0,0,0,.72) 100%);
  z-index: 1;
}
/* Watermark number */
.ref-bento-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,.1);
  z-index: 2;
  user-select: none;
  letter-spacing: -.02em;
}
/* Text body at bottom */
.ref-bento-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  z-index: 2;
}
.ref-bento-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.ref-bento-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 3px;
}
.ref-bento-year {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
}
/* "Foto folgt" badge top-left */
.ref-bento-placeholder {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: rgba(255,255,255,.5);
  border: 1px dashed rgba(255,255,255,.25);
  padding: 3px 9px;
  border-radius: 999px;
}

/* ════════════════════════════════════════
   ÜBER UNS
   ════════════════════════════════════════ */
.ueberuns-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.ueberuns-text h2 { margin-bottom: 16px; }
.ueberuns-text .intro {
  color: var(--c-text-muted);
  margin-bottom: 24px;
  font-size: 1rem;
  max-width: unset;
}
.ueberuns-text .placeholder-box {
  background: var(--c-bg);
  border: 2px dashed var(--c-border);
  border-radius: var(--r-md);
  padding: 20px 24px;
  font-size: .88rem;
  color: var(--c-text-muted);
  font-style: italic;
}
.team-cards { display: flex; flex-direction: column; gap: 20px; }
.team-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--c-bg-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: var(--t);
}
.team-card:hover { box-shadow: var(--shadow-md); border-color: var(--c-primary-light); }
.team-photo {
  width: 80px;
  height: 80px;
  border-radius: var(--r-xl);
  background: var(--c-primary-light);
  display: grid;
  place-items: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--c-primary);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border: 3px solid var(--c-border);
}
.team-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.team-photo-placeholder span {
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--c-primary);
  text-transform: uppercase;
}
.team-info h3 { font-size: 1rem; margin-bottom: 3px; }
.team-role {
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-accent);
  margin-bottom: 4px;
}
.team-desc {
  font-size: .85rem;
  color: var(--c-text-muted);
  line-height: 1.5;
  max-width: unset;
}

/* ════════════════════════════════════════
   KONTAKT
   ════════════════════════════════════════ */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Form */
.kontakt-form-wrap h3 { margin-bottom: 24px; color: var(--c-primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: .86rem;
  font-weight: 600;
  color: var(--c-text);
}
.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  font: inherit;
  font-size: .93rem;
  color: var(--c-text);
  background: var(--c-bg-white);
  transition: var(--t);
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-light);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-size: .8rem;
  color: var(--c-text-muted);
  margin-top: 8px;
  margin-bottom: 4px;
  max-width: unset;
}
.form-submit { margin-top: 4px; }
.form-submit .btn { width: 100%; justify-content: center; padding: 15px; }

/* Kontakt-Info */
.kontakt-info h3 { margin-bottom: 24px; color: var(--c-primary); }
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--c-primary-light);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  color: var(--c-primary);
  flex-shrink: 0;
}
.contact-item-text { line-height: 1; }
.contact-item-text .label {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c-text-muted);
  margin-bottom: 4px;
  display: block;
}
.contact-item-text .value {
  font-weight: 600;
  font-size: .95rem;
  color: var(--c-text);
  display: block;
}
.contact-item-text a.value:hover { color: var(--c-primary); }

.maps-frame {
  margin-top: 28px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
}
.maps-frame iframe {
  width: 100%;
  height: 220px;
  display: block;
  border: 0;
}

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.site-footer {
  background: var(--c-bg-dark);
  color: rgba(255,255,255,.75);
  padding: 48px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 28px;
}
.footer-brand .logo-name { color: #fff; font-size: 1.15rem; }
.footer-brand .logo-sub { color: rgba(255,255,255,.5); }
.footer-brand p {
  margin-top: 12px;
  font-size: .88rem;
  line-height: 1.65;
  color: rgba(255,255,255,.55);
  max-width: unset;
}
.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col li a {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  transition: var(--t);
}
.footer-col li a:hover { color: #fff; }
.footer-col .footer-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--c-accent);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,.45); transition: var(--t); }
.footer-legal a:hover { color: #fff; }

/* ════════════════════════════════════════
   IMPRESSUM / DATENSCHUTZ (Unterseiten)
   ════════════════════════════════════════ */
.legal-page { padding: 64px 0 80px; }
.legal-page h1 { font-size: 2rem; margin-bottom: 8px; color: var(--c-primary); }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 32px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--c-text-muted);
  transition: var(--t);
}
.legal-back:hover { color: var(--c-primary); }
.legal-content h2 {
  font-size: 1.15rem;
  margin: 32px 0 10px;
  color: var(--c-primary);
}
.legal-content h3 {
  font-size: 1rem;
  margin: 20px 0 8px;
  color: var(--c-text);
}
.legal-content p, .legal-content li {
  font-size: .93rem;
  color: var(--c-text-muted);
  margin-bottom: 10px;
  max-width: unset;
}
.legal-content ul { padding-left: 20px; list-style: disc; }
.legal-meta {
  margin-top: 4px;
  font-size: .82rem;
  color: var(--c-text-light);
}
.placeholder-field {
  display: inline;
  background: #FEF3C7;
  border: 1px dashed #D97706;
  padding: 1px 6px;
  border-radius: 4px;
  font-style: italic;
  font-size: .88em;
  color: #92400E;
}

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 1024px) {
  .referenzen-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 260px 260px 260px;
  }
  .ref-b1, .ref-b2, .ref-b3, .ref-b4, .ref-b5, .ref-b6 { grid-column: unset; }
  .ueberuns-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-padding: 56px; }
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 40px; }

  /* Header */
  .main-nav, .header-phone { display: none; }
  .nav-burger { display: flex; margin-left: auto; }

  /* Mobile nav overlay */
  .mobile-nav {
    display: none;
    position: fixed;
    inset: 68px 0 0 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(12px);
    z-index: 49;
    padding: 24px;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--c-border);
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a {
    padding: 14px 16px;
    border-radius: var(--r-md);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--c-text);
    border-bottom: 1px solid var(--c-border);
    display: block;
  }
  .mobile-nav a:last-child { border-bottom: none; }
  .mobile-nav a:hover { background: var(--c-bg); color: var(--c-primary); }
  .mobile-nav .mobile-phone {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--c-primary);
    padding: 16px;
    background: var(--c-primary-light);
    border-radius: var(--r-md);
    border-bottom: none;
  }

  /* Hero */
  .hero { padding: 56px 0 80px; min-height: auto; }

  /* Leistungen */
  .leistung-row { gap: 18px; padding: 24px 0; }
  .leistung-row-num { display: none; }

  /* Referenzen bento → single col */
  .referenzen-bento {
    grid-template-columns: 1fr;
    grid-template-rows: 220px 220px 220px 220px 220px 220px;
  }
  .ref-b1, .ref-b2, .ref-b3, .ref-b4, .ref-b5, .ref-b6 { grid-column: unset; }

  /* Kontakt */
  .kontakt-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .leistung-row-icon { width: 44px; height: 44px; }
  .team-card { flex-direction: column; text-align: center; }
  .contact-item { align-items: center; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  html { scroll-behavior: auto; }
}
