/* ==========================================================================
   E&P Kältetechnik – Redesign-Konzept (einfachcool.auftrittsreich.de)
   ========================================================================== */

/* Schriften lokal (kein Google-Fonts-Abruf, DSGVO) */
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Inter-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Inter-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Inter-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/Inter-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Inter-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/Inter-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Inter-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Inter-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/SpaceGrotesk-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/SpaceGrotesk-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/SpaceGrotesk-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/SpaceGrotesk-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/SpaceGrotesk-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/SpaceGrotesk-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand (aus echtem Logo gesampelt) */
  --navy-950: #071a2e;
  --navy-900: #0b2544;
  --navy-800: #123a63;
  --brand-blue: #106c9d;
  --brand-blue-light: #1c8cc4;
  --ice-teal: #6fc3d6;
  --ice-teal-light: #a9e0ea;
  --frost-50: #f2fafc;
  --frost-100: #e6f4f8;
  --white: #ffffff;
  --ink: #0e2233;
  --gray-600: #4d6373;
  --gray-500: #7690a0;
  --gray-200: #dde9ee;
  --gray-100: #eef5f8;

  --grad-brand: linear-gradient(135deg, var(--brand-blue) 0%, var(--ice-teal) 100%);
  --grad-hero: linear-gradient(160deg, rgba(7, 26, 46, 0.94) 0%, rgba(11, 37, 68, 0.82) 45%, rgba(16, 108, 157, 0.55) 100%);
  --grad-dark: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);

  --shadow-sm: 0 2px 10px rgba(11, 37, 68, 0.08);
  --shadow-md: 0 12px 32px rgba(11, 37, 68, 0.12);
  --shadow-lg: 0 24px 60px rgba(11, 37, 68, 0.18);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --wrap: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; overflow-y: scroll; overflow-x: hidden; max-width: 100%; }
/* body bewusst OHNE eigenes overflow-x: Browser würde laut Spezifikation sonst
   implizit overflow-y:auto auf body erzwingen (sobald eine Achse != visible ist),
   wodurch body zum eigenen Scroll-Container wird und .site-header (position:
   sticky) seine Sticky-Wirkung relativ zur Seite komplett verliert (Bug, 16.10.).
   html allein reicht, um horizontales Overflow zu verhindern. */
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy-950);
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}
.eyebrow.on-dark { color: var(--ice-teal-light); }

h2.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  max-width: 780px;
}
p.section-lead {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--gray-600);
  max-width: 640px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  position: relative;
  z-index: 0;
  background: transparent;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(16, 108, 157, 0.3);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: var(--grad-brand);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(16, 108, 157, 0.4); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.btn-ghost-dark {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-900);
}
.btn-ghost-dark:hover { background: var(--navy-900); color: var(--white); transform: translateY(-2px); }
/* .btn-ghost-dark is meant for light backgrounds; when reused as the second button inside a dark .cta-band, flip it to a light outline so it stays readable */
.cta-band .btn-ghost-dark { color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.cta-band .btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
.btn-sm { padding: 11px 24px; font-size: 0.88rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11, 37, 68, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 48px);
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 42px; width: auto; }
.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-950);
  line-height: 1.15;
}
.logo-text span { display: block; font-size: 0.7rem; font-weight: 500; color: var(--brand-blue); font-style: italic; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 16px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--navy-800);
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a.active { background: var(--frost-100); color: var(--brand-blue); }

.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: var(--grad-brand);
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 210;
  box-shadow: 0 6px 16px rgba(16, 108, 157, 0.32);
  flex-shrink: 0;
}
.nav-toggle svg {
  color: var(--white);
  position: absolute;
  transition: opacity 0.2s ease, transform 0.25s ease;
}
.nav-toggle .icon-burger { opacity: 1; transform: rotate(0deg) scale(1); }
.nav-toggle .icon-close { opacity: 0; transform: rotate(-90deg) scale(0.5); }
.nav-toggle.active .icon-burger { opacity: 0; transform: rotate(90deg) scale(0.5); }
.nav-toggle.active .icon-close { opacity: 1; transform: rotate(0deg) scale(1); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  /* Reserviert unten exakt die Höhe des sichtbaren Cookie-Banners (per JS in
     --cookie-gap gepflegt, inkl. Resize-Updates), damit Hero-CTA-Buttons/-Badges
     beim ersten Besuch auf schmalen/kurzen Viewports nie dahinter verschwinden
     (Bug, 16.10.: bei 320-360px Breite komplett unklickbar). */
  padding-bottom: var(--cookie-gap, 0px);
  transition: padding-bottom 0.3s ease;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(60px, 10vw, 110px) clamp(20px, 5vw, 48px) clamp(48px, 6vw, 76px);
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  max-width: 760px;
  margin-bottom: 20px;
}
.hero p.hero-lead {
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(6px);
}
.hero-badge {
  background: rgba(11, 37, 68, 0.35);
  padding: 18px 20px;
  text-align: left;
}
.hero-badge strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  color: var(--white);
}
.hero-badge span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.75); }

.hero-sm { min-height: 80vh; align-items: center; }
.hero-sm .hero-inner { padding-top: clamp(120px, 14vw, 160px); }
.hero-sm h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 10px; }

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--white); }

/* ---------- Sections generic ---------- */
.section { padding: clamp(60px, 8vw, 110px) 0; }
.section-frost { background: var(--frost-50); }
.section-dark { background: var(--grad-dark); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255, 255, 255, 0.78); }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-title, .section-head.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Intro split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3.1;
  object-fit: cover;
}
.split-media .media-tag {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--navy-900);
}
.split-media .media-tag svg { color: var(--brand-blue); }
.split-body ul.check-list { margin-top: 22px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
  font-size: 0.98rem;
  color: var(--gray-600);
}
.check-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--brand-blue); }
.check-list li strong { color: var(--ink); }

/* ---------- Bento services grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.bento-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: clamp(26px, 3vw, 34px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.bento-card.featured {
  grid-column: span 2;
  background: var(--grad-dark);
  color: var(--white);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding: clamp(30px, 3vw, 40px);
}
.bento-card.featured h3 { color: var(--white); }
.bento-card.featured p { color: rgba(255, 255, 255, 0.75); }
.bento-card.featured img {
  border-radius: var(--radius-sm);
  aspect-ratio: 4/3.4;
  object-fit: cover;
}
.bento-card.dark-photo {
  position: relative;
  color: var(--white);
  overflow: hidden;
  border: none;
  background-size: cover;
  background-position: center;
}
.bento-card.dark-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(7,26,46,0.94) 0%, rgba(11,37,68,0.88) 55%, rgba(16,108,157,0.75) 100%);
}
.bento-card.dark-photo > * { position: relative; z-index: 1; }
.bento-card.dark-photo h3 { color: var(--white); }
.bento-card.dark-photo p { color: rgba(255, 255, 255, 0.78); }
.bento-card.dark-photo .icon-badge { background: rgba(255, 255, 255, 0.14); color: var(--ice-teal-light); }
.icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--frost-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  margin-bottom: 18px;
}
.bento-card.featured .icon-badge { background: rgba(255, 255, 255, 0.12); color: var(--ice-teal-light); }
.bento-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.bento-card p { color: var(--gray-600); font-size: 0.94rem; margin-bottom: 0; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.stat { padding: clamp(24px, 3vw, 34px) 22px; background: rgba(7, 26, 46, 0.5); }
.stat strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { color: rgba(255, 255, 255, 0.72); font-size: 0.88rem; }

/* ---------- Project cards ---------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 5/4;
  display: flex;
  align-items: flex-end;
}
.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover img { transform: scale(1.06); }
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 20, 36, 0.92) 0%, rgba(7, 20, 36, 0.15) 55%, transparent 100%);
}
.project-card-body { position: relative; z-index: 2; padding: 24px; color: var(--white); }
.project-kw {
  display: inline-block;
  background: var(--grad-brand);
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.project-card-body h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 4px; }
.project-card-body p { color: rgba(255, 255, 255, 0.8); font-size: 0.87rem; margin: 0; }

/* ---------- Team ---------- */
.team-group { margin-bottom: 48px; }
.team-group h3.group-title {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  margin-bottom: 22px;
}
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.team-card {
  text-align: left;
  flex: 0 1 calc(25% - 16.5px);
  min-width: 150px;
}
.team-photo {
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--grad-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-photo.avatar { }
.avatar-mono {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--white);
  background: var(--grad-brand);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-card h4 { font-size: 1rem; margin-bottom: 2px; }
.team-card .role { color: var(--brand-blue); font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.team-card .detail { color: var(--gray-500); font-size: 0.82rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad-dark);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 195, 214, 0.35), transparent 70%);
  top: -180px;
  right: -140px;
}
.cta-band h2 { color: var(--white); position: relative; z-index: 1; margin-bottom: 6px; }
.cta-band p { color: rgba(255, 255, 255, 0.75); position: relative; z-index: 1; margin: 0; }
.cta-band .cta-actions { display: flex; gap: 14px; position: relative; z-index: 1; flex-wrap: wrap; }

/* ---------- Cards generic (jobs, downloads) ---------- */
.info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: clamp(26px, 3vw, 36px);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--frost-100);
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 14px;
}

/* ---------- Footer ---------- */
/* padding-bottom reserviert zusätzlich die Höhe des sichtbaren Cookie-Banners
   (dieselbe --cookie-gap-Variable wie .hero/.scroll-top-btn) - der Footer ist auf
   jeder Seite das letzte Element vor </body>, dadurch verdeckt das fixierte Banner
   nie interaktive Elemente am echten Seitenende (z.B. Absenden-Button im
   Kontaktformular bei ~900px Tablet-Breite), und die reservierte Fläche bleibt
   dank var(--navy-950)-Hintergrund optisch nahtlos dunkel statt als weißer Streifen. */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.68); padding: clamp(56px, 6vw, 80px) 0 calc(26px + var(--cookie-gap, 0px)); transition: padding-bottom 0.3s ease; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.footer-logo img { height: 62px; }
.footer-logo-text { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--white); }
.site-footer h4 { color: var(--white); font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.site-footer ul li { margin-bottom: 11px; font-size: 0.92rem; }
.site-footer a:hover { color: var(--ice-teal-light); }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact-item svg { flex-shrink: 0; color: var(--ice-teal); margin-top: 2px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .legal-links { display: flex; gap: 18px; }

/* ---------- Legal pages ---------- */
.legal-content h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal-content p, .legal-content li { color: var(--gray-600); }
.legal-content ul { padding-left: 1.2em; list-style: disc; margin-bottom: 1em; }

/* ---------- Reviews ---------- */
.review-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin: -10px 0 30px;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.review-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.review-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.review-card .stars { color: #f5a623; letter-spacing: 3px; font-size: 0.95rem; margin-bottom: 14px; }
.review-card p { color: var(--gray-600); font-size: 0.94rem; flex-grow: 1; margin-bottom: 20px; }
.review-who { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  background: var(--grad-brand);
}
.review-who b { display: block; font-size: 0.92rem; color: var(--ink); }
.review-who small { color: var(--gray-500); font-size: 0.8rem; }
.review-source {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
}
.review-inline {
  background: var(--frost-50);
  border-radius: var(--radius-md);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.review-inline .stars { color: #f5a623; letter-spacing: 3px; font-size: 1rem; flex-shrink: 0; }
.review-inline p { margin: 0; color: var(--ink); font-style: italic; flex: 1 1 320px; }
.review-inline .review-who { flex-shrink: 0; }

/* ---------- Partner marquee ---------- */
.section-head.marquee-head { margin-bottom: 16px; }
.marquee-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.marquee-track .brand-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  opacity: 0.75;
  transition: opacity 0.2s, filter 0.2s, color 0.2s;
}
.marquee-track img.brand-tile {
  height: auto;
  width: auto;
  max-height: 76px;
  max-width: 238px;
  object-fit: contain;
  filter: grayscale(1);
}
.marquee-track span.brand-tile {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--gray-500);
  white-space: nowrap;
}
.marquee-track .brand-tile:hover { opacity: 1; color: var(--navy-900); }
.marquee-track img.brand-tile:hover { filter: grayscale(0); }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }
.partner-note { text-align: center; font-size: 0.82rem; color: var(--gray-500); margin-top: 18px; }

/* ---------- Process steps ---------- */
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}
.step-card .step-no {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--brand-blue);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: block;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-card p { color: var(--gray-600); font-size: 0.9rem; margin: 0; }
.step-arrow {
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  color: var(--gray-200);
  z-index: 2;
}

/* ---------- Infographic compare ---------- */
.compare-graphic {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.compare-col { padding: clamp(28px, 3vw, 40px); }
.compare-col.old { background: #2a2f38; color: rgba(255,255,255,0.85); }
.compare-col.new { background: var(--grad-dark); color: var(--white); }
.compare-col h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 4px; }
.compare-col .compare-tag { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.7; margin-bottom: 12px; display: block; }
.compare-col ul { display: grid; gap: 12px; margin-top: 18px; }
.compare-col li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; }
.compare-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}
.compare-metric { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700; margin-top: 10px; }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card-media { aspect-ratio: 16/10; overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 22px 24px 26px; }
.blog-card .tag-pill { margin-bottom: 12px; }
.blog-card h3 { font-size: 1.08rem; margin-bottom: 8px; line-height: 1.3; }
.blog-card p { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 0; }
.blog-meta { display: flex; gap: 10px; align-items: center; font-size: 0.78rem; color: var(--gray-500); margin-top: 14px; }
.blog-article-body { max-width: 760px; margin: 0 auto; }
.blog-article-body h2 { font-size: 1.4rem; margin-top: 1.6em; }
.blog-article-body h3 { font-size: 1.15rem; margin-top: 1.3em; }
.blog-article-body p, .blog-article-body li { color: var(--gray-600); font-size: 1.02rem; }
.blog-article-body ul { padding-left: 1.2em; list-style: disc; margin-bottom: 1.2em; }
/* Dark-background components nested in .blog-article-body must not inherit the light-bg body-text color above */
.blog-article-body .cta-band p { color: rgba(255, 255, 255, 0.75); font-size: 1rem; }
.blog-article-body .compare-col.old li { color: rgba(255, 255, 255, 0.85); font-size: 0.92rem; }
.blog-article-body .compare-col.new li { color: var(--white); font-size: 0.92rem; }
.blog-article-body img { border-radius: var(--radius-md); margin: 1.6em 0; }
.blog-hero-meta { display: flex; gap: 14px; align-items: center; color: rgba(255,255,255,0.75); font-size: 0.88rem; }

/* ---------- Blog article visual components ---------- */
.blog-article-body .fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 1.8em 0;
}
.blog-article-body .fact-card {
  background: var(--frost-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}
.blog-article-body .fact-card .icon-badge { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; }
.blog-article-body .fact-card h3 { font-size: 1rem; margin: 0 0 6px; }
.blog-article-body .fact-card p { font-size: 0.88rem; margin: 0; color: var(--gray-600); }
.blog-article-body .fact-card.wide { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; }
.blog-article-body .fact-card.wide .icon-badge { margin-bottom: 0; flex-shrink: 0; }

.blog-article-body .stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 1.8em 0;
  box-shadow: var(--shadow-sm);
}
.blog-article-body .stat-item { background: var(--grad-dark); padding: 26px 18px; text-align: center; }
.blog-article-body .stat-item strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ice-teal-light);
  margin-bottom: 6px;
}
.blog-article-body .stat-item span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.75); }
.blog-article-body .stat-source { font-size: 0.78rem; color: var(--gray-500); margin-top: -1.2em; margin-bottom: 1.6em; }

.blog-article-body .bar-chart { margin: 1.8em 0; display: grid; gap: 16px; }
.blog-article-body .bar-row { display: grid; grid-template-columns: 96px 1fr 64px; align-items: center; gap: 14px; }
.blog-article-body .bar-label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.blog-article-body .bar-track { height: 14px; background: var(--gray-100); border-radius: 999px; overflow: hidden; }
.blog-article-body .bar-fill { height: 100%; border-radius: 999px; background: var(--grad-brand); }
.blog-article-body .bar-value { font-family: 'Space Grotesk', sans-serif; font-weight: 700; text-align: right; font-size: 0.92rem; }

@media (max-width: 600px) {
  .blog-article-body .fact-grid { grid-template-columns: 1fr; }
  .blog-article-body .stat-row { grid-template-columns: 1fr; }
  .blog-article-body .fact-card.wide { flex-direction: column; align-items: flex-start; }
  .blog-article-body .bar-row { grid-template-columns: 84px 1fr 50px; gap: 8px; }
}

/* ---------- Reference detail pages ---------- */
.spec-table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.spec-table tr { border-bottom: 1px solid var(--gray-200); }
.spec-table td { padding: 12px 4px; font-size: 0.94rem; }
.spec-table td:first-child { color: var(--gray-500); width: 46%; }
.spec-table td:last-child { color: var(--ink); font-weight: 600; }
.guarantee-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--frost-50);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-top: 24px;
}
.guarantee-badge .icon-badge { margin-bottom: 0; flex-shrink: 0; }
.guarantee-badge strong { display: block; color: var(--ink); font-size: 0.98rem; }
.guarantee-badge span { color: var(--gray-600); font-size: 0.86rem; }

/* ---------- Mobile nav — fullscreen overlay ---------- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--grad-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px clamp(20px, 6vw, 40px);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.97);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}
.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0s;
}
.mobile-drawer::before {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 480px;
  max-height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 195, 214, 0.22), transparent 70%);
  top: -10%;
  right: -20%;
  pointer-events: none;
}
.mobile-drawer nav { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mobile-drawer nav a {
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 6.5vw, 2.1rem);
  font-weight: 600;
  padding: 12px 4px;
  text-align: center;
}
.mobile-drawer .btn { margin-top: 20px; }
/* Menü liegt über dem Header – eigener Schließen-Knopf an der Stelle des Burger-Knopfs */
.drawer-close {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  right: clamp(20px, 5vw, 48px);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}
.drawer-close:hover { background: rgba(255, 255, 255, 0.2); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1399px) {
  .main-nav, .header-cta .btn-ghost-dark { display: none; }
  .header-cta .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-card.featured { grid-column: span 2; grid-template-columns: 1fr; }
  .team-card { flex-basis: calc(33.333% - 14.667px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-arrow { display: none; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-graphic { grid-template-columns: 1fr; }
  .compare-divider { width: 100%; height: 1px; }
}

@media (max-width: 899px) {
  .hero-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .team-card { flex-basis: calc(50% - 11px); }
  .cta-band { flex-direction: column; align-items: flex-start; text-align: left; }
  .cta-band .cta-actions { width: 100%; }
  .review-inline { flex-direction: column; align-items: flex-start; }
  .review-inline p { flex: 0 0 auto; }
}

@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card.featured { grid-column: span 1; }
  .hero-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .team-card { flex-basis: calc(50% - 11px); }
  .hero { min-height: 92vh; }
  .hero-sm { min-height: 64vh; }
  .review-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* ---------- Jobseite (13.10.2026) ---------- */
.salary-box {
  margin-top: 18px;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  background: var(--grad-dark);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.salary-box strong { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.5rem, 3vw, 2rem); }
.salary-box span { color: rgba(255, 255, 255, 0.78); font-size: 0.92rem; }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.benefit {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.benefit strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 1.12rem; color: var(--navy-900); margin-bottom: 4px; }
.benefit span { color: var(--gray-600); font-size: 0.92rem; }
.benefit-grid .benefit-wide { grid-column: span 2; }
.img-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.img-strip figure { margin: 0; }
.img-strip img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.img-strip figcaption { margin-top: 10px; font-weight: 600; color: var(--navy-800); }
.symbolbild, .symbolbild-hinweis { font-size: 0.72rem; color: var(--gray-500); }
.split-media .symbolbild {
  position: absolute; right: 14px; bottom: 12px;
  background: rgba(7, 26, 46, 0.55); color: rgba(255, 255, 255, 0.85);
  padding: 2px 8px; border-radius: 100px;
}
.symbolbild-hinweis { text-align: right; margin-top: 8px; }
@media (max-width: 899px) {
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .img-strip { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid .benefit-wide { grid-column: auto; }
}

/* ---------- Scroll-to-top-Button ---------- */
.scroll-top-btn {
  position: fixed;
  right: clamp(16px, 4vw, 28px);
  bottom: calc(var(--cookie-gap, 0px) + clamp(16px, 4vw, 28px) + env(safe-area-inset-bottom, 0px));
  z-index: 300;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--grad-brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(16, 108, 157, 0.34);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s, box-shadow 0.2s ease, bottom 0.25s ease;
}
.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s, box-shadow 0.2s ease, bottom 0.25s ease;
}
.scroll-top-btn:hover { box-shadow: 0 14px 32px rgba(16, 108, 157, 0.44); transform: translateY(-2px); }
.scroll-top-btn svg { width: 20px; height: 20px; }

/* ---------- Cookie-Hinweis ---------- */
.cookie-note {
  position: fixed;
  left: clamp(14px, 3vw, 24px);
  right: clamp(14px, 3vw, 24px);
  bottom: calc(clamp(14px, 3vw, 24px) + env(safe-area-inset-bottom, 0px));
  z-index: 400;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 15px 22px;
  background: var(--grad-dark);
  color: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}
.cookie-note.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0s;
}
.cookie-note p { margin: 0; flex: 1 1 260px; color: inherit; }
.cookie-note .btn { flex-shrink: 0; white-space: nowrap; }
/* Unter 480px: Reihe statt Spalte beibehalten (nicht gestapelt), sonst wird das
   Banner so hoch, dass es die Hero-CTA-Buttons komplett verdeckt (Bug, 16.10.) */
@media (max-width: 480px) {
  .cookie-note {
    padding: 12px 16px;
    gap: 8px 12px;
    font-size: 0.8rem;
  }
  .cookie-note p { flex: 1 1 170px; }
  .cookie-note .btn.btn-sm { padding: 9px 18px; font-size: 0.82rem; }
}
/* Auf kurzen Viewports (z.B. iPhone SE, 320-360 x ~640-660) braucht der Hero-
   Inhalt (H1 + Lead + Buttons + Badges) mehr Höhe als der Viewport bietet; das
   unten fixierte Banner landet dann trotz --cookie-gap genau auf den Hero-CTA-
   Buttons (Bug, 16.10.: Buttons beim ersten Besuch nicht klickbar). Fix: Banner
   wandert auf kurzen Screens unter den Header statt an den unteren Rand - dort
   kollidiert es mit nichts Interaktivem. */
@media (max-height: 700px) {
  .cookie-note {
    bottom: auto;
    top: calc(72px + env(safe-area-inset-top, 0px));
    transform: translateY(-16px);
  }
  .cookie-note.visible { transform: translateY(0); }
  .scroll-top-btn { bottom: calc(clamp(16px, 4vw, 28px) + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Einwilligungs-Banner (18.10.2026): Ablehnen und Zustimmen gleichwertig ---------- */
.cookie-note p a { color: #fff; text-decoration: underline; }
.cookie-note .cookie-actions { display: flex; gap: 10px; flex: 1 1 auto; justify-content: flex-end; }
.cookie-note .btn-consent {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  min-width: 118px;
  justify-content: center;
}
.cookie-note .btn-consent:hover,
.cookie-note .btn-consent:focus-visible { background: #fff; color: var(--navy-900); }
@media (max-width: 480px) {
  .cookie-note .cookie-actions { width: 100%; }
  .cookie-note .btn-consent { flex: 1 1 0; min-width: 0; }
}

/* ---------- Kurzbewerbung Jobseite (18.10.2026) ---------- */
.apply-form { display: grid; gap: 14px; }
.apply-form label { font-size: 0.85rem; font-weight: 600; display: block; margin-bottom: 6px; }
.apply-form input, .apply-form select, .apply-form textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--gray-200); border-radius: 10px; font: inherit; background: #fff; color: inherit;
}
.apply-form .row-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.apply-form .hint { font-size: 0.82rem; color: var(--gray-600); margin: 0; }
.apply-form .hint a { color: var(--brand-blue); font-weight: 600; }
.apply-status { display: none; padding: 12px 16px; border-radius: 10px; font-size: 0.92rem; }
@media (max-width: 640px) { .apply-form .row-2 { grid-template-columns: minmax(0, 1fr); } }

/* Mobile-Overflow split (Kontrolletti 18.10.): Grid-Kinder dürfen schrumpfen, lange Tabellenwerte umbrechen */
.split > * { min-width: 0; }
.spec-table td { overflow-wrap: anywhere; }

/* ---------- Partnerfirmen (19.10.2026) ---------- */
.partner-row { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--gray-200); text-align: center; }
.partner-row-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-500); margin: 0 0 22px; }
.partner-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 64px; }
.partner-logos li { margin: 0; padding: 0; }
.partner-logos a { display: flex; align-items: center; justify-content: center; height: 56px; padding: 6px 4px; border-radius: var(--radius-sm); }
.partner-logos img { display: block; height: 38px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: filter 0.2s, opacity 0.2s; }
.partner-logos a:hover img, .partner-logos a:focus-visible img { filter: grayscale(0); opacity: 1; }
.partner-logos a:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 4px; }
@media (max-width: 599px) {
  .partner-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
  .partner-logos img { height: 30px; max-width: 100%; }
}
.privat-klima .section-head { max-width: 760px; margin-left: auto; margin-right: auto; }
.privat-klima-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.partner-logos img[src$="cp-kaut.svg"] { height: 32px; }
@media (max-width: 599px) { .partner-logos img[src$="cp-kaut.svg"] { height: 25px; } }
