@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --brand-blue: #385274;
  --brand-blue-dark: #2a3d57;
  --brand-blue-light: #0671B7;
  --brand-red: #C0202C;
  --brand-red-dark: #a01a24;
  --brand-dark: #231F20;
  --brand-peach: #F1AE82;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --text: #231F20;
  --muted: #5a6575;
  --line: rgba(56, 82, 116, 0.14);
  --shadow: 0 18px 48px rgba(35, 31, 32, 0.1);
  --shadow-sm: 0 8px 24px rgba(35, 31, 32, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 96px;
  --topline-h: 38px;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container { width: min(1240px, 92%); margin: 0 auto; }

.skip-link {
  position: absolute; top: -100px; left: 1rem;
  background: var(--brand-blue); color: #fff;
  padding: 0.6rem 1rem; border-radius: var(--radius-sm); z-index: 9999;
}
.skip-link:focus { top: 1rem; }

/* ─── HEADER ─── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.topline {
  background: var(--brand-blue);
  color: rgba(255,255,255,0.92);
  font-size: 0.84rem;
}
.topline-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0;
}
.topline-item {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: inherit; white-space: nowrap;
}
.topline-item:hover { color: #fff; }
.topline-item--center { justify-self: center; }
.topline-item--right { justify-self: end; }
.topline-item svg { flex-shrink: 0; opacity: 0.75; }

.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.logo img { height: 54px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 1.25rem; }
.main-nav a {
  font-size: 0.92rem; font-weight: 600; color: var(--muted);
  position: relative; padding-bottom: 4px;
}
.main-nav a:hover, .main-nav a.active { color: var(--brand-blue); }
.main-nav a.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--brand-red); border-radius: 2px;
}

.header-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--brand-red); color: #fff;
  padding: 0.75rem 1.4rem; border-radius: 999px;
  font-size: 0.88rem; font-weight: 700; white-space: nowrap;
}
.header-cta:hover { background: var(--brand-red-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer; padding: 0.55rem;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--brand-blue); margin: 5px 0;
  transition: var(--transition);
}

.mobile-nav {
  display: none; position: fixed;
  top: calc(var(--topline-h) + var(--header-h));
  right: 0; bottom: 0; left: 0;
  background: var(--surface); padding: 1.25rem 1.5rem 2rem;
  flex-direction: column; gap: 0.35rem; z-index: 999;
  transform: translateX(100%); transition: transform 0.3s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-size: 1.05rem; font-weight: 600; color: var(--brand-blue);
  padding: 0.65rem 0; border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
body.nav-open {
  overflow: hidden;
  touch-action: none;
}
html.nav-open { overflow: hidden; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.75rem; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-weight: 700; font-size: 0.92rem;
  border: 2px solid transparent; cursor: pointer; transition: var(--transition);
}
.btn-primary { background: var(--brand-red); color: #fff; }
.btn-primary:hover { background: var(--brand-red-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.65); }
.btn-secondary:hover { background: #fff; color: var(--brand-blue); }
.btn-outline { background: transparent; color: var(--brand-blue); border-color: var(--brand-blue); }
.btn-outline:hover { background: var(--brand-blue); color: #fff; }
.btn-blue { background: var(--brand-blue); color: #fff; }
.btn-blue:hover { background: var(--brand-blue-dark); transform: translateY(-2px); }

/* ─── HERO ─── */
.hero {
  position: relative; min-height: clamp(520px, 82vh, 760px);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  text-align: center;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06); transition: transform 8s ease-out;
}
.hero-slide.is-active img { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(35,31,32,0.55) 0%, rgba(35,31,32,0.72) 45%, rgba(56,82,116,0.65) 100%);
}
.hero-content {
  position: relative; z-index: 3; width: 100%;
  padding: 4rem 0 5rem;
  display: flex; flex-direction: column; align-items: center;
}
.hero-tag {
  display: inline-block; background: var(--brand-red); color: #fff;
  padding: 0.4rem 1rem; border-radius: 999px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; margin-bottom: 1.25rem;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  color: #fff; line-height: 1.12; max-width: 18ch; margin-bottom: 1rem;
}
.hero h1 em { font-style: italic; color: var(--brand-peach); }
.hero-lead {
  color: rgba(255,255,255,0.88); font-size: 1.08rem;
  max-width: 52ch; margin: 0 auto 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero-dots {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 4; display: flex; gap: 0.5rem;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7); background: transparent;
  cursor: pointer; padding: 0; transition: var(--transition);
}
.hero-dot.is-active { background: var(--brand-red); border-color: var(--brand-red); }

/* ─── STATS ─── */
.stats-bar {
  background: var(--brand-blue); color: #fff;
  padding: 2.5rem 0; margin-top: -1px;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-heading); font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--brand-peach); line-height: 1;
}
.stat-label { font-size: 0.88rem; opacity: 0.85; margin-top: 0.35rem; }

/* ─── SECTIONS ─── */
section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.bg-white { background: var(--surface); }
.bg-light { background: var(--bg); }
.bg-blue { background: var(--brand-blue); color: #fff; }

.section-label {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-red); margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--brand-blue); margin-bottom: 1rem; line-height: 1.2;
}
.bg-blue .section-title { color: #fff; }
.section-sub {
  color: var(--muted); font-size: 1.05rem;
  max-width: 62ch; margin-bottom: 3rem;
}
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ─── INTRO ─── */
.intro-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.intro-text p { margin-bottom: 1rem; color: var(--muted); }
.intro-text p:last-child { margin-bottom: 0; }
.video-wrap {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: var(--brand-dark);
}
.video-wrap video { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }

/* ─── SERVICE CARDS ─── */
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem;
}
.service-card {
  background: var(--surface); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); transition: var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card img { width: 100; aspect-ratio: 16/10; object-fit: cover; height: 200px; width: 100%; }
.service-card-body { padding: 1.5rem 1.6rem 1.75rem; }
.service-card-body h3 {
  font-family: var(--font-heading); font-size: 1.2rem;
  color: var(--brand-blue); margin-bottom: 0.5rem;
}
.service-card-body p { color: var(--muted); font-size: 0.94rem; }
.service-card-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin-top: 1rem; font-weight: 700; font-size: 0.88rem;
  color: var(--brand-red);
}
.service-card-link:hover { gap: 0.6rem; }

/* ─── QUICK LINKS ─── */
.quick-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.quick-link {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 280px; display: flex; align-items: flex-end;
  box-shadow: var(--shadow-sm);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.35s ease;
}
.quick-link--leistungen { background-image: url('../Bilder/home/card-leistungen.jpg'); }
.quick-link--referenzen { background-image: url('../Bilder/home/card-referenzen.jpg'); }
.quick-link--ueber-uns { background-image: url('../Bilder/home/card-ueber-uns.jpg'); }
.quick-link:hover { transform: scale(1.02); }
.quick-link-overlay {
  position: relative; z-index: 1; width: 100%;
  padding: 2rem 1.75rem;
  background: linear-gradient(transparent, rgba(35,31,32,0.88));
}
.quick-link h3 { font-family: var(--font-heading); color: #fff; font-size: 1.4rem; margin-bottom: 0.5rem; }
.quick-link span { color: var(--brand-peach); font-weight: 700; font-size: 0.9rem; }

/* ─── VALUES ─── */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.value-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center;
}
.value-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand-red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin: 0 auto 1rem;
}
.value-card h3 { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 0.5rem; color: #fff; }
.value-card p { font-size: 0.9rem; opacity: 0.82; }
.value-link { color: var(--brand-peach); font-weight: 600; }
.value-link:hover { text-decoration: underline; }

/* ─── PARTNER ─── */
.partner-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem;
  align-items: center;
}
.partner-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  min-height: 90px;
}
.partner-item img { max-height: 52px; width: auto; object-fit: contain; }

/* ─── CTA ─── */
.cta-band {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: #fff; padding: 4rem 0;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-inner h2 { font-family: var(--font-heading); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.5rem; }
.cta-inner p { opacity: 0.85; max-width: 48ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ─── PAGE HERO ─── */
.page-hero {
  background: var(--brand-blue); color: #fff;
  padding: 2rem 0 1.25rem;
}
.page-hero + section {
  padding-top: 1.25rem;
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
.page-hero h1 { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.75rem; }
.page-hero p { opacity: 0.85; max-width: 60ch; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; opacity: 0.7; margin-bottom: 1.25rem; }
.breadcrumb a:hover { opacity: 1; color: var(--brand-peach); }

.page-hero--image {
  position: relative;
  min-height: clamp(340px, 48vh, 520px);
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35,31,32,0.72) 0%, rgba(56,82,116,0.78) 100%);
}
.page-hero--image .page-hero__content {
  position: relative;
  z-index: 1;
  padding: 3rem 0 2.5rem;
}
.page-hero--image h1,
.page-hero--image p { color: #fff; }
.page-hero--image .breadcrumb { color: rgba(255,255,255,0.75); }
.page-hero--image .breadcrumb a { color: rgba(255,255,255,0.75); }
.page-hero--image + section {
  padding-top: 2.5rem;
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.about-content {
  max-width: 780px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.about-content p { color: var(--muted); margin-bottom: 0.85rem; }
.about-content p:last-child { margin-bottom: 0; }
.about-team .section-title { margin-bottom: 1.25rem; }

/* ─── LEISTUNGEN DETAIL ─── */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; margin-bottom: 4.5rem; }
.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }
.service-detail img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-detail h2 { font-family: var(--font-heading); font-size: 1.7rem; color: var(--brand-blue); margin-bottom: 1rem; }
.service-detail p { color: var(--muted); margin-bottom: 0.85rem; }
.service-detail ul { margin: 1rem 0; padding-left: 0; }
.service-detail li {
  position: relative; padding-left: 1.4rem; margin-bottom: 0.45rem;
  color: var(--muted); font-size: 0.95rem;
}
.service-detail li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand-red);
}

/* ─── TEAM ─── */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.team-card {
  background: var(--surface); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); text-align: center;
}
.team-card img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 30%;
  display: block;
}
.team-card img.team-photo--lars { object-position: center 18%; }
.team-card img.team-photo--alisina { object-position: center 55%; }
.team-card img.team-photo--michael { object-position: center 35%; }
.team-card-body { padding: 1.25rem 1rem 1.5rem; }
.team-card h3 { font-size: 1rem; color: var(--brand-blue); margin-bottom: 0.25rem; }
.team-card p { font-size: 0.85rem; color: var(--muted); }

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2rem; align-items: start; }
.cert-grid img {
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); width: 100%;
  aspect-ratio: 223 / 325; object-fit: cover; object-position: center;
}

/* ─── KONTAKT ─── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; }
.contact-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-card {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
}
.contact-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: rgba(56,82,116,0.1); color: var(--brand-blue);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.contact-card h4 { font-size: 0.95rem; color: var(--brand-blue); margin-bottom: 0.35rem; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 0.94rem; }
.contact-card a:hover { color: var(--brand-red); }
.contact-form {
  position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-form h2 { font-family: var(--font-heading); color: var(--brand-blue); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--brand-blue); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--line);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 0.95rem;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--brand-blue-light);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
}
.form-status--error {
  background: rgba(192, 32, 44, 0.08);
  color: var(--brand-red);
  border: 1px solid rgba(192, 32, 44, 0.25);
}
.contact-card a:hover { color: var(--brand-red); }
.contact-address { font-style: normal; color: var(--muted); font-size: 0.94rem; line-height: 1.6; }

.map-section { margin-top: 3rem; }
.map-section__lead { color: var(--muted); max-width: 65ch; margin-bottom: 1.25rem; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-providers {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.map-providers h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--brand-blue);
  margin-bottom: 0.5rem;
}
.map-providers p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1rem; }
.map-providers__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.map-providers__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.map-providers__links a:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}
.map-providers__hint { font-weight: 400; font-size: 0.8rem; opacity: 0.75; }

/* ─── LEGAL ─── */
.legal-content { max-width: 780px; }
.legal-content h2 { font-family: var(--font-heading); color: var(--brand-blue); font-size: 1.3rem; margin: 2rem 0 0.75rem; }
.legal-content p { color: var(--muted); margin-bottom: 0.85rem; }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--brand-dark); color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-logo {
  display: inline-block;
  background: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  line-height: 0;
}
.footer-logo img { height: 42px; width: auto; max-width: 200px; }
.footer-brand p { font-size: 0.92rem; line-height: 1.7; margin-top: 0; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a { font-size: 0.9rem; }
.footer-col a:hover { color: var(--brand-peach); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem; font-size: 0.85rem;
}
.footer-bottom a:hover { color: var(--brand-peach); }

/* ─── KARRIERE ─── */
.career-intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.career-intro p { color: var(--muted); margin-bottom: 0.85rem; }
.career-intro > p:last-of-type { margin-bottom: 0; }
.career-award {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  text-align: left;
  margin-top: 2rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(192, 32, 44, 0.06);
  border: 1px solid rgba(192, 32, 44, 0.18);
}
.career-award__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.career-award h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--brand-blue);
  margin-bottom: 0.4rem;
}
.career-award p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}
.career-intro__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(192, 32, 44, 0.08);
  color: var(--brand-red);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.career-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.career-benefit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}
.career-benefit__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
}
.career-benefit h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--brand-blue);
  margin-bottom: 0.5rem;
}
.career-benefit p { color: var(--muted); font-size: 0.92rem; }
.career-spotlight {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.career-spotlight__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.career-spotlight__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.career-spotlight__text p {
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.career-spotlight__text p:last-child { margin-bottom: 0; }

.career-details {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}
.career-details p { color: var(--muted); margin-bottom: 0.85rem; }
.career-list {
  margin: 1rem 0 0;
  padding-left: 0;
  list-style: none;
}
.career-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--muted);
  font-size: 0.94rem;
}
.career-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-red);
}
.career-details__aside { display: flex; flex-direction: column; gap: 1.25rem; }
.career-info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.career-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--brand-blue);
  margin-bottom: 0.5rem;
}
.career-info-card p,
.career-info-card li { color: var(--muted); font-size: 0.92rem; }
.career-info-card ul { margin: 0; padding-left: 1.1rem; }
.career-info-card li { margin-bottom: 0.35rem; }
.career-steps { max-width: 720px; margin: 0 auto; }
.career-steps__list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.career-steps__list li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.career-steps__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.career-steps__list h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--brand-blue);
  margin-bottom: 0.35rem;
}
.career-steps__list p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ─── REFERENZEN ─── */
.ref-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.ref-item {
  position: relative;
  display: block;
  flex: 0 1 calc((100% - 3rem) / 4);
  width: calc((100% - 3rem) / 4);
  max-width: calc((100% - 3rem) / 4);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--brand-blue);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}
.ref-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.ref-item:hover img,
.ref-item:focus-visible img { transform: scale(1.04); }
.ref-item__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.25rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(35, 31, 32, 0.85));
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  text-align: left;
}

.lightbox {
  border: none;
  padding: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0;
  background: transparent;
  color: #fff;
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(23, 28, 36, 0.92); }
.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__figure {
  margin: 0;
  text-align: center;
  max-width: min(90vw, 1000px);
  padding: 0 4.5rem;
}
.lightbox__figure img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.lightbox__figure figcaption {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  opacity: 0.9;
}
.lightbox__close,
.lightbox__nav {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: background 0.2s ease;
  position: fixed;
  z-index: 2;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--brand-red); }
.lightbox__close {
  top: 1.25rem;
  right: 1.25rem;
}
.lightbox__nav--prev {
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__nav--next {
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
}

/* ─── SCROLL TOP ─── */
.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand-red); color: #fff; border: none;
  cursor: pointer; display: none; align-items: center; justify-content: center;
  box-shadow: var(--shadow); transition: var(--transition);
}
.scroll-top:hover { background: var(--brand-red-dark); transform: translateY(-2px); }
.scroll-top.visible { display: flex; }

/* ─── COOKIE BANNER ─── */
.hidden { display: none !important; }
.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(35, 31, 32, 0.58);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
}
.cookie-banner__panel {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
  max-height: 90vh;
  overflow-y: auto;
  border-top: 3px solid var(--brand-red);
}
.cookie-banner__inner {
  padding: clamp(1.5rem, 4vw, 2rem);
}
.cookie-banner__inner h2 {
  font-family: var(--font-heading);
  color: var(--brand-blue);
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
}
.cookie-banner__inner > p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.cookie-banner__inner > p a {
  color: var(--brand-red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.cookie-banner__actions .btn { font-size: 0.88rem; padding: 0.65rem 1.15rem; }
.cookie-btn-deny {
  border-color: var(--line);
  color: var(--muted);
}
.cookie-btn-deny:hover {
  background: var(--bg);
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}
.cookie-category {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.cookie-category:first-child { border-top: none; padding-top: 0; }
.cookie-category__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}
.cookie-category__head strong {
  color: var(--brand-blue);
  font-size: 0.95rem;
}
.cookie-category__badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-red);
  background: rgba(192, 32, 44, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
.cookie-category p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle span {
  position: absolute;
  inset: 0;
  background: var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}
.cookie-toggle span::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(35, 31, 32, 0.2);
}
.cookie-toggle input:checked + span { background: var(--brand-red); }
.cookie-toggle input:checked + span::after { transform: translateX(20px); }
.cookie-manage {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 9998;
  padding: 0.55rem 1rem;
  background: var(--brand-blue);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.cookie-manage:hover { background: var(--brand-blue-dark); }


/* ─── ANIMATIONS ─── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .services-grid, .quick-links { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid, .contact-layout { grid-template-columns: 1fr; }
  .career-benefits { grid-template-columns: repeat(2, 1fr); }
  .career-details,
  .career-spotlight { grid-template-columns: 1fr; }
  .ref-item {
    flex-basis: calc((100% - 1rem) / 2);
    width: calc((100% - 1rem) / 2);
    max-width: calc((100% - 1rem) / 2);
  }
  .service-detail, .service-detail:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 72px; }
  /* Compact fixed bar so burger stays reachable while scrolling */
  .topline { display: none; }
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
  }
  body { padding-top: var(--header-h); }
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav {
    display: flex;
    top: var(--header-h);
  }
  .services-grid, .quick-links, .values-grid, .cert-grid, .partner-grid { grid-template-columns: 1fr; }
  .career-benefits { grid-template-columns: 1fr; }
  .ref-item {
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
  }
  .lightbox__figure { padding: 0 1rem; }
  .lightbox__nav { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .hero-dots { left: 50%; transform: translateX(-50%); }
  .cookie-banner { align-items: flex-end; padding: 0; }
  .cookie-banner__panel { border-radius: var(--radius) var(--radius) 0 0; max-width: 100%; }
  .cookie-manage {
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    left: 0.75rem;
    font-size: 0.72rem;
  }
}
