/* ═══════════════════════════════════════════════════════════
   Æ Gebäudeservice · main.css
   Warm & approachable — earth tones + deep blue accent
   Mixed typography: Playfair Display + Inter
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Palette */
  --sand:       #f5f0e8;
  --sand-warm:  #ede5d4;
  --sand-deep:  #ddd0b8;
  --clay:       #c4a882;
  --clay-dark:  #9a7e5c;
  --bark:       #0f2240;
  --bark-soft:  #2d4a72;
  --blue:       #1e3a5f;
  --blue-mid:   #2d5282;
  --blue-light: #e8f0f8;
  --blue-glow:  rgba(30,58,95,.15);
  --white:      #ffffff;
  --line:       rgba(15,34,64,.12);
  --line-strong:rgba(15,34,64,.28);

  /* Typography */
  --display: 'DM Serif Display', 'Times New Roman', serif;
  --sans:    'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --section: 100px;
  --section-sm: 60px;
  --radius: 10px;
  --radius-sm: 6px;

  /* Motion */
  --ease: cubic-bezier(.16,1,.3,1);
}

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--sand);
  color: var(--bark);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--blue); color: var(--white); }

/* ── Accessibility ── */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--blue); color: var(--white);
  padding: 12px 20px; z-index: 9999; font-weight: 500;
}
.skip-link:focus { left: 20px; top: 20px; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px);
  height: 1px; overflow: hidden; position: absolute; width: 1px;
}

/* ── Layout ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: 860px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

.section     { padding: var(--section) 0; }
.section-sm  { padding: var(--section-sm) 0; }
.text-center { text-align: center; }

/* ── Typography ── */
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.15; letter-spacing: -.015em; color: var(--bark); }
h1 { font-size: clamp(36px, 5.5vw, 72px); }
h2 { font-size: clamp(28px, 4vw, 52px); }
h3 { font-size: clamp(20px, 2.5vw, 30px); }
p  { color: var(--bark-soft); line-height: 1.7; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--blue); border-radius: 2px; }

.lead-text { font-size: 18px; line-height: 1.65; max-width: 720px; margin: 0 auto; text-align: center; color: var(--bark-soft); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  letter-spacing: .01em; cursor: pointer;
  transition: background .3s, color .3s, transform .25s, box-shadow .3s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary   { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-mid); box-shadow: 0 12px 32px -8px rgba(30,58,95,.4); color: var(--white); }
.btn-secondary { background: var(--sand-warm); color: var(--bark); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--sand-deep); }
.btn-outline   { background: transparent; color: var(--bark); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--sand-warm); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }
.btn-full { width: 100%; justify-content: center; border-radius: var(--radius-sm); }

/* ── Section header ── */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-header h2 { margin-top: 8px; margin-bottom: 16px; }
.section-header p { font-size: 17px; }
.section-footer { text-align: center; margin-top: 56px; }

/* ── Placeholders ── */
.img-placeholder {
  width: 100%; height: 100%;
  background: repeating-linear-gradient(45deg,transparent 0,transparent 14px,rgba(15,34,64,.04) 14px,rgba(15,34,64,.04) 16px),
              linear-gradient(135deg,var(--sand-deep) 0%,var(--sand-warm) 100%);
  display: flex; align-items: center; justify-content: center;
}
.img-placeholder span, .placeholder-num { font-family: var(--display); font-size: 3rem; font-style: italic; color: var(--clay); opacity: .5; }
.img-placeholder.large { min-height: 380px; }

/* ── Reveal animations ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .15s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .25s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .35s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .45s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .55s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* ════════════════════════════════
   TOP BAR
   ════════════════════════════════ */
.top-bar {
  background: var(--blue); color: var(--white); font-size: 13px;
  transition: max-height .4s cubic-bezier(.16,1,.3,1), opacity .35s, padding .4s;
  overflow: hidden; max-height: 60px; opacity: 1;
}
.top-bar-scrolled .top-bar { max-height: 0; opacity: 0; }
.top-bar-scrolled .top-bar-inner { padding-top: 0; padding-bottom: 0; }
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 90;
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.site-header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(15,34,64,.09);
}
/* When WP admin bar is visible, offset sticky elements */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
.top-bar-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 9px; padding-bottom: 9px;
}
.top-bar-location { display: flex; align-items: center; gap: 6px; opacity: .8; }
.top-bar-right { display: flex; align-items: center; gap: 20px; }
.top-bar-hours { display: flex; align-items: center; gap: 6px; opacity: .75; font-size: 12px; }
.top-bar-phone {
  display: flex; align-items: center; gap: 7px;
  font-weight: 600; letter-spacing: .02em; color: var(--white);
  background: rgba(255,255,255,.14); padding: 6px 16px; border-radius: 999px;
  transition: background .25s;
}
.top-bar-phone:hover { background: rgba(255,255,255,.24); }
@media (max-width: 600px) {
  .top-bar-location { display: none; }
  .top-bar-hours { display: flex; font-size: 11px; opacity: .8; }
  .top-bar-right { gap: 10px; }
  .top-bar-phone { padding: 5px 12px; font-size: 12px; }
  .top-bar-inner { justify-content: flex-end; }
}

/* ════════════════════════════════
   HEADER / NAV
   ════════════════════════════════ */
.header-inner {
  display: flex; align-items: center; gap: 8px;
  height: 76px;
}

/* Logo */
.site-logo, .footer-logo { display: flex; align-items: center; gap: 9px; flex-shrink: 0; text-decoration: none; }
.logo-ae {
  font-family: var(--display); font-style: italic; font-size: 32px;
  color: var(--blue); line-height: 1;
  transition: color .25s;
}
.site-logo:hover .logo-ae { color: var(--blue-mid); }
.logo-name { font-family: var(--display); font-size: 19px; font-weight: 400; color: var(--bark); letter-spacing: -.01em; }
.custom-logo-link img { max-height: 52px; width: auto; }

/* Desktop nav — pushed right */
.desktop-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: 2px; align-items: center; }
.nav-list a {
  display: block; padding: 8px 13px;
  font-size: 14px; font-weight: 500; color: var(--bark-soft);
  border-radius: var(--radius-sm); letter-spacing: .01em;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-list a:hover { color: var(--blue); background: var(--blue-light); }
.nav-list .current-menu-item a { color: var(--blue); font-weight: 600; }
.nav-list .current-menu-item a::after {
  content: ''; display: block; height: 2px; background: var(--blue);
  border-radius: 2px; margin-top: 2px; transform: scaleX(1);
}

/* Desktop CTA */
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: var(--white);
  padding: 11px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: .01em;
  white-space: nowrap; margin-left: 12px; flex-shrink: 0;
  transition: background .25s, transform .2s, box-shadow .25s;
}
.header-cta:hover {
  background: var(--blue-mid); transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(30,58,95,.38);
  color: var(--white);
}

/* ── HAMBURGER BUTTON ── */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: background .25s, border-color .25s;
  flex-shrink: 0;
  margin-left: auto; /* pushes to the far right */
  z-index: 200;
  position: relative;
}
.hamburger:hover { background: var(--sand-warm); border-color: var(--line-strong); }
.hamburger.is-active { background: transparent; border-color: transparent; }
.ham-box { position: relative; width: 20px; height: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.ham-line {
  display: block; height: 2px; width: 100%;
  background: var(--bark); border-radius: 2px;
  transform-origin: center;
  transition: transform .4s cubic-bezier(.16,1,.3,1), opacity .3s, width .4s cubic-bezier(.16,1,.3,1);
}
/* Morphs into × when open */
.hamburger.is-active .ham-top  { transform: translateY(6px) rotate(45deg); }
.hamburger.is-active .ham-mid  { opacity: 0; transform: scaleX(0); }
.hamburger.is-active .ham-bot  { transform: translateY(-6px) rotate(-45deg); }

/* ── FULL-SCREEN OVERLAY ── */
.menu-overlay {
  position: fixed; inset: 0;
  background: #0f2240;
  z-index: 150;
  display: flex; flex-direction: column;
  padding: 0;
  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity .4s cubic-bezier(.16,1,.3,1), transform .4s cubic-bezier(.16,1,.3,1), visibility .4s;
  visibility: hidden;
}
.menu-overlay.is-open {
  pointer-events: all;
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 960px) {
  .menu-overlay { background: #0f2240 !important; }
  .hamburger { display: flex; }
  .header-cta { display: none; }
  .desktop-nav { display: none; }
  .header-inner { justify-content: space-between; }
  .overlay-inner { padding: 80px 32px 48px; }
  .overlay-nav a { gap: 16px; padding: 18px 0; }
  .overlay-footer { gap: 16px; }
}
.overlay-close {
  position: absolute; top: 24px; right: 28px;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, transform .3s;
  z-index: 10;
}
.overlay-close:hover { background: rgba(255,255,255,.2); transform: rotate(90deg); }

/* Overlay layout */
.overlay-inner {
  flex: 1; display: flex; flex-direction: column; justify-content: space-between;
  padding: 80px 60px 48px;
  max-width: 900px;
}

/* Big nav links */
.overlay-nav ul { list-style: none; }
.overlay-nav li {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1);
  transition-delay: calc(var(--i) * 0.06s);
  border-top: 1px solid rgba(255,255,255,.1);
}
.overlay-nav li:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.menu-overlay.is-open .overlay-nav li { opacity: 1; transform: none; }
.overlay-nav a {
  display: flex; align-items: center; gap: 24px;
  padding: 22px 0; text-decoration: none;
  transition: padding-left .3s cubic-bezier(.16,1,.3,1);
}
.overlay-nav a:hover { padding-left: 16px; }
.overlay-nav a[aria-current="page"] .overlay-label { color: var(--clay); }
.overlay-num {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; color: rgba(255,255,255,.4);
  flex-shrink: 0; width: 28px;
}
.overlay-label {
  font-family: var(--display); font-size: clamp(32px, 6vw, 56px);
  font-weight: 400; color: var(--white);
  line-height: 1.05; letter-spacing: -.02em;
  transition: color .2s;
}
.overlay-nav a:hover .overlay-label { color: var(--clay); }

/* Overlay footer */
.overlay-footer {
  margin-top: auto; padding-top: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s .4s cubic-bezier(.16,1,.3,1), transform .5s .4s cubic-bezier(.16,1,.3,1);
}
.menu-overlay.is-open .overlay-footer { opacity: 1; transform: none; }
.overlay-footer-top {
  display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; justify-content: center; width: 100%;
}
.overlay-phone {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  color: var(--white);
  background: rgba(255,255,255,.1); padding: 10px 18px; border-radius: 999px;
  transition: background .25s; white-space: nowrap; flex-shrink: 0;
}
.overlay-phone:hover { background: rgba(255,255,255,.18); }
.overlay-location { font-size: 12px; color: rgba(255,255,255,.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Hide hamburger / overlay on desktop, show on mobile */
@media (min-width: 961px) {
  .hamburger { display: none !important; }
  .menu-overlay { display: none !important; }
}
@media (max-width: 960px) {
  .menu-overlay { background: #0f2240 !important; }
  .overlay-inner { padding: 80px 32px 48px; }
  .overlay-nav a { gap: 16px; padding: 18px 0; }
  .overlay-footer { gap: 16px; }
}
@media (max-width: 480px) {
  .overlay-inner { padding: 72px 24px 40px; }
  .overlay-close { top: 18px; right: 18px; }
}

/* ════════════════════════════════
   HERO — SPLIT SCREEN
   ════════════════════════════════ */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 114px); /* top-bar ~38px + header 76px */
  position: relative;
  overflow: hidden;
}

/* ── Left panel ── */
.hero-content-panel {
  background: var(--sand);
  display: flex; align-items: center;
  padding: 80px 0 56px;
  position: relative;
  z-index: 2;
}
/* Diagonal clip on the right edge */
.hero-content-panel::after {
  content: '';
  position: absolute; top: 0; right: -48px; bottom: 0;
  width: 96px;
  background: var(--sand);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 3;
}
.hero-content-inner {
  padding: 0 60px 0 40px;
  max-width: 700px;
  width: 100%;
}
@media (min-width: 1400px) { .hero-content-inner { padding-left: calc((100vw - 1280px) / 2 + 40px); } }

/* Eyebrow */
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 600; color: var(--blue);
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0;
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity:.4; transform:scale(1); } 50% { opacity:1; transform:scale(1.5); } }

/* Title */
.hero-title {
  font-family: var(--display);
  font-size: clamp(44px, 5.5vw, 80px);
  line-height: 1.06;
  letter-spacing: -.025em;
  color: var(--bark);
  margin-bottom: 24px;
  font-weight: 400;
}
.hero-title em {
  font-style: italic;
  color: var(--blue);
}

/* Subtitle */
.hero-subtitle {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--bark-soft);
  max-width: 460px;
  margin-bottom: 44px;
}

/* CTAs */
.hero-actions {
  display: flex; gap: 14px; flex-wrap: nowrap; align-items: center;
  margin-bottom: 52px;
}
.btn-hero {
  font-size: 15px; padding: 15px 36px; white-space: nowrap;
}
.btn-ghost-dark {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 32px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: .01em;
  color: var(--bark); border: 1px solid var(--line-strong);
  background: transparent; white-space: nowrap;
  transition: background .25s, border-color .25s, transform .2s;
}
.btn-ghost-dark:hover { background: var(--sand-warm); border-color: var(--clay); transform: translateY(-1px); }

/* Trust strip */
.hero-trust {
  display: flex; align-items: stretch; gap: 12px;
  width: fit-content;
}
.trust-item {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: 18px 24px;
  background: var(--blue);
  border-radius: 12px;
  gap: 2px;
  min-width: 110px;
  transition: background .3s;
  position: relative;
  overflow: hidden;
}
.trust-item::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transition: transform .35s var(--ease);
  transform-origin: left;
}
.trust-item:hover { background: var(--blue-mid); }
.trust-item:hover::before { transform: scaleX(1); }
.trust-num-row { display: flex; align-items: baseline; gap: 1px; }
.trust-num {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--white);
  line-height: 1;
  letter-spacing: -.02em;
}
.trust-plus {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--clay);
  font-size: .7em;
  line-height: 1;
  margin-left: 1px;
}
.trust-lbl {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: rgba(255,255,255,.65); margin-top: 4px;
}
.trust-divider { display: none; }

/* ── Right panel ── */
.hero-image-panel {
  position: relative;
  overflow: hidden;
  background: var(--sand-deep);
  z-index: 1;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform 8s ease-out;
}
.hero-image-panel:hover .hero-img { transform: scale(1.03); }
.hero-img-placeholder {
  width: 100%; height: 100%; min-height: 500px;
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-mid) 60%, var(--sand-deep) 100%);
  display: flex; align-items: center; justify-content: center;
}
.hero-img-placeholder span {
  font-family: var(--display); font-style: italic; font-size: clamp(140px, 20vw, 260px);
  color: rgba(255,255,255,.08); line-height: 1; letter-spacing: -.04em;
  user-select: none;
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute; bottom: 28px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.9);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); z-index: 4;
  animation: bounce 2s ease-in-out infinite;
  transition: background .25s;
}
.hero-scroll-cue:hover { background: var(--white); }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

/* ── Responsive hero ── */
@media (max-width: 960px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  /* Hide image panel entirely on tablet/mobile */
  .hero-image-panel { display: none; }
  .hero-content-panel { padding: 80px 0 72px; }
  .hero-content-panel::after { display: none; }
  .hero-content-inner { padding: 0 24px; max-width: 100%; }
  .hero-scroll-cue { display: none; }
  .hero-trust { width: 100%; justify-content: flex-start; gap: 10px; }
  .trust-item { flex: 1; min-width: 90px; padding: 16px 18px; border-radius: 10px; }
  .trust-num { font-size: clamp(24px, 6vw, 36px); }
}
@media (max-width: 560px) {
  .hero-title { font-size: clamp(38px, 10vw, 54px); }
  .hero-actions { flex-direction: column; }
  .btn-ghost-dark, .btn-hero { width: 100%; justify-content: center; }
  .trust-item { padding: 13px 14px; min-width: 80px; border-radius: 8px; }
  .trust-num { font-size: clamp(22px, 7vw, 30px); }
  .trust-lbl { font-size: 9px; }
}
.page-hero {
  background: var(--blue);
  padding: 80px 0 72px;
  position: relative; overflow: hidden;
}
.page-hero.has-image::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(30,58,95,.72);
  z-index: 1;
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero-title { color: var(--white); font-size: clamp(32px, 5vw, 64px); margin-bottom: 16px; }
.page-hero-subtitle { color: rgba(255,255,255,.82); font-size: 18px; max-width: 600px; }

/* ════════════════════════════════
   SERVICES STRIP (home)
   ════════════════════════════════ */
.services-strip { background: var(--white); padding-top: 60px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
/* 4th card hidden everywhere except mobile */
.service-card-4th { display: none !important; }
@media (max-width: 560px) { .service-card-4th { display: flex !important; } }

/* Card entrance: start invisible, animate in when parent gets .in */
.service-card {
  background: var(--sand); border-radius: var(--radius);
  overflow: visible; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s, opacity .6s var(--ease), translate .6s var(--ease);
  position: relative;
  display: flex; flex-direction: column;
  opacity: 0;
  translate: 0 28px;
}
.reveal-stagger.in .service-card { opacity: 1; translate: 0 0; }
.reveal-stagger.in .service-card:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.in .service-card:nth-child(2) { transition-delay: .13s; }
.reveal-stagger.in .service-card:nth-child(3) { transition-delay: .21s; }
.reveal-stagger.in .service-card:nth-child(4) { transition-delay: .29s; }
.reveal-stagger.in .service-card:nth-child(5) { transition-delay: .37s; }
.reveal-stagger.in .service-card:nth-child(6) { transition-delay: .45s; }

.service-card:hover { transform: translateY(-5px); box-shadow: 0 24px 52px -16px rgba(15,34,64,.2); }
.service-card-img { height: 210px; overflow: hidden; background: var(--sand-warm); position: relative; flex-shrink: 0; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-card:hover .service-card-img img { transform: scale(1.07); }
.service-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(30,58,95,.5) 100%);
  opacity: 0; transition: opacity .4s;
}
.service-card:hover .service-card-overlay { opacity: 1; }
.service-card-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.service-card-num {
  font-family: var(--display); font-style: italic;
  font-size: 13px; color: var(--clay-dark); letter-spacing: .06em;
  margin-bottom: 8px; display: block;
}
.service-card-body h3 { font-size: 20px; margin-bottom: 10px; line-height: 1.2; }
.service-card-body p { font-size: 14px; line-height: 1.6; flex: 1; }
.service-card-cta {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--blue);
  margin-top: 16px; text-decoration: none;
  transition: gap .25s var(--ease), color .25s;
}
.service-card-cta:hover { gap: 11px; color: var(--blue-mid); }

/* Footer mobile centering */
@media (max-width: 560px) {
  .footer-brand { text-align: center !important; }
  .footer-brand .footer-logo { justify-content: center !important; }
  .footer-brand .footer-tagline { text-align: center !important; }
  .footer-brand .social-links { justify-content: center !important; }
}

/* Desktop ≥961: 3-col grid, hide 4th card */
@media (min-width: 961px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card-4th { display: none !important; }
}
/* Tablet 561–960: 2-col, hide 4th */
@media (min-width: 561px) and (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-4th { display: none !important; }
}
/* Mobile ≤560: 2×2, show 4th */
@media (max-width: 560px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service-card-4th { display: flex !important; }
  .service-card-img { height: 130px; }
  .service-card-body { padding: 13px 13px 16px; }
  .service-card-body h3 { font-size: 14px; margin-bottom: 5px; }
  .service-card-body p { font-size: 12px; }
  .service-card-cta { font-size: 12px; margin-top: 10px; }
  .service-card-num { margin-bottom: 4px; }
}

/* ════════════════════════════════
   ABOUT (home)
   ════════════════════════════════ */
.about-section { background: var(--sand-warm); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }

/* Single image with badge */
.about-single-img {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
}
.about-single-img img {
  width: 100%; height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4/5;
  display: block;
  box-shadow: 0 32px 64px -24px rgba(15,34,64,.3);
  transition: transform .6s var(--ease);
}
.about-single-img:hover img { transform: scale(1.02); }
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--blue); color: var(--white);
  width: 110px; height: 110px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 3; text-align: center;
  box-shadow: 0 16px 40px -8px rgba(30,58,95,.5);
  border: 4px solid var(--sand-warm);
}
.about-badge-num { font-family: var(--display); font-style: italic; font-size: 30px; font-weight: 400; line-height: 1; }
.about-badge-lbl { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; margin-top: 3px; font-weight: 600; }

.about-content h2 { margin: 8px 0 20px; }
.about-content p { margin-bottom: 16px; }
.about-list { list-style: none; margin: 24px 0 32px; display: flex; flex-direction: column; gap: 13px; }
.about-list li { display: flex; align-items: flex-start; gap: 13px; font-size: 15px; font-weight: 500; color: var(--bark); line-height: 1.45; }
.about-check {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
  transition: background .25s, color .25s;
}
.about-list li:hover .about-check { background: var(--blue); color: var(--white); }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-single-img { max-width: 480px; margin: 0 auto; }
  .about-single-img img { aspect-ratio: 3/2; }
  .about-badge { bottom: -16px; right: -10px; width: 90px; height: 90px; }
  .about-badge-num { font-size: 24px; }
}

/* ════════════════════════════════
   STATS
   ════════════════════════════════ */
.stats-section { background: var(--blue); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item {
  padding: 40px 24px 36px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
  position: relative;
  transition: background .3s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,.04); }
.stat-num-row { display: flex; align-items: baseline; justify-content: center; gap: 1px; }
.stat-num {
  display: block; font-family: var(--display); font-style: italic;
  font-size: clamp(36px, 4.5vw, 58px); font-weight: 400;
  color: var(--white); line-height: 1; letter-spacing: -.02em;
}
.stat-plus {
  font-family: var(--display); font-size: 1.4rem;
  color: var(--clay); font-style: italic; font-weight: 400;
  line-height: 1; margin-bottom: 2px;
}
.stat-lbl {
  display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.9); margin-top: 10px; font-weight: 600;
}
.stat-desc {
  display: block; font-size: 12px; line-height: 1.4;
  color: rgba(255,255,255,.5); margin-top: 6px; font-weight: 400;
}
/* Tablet: 2×2 */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,.1); }
  .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,.1); border-right: none; }
}
/* Mobile: keep 2×2 */
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 28px 16px 24px; }
  .stat-num { font-size: clamp(30px, 8vw, 44px); }
  .stat-desc { display: none; } /* hide description at very small sizes */
}

/* ════════════════════════════════
   REVIEWS (home preview)
   ════════════════════════════════ */
.reviews-preview { background: var(--sand-warm); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.review-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -12px rgba(15,34,64,.14); }

/* Stars */
.stars { display: inline-flex; gap: 3px; }
.star.filled { color: #d97706; }
.star { color: #d1c5b0; font-size: 17px; }

.review-text { font-size: 15px; line-height: 1.65; color: var(--bark-soft); flex: 1; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-style: italic; font-size: 18px; font-weight: 500;
  flex-shrink: 0;
}
.review-author strong { display: block; font-size: 15px; font-weight: 600; color: var(--bark); }
.review-author span { font-size: 12px; color: var(--clay-dark); }

@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════
   LEISTUNGEN PAGE
   ════════════════════════════════ */
.services-full-list { display: flex; flex-direction: column; gap: 0; }
.service-full-item {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.service-full-item:last-child { border-bottom: none; }
.service-full-item.reverse .service-full-img { order: 2; }
.service-full-item.reverse .service-full-body { order: 1; }
.service-full-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.service-full-img img { width: 100%; height: 100%; object-fit: cover; }
.service-num { font-family: var(--display); font-style: italic; font-size: 13px; color: var(--blue); letter-spacing: .1em; margin-bottom: 12px; display: block; }
.service-full-body h2 { margin: 8px 0 20px; font-size: clamp(26px, 3vw, 40px); }
.service-full-text { font-size: 16px; line-height: 1.75; color: var(--bark-soft); margin-bottom: 32px; }

/* Tablet: single column */
@media (max-width: 900px) {
  .service-full-item { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .service-full-item.reverse .service-full-img,
  .service-full-item.reverse .service-full-body { order: unset; }
}

/* Mobile: 2×2 card grid */
@media (max-width: 640px) {
  .services-full-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    border-top: none;
  }
  .service-full-item {
    display: flex; flex-direction: column; gap: 0;
    padding: 0; border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: transform .3s var(--ease), box-shadow .3s;
  }
  .service-full-item:last-child { border-bottom: 1px solid var(--line); }
  .service-full-item:hover { transform: translateY(-3px); box-shadow: 0 12px 32px -12px rgba(15,34,64,.18); }
  .service-full-item.reverse .service-full-img,
  .service-full-item.reverse .service-full-body { order: unset; }
  .service-full-img { aspect-ratio: 3/2; border-radius: 0; flex-shrink: 0; }
  .service-full-body { padding: 16px; }
  .service-full-body h2 { font-size: 15px; margin: 4px 0 8px; }
  .service-full-text { font-size: 12px; line-height: 1.5; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .service-full-body .btn { font-size: 12px; padding: 9px 14px; width: 100%; justify-content: center; }
  .service-num { font-size: 11px; margin-bottom: 4px; }
}

/* Pillars */
.why-section { background: var(--sand-warm); }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pillar-card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px 28px; border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px -12px rgba(15,34,64,.15); }
.pillar-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  font-family: var(--display); font-style: italic; font-size: 22px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background .3s, color .3s;
}
.pillar-card:hover .pillar-icon { background: var(--blue); color: var(--white); }
.pillar-card h3 { font-size: 22px; margin-bottom: 12px; }
.pillar-card p { font-size: 14px; }
@media (max-width: 900px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-section { background: var(--white); }
.faq-list { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--sans); font-size: 17px; font-weight: 500; color: var(--bark);
  transition: color .25s;
}
.faq-q:hover { color: var(--blue); }
.faq-icon { flex-shrink: 0; transition: transform .35s var(--ease); }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--blue); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 0 24px; font-size: 15px; line-height: 1.7; color: var(--bark-soft); max-width: 720px; }

/* ════════════════════════════════
   REFERENZEN PAGE
   ════════════════════════════════ */
.ref-intro { max-width: 720px; margin: 0 auto; text-align: center; }

.ref-filter { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-btn {
  padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--sand-warm); border: 1px solid var(--line); cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.filter-btn:hover, .filter-btn.active { background: var(--blue); color: var(--white); border-color: var(--blue); }

.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ref-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.ref-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px -14px rgba(15,34,64,.18); }
.ref-card.hidden { display: none; }
.ref-card-img { position: relative; height: 220px; overflow: hidden; background: var(--sand-warm); }
.ref-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ref-card:hover .ref-card-img img { transform: scale(1.05); }
.ref-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--blue); color: var(--white);
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.ref-card-body { padding: 22px; }
.ref-card-body h3 { font-size: 18px; margin-bottom: 8px; }
.ref-card-body p { font-size: 14px; margin-bottom: 14px; }
.ref-meta { display: flex; gap: 16px; align-items: center; }
.ref-location, .ref-year { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--clay-dark); font-weight: 500; }
.ref-empty { text-align: center; padding: 60px 0; color: var(--bark-soft); }

/* Service area */
.service-area { background: var(--sand-warm); }
.service-area-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.service-area-text h2 { margin: 8px 0 20px; }
.service-area-text p { margin-bottom: 24px; }
.area-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 32px; }
.area-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--bark); }
.area-list svg { color: var(--blue); }
@media (max-width: 900px) { .service-area-inner { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 900px) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ref-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════
   BEWERTUNGEN PAGE
   ════════════════════════════════ */
.rating-summary { background: var(--white); }
.rating-summary-inner { display: flex; gap: 80px; align-items: center; max-width: 860px; padding: 48px; background: var(--sand); border-radius: var(--radius); border: 1px solid var(--line); }
.rating-big { text-align: center; flex-shrink: 0; }
.rating-number { display: block; font-family: var(--display); font-style: italic; font-size: 72px; font-weight: 500; color: var(--bark); line-height: 1; margin-bottom: 12px; }
.rating-big .stars { font-size: 24px; margin-bottom: 10px; }
.rating-count { font-size: 13px; color: var(--bark-soft); }
.rating-bars { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.rating-bar-row { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--bark-soft); }
.rating-bar { flex: 1; height: 8px; background: var(--sand-deep); border-radius: 4px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: #d97706; border-radius: 4px; transition: width 1s var(--ease); }
@media (max-width: 700px) { .rating-summary-inner { flex-direction: column; gap: 32px; } }

.reviews-full { background: var(--sand); }
.reviews-full-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review-card-full {
  background: var(--white); border-radius: var(--radius);
  padding: 36px 32px; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 20px;
}
.review-card-full blockquote p { font-size: 16px; line-height: 1.7; color: var(--bark-soft); font-style: italic; flex: 1; }
@media (max-width: 900px) { .reviews-full-grid { grid-template-columns: 1fr; } }

.review-cta { background: var(--blue); }
.review-cta-box { max-width: 640px; margin: 0 auto; text-align: center; }
.review-cta-box h2 { color: var(--white); margin-bottom: 16px; }
.review-cta-box p { color: rgba(255,255,255,.8); margin-bottom: 32px; }

/* ════════════════════════════════
   KONTAKT PAGE
   ════════════════════════════════ */
.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }

.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { margin-bottom: 36px; }
.contact-detail-list { list-style: none; display: flex; flex-direction: column; gap: 0; margin-bottom: 36px; border-top: 1px solid var(--line); }
.contact-detail-list li { display: flex; align-items: flex-start; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-detail-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail-list strong { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--bark-soft); margin-bottom: 4px; }
.contact-detail-list a { font-size: 16px; font-weight: 500; color: var(--blue); transition: color .25s; }
.contact-detail-list a:hover { color: var(--blue-mid); }
.contact-detail-list span { font-size: 15px; }
.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }

/* Contact form */
.contact-form-wrap { background: var(--sand); padding: 48px 44px; border-radius: var(--radius); border: 1px solid var(--line); }
.contact-form-wrap h2 { margin-bottom: 8px; }
.form-intro { color: var(--bark-soft); margin-bottom: 32px; font-size: 15px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--bark-soft); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--white); font-family: var(--sans); font-size: 15px; color: var(--bark);
  transition: border-color .25s, box-shadow .25s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}
.form-group textarea { resize: vertical; min-height: 130px; font-family: inherit; }
.form-feedback { margin-top: 18px; font-size: 14px; line-height: 1.5; border-radius: var(--radius-sm); }
.form-feedback.success { color: #166534; background: #dcfce7; padding: 14px 18px; border-left: 3px solid #16a34a; }
.form-feedback.error   { color: #991b1b; background: #fee2e2; padding: 14px 18px; border-left: 3px solid #dc2626; }
.form-feedback.loading { color: var(--bark-soft); padding: 14px 18px; background: var(--sand-warm); }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } .form-row { grid-template-columns: 1fr; } .contact-form-wrap { padding: 32px 24px; } }

/* ════════════════════════════════
   FOOTER CTA STRIP
   ════════════════════════════════ */
.footer-cta-strip { background: var(--white); padding: 72px 0; border-top: 1px solid var(--line); }
.footer-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.footer-cta-label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--blue); margin-bottom: 8px; }
.footer-cta-title { font-family: var(--display); font-size: clamp(24px, 3.5vw, 42px); font-weight: 500; color: var(--bark); }
.footer-cta-actions { display: flex; gap: 14px; flex-wrap: nowrap; align-items: center; }
@media (max-width: 560px) { .footer-cta-actions { flex-wrap: nowrap; } .footer-cta-actions .btn { flex: 1; justify-content: center; white-space: nowrap; } }

/* ════════════════════════════════
   SITE FOOTER
   ════════════════════════════════ */
.site-footer { background: #0f2240; color: var(--white); padding: 72px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 60px; }
.footer-brand { }
.footer-logo { margin-bottom: 18px; }
.footer-logo .logo-ae { color: var(--clay); }
.footer-logo .logo-name { color: var(--white); }
.footer-tagline { color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.65; max-width: 300px; }
.footer-col h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--clay); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.72); transition: color .25s; }
.footer-col a:hover { color: var(--white); }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(255,255,255,.72); }
.footer-contact-list svg { flex-shrink: 0; margin-top: 2px; }
.footer-contact-list a { color: rgba(255,255,255,.72); transition: color .25s; }
.footer-contact-list a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom nav a { color: rgba(255,255,255,.5); transition: color .25s; }
.footer-bottom nav a:hover { color: var(--white); }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px 16px; } .footer-brand { grid-column: span 2; } }

/* ════════════════════════════════
   CONTENT PAGES
   ════════════════════════════════ */
.content-page { padding: 80px 0 100px; }
.content-page-header h1 { margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.content-page-body { font-size: 17px; line-height: 1.75; color: var(--bark-soft); }
.content-page-body h2, .content-page-body h3 { color: var(--bark); margin: 2em 0 .8em; }
.content-page-body p { margin-bottom: 1.2em; }
.content-page-body a { color: var(--blue); border-bottom: 1px solid currentColor; }
.content-page-body ul, .content-page-body ol { margin: 0 0 1.4em 1.4em; }
.content-page-body li { margin-bottom: .5em; }
.post-meta { font-size: 13px; color: var(--clay-dark); margin-bottom: 20px; }

/* ════════════════════════════════
   PROCESS STEPS (Über uns page)
   ════════════════════════════════ */
.process-steps { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.process-step {
  display: grid; grid-template-columns: 100px 1fr auto;
  align-items: flex-start; gap: 32px;
  padding: 40px 0; border-bottom: 1px solid var(--line);
  transition: padding-left .3s var(--ease);
}
.process-step:hover { padding-left: 16px; }
.process-step:last-child { border-bottom: 1px solid var(--ink); }
.process-step-num {
  font-family: var(--display); font-style: italic; font-size: 64px;
  font-weight: 400; color: var(--blue); line-height: .9;
  letter-spacing: -.03em;
}
.process-step-body h3 { font-size: clamp(22px,2.5vw,32px); margin-bottom: 10px; padding-top: 6px; }
.process-step-body p { font-size: 16px; color: var(--bark-soft); max-width: 560px; }
.process-step-time {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--clay-dark); font-weight: 600; padding-top: 18px;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .process-step { grid-template-columns: 52px 1fr; gap: 16px; padding: 28px 0; }
  .process-step-num { font-size: 40px; }
  .process-step-time { display: none; }
}



/* ════════════════════════════════
   HOME CONTACT SECTION (Startseite)
   ════════════════════════════════ */
.home-contact-section { background: var(--white); }
.home-contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
.home-contact-info h2 { margin: 8px 0 20px; }
.home-contact-info > p { color: var(--bark-soft); font-size: 16px; margin-bottom: 36px; }
.home-contact-details { list-style: none; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.home-contact-details li { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--bark-soft); }
.home-contact-details a { color: var(--blue); transition: color .25s; }
.home-contact-details a:hover { color: var(--blue-mid); }
.contact-detail-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--blue-light); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.home-contact-form-wrap { background: var(--white); padding: 44px 40px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 8px 32px rgba(15,34,64,.07); }
@media (max-width: 900px) { .home-contact-grid { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 560px) { .home-contact-form-wrap { padding: 28px 20px; } .form-row { grid-template-columns: 1fr; } }

/* ════════════════════════════════
   SOCIAL MEDIA ICONS
   ════════════════════════════════ */
.social-links { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.social-link {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.75);
  transition: background .25s, color .25s, transform .2s;
  flex-shrink: 0;
}
.social-link:hover { background: var(--clay); color: var(--white); transform: translateY(-2px); }
.social-link svg { display: block; }

/* Overlay social links */
.overlay-social { display: flex; gap: 12px; justify-content: center; }
.overlay-social-link {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.7);
  transition: border-color .25s, color .25s, background .25s;
}
.overlay-social-link:hover { border-color: var(--clay); color: var(--clay); background: rgba(196,168,130,.1); }

/* ════════════════════════════════
   LEGAL PAGES (Impressum / AGB)
   ════════════════════════════════ */
.legal-content h2 {
  font-size: clamp(18px, 2vw, 24px);
  margin: 2.4em 0 .7em;
  padding-top: 2em;
  border-top: 1px solid var(--line);
  color: var(--bark);
  letter-spacing: -.01em;
}
.legal-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-content p { font-size: 16px; line-height: 1.75; color: var(--bark-soft); margin-bottom: 1.1em; }
.legal-content a { color: var(--blue); border-bottom: 1px solid currentColor; transition: color .25s; }
.legal-content a:hover { color: var(--blue-mid); }
.legal-content strong { color: var(--bark); font-weight: 600; }
.legal-source { font-size: 13px; color: var(--clay-dark); margin-top: 2em; }

/* ── Prevent mobile zoom on inputs ── */
@media (max-width: 960px) {
  input, select, textarea { font-size: 16px !important; }
}
