/* ============================================================
   Pavel Gubceac — Trockenbau · Hausmeisterservice · Messebau
   Palette: Blau #1D4ED8 + Anthrazit #1F2733 + Weiß/Hellgrau
   Struktur nach tk-bau.com-Referenz, Motion: Tempo B (punchy)
   ============================================================ */

/* ---------- Self-hosted fonts (DSGVO-konform, keine Google-CDN-Requests) ---------- */
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --accent:        #1D4ED8;   /* Blau */
  --accent-dark:   #1E40AF;   /* Hover */
  --accent-deep:   #172E80;   /* pressed */
  --accent-tint:   #EFF4FF;   /* helle Fläche */
  --ink:           #1F2733;   /* Anthrazit */
  --ink-deep:      #161C26;   /* footer / hero */
  --ink-soft:      #2A3442;

  /* Neutrals */
  --bg:            #FFFFFF;
  --bg-soft:       #F3F5F8;
  --line:          #E4E8EF;
  --text:          #273041;
  --muted:         #5A6472;
  --white:         #FFFFFF;

  /* Type */
  --display: 'Archivo', system-ui, -apple-system, Segoe UI, sans-serif;
  --body:    'Inter', system-ui, -apple-system, Segoe UI, sans-serif;

  /* Motion — Tempo B */
  --motion-punchy: 0.6s cubic-bezier(0.44, 0, 0.56, 1);
  --motion-hover:  0.2s cubic-bezier(0.44, 0, 0.56, 1);
  --motion-color:  0.3s linear;

  /* Rhythm */
  --nav-h: 76px;
  --maxw: 1200px;
  --radius: 4px;
  --shadow-sm: 0 2px 10px rgba(22,28,38,.06);
  --shadow-md: 0 14px 40px rgba(22,28,38,.12);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.08;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -0.02em;
}
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--ink-deep); color: #C7CEDA; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body);
  font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); display: inline-block; }
.section--ink .eyebrow { color: #7FA0F0; }
.section--ink .eyebrow::before { background: #7FA0F0; }

.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--ink .section-head h2 { color: #fff; }
.section--ink .section-head p { color: #A9B3C4; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-family: var(--body); font-weight: 700; font-size: .98rem;
  padding: 15px 26px; border-radius: var(--radius);
  cursor: pointer; border: 2px solid transparent;
  transition: background var(--motion-hover), color var(--motion-hover),
              border-color var(--motion-hover), transform var(--motion-hover);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1DA851; }
.btn-whatsapp svg { width: 20px; height: 20px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--motion-hover);
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 1.16rem; letter-spacing: -0.01em; }
.brand-text span { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  font-weight: 600; font-size: .95rem; color: var(--ink); white-space: nowrap;
  padding: 8px 12px; border-radius: var(--radius);
  position: relative; transition: color var(--motion-color);
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--motion-hover);
}
.nav a:hover { color: var(--accent); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav-cta { display: none; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; color: var(--accent); }
@media (max-width: 1160px) { .header-phone { display: none; } }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); cursor: pointer; padding: 0; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; transition: var(--motion-hover);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  background:
    linear-gradient(115deg, rgba(20,26,36,.93) 0%, rgba(20,26,36,.78) 42%, rgba(23,46,128,.62) 100%),
    url('../img/hero-trockenbau.webp') center/cover no-repeat,
    #1F2733;
  color: #fff; overflow: hidden;
}
.hero::after { /* subtle grain / depth */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 80% 20%, rgba(29,78,216,.25), transparent 60%);
}
.hero .container { position: relative; z-index: 2; max-width: 1080px; }
.hero-eyebrow { color: #9DB6F5; }
.hero-eyebrow::before { background: #9DB6F5; }
.hero h1 {
  color: #fff; font-size: clamp(2.4rem, 6vw, 4.6rem);
  max-width: 16ch; margin-bottom: 22px;
}
.hero h1 .hl { color: #9DB6F5; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.28rem); color: #D3DBEA; max-width: 56ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; color: #AFBBD0; font-size: .95rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 9px; }
.hero-trust svg { width: 18px; height: 18px; color: #9DB6F5; }

/* ---------- Value band (4 cards) ---------- */
.values { margin-top: -70px; position: relative; z-index: 5; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; box-shadow: var(--shadow-md); border-radius: 6px; overflow: hidden; }
.value-card {
  background: var(--ink); color: #C7CEDA; padding: 40px 28px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.07);
  transition: background var(--motion-hover), transform var(--motion-hover);
}
.value-card:last-child { border-right: 0; }
.value-card.is-accent { background: var(--accent); color: #fff; }
.value-card:hover { background: var(--accent); color: #fff; }
.value-ico {
  width: 52px; height: 52px; margin: 0 auto 18px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.1);
}
.value-ico svg { width: 26px; height: 26px; color: #fff; }
.value-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.value-card p { font-size: .92rem; margin: 0; color: inherit; opacity: .88; }

/* ---------- Placeholder media ---------- */
.ph {
  position: relative; background: linear-gradient(135deg, #2A3442, #1F2733);
  border-radius: 6px; overflow: hidden; display: grid; place-items: center;
  color: rgba(255,255,255,.6); min-height: 240px;
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 14px, transparent 14px 28px);
}
.ph-label {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--body); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
}
.ph-label svg { width: 34px; height: 34px; opacity: .7; }

/* ---------- Leistungen ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--motion-hover), box-shadow var(--motion-hover), border-color var(--motion-hover);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-media { position: relative; aspect-ratio: 16/11; min-height: 0; }
.service-media .ph { min-height: 100%; height: 100%; border-radius: 0; }
.service-num {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-family: var(--display); font-weight: 800; border-radius: 6px;
}
.service-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.service-body h3 { font-size: 1.4rem; margin-bottom: 10px; }
.service-body > p { color: var(--muted); font-size: .98rem; }
.service-list { list-style: none; padding: 0; margin: 4px 0 22px; }
.service-list li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: .95rem; color: var(--text); }
.service-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.service-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); font-size: .95rem; }
.service-more svg { width: 16px; height: 16px; transition: transform var(--motion-hover); }
.service-card:hover .service-more svg { transform: translateX(4px); }

/* ---------- About / split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.split .ph { min-height: 420px; height: 100%; }
.split h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.about-points { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 16px; }
.about-points li { display: flex; gap: 14px; align-items: flex-start; }
.about-points .tick {
  flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-tint);
  display: grid; place-items: center; margin-top: 2px;
}
.about-points .tick svg { width: 15px; height: 15px; color: var(--accent); }
.about-points b { color: var(--ink); font-family: var(--display); display: block; margin-bottom: 2px; }
.about-points span.txt { color: var(--muted); font-size: .96rem; }

/* ---------- Ablauf (steps) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 8px; }
.step-num {
  font-family: var(--display); font-weight: 800; font-size: 2.6rem; color: var(--accent);
  line-height: 1; opacity: .9;
}
.step-num small { font-size: 1rem; color: var(--line); }
.step h3 { font-size: 1.2rem; margin: 14px 0 8px; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 20px; right: -12px; width: 24px; height: 2px; background: var(--line);
}

/* ---------- Referenzen gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.gallery .ph { min-height: 0; height: 100%; }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }

/* ---------- Testimonial ---------- */
.quote { max-width: 820px; margin: 54px auto 0; text-align: center; }
.quote p { font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: #fff; line-height: 1.35; letter-spacing: -0.01em; }
.quote .q-mark { color: #7FA0F0; font-size: 3rem; line-height: 0; }
.quote footer { color: #9FB0CC; font-family: var(--body); font-size: .95rem; margin-top: 18px; }

/* ---------- Einsatzgebiet ---------- */
.regions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.region-chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 20px; font-weight: 600; font-size: .95rem; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px; transition: var(--motion-hover);
}
.region-chip svg { width: 15px; height: 15px; color: var(--accent); }
.region-chip:hover { border-color: var(--accent); background: var(--accent-tint); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-ico { flex: none; width: 48px; height: 48px; border-radius: 8px; background: var(--accent-tint); display: grid; place-items: center; }
.contact-ico svg { width: 22px; height: 22px; color: var(--accent); }
.contact-list b { display: block; font-family: var(--display); color: var(--ink); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 3px; }
.contact-list a, .contact-list span.v { color: var(--text); font-size: 1.05rem; }
.contact-list a:hover { color: var(--accent); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 34px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--body); font-size: 1rem; color: var(--text);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color var(--motion-hover), box-shadow var(--motion-hover);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(29,78,216,.14);
}
.field textarea { min-height: 130px; resize: vertical; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin: 4px 0 20px; }
.consent input { margin-top: 3px; flex: none; width: 17px; height: 17px; accent-color: var(--accent); }
.consent a { color: var(--accent); text-decoration: underline; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.form-success { display: none; padding: 16px 18px; background: var(--accent-tint); border: 1px solid #C9D8FA; border-radius: var(--radius); color: var(--accent-deep); font-weight: 600; margin-bottom: 18px; }
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-deep); color: #97A2B4; padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 54px; }
.footer .brand-text b { color: #fff; }
.footer .brand-text span { color: #7C879A; }
.footer-about { margin-top: 20px; max-width: 34ch; color: #8A94A6; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer a:hover { color: #fff; }
.footer-contact li { margin-bottom: 11px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .86rem; color: #6E7889;
}
.footer-bottom a { color: #8A94A6; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Legal pages ---------- */
.legal { padding: calc(var(--nav-h) + 70px) 0 90px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 8px; }
.legal .lead { color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.1rem; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal a { color: var(--accent); text-decoration: underline; }
.legal .back { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; margin-bottom: 30px; white-space: nowrap; }
.legal .back svg { width: 20px; height: 20px; flex: none; }

/* ---------- Reveal (Tempo B) ---------- */
html.reveal-on .reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity var(--motion-punchy), transform var(--motion-punchy);
}
html.reveal-on .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.reveal-on .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .nav, .header-phone { display: none; }
  .header-cta .btn-primary { display: none; }
  .nav-toggle { display: block; }

  body.menu-open { overflow: hidden; }

  /* ---- Modern full-height mobile menu ---- */
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    min-height: calc(100vh - var(--nav-h));
    min-height: calc(100dvh - var(--nav-h));
    background: #fff; padding: 12px 0 24px; box-shadow: none; border: 0;
    overflow-y: auto;
    animation: menuFade .28s ease both;
  }
  .nav.open > a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 28px; border-radius: 0;
    font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.01em;
    color: var(--ink); border-bottom: 1px solid var(--line);
    animation: menuItem .4s cubic-bezier(0.22,1,0.36,1) both;
  }
  .nav.open > a:nth-child(1) { animation-delay: .04s; }
  .nav.open > a:nth-child(2) { animation-delay: .09s; }
  .nav.open > a:nth-child(3) { animation-delay: .14s; }
  .nav.open > a:nth-child(4) { animation-delay: .19s; }
  .nav.open > a:nth-child(5) { animation-delay: .24s; }
  .nav.open > a:active { background: var(--accent-tint); color: var(--accent); }
  /* chevron indicator (re-uses the ::after that was the desktop underline) */
  .nav.open > a::after {
    display: block; position: static; content: "";
    width: 9px; height: 9px; left: auto; right: auto; bottom: auto; background: none;
    border-right: 2px solid var(--muted); border-top: 2px solid var(--muted);
    transform: rotate(45deg); opacity: .45; transition: transform var(--motion-hover);
    flex: none;
  }
  .nav.open > a:active::after { border-color: var(--accent); transform: rotate(45deg) translate(2px,-2px); }

  /* ---- CTA block at the bottom of the menu ---- */
  .nav-cta {
    display: flex; flex-direction: column; gap: 14px;
    padding: 28px 28px 8px; margin-top: auto;
    animation: menuItem .4s cubic-bezier(0.22,1,0.36,1) both; animation-delay: .3s;
  }
  .nav-cta .btn { width: 100%; justify-content: center; font-size: 1.05rem; padding: 17px 24px; }
  .nav-phone {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-weight: 700; font-size: 1.05rem; color: var(--ink);
    padding: 15px; border: 1px solid var(--line); border-radius: var(--radius);
  }
  .nav-phone svg { width: 19px; height: 19px; color: var(--accent); }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .value-card:nth-child(2) { border-right: 0; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split .ph { min-height: 300px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none !important; }
  .values-grid { grid-template-columns: 1fr; }
  .value-card { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
}

/* ============================================================
   Additions: logo, icon-cards, image band, FAQ, cookie banner
   ============================================================ */

/* ---- About split image ---- */
.split-img {
  width: 100%; height: 100%; min-height: 440px; object-fit: cover;
  border-radius: 8px; box-shadow: var(--shadow-md);
}

/* ---- Brand logo (SVG) ---- */
.brand-logo { width: 42px; height: auto; flex: none; display: block; }
.footer .brand-logo { width: 40px; }

/* ---- Service cards: icon media panels (kein Foto vorhanden für alle Gewerke) ---- */
.service-media.icon-panel {
  aspect-ratio: 16/11;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #24304180 0%, #1F2733 100%), var(--ink);
  position: relative; overflow: hidden;
}
.service-media.icon-panel.accent {
  background: linear-gradient(140deg, var(--accent) 0%, var(--accent-deep) 100%);
}
.service-media.icon-panel::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 16px, transparent 16px 32px);
}
.service-ico-lg {
  position: relative; z-index: 2;
  width: 78px; height: 78px; display: grid; place-items: center;
  border-radius: 16px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
}
.service-ico-lg svg { width: 40px; height: 40px; color: #fff; }
.service-card .service-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Wide image band ---- */
.imgband {
  position: relative; min-height: 460px; display: flex; align-items: flex-end;
  background:
    linear-gradient(0deg, rgba(20,26,36,.92) 0%, rgba(20,26,36,.45) 55%, rgba(20,26,36,.30) 100%),
    var(--imgband-src, none) center/cover no-repeat, var(--ink-deep);
  color: #fff; overflow: hidden;
}
.imgband-inner { padding: 54px 0; max-width: 640px; }
.imgband .eyebrow { color: #9DB6F5; }
.imgband .eyebrow::before { background: #9DB6F5; }
.imgband h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.imgband p { color: #CFD7E6; margin: 0; }

/* ---- Testimonials (multi) ---- */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.testi-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 30px 30px 26px;
}
.testi-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.testi-stars svg { width: 18px; height: 18px; color: #F6B93B; }
.testi-card p { color: #E4E9F2; font-size: 1.06rem; line-height: 1.6; margin: 0 0 18px; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.testi-av {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--accent); color: #fff; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 1.05rem;
}
.testi-who b { color: #fff; font-family: var(--display); font-size: .98rem; display: block; }
.testi-who span { color: #9FB0CC; font-size: .85rem; }

/* ---- FAQ ---- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 1.12rem; color: var(--ink);
  padding: 22px 44px 22px 0; position: relative;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
}
.faq-q::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg); transition: transform var(--motion-hover);
}
.faq-item.open .faq-q::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--motion-punchy); }
.faq-a-inner { padding: 0 44px 24px 0; color: var(--muted); }
.faq-item.open .faq-a { max-height: 340px; }

/* ---- Cookie consent banner ---- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 940px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 22px 24px;
  display: none; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
}
.cookie-banner.show { display: grid; }
.cookie-text { font-size: .92rem; color: var(--text); }
.cookie-text b { font-family: var(--display); color: var(--ink); display: block; margin-bottom: 4px; font-size: 1rem; }
.cookie-text a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 12px 20px; font-size: .92rem; }
.btn-mini-ghost {
  background: #fff; border: 1px solid var(--line); color: var(--ink);
}
.btn-mini-ghost:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 700px) {
  .cookie-banner.show { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .imgband { min-height: 380px; }
}


/* ---- Mobile menu animations ---- */
@keyframes menuFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes menuItem {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nav.open, .nav.open > a, .nav-cta { animation: none; }
}
