/* ============================================================
   Dachwerk Berlin — Dachdecker-Meisterbetrieb
   Fiktive Portfolio-Demo · Design & Code: Medientrupp
   Look: etablierter Handwerksbetrieb — vertrauenswürdiges Blau,
   Trust-Signale, klare konventionelle Struktur, echte Fotos
   ============================================================ */

:root {
  --blue: #175a9c;
  --blue-deep: #0f426f;
  --blue-bright: #2f80cc;
  --navy: #14283d;
  --navy-deep: #0e1d2d;
  --ink: #1f2b37;
  --ink-soft: #5a6874;
  --paper: #ffffff;
  --mist: #f1f5f9;
  --mist-deep: #e6edf3;
  --red: #cc3a2f;
  --line: #dde5ec;
  --star: #f5a623;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 8px -2px rgba(20, 40, 61, 0.12);
  --shadow: 0 8px 26px -12px rgba(20, 40, 61, 0.22);
  --shadow-lg: 0 22px 50px -22px rgba(20, 40, 61, 0.32);
  --font-display: "Barlow", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --container: 1220px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; background: var(--mist-deep); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(var(--container), calc(100% - 44px)); margin-inline: auto; }

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.display-xl { font-size: clamp(2.4rem, 4.6vw, 3.7rem); font-weight: 700; }
.display-lg { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 700; }
.display-md { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 700; }

.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); line-height: 1.6; }

.mark { color: var(--blue-bright); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--blue); border-radius: 2px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.btn svg { transition: transform 0.18s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-copper { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: var(--shadow-sm); }
.btn-copper:hover { background: var(--blue-deep); border-color: var(--blue-deep); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-dark:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }

.btn-light { background: #fff; color: var(--navy); border-color: #fff; box-shadow: var(--shadow-sm); }
.btn-light:hover { background: var(--mist); transform: translateY(-2px); }

/* ---------- Header ---------- */

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; background: #fff; box-shadow: var(--shadow-sm); }

.notice-bar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: center;
  padding: 7px 16px;
}
.notice-bar strong { color: #fff; font-weight: 700; }

/* Utility-Leiste (Telefon / E-Mail / Trust) */
.util-bar { background: var(--navy); color: rgba(255, 255, 255, 0.86); font-size: 0.85rem; }
.util-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 8px 0; }
.util-left, .util-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.util-bar a, .util-bar span { display: inline-flex; align-items: center; gap: 7px; color: inherit; }
.util-bar a:hover { color: #fff; }
.util-bar svg { color: var(--blue-bright); flex-shrink: 0; }
.util-right svg { color: var(--star); }
.util-phone { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: #fff; }

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  padding: 12px 0;
}
.nav-bar > .container-flex { display: contents; }

.site-header .nav-wrap { background: #fff; }
.site-header .nav-wrap > .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--navy);
}
.brand svg { flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}
.nav-links a { position: relative; padding: 8px 0; color: var(--ink); transition: color 0.18s ease; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px;
  background: var(--blue); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform 0.22s ease;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--blue); }

.nav-cta { flex-shrink: 0; padding: 12px 22px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform 0.25s ease, opacity 0.25s ease; }

/* ---------- Hero ---------- */

.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: heroZoom 16s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(74deg, rgba(14, 29, 45, 0.92) 0%, rgba(14, 29, 45, 0.66) 48%, rgba(14, 29, 45, 0.28) 100%);
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr);
  align-items: center; gap: clamp(40px, 5vw, 72px); padding: 190px 0 84px;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero .lead { color: rgba(255, 255, 255, 0.86); max-width: 46ch; margin: 22px 0 30px; }
.hero .eyebrow { color: #cfe2f5; }
.hero .eyebrow::before { background: var(--blue-bright); }

/* Trust-Zeile im Hero */
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }
.hero-trust .rating { display: inline-flex; align-items: center; gap: 9px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); padding: 8px 14px; }
.hero-trust .rating .stars { display: inline-flex; gap: 2px; color: var(--star); }
.hero-trust .rating strong { font-family: var(--font-display); font-weight: 700; }
.hero-trust .rating span { font-size: 0.85rem; color: rgba(255,255,255,0.82); }

.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.92); }
.hero-badges svg { color: var(--blue-bright); flex-shrink: 0; }

.hero-card { justify-self: end; background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 14px; width: min(460px, 100%); box-shadow: var(--shadow-lg); }
.hero-card-thumb { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 11; }
.hero-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play-badge { position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(0,0,0,0.5); transition: transform 0.25s ease, background 0.25s ease; }
.hero-card:hover .play-badge { transform: scale(1.08); background: var(--blue-deep); }
.hero-card-caption { display: flex; align-items: center; gap: 14px; padding: 16px 8px 8px; }
.hero-card-caption .badge-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; line-height: 1; }
.hero-card-caption p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.4; }
.hero-card .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ---------- Trust-Band (unter Hero) ---------- */

.trust-band { background: var(--mist); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 22px 0; }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 6px 14px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: none; }
.trust-item svg { flex-shrink: 0; color: var(--blue); }
.trust-item .g-badge { display: inline-flex; align-items: center; gap: 4px; }
.trust-item strong { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.02rem; display: block; line-height: 1.15; }
.trust-item span { font-size: 0.82rem; color: var(--ink-soft); }
.trust-item .stars { display: inline-flex; gap: 1px; color: var(--star); vertical-align: middle; }

/* ---------- Sections ---------- */

.section { padding: 92px 0; }
.section-tight { padding: 70px 0; }
.section-white { background: var(--mist); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.section-head h2 { max-width: 24ch; }
.section-head .lead { max-width: 42ch; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- Feature trio ---------- */

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.icon-chip { width: 56px; height: 56px; border-radius: var(--radius); background: #e8f1fa; display: grid; place-items: center; margin-bottom: 22px; color: var(--blue); }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feature-card p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- Split ---------- */

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 80px); align-items: center; }
.split-media { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 4.4; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .floating-tag { position: absolute; left: 20px; bottom: 20px; background: var(--blue); color: #fff; font-family: var(--font-display); font-weight: 700; border-radius: var(--radius); padding: 16px 22px; line-height: 1.25; box-shadow: var(--shadow); }
.floating-tag strong { display: block; font-size: 2rem; letter-spacing: -0.02em; margin-bottom: 2px; }
.mini-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 30px 0 36px; }
.mini-feature h4 { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; margin-bottom: 8px; }
.mini-feature h4 svg { color: var(--blue); flex-shrink: 0; }
.mini-feature p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Leistungen Cards ---------- */

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.service-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-thumb img { transform: scale(1.05); }
.service-tag { position: absolute; top: 12px; left: 12px; background: var(--blue); color: #fff; font-family: var(--font-display); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 6px 12px; border-radius: 5px; }
.service-body { padding: 24px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 1.28rem; margin-bottom: 10px; }
.service-body p { color: var(--ink-soft); font-size: 0.97rem; flex: 1; }
.service-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; margin-top: 18px; color: var(--blue); }
.service-link svg { transition: transform 0.22s ease; }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ---------- Chips ---------- */

.chip-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.chip { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 12px 20px; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; box-shadow: var(--shadow-sm); }
.chip svg { color: var(--blue); flex-shrink: 0; }

/* ---------- Stats ---------- */

.stats-band { background: var(--navy); border-radius: var(--radius-lg); color: #fff; padding: clamp(44px, 6vw, 72px); }
.stats-band .eyebrow { color: #cfe2f5; }
.stats-band .eyebrow::before { background: var(--blue-bright); }
.stats-band h2 { color: #fff; max-width: 18ch; }
.stats-band .lead { color: rgba(255, 255, 255, 0.74); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 48px; }
.stat { border-top: 3px solid var(--blue-bright); padding-top: 20px; }
.stat-number { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; color: #fff; line-height: 1; }
.stat p { color: rgba(255, 255, 255, 0.72); margin-top: 8px; font-size: 0.96rem; }

/* ---------- Checkliste ---------- */

.check-list { display: grid; gap: 14px; margin: 28px 0 36px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; }
.check-list svg { flex-shrink: 0; margin-top: 3px; color: #fff; background: var(--blue); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }

/* ---------- Prozess ---------- */

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.process-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow-sm); position: relative; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.process-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.process-num { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: #fff; background: var(--blue); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; letter-spacing: 0; }
.process-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.process-card p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Testimonials (Google-Bewertungs-Optik) ---------- */

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-sm); transition: box-shadow 0.25s ease, transform 0.25s ease; }
.testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.tm-source { display: flex; align-items: center; gap: 10px; }
.tm-source .g-logo { width: 26px; height: 26px; flex-shrink: 0; }
.tm-source .tm-meta { display: flex; flex-direction: column; line-height: 1.2; }
.tm-source .tm-meta b { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.tm-source .tm-meta span { font-size: 0.78rem; color: var(--ink-soft); }
.tm-source .tm-google { margin-left: auto; }
.tm-date { margin-left: auto; font-size: 0.78rem; color: var(--ink-soft); white-space: nowrap; }
.testimonial-stars { display: flex; gap: 2px; color: var(--star); }
.testimonial-card blockquote { font-size: 1rem; color: var(--ink); line-height: 1.55; flex: 1; }
.testimonial-person { display: flex; align-items: center; gap: 13px; border-top: 1px solid var(--line); padding-top: 18px; }
.testimonial-person img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial-person strong { font-family: var(--font-display); font-weight: 700; display: block; font-size: 0.98rem; }
.testimonial-person span { font-size: 0.84rem; color: var(--ink-soft); }

/* ---------- Team ---------- */

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-photo { overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 4.6; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-card h3 { font-size: 1.15rem; }
.team-card p { color: var(--blue); font-size: 0.9rem; margin-top: 3px; font-family: var(--font-display); font-weight: 600; }

/* ---------- Projekte / Galerie ---------- */

.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 18px; }
.project-tile { position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.project-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.project-tile:hover img { transform: scale(1.06); }
.project-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(to top, rgba(14,29,45,0.92), transparent); color: #fff; padding: 34px 18px 16px; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.project-tile figcaption span { display: block; font-size: 0.72rem; color: #bcd6ee; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }
.project-tile.wide { grid-column: span 2; }

/* ---------- Referenz-Karten ---------- */

.ref-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.ref-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.ref-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ref-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.ref-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ref-card:hover .ref-media img { transform: scale(1.05); }
.ref-body { padding: 26px 28px 28px; }
.ref-body h3 { font-size: 1.32rem; margin-bottom: 6px; }
.ref-body .ref-place { font-size: 0.8rem; color: var(--blue); font-weight: 700; font-family: var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; }
.ref-body p { color: var(--ink-soft); font-size: 0.98rem; margin-top: 12px; }
.ref-meta { display: flex; gap: 26px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.ref-meta div strong { font-family: var(--font-display); display: block; font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.ref-meta div span { font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */

.faq-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 68px); align-items: start; }
.faq-cta { position: sticky; top: 150px; background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 42px 38px; box-shadow: var(--shadow); }
.faq-cta h3 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 14px; }
.faq-cta p { color: rgba(255, 255, 255, 0.78); margin-bottom: 28px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: none; border: none; text-align: left; font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; color: var(--navy); padding: 20px 24px; cursor: pointer; }
.faq-icon { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: #e8f1fa; color: var(--blue); display: grid; place-items: center; transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer p { padding: 0 24px 22px; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Ratgeber / Blog ---------- */

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-thumb { overflow: hidden; aspect-ratio: 16 / 10; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-body { padding: 22px 24px 24px; }
.blog-date { font-size: 0.8rem; color: var(--blue); display: block; margin-bottom: 10px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.blog-body h3 { font-size: 1.16rem; line-height: 1.3; }

/* ---------- Seiten-Hero ---------- */

.page-hero { position: relative; padding: 200px 0 92px; overflow: hidden; color: #fff; }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(80deg, rgba(14,29,45,0.94) 6%, rgba(14,29,45,0.72) 58%, rgba(14,29,45,0.4) 100%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero .eyebrow { color: #cfe2f5; }
.page-hero .eyebrow::before { background: var(--blue-bright); }
.page-hero .lead { color: rgba(255, 255, 255, 0.85); max-width: 54ch; margin-top: 20px; }
.page-hero .hero-stat { display: inline-block; margin-top: 34px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--radius); padding: 18px 26px; font-family: var(--font-display); font-weight: 600; }
.page-hero .hero-stat strong { font-size: 2rem; color: #fff; letter-spacing: -0.02em; display: block; margin-bottom: 2px; }

/* ---------- Mission / Werte ---------- */

.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mission-card { border-radius: var(--radius-lg); padding: 38px 32px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.mission-card.highlight { background: var(--navy); color: #fff; border-color: var(--navy); }
.mission-card.highlight h3 { color: #fff; }
.mission-card.highlight p { color: rgba(255, 255, 255, 0.78); }
.mission-card.highlight .icon-chip { background: rgba(255, 255, 255, 0.12); color: #fff; }
.mission-card h3 { font-size: 1.32rem; margin: 20px 0 12px; }
.mission-card p { color: var(--ink-soft); }

/* ---------- Kontakt ---------- */

.contact-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(36px, 5vw, 60px); align-items: start; }
.contact-info-card { display: grid; gap: 14px; }
.contact-row { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.contact-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-row .icon-chip { margin: 0; width: 48px; height: 48px; }
.contact-row strong { font-family: var(--font-display); display: block; margin-bottom: 2px; color: var(--navy); }
.contact-row a, .contact-row p { color: var(--ink-soft); }
.contact-row a:hover { color: var(--blue); }
.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow); }
.contact-form-card h2 { margin-bottom: 8px; }
.contact-form-card > p { color: var(--ink-soft); margin-bottom: 30px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea { font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; width: 100%; }
.form-field textarea { resize: vertical; min-height: 118px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(23,90,156,0.14); }
.form-note { font-size: 0.84rem; color: var(--ink-soft); margin-top: 16px; }

.map-embed { margin-top: 4px; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); aspect-ratio: 16 / 7; position: relative; background: var(--mist-deep); box-shadow: var(--shadow-sm); }
.map-embed img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.1); }
.map-pin { position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; color: var(--blue); filter: drop-shadow(0 6px 10px rgba(0,0,0,0.3)); }

/* ---------- Pre-Footer CTA ---------- */

.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); color: #fff; padding: clamp(56px, 8vw, 96px) clamp(28px, 6vw, 76px); text-align: center; box-shadow: var(--shadow); }
.cta-band-media { position: absolute; inset: 0; }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(14,29,45,0.86), rgba(14,29,45,0.86)); }
.cta-band-inner { position: relative; z-index: 2; max-width: 640px; margin-inline: auto; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 32px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.72); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr; gap: clamp(32px, 4vw, 60px); padding-bottom: 52px; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.footer-about p { font-size: 0.96rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: 0.85rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.footer-col li { margin-bottom: 11px; font-size: 0.96rem; }
.footer-col a { transition: color 0.18s ease; }
.footer-col a:hover { color: var(--blue-bright); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex-shrink: 0; margin-top: 4px; color: var(--blue-bright); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 0.86rem; }
.footer-bottom .demo-note { color: rgba(255, 255, 255, 0.42); }

/* ---------- Floating Call-Button ---------- */

.fab-call { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(23,90,156,0.7); animation: fabPulse 2.4s ease-out infinite; transition: transform 0.2s ease, background 0.2s ease; }
.fab-call:hover { background: var(--blue-deep); transform: scale(1.06); }
@keyframes fabPulse { 0% { box-shadow: 0 12px 30px -8px rgba(23,90,156,0.7), 0 0 0 0 rgba(23,90,156,0.45); } 70% { box-shadow: 0 12px 30px -8px rgba(23,90,156,0.7), 0 0 0 16px rgba(23,90,156,0); } 100% { box-shadow: 0 12px 30px -8px rgba(23,90,156,0.7), 0 0 0 0 rgba(23,90,156,0); } }

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-media img { animation: none; } .fab-call { animation: none; } }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .feature-grid, .service-grid, .testimonial-grid, .mission-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project-tile.wide { grid-column: span 2; }
  .ref-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-item:nth-child(3) { border-right: none; }
}

@media (max-width: 900px) {
  .util-bar { display: none; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-bar.open .nav-links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; position: absolute; top: calc(100% + 12px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px; box-shadow: var(--shadow); }
  .nav-bar { position: relative; }
  .nav-bar.open .nav-links a { padding: 10px 0; width: 100%; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 170px; }
  .hero-card { justify-self: start; }
  .split { grid-template-columns: 1fr; }
  .faq-layout, .contact-layout { grid-template-columns: 1fr; }
  .faq-cta { position: static; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .feature-grid, .service-grid, .testimonial-grid, .process-grid, .team-grid, .mission-grid, .blog-grid, .stats-grid, .project-grid, .form-grid, .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
  .trust-item:last-child { border-bottom: none; }
  .project-tile.wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 60px 0; }
}

/* ---------- Vorschau-Modal ---------- */

.preview-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(14, 29, 45, 0.72); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.preview-modal.open { opacity: 1; visibility: visible; }
.preview-modal__card { position: relative; width: min(440px, 100%); background: #fff; border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 46px) clamp(26px, 5vw, 40px) clamp(28px, 4vw, 36px); text-align: center; box-shadow: var(--shadow-lg); transform: translateY(16px) scale(0.97); transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.preview-modal.open .preview-modal__card { transform: none; }
.preview-modal__close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border: none; background: transparent; color: var(--ink-soft); cursor: pointer; border-radius: 50%; display: grid; place-items: center; transition: background 0.2s ease, color 0.2s ease; }
.preview-modal__close:hover { background: var(--mist); color: var(--navy); }
.preview-modal__icon { width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; background: #e8f1fa; display: grid; place-items: center; color: var(--blue); }
.preview-modal__eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.preview-modal__eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.preview-modal__title { font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2rem); font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.preview-modal__text { font-size: 1rem; line-height: 1.6; color: var(--ink-soft); margin-bottom: 28px; }
.preview-modal__btn { width: 100%; font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: #fff; background: var(--blue); border: none; border-radius: var(--radius); padding: 15px 24px; cursor: pointer; transition: background 0.2s ease; }
.preview-modal__btn:hover { background: var(--blue-deep); }
body.preview-open { overflow: hidden; }
.hero-card-thumb, .blog-card[data-preview] { cursor: pointer; }
.hero-card-thumb:focus-visible, .blog-card[data-preview]:focus-visible, .preview-modal__btn:focus-visible, .preview-modal__close:focus-visible, .fab-call:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .preview-modal, .preview-modal__card { transition: opacity 0.2s ease, visibility 0.2s ease; } .preview-modal__card { transform: none; } }
