/* ==========================================================================
   OC-Gebäudeservice — Website 1.0
   Palette: Navy #1d2b3a · Cream #ebeae7 · Off-White #f8f7f4
   Prinzip: Mobile-First · Premium · Animiert · Keine Emojis
   ========================================================================== */

:root {
  --navy:        #1d2b3a;
  --navy-dark:   #16212d;
  --navy-mid:    #253344;
  --navy-light:  #2e4057;
  --cream:       #ebeae7;
  --cream-alt:   #f4f3f0;
  --white:       #f8f7f4;
  --text:        #1d2b3a;
  --muted:       #5a6573;
  --muted-light: #8a939d;
  --border:      #d6d4ce;
  --border-light:#e4e3df;

  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'Inter', system-ui, -apple-system, sans-serif;

  --max:    1160px;
  --r:      10px;
  --r-lg:   16px;
  --px:     1.25rem;
  --sec:    4rem;

  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0.0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t:           0.25s var(--ease);
  --t-slow:      0.45s var(--ease-out);

  --shadow-xs:  0 1px 2px rgba(29,43,58,0.06);
  --shadow-sm:  0 2px 8px rgba(29,43,58,0.07), 0 1px 2px rgba(29,43,58,0.05);
  --shadow-md:  0 4px 16px rgba(29,43,58,0.09), 0 2px 4px rgba(29,43,58,0.06);
  --shadow-lg:  0 12px 40px rgba(29,43,58,0.11), 0 4px 8px rgba(29,43,58,0.07);
  --shadow-xl:  0 24px 64px rgba(29,43,58,0.13), 0 8px 16px rgba(29,43,58,0.08);
}

/* ─── Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.1rem, 8vw, 3.75rem); }
h2 { font-size: clamp(1.7rem, 5.5vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 3.5vw, 1.5rem); }
p  { margin: 0 0 1rem; }
a  { color: var(--navy); text-decoration: none; transition: opacity var(--t); }
a:hover { opacity: 0.7; }
img { max-width: 100%; height: auto; display: block; }

/* ─── Container ───────────────────────────────────────── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* ─── Eyebrow ─────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1.5px solid var(--navy);
  padding-bottom: 3px;
  margin-bottom: 1.1rem;
}

/* ─── Section Head ─────────────────────────────────────── */
.sec-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.sec-subtitle {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

/* ─── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.85rem;
  min-height: 52px;
  font-family: var(--sans);
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  color: var(--white);
  background: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: var(--r);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t), border-color var(--t), transform 0.18s var(--ease-spring), box-shadow var(--t);
  white-space: nowrap;
}
.btn:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: var(--white);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(0); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  opacity: 1;
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
  opacity: 1;
}
.btn-arrow::after {
  content: '→';
  font-weight: 300;
  transition: transform 0.2s var(--ease-spring);
}
.btn-arrow:hover::after { transform: translateX(4px); }
.center-btn { text-align: center; margin-top: 3rem; }

/* ─── SKIP LINK (a11y) ─────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 0 0 var(--r) var(--r);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ─── SCROLL PROGRESS BAR ──────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--navy);
  z-index: 200;
  width: 0%;
  transition: width 0.1s linear;
}

/* ─── HEADER ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  /* backdrop-filter moved to ::before so it doesn't create a containing block for position:fixed nav child */
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(248,247,244,0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(29,43,58,0.07), 0 4px 24px rgba(29,43,58,0.04);
  transition: box-shadow var(--t);
  z-index: -1;
}
.site-header.scrolled::before {
  box-shadow: 0 1px 0 rgba(29,43,58,0.08), 0 8px 32px rgba(29,43,58,0.07);
}
.nav-wrap {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem var(--px);
}
.logo {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-toggle { grid-column: 3; justify-self: end; }
.logo img { height: 46px; width: auto; transition: opacity 0.2s; }
.logo:hover img { opacity: 0.82; }

/* ─── Mobile Hamburger ─────────────────────────────────── */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-shrink: 0;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-spring), opacity 0.2s;
  transform-origin: center;
}
.mobile-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── Mobile Nav Overlay ───────────────────────────────── */
.main-nav {
  position: fixed;
  inset: 0;
  background: rgba(18,26,36,0.99);
  z-index: 999;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.38s var(--ease-out), visibility 0s 0.38s;
  visibility: hidden;
  will-change: transform;
}
.main-nav.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.38s var(--ease-out);
}

.nav-close-btn {
  position: absolute;
  top: 1rem;
  right: var(--px);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  cursor: pointer;
  color: rgba(255,255,255,0.65);
  font-size: 1.4rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t), color var(--t);
  line-height: 1;
}
.nav-close-btn:hover { background: rgba(255,255,255,0.15); color: var(--white); }

.nav-mobile-logo {
  position: absolute;
  top: 1.15rem;
  left: var(--px);
}
.nav-mobile-logo img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.main-nav > ul {
  list-style: none;
  margin: 0;
  padding: 5.5rem 0 3rem;
}
.main-nav > ul > li {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.main-nav.open > ul > li { opacity: 1; transform: translateX(0); }
.main-nav.open > ul > li:nth-child(1) { transition-delay: 0.06s; }
.main-nav.open > ul > li:nth-child(2) { transition-delay: 0.11s; }
.main-nav.open > ul > li:nth-child(3) { transition-delay: 0.16s; }
.main-nav.open > ul > li:nth-child(4) { transition-delay: 0.21s; }
.main-nav.open > ul > li:nth-child(5) { transition-delay: 0.26s; }
.main-nav.open > ul > li:nth-child(6) { transition-delay: 0.31s; }
.main-nav.open > ul > li:nth-child(7) { transition-delay: 0.36s; }
.main-nav.open > ul > li:nth-child(8) { transition-delay: 0.41s; }

.nav-dropdown > .nav-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-dropdown > .nav-item-row > a { flex: 1; }
.nav-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.35);
  font-size: 1.1rem;
  transition: transform var(--t), color var(--t);
  flex-shrink: 0;
}
.nav-toggle-btn.open { transform: rotate(45deg); color: rgba(255,255,255,0.85); }

.main-nav a {
  display: block;
  font-size: 1.15rem;
  font-weight: 300;
  padding: 1rem var(--px);
  color: rgba(255,255,255,0.6);
  transition: color var(--t);
}
.main-nav a.active,
.main-nav a:hover { color: var(--white); opacity: 1; font-weight: 400; }
.nav-dropdown::after { display: none; }

.dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(255,255,255,0.04);
  position: static;
  transform: none;
  box-shadow: none;
  min-width: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.dropdown-menu.open { max-height: 400px; }
.dropdown-menu li { display: block; }
.dropdown-menu a {
  font-size: 1rem !important;
  color: rgba(255,255,255,0.45) !important;
  padding: 0.8rem calc(var(--px) + 1rem) !important;
  border-top: 1px solid rgba(255,255,255,0.05) !important;
  border-bottom: none !important;
  font-weight: 300 !important;
}
.dropdown-menu li:first-child a { border-top: none !important; }

/* ─── ANIMATIONS SYSTEM ────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
[data-animate="fade-in"] { transform: translateY(0); }
[data-animate="slide-left"] { transform: translateX(-28px); }
[data-animate="slide-right"] { transform: translateX(28px); }
[data-animate="scale"] { transform: scale(0.93); }
[data-animate].in-view {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}
[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }
[data-delay="5"] { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-bg { animation: none !important; }
  .hero-eyebrow, .hero-headline, .hero-text, .hero-cta, .hero-scroll {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .main-nav { transition: none !important; }
}

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem var(--px) 5rem;
  background: var(--navy-dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/muenster.webp');
  background-size: cover;
  background-position: center 30%;
  filter: grayscale(55%) brightness(0.35);
  z-index: 0;
  animation: heroZoom 20s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0); }
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(22,33,45,0.05) 0%,
    rgba(22,33,45,0.42) 38%,
    rgba(22,33,45,0.74) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2.4rem;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.8s var(--ease-out) 0.3s forwards;
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 7.5vw, 3.5rem);
  color: var(--white);
  margin: 0 auto 1.85rem;
  line-height: 1.1;
  font-weight: 400;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.9s var(--ease-out) 0.5s forwards;
}
.hero-headline em { font-style: italic; opacity: 0.9; }
.hero-text {
  max-width: 680px;
  margin: 0 auto 3rem;
  color: rgba(255,255,255,0.76);
  font-size: 0.97rem;
  line-height: 1.82;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.9s var(--ease-out) 0.7s forwards;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.9s var(--ease-out) 0.9s forwards;
}
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.hero .btn {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  width: 100%;
  max-width: 300px;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.22);
}
.hero .btn:hover {
  background: var(--cream-alt);
  border-color: var(--cream-alt);
  color: var(--navy);
  opacity: 1;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
}
.hero .btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
  width: 100%;
  max-width: 300px;
  justify-content: center;
}
.hero .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.65);
  color: var(--white);
  opacity: 1;
}
.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2.5rem;
  opacity: 0;
  animation: heroFadeUp 0.8s var(--ease-out) 1.3s forwards;
}
.hero-scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.45) 100%);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; }
  50%       { opacity: 0.9; }
}

/* ─── SECTIONS ─────────────────────────────────────────── */
.sec-light  { background: var(--cream);     padding: var(--sec) var(--px); }
.sec-cream  { background: var(--cream-alt); padding: var(--sec) var(--px); }
.sec-dark   { background: var(--navy);      padding: var(--sec) var(--px); text-align: center; }
.sec-dark h2 { color: var(--white); }
.sec-dark p  { color: rgba(255,255,255,0.72); }

/* ─── USP STRIP ───────────────────────────────────────── */
.usp-strip {
  background: var(--navy);
  padding: var(--sec) var(--px);
  position: relative;
  overflow: hidden;
}
.usp-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 110%, rgba(255,255,255,0.03) 0%, transparent 65%);
  pointer-events: none;
}
.usp-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: var(--max);
  margin: 0 auto;
}
.usp-item {
  padding: 2.25rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.usp-item:last-child { border-bottom: none; }
.usp-number {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: rgba(255,255,255,0.14);
  font-style: italic;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}
.usp-item h3 {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}
.usp-item p {
  color: rgba(255,255,255,0.55);
  font-size: 0.94rem;
  line-height: 1.78;
  margin: 0;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── SERVICES ────────────────────────────────────────── */
.services {
  padding: var(--sec) var(--px);
  background: var(--cream);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-out), border-color var(--t);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card-img {
  height: 220px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body {
  padding: 1.85rem 2rem;
  text-align: center;
}
.service-card-icon {
  width: 56px;
  height: 56px;
  background: var(--cream);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.3rem;
  transition: background var(--t), transform 0.3s var(--ease-spring);
}
.service-card:hover .service-card-icon {
  background: var(--navy);
  transform: scale(1.08);
}
.service-card-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: filter var(--t);
}
.service-card:hover .service-card-icon img { filter: brightness(0) invert(1); }
.service-card h3 { font-size: 1.38rem; margin-bottom: 0.8rem; }
.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.78;
  margin-bottom: 0;
}
.service-link {
  display: inline-block;
  margin-top: 1.1rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1.5px solid var(--navy);
  padding-bottom: 2px;
  transition: opacity var(--t);
}
.service-link:hover { opacity: 0.55; }

/* ─── CTA BAND ────────────────────────────────────────── */
.cta-band {
  background: var(--navy);
  padding: var(--sec) var(--px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(255,255,255,0.025) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 50%, rgba(255,255,255,0.025) 0%, transparent 55%);
  pointer-events: none;
}
.cta-band h2 {
  color: var(--white);
  max-width: 720px;
  margin: 0 auto 1.3rem;
}
.cta-band .btn,
.about-top .btn {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.cta-band .btn:hover,
.about-top .btn:hover {
  background: var(--cream-alt);
  border-color: var(--cream-alt);
  color: var(--navy);
  opacity: 1;
}
.cta-band > p {
  color: rgba(255,255,255,0.68);
  max-width: 640px;
  margin: 0 auto 2.75rem;
  font-size: 1rem;
  line-height: 1.82;
}

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 560px;
  margin: 0 auto 3rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.03);
}
.stat-item {
  padding: 2rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background var(--t);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.04); }
.stat-number {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--white);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.4rem;
  display: block;
}
.stat-label {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  line-height: 1.45;
  display: block;
}

/* ─── FEATURES ────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: var(--max);
  margin: 0 auto;
}
.features-grid + .features-grid { margin-top: 1.25rem; }
.feature-card {
  background: var(--white);
  padding: 2.1rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  text-align: center;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-out), border-color var(--t);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--cream);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.35rem;
  transition: background var(--t), transform 0.3s var(--ease-spring);
}
.feature-card:hover .feature-icon {
  background: var(--navy);
  transform: scale(1.08) rotate(-3deg);
}
.feature-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: filter var(--t);
}
.feature-card:hover .feature-icon img { filter: brightness(0) invert(1); }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 0.7rem; }
.feature-card p { color: var(--muted); font-size: 0.94rem; line-height: 1.78; margin: 0; }

/* ─── CONTACT BAND ────────────────────────────────────── */
.contact-band {
  background: var(--navy-dark);
  padding: 0 var(--px);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.contact-band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max);
  margin: 0 auto;
}
.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.5rem 1rem;
  min-height: 68px;
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.75);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background var(--t), color var(--t);
}
.contact-btn:last-child { border-right: none; }
.contact-btn:hover {
  background: rgba(255,255,255,0.09);
  color: var(--white);
  opacity: 1;
}

/* ─── FOOTER ──────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  padding: 3rem var(--px) 2rem;
  color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}
.footer-col-address {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.footer-map {
  width: 100%;
  height: 168px;
  border-radius: var(--r);
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.footer-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.footer-map-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 1rem;
}
.footer-map-gate span {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
}
.footer-map-gate a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding-bottom: 2px;
  transition: color var(--t);
}
.footer-map-gate a:hover { color: var(--white); opacity: 1; }
.footer-address {
  font-size: 0.91rem;
  line-height: 2;
  color: rgba(255,255,255,0.6);
}
.footer-address strong {
  display: block;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  font-family: var(--serif);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.footer-address a { color: rgba(255,255,255,0.6); }
.footer-address a:hover { color: var(--white); opacity: 1; }
.footer-col-title {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin: 0 0 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a {
  color: rgba(255,255,255,0.58);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  padding: 0.55rem 0;
  min-height: 44px;
  transition: color var(--t), transform 0.2s var(--ease-spring);
}
.footer-links a:hover { color: var(--white); opacity: 1; transform: translateX(3px); }
.footer-bottom {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.32);
  text-align: center;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}
.footer-legal a {
  color: rgba(255,255,255,0.42);
  font-size: 0.82rem;
  transition: color var(--t);
}
.footer-legal a:hover { color: rgba(255,255,255,0.8); opacity: 1; }

/* ─── SUBPAGE HERO ────────────────────────────────────── */
.subpage-hero {
  background: var(--cream-alt);
  padding: 4rem var(--px) 3.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.subpage-hero h1 { max-width: 800px; margin: 0 auto; }
.subpage-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.subpage-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── ABOUT ───────────────────────────────────────────── */
.about-top {
  background: var(--navy);
  padding: var(--sec) var(--px);
}
.about-top h1      { color: var(--white); }
.about-top p       { color: rgba(255,255,255,0.72); }
.about-top .eyebrow { color: rgba(255,255,255,0.42); border-bottom-color: rgba(255,255,255,0.22); }
.about-subtitle {
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255,255,255,0.58);
  margin-bottom: 1.75rem;
}
.about-cta { margin-top: 2.5rem; text-align: center; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: var(--max);
  margin: 0 auto;
  align-items: center;
}
.about-img {
  aspect-ratio: 16/9;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }

/* ─── SECTION CENTER ──────────────────────────────────── */
.sec-center {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.sec-center p { color: var(--muted); font-size: 1rem; line-height: 1.85; }

/* ─── KARRIERE ────────────────────────────────────────── */
.karriere-intro {
  max-width: 580px;
  margin: 1.25rem auto 0;
  color: var(--muted);
  font-size: 1rem;
}
.job-heading { text-align: center; margin-bottom: 0.35rem; }
.job-heading small { color: var(--muted); font-size: 0.62em; font-weight: 400; }
.job-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1rem;
  align-items: center;
}
.job-cta { text-align: center; margin-top: 2rem; }
.job-card {
  background: var(--white);
  padding: 1.75rem var(--px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1040px;
  box-shadow: var(--shadow-sm);
}
.job-card:last-of-type { margin-bottom: 0; }
.job-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0;
  text-align: center;
}
.job-content h3 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 1.1rem 0 0.35rem;
  text-align: center;
}
.job-content p { color: var(--muted); font-size: 0.82rem; line-height: 1.65; }
.job-img img {
  border-radius: var(--r);
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 1px solid var(--border);
}
.job-img figcaption {
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 0.6rem;
  font-style: italic;
  line-height: 1.6;
}

/* ─── CONTACT PAGE ────────────────────────────────────── */
.contact-hero {
  background: var(--navy);
  padding: 4rem var(--px) 3.5rem;
  text-align: center;
}
.contact-hero h1 {
  font-size: clamp(2.4rem, 9vw, 4.5rem);
  margin-bottom: 0.75rem;
  color: var(--white);
}
.contact-hero-dots {
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.5em;
  margin-bottom: 1.5rem;
  font-size: 0.55rem;
}
.contact-hero-info {
  color: rgba(255,255,255,0.62);
  line-height: 2.2;
  font-size: 0.97rem;
}
.contact-hero-info strong {
  display: block;
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.contact-hero-info a { display: block; color: rgba(255,255,255,0.62); }
.contact-hero-info a:hover { color: var(--white); opacity: 1; }
.contact-hero .eyebrow {
  color: rgba(255,255,255,0.42);
  border-bottom-color: rgba(255,255,255,0.22);
}

.contact-section { padding: var(--sec) var(--px); background: var(--cream); }
.contact-intro {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}
.contact-intro h2 { margin-bottom: 1rem; }
.contact-intro p  { color: var(--muted); }

/* ─── FORMS ───────────────────────────────────────────── */
.contact-form {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  padding: 2.5rem var(--px);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr; }
.form-group { margin-bottom: 1.5rem; }
.form-group > label:not(.label-datenschutz) {
  display: block;
  margin-bottom: 0.55rem;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  min-height: 52px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  background: var(--cream-alt);
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(29,43,58,0.08);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* Pill-Checkboxen & Radio */
.checkbox-list, .radio-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.checkbox-list label, .radio-list label {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.15rem;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  background: var(--cream-alt);
  transition: all var(--t);
  user-select: none;
  min-height: 44px;
}
.checkbox-list label:hover, .radio-list label:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--cream);
}
.checkbox-list label:has(input:checked),
.radio-list label:has(input:checked) {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.checkbox-list input[type="checkbox"],
.radio-list input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  clip: rect(0,0,0,0);
  pointer-events: none;
}

/* Datenschutz-Checkbox */
.label-datenschutz {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1.55;
}
.label-datenschutz input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  aspect-ratio: 1;
  margin-top: 2px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  background: var(--cream-alt);
  cursor: pointer;
  position: relative;
  transition: all var(--t);
}
.label-datenschutz input[type="checkbox"]:checked {
  background: var(--navy);
  border-color: var(--navy);
}
.label-datenschutz input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 8px;
  border: 2px solid var(--white);
  border-top: none;
  border-left: none;
  transform: translate(-50%, -60%) rotate(45deg);
}
.label-datenschutz a { color: var(--navy); text-decoration: underline; }
.field-error {
  display: block;
  color: #c0392b;
  font-size: 0.82rem;
  margin-top: 0.35rem;
  font-weight: 500;
}
.form-group input.is-error,
.form-group textarea.is-error,
.form-group select.is-error {
  border-color: #c0392b;
  background: #fdf5f5;
}
.form-send-error {
  background: #fdf5f5;
  border: 1px solid #e8a0a0;
  border-left: 3px solid #c0392b;
  color: #8b2020;
  padding: 1rem 1.1rem;
  border-radius: var(--r);
  font-size: 0.93rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.btn.btn-loading { opacity: 0.7; cursor: not-allowed; pointer-events: none; }
.form-success {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.form-success-icon {
  width: 56px;
  height: 56px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.35rem;
  font-weight: 700;
}
.form-success h3 {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  margin-bottom: 0.7rem;
  color: var(--navy);
}
.form-success p { color: var(--muted); font-size: 1rem; line-height: 1.75; margin: 0; }
.form-submit { text-align: center; margin-top: 2.25rem; }
.form-submit .btn { width: 100%; justify-content: center; }
.form-note { text-align: center; color: var(--muted); font-size: 0.82rem; margin-top: 1rem; }

/* ─── FAQ ─────────────────────────────────────────────── */
.faq-section { padding: var(--sec) var(--px); background: var(--cream-alt); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-cat-title {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin: 3.5rem 0 1.5rem;
  padding-left: 1px;
}
.faq-cat-title:first-child { margin-top: 0; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.35rem 0;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 58px;
  transition: color var(--t);
}
.faq-question:hover { color: var(--navy-mid); }
.faq-icon {
  font-size: 1.2rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring);
  color: var(--muted-light);
  line-height: 1;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color: var(--navy);
  border-color: var(--navy);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-answer.open { max-height: 800px; padding-bottom: 1.5rem; }
.faq-answer p { color: var(--muted); font-size: 0.96rem; line-height: 1.85; margin: 0; }

/* ─── COOKIE BANNER ───────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  transform: translateY(calc(100% + 2rem));
  transition: transform 0.5s var(--ease-out);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner { display: flex; flex-direction: column; gap: 1.25rem; }
.cookie-banner h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--navy);
  margin: 0 0 0.4rem;
  font-weight: 400;
}
.cookie-banner p { margin: 0; color: var(--muted); font-size: 0.89rem; line-height: 1.65; }
.cookie-banner a { color: var(--navy); text-decoration: underline; }
.cookie-actions { display: flex; flex-direction: column; gap: 0.5rem; }
.cookie-btn {
  padding: 0.75rem 1.25rem;
  min-height: 46px;
  border-radius: var(--r);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--t);
  border: 1.5px solid;
  text-align: center;
  display: block;
  width: 100%;
}
.cookie-btn-accept { background: var(--navy); color: var(--white); border-color: var(--navy); }
.cookie-btn-accept:hover { background: var(--navy-mid); border-color: var(--navy-mid); }
.cookie-btn-reject { background: transparent; color: var(--navy); border-color: var(--border); }
.cookie-btn-reject:hover { border-color: var(--navy); }
.cookie-btn-settings { background: var(--cream); color: var(--navy); border-color: var(--border); }
.cookie-btn-settings:hover { background: var(--cream-alt); }

/* ─── COOKIE MODAL ────────────────────────────────────── */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(22,33,45,0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 10000;
}
.cookie-modal.open { display: flex; }
.cookie-modal-inner {
  background: var(--white);
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 2rem var(--px);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
}
.cookie-modal-inner h2 { margin-bottom: 0.75rem; font-weight: 400; font-size: 1.35rem; }
.cookie-modal-inner > p { color: var(--muted); margin-bottom: 1.5rem; font-size: 0.91rem; }
.cookie-category { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.cookie-category:last-of-type { border-bottom: none; }
.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}
.cookie-cat-title { font-weight: 700; font-size: 0.95rem; color: var(--navy); margin: 0; }
.cookie-category p { color: var(--muted); font-size: 0.87rem; margin: 0; line-height: 1.65; }
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #c8c5be;
  border-radius: 26px;
  transition: 0.3s;
}
.slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: 0.3s var(--ease-spring);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
input:checked + .slider { background: var(--navy); }
input:checked + .slider::before { transform: translateX(20px); }
input:disabled + .slider { opacity: 0.45; cursor: not-allowed; }
.cookie-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.75rem;
}
.cookie-modal-actions .cookie-btn { display: block; width: 100%; }

/* ─── LEGAL PAGES ─────────────────────────────────────── */
.legal-page { background: var(--cream); padding: var(--sec) var(--px); min-height: 60vh; }
.legal-container {
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  padding: 2rem var(--px);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.legal-container h1 { margin-bottom: 2rem; }
.legal-container h2 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin: 2.5rem 0 0.75rem;
  color: var(--navy);
}
.legal-container h3 {
  font-family: var(--sans);
  font-size: 0.97rem;
  font-weight: 700;
  margin: 1.5rem 0 0.4rem;
}
.legal-container p,
.legal-container li {
  color: var(--muted);
  line-height: 1.85;
  font-size: 0.96rem;
}
.legal-container ul,
.legal-container ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-container a { color: var(--navy); text-decoration: underline; }
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 1rem 0;
  display: block;
  overflow-x: auto;
}
.cookie-table th, .cookie-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border: 1px solid var(--border);
  vertical-align: top;
}
.cookie-table th { background: var(--navy); color: var(--white); font-weight: 600; }
.cookie-table tbody tr:nth-child(even) { background: var(--cream); }

/* ─── Utilities ───────────────────────────────────────── */
.legal-note { margin-top: 2rem; color: var(--muted); font-size: 0.85rem; }
.hp-field { display: none; }

/* ═══════════════ RESPONSIVE: Tablet (640px+) ═══════════ */
@media (min-width: 640px) {
  :root { --px: 2rem; --sec: 5rem; }

  .logo img { height: 50px; }
  .hero-cta { flex-direction: row; justify-content: center; gap: 1.25rem; }
  .hero .btn, .hero .btn-ghost { width: auto; max-width: none; min-width: 17rem; justify-content: center; }

  .usp-grid {
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--r-lg);
    overflow: hidden;
  }
  .usp-item {
    padding: 2.75rem 2rem;
    border-bottom: none;
    border-right: 1px solid rgba(255,255,255,0.08);
  }
  .usp-item:last-child { border-right: none; }

  .services-grid  { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
  .features-grid  { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .features-grid + .features-grid { margin-top: 1.5rem; }

  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 3.5rem; }
  .footer-col-address { grid-column: 1; flex-direction: row; align-items: flex-start; }
  .footer-map { width: 140px; min-width: 140px; height: 168px; }
  .site-footer { padding: 4rem var(--px) 2.5rem; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer-legal { justify-content: flex-end; }

  .subpage-img { height: 260px; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .job-card { padding: 2.75rem; }
  .job-body { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
  .contact-form { padding: 3rem; }
  .legal-container { padding: 3rem; }

  .cookie-banner-inner { flex-direction: row; align-items: center; }
  .cookie-actions { flex-direction: row; flex-wrap: wrap; flex-shrink: 0; }
  .cookie-btn { display: inline-flex; width: auto; align-items: center; justify-content: center; }
  .cookie-modal { align-items: center; padding: 1.5rem; }
  .cookie-modal-inner {
    max-width: 560px;
    border-radius: var(--r-lg);
    padding: 2.5rem;
    max-height: 90vh;
  }
  .cookie-modal-actions { flex-direction: row; justify-content: flex-end; }
  .cookie-modal-actions .cookie-btn { width: auto; }
}

/* ═══════════════ RESPONSIVE: Desktop (960px+) ══════════ */
@media (min-width: 960px) {
  :root { --sec: 6rem; }

  .logo img { height: 54px; }
  .mobile-toggle { display: none; }

  .nav-wrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0.9rem var(--px);
  }
  .logo { grid-column: 1; grid-row: 1; justify-content: flex-start; }
  .main-nav { grid-column: 2; grid-row: 1; justify-self: center; }
  .nav-toggle-btn { display: none; }
  .nav-close-btn  { display: none; }
  .nav-mobile-logo { display: none; }

  .main-nav {
    position: static;
    transform: none;
    visibility: visible;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    overflow: visible;
    transition: none;
  }
  .main-nav > ul {
    display: flex;
    flex-direction: row;
    gap: 0;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
  }
  .main-nav > ul > li {
    border-bottom: none;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .main-nav a {
    display: inline-block;
    font-size: 0.86rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    padding: 0.3rem 0.75rem;
    color: rgba(29,43,58,0.5);
    border-bottom: none;
    transition: color var(--t);
  }
  .main-nav a.active { color: var(--navy); font-weight: 500; }
  .main-nav a:hover  { color: var(--navy); opacity: 1; }

  .nav-dropdown { position: relative; }
  .nav-dropdown > a::after {
    content: '+';
    font-size: 0.65rem;
    font-weight: 300;
    opacity: 0.45;
    display: inline-flex;
    align-items: center;
    transition: transform var(--t), opacity var(--t);
    transform-origin: center;
    vertical-align: middle;
    margin-left: 0.2rem;
    position: relative;
    top: -0.04em;
  }
  .nav-dropdown:hover > a::after { transform: rotate(45deg); opacity: 0.75; }

  .dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 188px;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 2px solid var(--navy);
    border-radius: 0 0 var(--r) var(--r);
    box-shadow: var(--shadow-lg);
    padding: 0.4rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity var(--t), transform var(--t), visibility 0s var(--t);
    z-index: 50;
    list-style: none;
    margin: 0;
    max-height: none !important;
    overflow: visible;
    background-color: var(--white);
  }
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity var(--t), transform var(--t);
  }
  .dropdown-menu li { display: block; }
  .dropdown-menu a {
    display: block !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    color: var(--navy) !important;
    padding: 0.65rem 1.25rem !important;
    border-top: none !important;
    border-bottom: none !important;
    transition: background var(--t) !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .dropdown-menu li + li a { border-top: 1px solid var(--border) !important; }
  .dropdown-menu a:hover { background: var(--cream); }

  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .hero { min-height: 500px; }
  .subpage-img { height: 320px; }
}

/* ═══════════════ MOBILE FEINTUNING (max 639px) ═════════ */
@media (max-width: 639px) {
  .logo img { height: 44px; }
  .hero { padding: 4.5rem var(--px) 5.5rem; }
  .hero-headline { font-size: clamp(1.65rem, 7.5vw, 2.5rem); }
  .contact-hero h1 { font-size: clamp(2.1rem, 8.5vw, 3.2rem); }
  .contact-btn { min-height: 68px; }
  .stats-strip { max-width: 100%; }
  .stat-number { font-size: 2rem; }

  .form-group input:not([type="checkbox"]):not([type="radio"]),
  .form-group select,
  .form-group textarea { font-size: 16px; }
}
