﻿:root {
  --brand-blue: #0a437f;
  --brand-blue-dark: #072f5c;
  --brand-green: #73bf45;
  --ink: #0c1728;
  --muted: #46586f;
  --paper: #dfeaf2;
  --paper-warm: #e7efe0;
  --mist: #d3e1ec;
  --white: #ffffff;
  --line: #c4d0dc;
  --shadow: 0 10px 24px rgba(12, 23, 40, 0.12);
  --radius-lg: 3px;
  --radius-md: 3px;
  --radius-sm: 2px;
  --max: 1160px;
}
/* Mehrspaltiger EGD-Footer */
footer.site-footer {
  position: relative;
  padding: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(115, 191, 69, 0.08), transparent 28%),
    linear-gradient(135deg, #090d12 0%, #0d141c 100%);
  color: #d7e3ef;
  border-top: 0;
  box-shadow: none;
}

footer.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-blue) 0 34%, var(--brand-green) 34% 100%);
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.72fr 1.02fr 1.4fr;
  gap: clamp(1.8rem, 3.2vw, 3.4rem);
  padding-top: 4.2rem;
  padding-bottom: 3.8rem;
}

.site-footer .footer-brand img {
  display: block;
  width: min(270px, 100%);
  height: 104px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: #edf3f7;
  border-left: 4px solid var(--brand-green);
}

.site-footer .footer-brand p {
  max-width: 32ch;
  color: #aebfd0;
  line-height: 1.75;
}

.site-footer .footer-brand strong {
  display: block;
  margin-top: 1.15rem;
  color: #98d85f;
  font-size: 0.82rem;
}

.site-footer .footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.72rem;
}

.site-footer .footer-column h2 {
  margin-bottom: 0.65rem;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.site-footer .footer-column h2::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 0.65rem;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-blue));
}

.site-footer .footer-column a {
  color: #bdccda;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer .footer-column a:hover {
  color: #98d85f;
  transform: translateX(2px);
}

.site-footer .footer-contact a,
.site-footer .footer-contact p {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 0.65rem;
  color: #d7e3ef;
  font-size: 0.9rem;
  line-height: 1.35;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.site-footer .footer-contact {
  align-self: start;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--brand-green);
}

.site-footer .footer-contact > a > span:first-child,
.site-footer .footer-contact > p > span:first-child {
  color: var(--brand-green);
  font-size: 1rem;
}

.site-footer .footer-contact small {
  display: block;
  color: #7f95a9;
  font-size: 0.72rem;
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.site-footer .footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
  color: #8ea3b7;
  font-size: 0.8rem;
  line-height: 1.5;
}

.site-footer .footer-bottom a {
  color: #b9c9d8;
  text-decoration: none;
}

.site-footer .footer-bottom i {
  display: inline-block;
  width: 1px;
  height: 0.8rem;
  margin: 0 0.8rem;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 980px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    padding-top: 3rem;
    padding-bottom: 2.8rem;
  }

  .site-footer .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
  }
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.34s ease,
    transform 0.34s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: #d2dee7;
  line-height: 1.55;
}

.container {
  width: min(var(--max), 94vw);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(226, 235, 242, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(20, 35, 58, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 190px;
  height: 62px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.brand strong {
  display: none;
  font-family: "Sora", sans-serif;
  font-size: 1.02rem;
  line-height: 1.15;
}

/* Katalogübersicht: klare, magazinartige Karten mit kantiger Geometrie */
.catalog-hero {
  padding: 4.8rem 0 3.6rem;
  background: linear-gradient(120deg, #061b36 0%, #0a437f 72%, #0b5b66 100%);
  color: var(--white);
  border-bottom: 5px solid var(--brand-green);
}

.catalog-hero h1,
.catalog-hero .lead {
  color: var(--white);
}

.catalog-eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  color: #a8e56f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.catalog-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
}

.catalog-stat strong {
  display: block;
  font: 800 2rem/1 "Sora", sans-serif;
}

.catalog-stat span {
  color: #cbd9e8;
  font-size: 0.84rem;
}

.catalog-section {
  padding: 4.6rem 0 5rem;
  background: #e8eef3;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 2.5rem;
  background: transparent;
  border: 0;
}

.catalog-card {
  position: relative;
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 285px;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  border: 1px solid #b9c8d4;
  box-shadow: 0 10px 24px rgba(6, 27, 54, 0.09);
}

.catalog-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.65rem;
}

.catalog-number {
  color: var(--brand-green);
  font: 800 0.82rem/1 "Sora", sans-serif;
  letter-spacing: 0.12em;
}

.catalog-copy h2 {
  margin: 1rem 0 0.65rem;
  font-size: 1.28rem;
}

.catalog-copy p {
  color: var(--muted);
  font-size: 0.92rem;
}

.catalog-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.catalog-actions .btn {
  padding: 0.65rem 0.85rem;
  font-size: 0.84rem;
}

.catalog-card:hover .catalog-cover {
  transform: scale(1.025);
}

.catalog-cover {
  transition: transform 0.3s ease;
}

@media (max-width: 850px) {
  .brand img {
    width: 150px;
    height: 54px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 520px) {
  .catalog-card {
    grid-template-columns: 1fr;
  }

  .catalog-cover {
    height: 190px;
  }

  .catalog-stats {
    gap: 1.4rem;
  }

  .catalog-copy {
    padding: 1.4rem;
  }

  .catalog-actions {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .catalog-actions .btn {
    flex: 1 1 120px;
  }
}

.brand span {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.08rem;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.nav-links a.active {
  color: var(--brand-blue);
  border-bottom-color: var(--brand-green);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(8, 56, 111, 0.2);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #143a66;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  line-height: 1.15;
  color: #081a33;
}

.btn {
  border: 0;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  border-radius: var(--radius-md);
  padding: 0.8rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand-blue);
  color: var(--white);
  box-shadow: 0 8px 16px rgba(11, 77, 155, 0.18);
}

.btn-secondary {
  background: var(--white);
  color: var(--brand-blue);
  border: 1px solid rgba(11, 77, 155, 0.25);
}

.hero {
  padding: 4.2rem 0 3.4rem;
  background: #dbe5ec;
  border-bottom: 1px solid var(--line);
}

/* Einheitliches Farbsystem für Leistungen, Über uns und Kataloge */
.services-page,
.about-page {
  background: #e8eef3;
}

.services-page .hero,
.about-page .hero {
  position: relative;
  background: linear-gradient(120deg, #061b36 0%, #0a437f 72%, #0b5b66 100%);
  color: var(--white);
  border-bottom: 5px solid var(--brand-green);
  overflow: hidden;
}

.services-page .hero::before,
.about-page .hero::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -90px;
  top: -180px;
  border: 1px solid rgba(168, 229, 111, 0.22);
  transform: rotate(35deg);
}

.services-page .hero .container,
.about-page .hero .container {
  position: relative;
  z-index: 1;
}

.services-page .hero h1,
.services-page .hero .lead,
.about-page .hero h1,
.about-page .hero .lead {
  color: var(--white);
}

.services-page .hero .lead,
.about-page .hero .lead {
  opacity: 0.88;
}

.services-page .hero .panel,
.about-page .hero .panel {
  padding: 0;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(2, 12, 27, 0.28);
}

.services-page main > section:not(.hero),
.about-page main > section:not(.hero) {
  background: #e8eef3;
}

.services-page main > section:nth-of-type(even),
.about-page main > section:nth-of-type(even) {
  background: #dde7ee;
  border-color: #c8d4dd;
}

.services-page .service-card,
.about-page .info-card,
.about-page .panel {
  border-color: #b9c8d4;
  box-shadow: 0 10px 22px rgba(6, 27, 54, 0.09);
}

.services-page .service-more,
.about-page .distinction-point strong {
  color: var(--brand-blue);
}

.contact-page,
.jobs-page {
  background: #e8eef3;
}

.contact-page .hero,
.jobs-page .hero {
  position: relative;
  background: linear-gradient(120deg, #061b36 0%, #0a437f 72%, #0b5b66 100%);
  color: var(--white);
  border-bottom: 5px solid var(--brand-green);
  overflow: hidden;
}

.contact-page .hero::before,
.jobs-page .hero::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -90px;
  top: -180px;
  border: 1px solid rgba(168, 229, 111, 0.22);
  transform: rotate(35deg);
}

.contact-page .hero .container,
.jobs-page .hero .container {
  position: relative;
  z-index: 1;
}

.contact-page .hero h1,
.contact-page .hero .lead,
.jobs-page .hero h1,
.jobs-page .hero .lead {
  color: var(--white);
}

.contact-page .hero .lead,
.jobs-page .hero .lead {
  opacity: 0.88;
}

.contact-page main > section:not(.hero),
.jobs-page main > section:not(.hero) {
  background: #e8eef3;
}

.contact-page main > section:nth-of-type(even),
.jobs-page main > section:nth-of-type(even) {
  background: #dde7ee;
  border-color: #c8d4dd;
}

.contact-page .contact-info,
.contact-page form,
.contact-page .panel,
.jobs-page .contact-info,
.jobs-page form,
.jobs-page .job-card {
  border-color: #b9c8d4;
  box-shadow: 0 10px 22px rgba(6, 27, 54, 0.09);
}

/* Startseite im durchgängigen Katalog-Farbsystem */
body.home {
  background: #e8eef3;
}

body.home .hero {
  border-bottom: 5px solid var(--brand-green);
  background:
    linear-gradient(90deg, rgba(5, 9, 14, 0.92) 0%, rgba(7, 15, 24, 0.76) 42%, rgba(8, 31, 47, 0.34) 72%, rgba(8, 31, 47, 0.08) 100%),
    linear-gradient(180deg, rgba(10, 67, 127, 0.06), rgba(115, 191, 69, 0.08)),
    url("assets/hero-bild.webp") right center / cover no-repeat;
}

body.home .hero::after {
  display: none;
}

body.home .service-overview {
  margin-top: 0;
  padding-top: 4.8rem;
  background: #e8eef3;
}

body.home main > section:nth-of-type(even) {
  background: #dde7ee;
  border-color: #c8d4dd;
}

body.home .service-card,
body.home .focus-card,
body.home .panel {
  border-color: #b9c8d4;
  box-shadow: 0 10px 24px rgba(6, 27, 54, 0.09);
}

/* Animiertes Qualitätsversprechen */
.expect-section {
  position: relative;
  overflow: hidden;
  background: #f2f6f9;
  border-top: 1px solid #c8d4dd;
  border-bottom: 1px solid #c8d4dd;
}

.expect-section::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  top: -310px;
  left: calc(50% - 220px);
  border: 1px solid rgba(10, 67, 127, 0.1);
  transform: rotate(45deg);
  pointer-events: none;
}

.expect-heading {
  position: relative;
  text-align: center;
  margin-bottom: 3rem;
}

.expect-heading .catalog-eyebrow {
  color: var(--brand-blue);
}

.expect-heading h2 {
  font-size: clamp(2rem, 4.5vw, 3.7rem);
}

.expect-heading h2::after {
  content: "";
  display: block;
  width: 110px;
  height: 4px;
  margin: 0.85rem auto 0;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
  transform: skewX(-28deg);
}

.expect-heading p {
  max-width: 58ch;
  margin: 1rem auto 0;
  color: var(--muted);
}

.expect-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.82fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

.expect-column {
  display: grid;
  gap: 1.25rem;
}

.expect-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #c3d0da;
  border-left: 3px solid var(--brand-blue);
  box-shadow: 0 8px 20px rgba(6, 27, 54, 0.06);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.expect-column:last-child .expect-card {
  border-left-color: var(--brand-green);
}

.expect-card:hover {
  transform: translateY(-5px);
  border-color: #91a9bb;
  box-shadow: 0 16px 30px rgba(6, 27, 54, 0.12);
}

.expect-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  color: var(--brand-blue);
  background: #e8f0f6;
  border: 1px solid #bfd0dc;
  box-shadow: 4px 4px 0 rgba(115, 191, 69, 0.25);
  animation: expect-icon-float 4.4s ease-in-out infinite;
}

.expect-card:nth-child(2) .expect-icon {
  animation-delay: -1.4s;
}

.expect-card:nth-child(3) .expect-icon {
  animation-delay: -2.8s;
}

.expect-icon svg {
  width: 38px;
  height: 38px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: color 0.28s ease, transform 0.28s ease;
}

.expect-card:hover .expect-icon svg {
  color: #0b5b66;
  transform: scale(1.08);
}

.expect-card h3 {
  font-size: 1rem;
}

.expect-card p {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.expect-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid #aebfcb;
  box-shadow: 0 20px 44px rgba(6, 27, 54, 0.17);
}

.expect-visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(5, 12, 20, 0.88) 100%);
  pointer-events: none;
}

.expect-visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 5px;
  height: 34%;
  background: var(--brand-green);
  animation: expect-line-travel 5s ease-in-out infinite alternate;
}

.expect-visual img {
  width: 100%;
  height: 620px;
  display: block;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.expect-visual:hover img {
  transform: scale(1.035);
}

.expect-visual figcaption {
  position: absolute;
  z-index: 3;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  color: #fff;
}

.expect-visual figcaption strong,
.expect-visual figcaption span {
  display: block;
}

.expect-visual figcaption strong {
  font: 700 1.05rem/1.3 "Sora", sans-serif;
}

.expect-visual figcaption span {
  margin-top: 0.25rem;
  color: #b9cad8;
  font-size: 0.82rem;
}

@keyframes expect-icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes expect-line-travel {
  to { top: 66%; }
}

@media (max-width: 1050px) {
  .expect-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .expect-visual {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 420px;
  }

  .expect-visual img {
    height: 420px;
  }
}

@media (max-width: 680px) {
  .expect-layout {
    grid-template-columns: 1fr;
  }

  .expect-column {
    gap: 0.9rem;
  }

  .expect-visual {
    min-height: 340px;
  }

  .expect-visual img {
    height: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .expect-icon,
  .expect-visual::after {
    animation: none;
  }

  .expect-card,
  .expect-icon svg,
  .expect-visual img {
    transition: none;
  }

  .expect-card:hover,
  .expect-visual:hover img {
    transform: none;
  }
}

/* FAQ-Akkordeon auf der Kontaktseite */
#kontaktformular {
  scroll-margin-top: 90px;
}

.faq-section {
  background: #e8eef3;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 120px;
}

.faq-intro .catalog-eyebrow {
  color: var(--brand-blue);
}

.faq-intro h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.faq-intro p {
  max-width: 40ch;
  margin-top: 1rem;
  color: var(--muted);
}

.faq-intro .btn {
  margin-top: 1.5rem;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid #b9c8d4;
  border-left: 4px solid var(--brand-blue);
  box-shadow: 0 8px 18px rgba(6, 27, 54, 0.06);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.faq-item:hover,
.faq-item.is-open {
  border-color: #91a9bb;
  border-left-color: var(--brand-green);
  box-shadow: 0 14px 28px rgba(6, 27, 54, 0.11);
}

.faq-item h3 {
  font: inherit;
}

.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.35rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  text-align: left;
  font: 700 1rem/1.4 "Sora", sans-serif;
  cursor: pointer;
}

.faq-item button i {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  background: #edf3f7;
  border: 1px solid #c5d1db;
}

.faq-item button i::before,
.faq-item button i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--brand-blue);
  transform: translate(-50%, -50%);
  transition: transform 0.28s ease, background 0.28s ease;
}

.faq-item button i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open button i {
  background: var(--brand-green);
  border-color: var(--brand-green);
}

.faq-item.is-open button i::before,
.faq-item.is-open button i::after {
  background: #fff;
}

.faq-item.is-open button i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.36s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer > div {
  padding: 0 1.35rem 1.35rem;
}

.faq-answer p {
  max-width: 66ch;
  color: var(--muted);
}

@media (max-width: 780px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq-intro {
    position: static;
  }

  .faq-intro h2 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-answer,
  .faq-item button i::before,
  .faq-item button i::after {
    transition: none;
  }
}

/* Einsatzgebiete */
.regions-page {
  background: #e8eef3;
}

.regions-page .catalog-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(4, 14, 27, 0.97), rgba(8, 55, 104, 0.94) 62%, rgba(9, 87, 91, 0.9));
}

.regions-page .catalog-hero::before,
.regions-page .catalog-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(168, 229, 111, 0.24);
  pointer-events: none;
}

.regions-page .catalog-hero::before {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -260px;
  transform: rotate(32deg);
  animation: region-shape-drift 9s ease-in-out infinite alternate;
}

.regions-page .catalog-hero::after {
  width: 230px;
  height: 230px;
  right: 18%;
  bottom: -190px;
  border-color: rgba(91, 167, 232, 0.2);
  transform: rotate(55deg);
  animation: region-shape-drift 7s ease-in-out -3s infinite alternate-reverse;
}

.regions-intro {
  max-width: 720px;
}

.regions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 2.5rem;
  perspective: 1000px;
}

.regions-overview {
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1.58fr);
  gap: clamp(1.6rem, 4vw, 3.6rem);
  align-items: center;
  margin-top: 2.5rem;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #061b36 0%, #0a437f 68%, #0b6668 100%);
  box-shadow: 0 22px 44px rgba(6, 27, 54, 0.18);
}

.germany-badge {
  width: min(100%, 210px);
  aspect-ratio: 0.82;
  margin-inline: auto;
  display: grid;
  place-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #111 0 33%, #c9232a 33% 66%, #f2c331 66% 100%);
  clip-path: polygon(8% 0, 92% 0, 100% 12%, 91% 75%, 50% 100%, 9% 75%, 0 12%);
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.28));
}

.germany-badge span { font: 800 clamp(3rem, 7vw, 5.2rem)/0.9 "Sora", sans-serif; text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5); }
.germany-badge small { margin-top: 0.55rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6); }
.regions-overview-copy h3 { margin-top: 0.7rem; color: #fff; font-size: clamp(1.55rem, 3vw, 2.4rem); }
.regions-overview-copy > p { max-width: 62ch; margin-top: 0.75rem; color: rgba(255, 255, 255, 0.82); }

.regions-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.regions-facts div { padding: 0.9rem; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.08); }
.regions-facts strong, .regions-facts span { display: block; }
.regions-facts strong { color: #a8e56f; font-family: "Sora", sans-serif; font-size: 1.4rem; }
.regions-facts span { margin-top: 0.2rem; color: rgba(255, 255, 255, 0.84); font-size: 0.8rem; }

.region-card {
  --pointer-x: 50%;
  --pointer-y: 50%;
  min-height: 160px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 1.3rem;
  background:
    radial-gradient(180px circle at var(--pointer-x) var(--pointer-y), rgba(115, 191, 69, 0.15), transparent 65%),
    var(--white);
  border: 1px solid #b9c8d4;
  border-top: 4px solid var(--brand-blue);
  box-shadow: 0 8px 18px rgba(6, 27, 54, 0.07);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.region-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 110px;
  height: 110px;
  right: -72px;
  bottom: -70px;
  border: 18px solid rgba(10, 67, 127, 0.06);
  transform: rotate(45deg);
  transition: right 0.35s ease, bottom 0.35s ease, transform 0.35s ease;
}

.region-card::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 34%;
  height: 4px;
  background: var(--brand-green);
  transition: width 0.35s ease;
}

.region-card:hover {
  transform: translateY(-8px);
  border-color: #91a9bb;
  box-shadow: 0 18px 34px rgba(6, 27, 54, 0.15);
}

.region-card:hover::before {
  right: -52px;
  bottom: -52px;
  transform: rotate(58deg);
}

.region-card:hover::after {
  width: 100%;
}

.region-code {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.1rem;
  color: #fff;
  border-radius: 4px 4px 14px 14px;
  background: linear-gradient(145deg, var(--shield-color, #0a437f), var(--shield-color-dark, #062d58));
  font: 800 0.78rem/1 "Sora", sans-serif;
  letter-spacing: 0.14em;
  box-shadow: 4px 4px 0 rgba(115, 191, 69, 0.32);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.region-card:nth-child(4n + 1) { --shield-color: #1665a8; --shield-color-dark: #083b6d; }
.region-card:nth-child(4n + 2) { --shield-color: #b9202c; --shield-color-dark: #70121a; }
.region-card:nth-child(4n + 3) { --shield-color: #d3a417; --shield-color-dark: #806008; }
.region-card:nth-child(4n + 4) { --shield-color: #3f8a42; --shield-color-dark: #225627; }

.region-card:hover .region-code {
  transform: translate(2px, -2px);
  box-shadow: 1px 6px 0 rgba(115, 191, 69, 0.46);
}

.region-card h2 {
  font-size: 1.05rem;
}

.region-card p {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.87rem;
}

.regions-process { margin-top: 4.5rem; }
.regions-process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.8rem; }
.regions-process-grid article { padding: 1.4rem; border-radius: var(--radius-md); border: 1px solid #b9c8d4; background: rgba(255, 255, 255, 0.8); box-shadow: 0 10px 24px rgba(6, 27, 54, 0.08); }
.regions-process-grid article > span { color: #4f952d; font: 800 0.82rem/1 "Sora", sans-serif; letter-spacing: 0.14em; }
.regions-process-grid h3 { margin-top: 0.55rem; font-size: 1.08rem; }
.regions-process-grid p { margin-top: 0.5rem; color: var(--muted); font-size: 0.9rem; }

.regions-note {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
  padding: 1.4rem 1.5rem;
  background: #071f3d;
  color: #dce8f3;
  border-left: 5px solid var(--brand-green);
}

.regions-note::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  left: -130px;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent);
  animation: region-note-shine 6s ease-in-out infinite;
}

@keyframes region-shape-drift {
  to { transform: translate(-35px, 24px) rotate(45deg); }
}

@keyframes region-note-shine {
  0%, 58% { left: -130px; }
  82%, 100% { left: calc(100% + 130px); }
}

@media (prefers-reduced-motion: reduce) {
  .regions-page .catalog-hero::before,
  .regions-page .catalog-hero::after,
  .regions-note::after {
    animation: none;
  }

  .region-card,
  .region-code,
  .region-card::before,
  .region-card::after {
    transition: none;
  }

  .region-card:hover {
    transform: none;
  }
}

.regions-note strong {
  color: var(--white);
}

@media (max-width: 950px) {
  .regions-overview { grid-template-columns: 150px minmax(0, 1fr); }

  .regions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .regions-overview { grid-template-columns: 1fr; }
  .germany-badge { width: 145px; }
  .regions-facts, .regions-process-grid { grid-template-columns: 1fr; }

  .regions-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
}

.home .hero {
  position: relative;
  min-height: calc(88vh - 78px);
  min-height: calc(88svh - 78px);
  background:
    radial-gradient(740px 440px at 27% 44%, rgba(2, 8, 18, 0.82) 0%, rgba(2, 8, 18, 0.54) 46%, rgba(2, 8, 18, 0) 74%),
    linear-gradient(90deg, rgba(5, 13, 25, 0.82) 0%, rgba(8, 18, 32, 0.68) 36%, rgba(8, 18, 32, 0.34) 62%, rgba(8, 18, 32, 0.12) 100%),
    linear-gradient(180deg, rgba(5, 13, 25, 0.14), rgba(5, 13, 25, 0.48)),
    url("assets/hero-bild.webp") right top / cover no-repeat;
  border-bottom: 0;
  overflow: hidden;
}

.home .hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 170px;
  background: linear-gradient(180deg, rgba(210, 222, 231, 0) 0%, rgba(210, 222, 231, 0.46) 52%, #d2dee7 100%);
  pointer-events: none;
}

.hero-wrap,
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.home .hero-wrap {
  grid-template-columns: 1fr;
  position: relative;
  z-index: 1;
  min-height: calc(88vh - 78px - 7.6rem);
  min-height: calc(88svh - 78px - 7.6rem);
  align-content: center;
}

.home .hero h1,
.home .hero .lead {
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.home .hero-wrap > div {
  width: min(100%, 610px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.home .hero .pill {
  background: rgba(7, 18, 32, 0.48);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(5px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(11, 77, 155, 0.08);
  color: var(--brand-blue);
  font-size: 0.84rem;
  padding: 0.44rem 0.78rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  margin: 0.8rem 0 1rem;
  max-width: 18ch;
}

.lead {
  color: var(--muted);
  max-width: 58ch;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}

.card,
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.panel {
  padding: 1.1rem;
}

.panel-image {
  width: 100%;
  min-height: 220px;
  border-radius: var(--radius-md);
  object-fit: cover;
  display: block;
}

.combined-panel {
  padding: 1.1rem;
  background: linear-gradient(180deg, rgba(248, 251, 253, 0.96), rgba(236, 243, 248, 0.96));
}

.combined-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 1.1rem;
  align-items: center;
}

.panel-image-small {
  min-height: 0;
  height: 280px;
  object-position: center top;
}

.comparison-section {
  padding-top: 7rem;
}

.comparison-panel {
  padding: 0;
  overflow: hidden;
}

.comparison-slider {
  position: relative;
  min-height: 360px;
  background: #0e1c30;
}

.comparison-track,
.comparison-slide {
  position: absolute;
  inset: 0;
}

.comparison-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.comparison-slide.is-active {
  opacity: 1;
}

.comparison-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: var(--radius-md);
  background: rgba(8, 18, 34, 0.66);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.comparison-prev {
  left: 14px;
}

.comparison-next {
  right: 14px;
}

.image-placeholder {
  width: 100%;
  min-height: 220px;
  border: 2px dashed rgba(11, 77, 155, 0.35);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(11, 77, 155, 0.07), rgba(115, 191, 69, 0.08));
  display: grid;
  place-items: center;
  text-align: center;
  color: #2f5379;
  font-weight: 700;
  padding: 1rem;
}

.color-system-panel {
  padding: 1.4rem;
  background: linear-gradient(135deg, #183b63 0%, #274d76 52%, #224b5b 100%);
  color: #fff;
}

.color-system-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.4rem;
  align-items: center;
}

.color-system-panel h2 {
  color: #fff;
}

.color-system-panel .pill {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 18px rgba(4, 12, 28, 0.18);
}

.color-system-panel .lead {
  color: rgba(255, 255, 255, 0.9);
  max-width: 52ch;
}

.color-system-list {
  margin-top: 1rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.96);
}

.color-system-list li {
  line-height: 1.6;
}

.color-wheel-card {
  display: grid;
  place-items: center;
}

.color-wheel {
  --wheel-rotation: 0deg;
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: #0e1c30;
  box-shadow: 0 22px 38px rgba(5, 14, 30, 0.28);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.color-wheel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 50%;
  background: conic-gradient(
    from -45deg,
    #4b95db 0deg 90deg,
    #ef2b16 90deg 180deg,
    #ffc31a 180deg 270deg,
    #66b442 270deg 360deg
  );
  transform: rotate(var(--wheel-rotation));
  transform-origin: center;
  will-change: transform;
}

.color-wheel:active {
  cursor: grabbing;
}

.color-wheel:focus-visible {
  outline: 4px solid rgba(255, 255, 255, 0.92);
  outline-offset: 6px;
}

.color-wheel-hint {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.color-wheel::before {
  content: "";
  position: absolute;
  inset: 31%;
  border-radius: 50%;
  background: rgba(9, 21, 39, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  z-index: 2;
}

.color-wheel-hole {
  position: absolute;
  inset: 31%;
  display: grid;
  place-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Sora", sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.35rem);
  line-height: 1.15;
  z-index: 3;
  width: auto;
}

.color-wheel-labels {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 50%;
  transform: rotate(var(--wheel-rotation));
  transform-origin: center;
  will-change: transform;
  pointer-events: none;
}

.wheel-label {
  position: absolute;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  color: rgba(7, 18, 32, 0.88);
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.22);
  white-space: nowrap;
}

.wheel-label-blue {
  top: 16%;
  left: 50%;
  transform: translate(-50%, 0);
}

.wheel-label-green {
  left: 16%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.wheel-label-red {
  right: 10%;
  top: 50%;
  transform: translate(0, -50%);
}

.wheel-label-yellow {
  left: 50%;
  bottom: 12%;
  transform: translate(-50%, 0);
  text-align: center;
}

.distinction-section {
  align-items: stretch;
  gap: 1.4rem;
  padding: 1.3rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(246, 250, 255, 0.92));
  border: 1px solid rgba(8, 56, 111, 0.08);
  box-shadow: 0 18px 38px rgba(8, 56, 111, 0.08);
}

.distinction-panel {
  padding: 0;
  background: linear-gradient(160deg, #071a32 0%, #0a3768 56%, #194c79 100%);
  color: #fff;
  border: 0;
  box-shadow: 0 16px 32px rgba(7, 26, 50, 0.22);
}

.distinction-visual {
  min-height: 100%;
  border-radius: var(--radius-md);
  padding: 1.45rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.distinction-visual .pill {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

.distinction-visual h3 {
  margin-top: 0.95rem;
  color: #fff;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1.12;
}

.distinction-visual p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 34ch;
}

.distinction-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.distinction-badges span {
  padding: 0.58rem 0.84rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.84rem;
  font-weight: 700;
}

.distinction-copy {
  display: grid;
  align-content: start;
}

.distinction-copy h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.4rem);
}

.distinction-copy .lead {
  max-width: 56ch;
}

.distinction-points {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.distinction-point {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.95));
  border: 1px solid rgba(8, 56, 111, 0.08);
  border-left: 4px solid rgba(11, 77, 155, 0.28);
  border-radius: var(--radius-md);
  padding: 1rem 1.05rem;
  box-shadow: 0 10px 24px rgba(8, 56, 111, 0.05);
}

.distinction-point strong {
  display: block;
  color: var(--brand-blue-dark);
  font-family: "Sora", sans-serif;
  font-size: 1.02rem;
}

.distinction-point p {
  margin-top: 0.42rem;
  color: var(--muted);
}

section {
  padding: 3.6rem 0;
}

main > section:nth-of-type(even) {
  background: #d2dee7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-overview {
  background: #d2dee7;
}

.home .service-overview {
  margin-top: -2.7rem;
  padding-top: 5.4rem;
  position: relative;
  z-index: 2;
}

.section-head {
  margin-bottom: 1.4rem;
}

.service-head {
  text-align: center;
  margin-bottom: 2.3rem;
}

.service-head span {
  display: block;
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 0.35rem;
}

.section-head h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.service-head h2 {
  font-size: 2.55rem;
}

.section-head p {
  margin-top: 0.7rem;
  color: var(--muted);
  max-width: 58ch;
}

.service-head p {
  max-width: none;
  color: #18263b;
  font-size: 1.12rem;
}

.grid-3,
.grid-4 {
  display: grid;
  gap: 1.6rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.service-grid.grid-4,
.service-grid.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.service-grid {
  gap: 1.8rem;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.service-card,
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-grid .service-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  text-align: center;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(20, 35, 58, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-grid .service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--brand-green);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.service-grid .service-card:hover,
.service-grid .service-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(11, 77, 155, 0.18);
}

.service-grid .service-card:hover::after,
.service-grid .service-card:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.service-grid .service-card:focus-visible {
  outline: 3px solid rgba(11, 77, 155, 0.28);
  outline-offset: 4px;
}

.service-card-media {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  border: 1px solid rgba(8, 56, 111, 0.08);
}

.service-grid .service-card-media {
  height: 176px;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.home .service-overview .service-card:nth-child(1) .service-card-media {
  object-position: center 80%;
}

.home .service-overview .service-card:nth-child(2) .service-card-media {
  object-position: center 52%;
}

.home .service-overview .service-card:nth-child(3) .service-card-media {
  object-position: center 22%;
}

.services-list .service-card-media {
  height: 220px;
  object-fit: cover;
  object-position: center 45%;
}

.services-list .service-card:nth-child(1) .service-card-media,
.services-list .service-card:nth-child(8) .service-card-media,
.services-list .service-card:nth-child(10) .service-card-media,
.services-list .service-card:nth-child(11) .service-card-media {
  object-position: center 80%;
}

.services-list .service-card:nth-child(5) .service-card-media,
.services-list .service-card:nth-child(7) .service-card-media,
.services-list .service-card:nth-child(9) .service-card-media,
.services-list .service-card:nth-child(12) .service-card-media {
  object-position: center 22%;
}

.services-list .service-card:nth-child(2) .service-card-media,
.services-list .service-card:nth-child(3) .service-card-media,
.services-list .service-card:nth-child(4) .service-card-media,
.services-list .service-card:nth-child(7) .service-card-media {
  object-position: center 52%;
}

.services-list .service-card:nth-child(6) .service-card-media {
  object-position: center 8%;
}

.service-grid .service-card h3 {
  min-height: 88px;
  display: grid;
  place-items: center;
  padding: 1rem 1.15rem;
  font-size: 1.08rem;
  line-height: 1.35;
  color: #0d1728;
  background: rgba(255, 255, 255, 0.96);
}

.service-grid .service-card p {
  display: none;
}

.service-more {
  display: block;
  position: relative;
  margin-top: 0.1rem;
  padding: 0 1.15rem 1.15rem;
  color: var(--brand-blue);
  font-size: 0.92rem;
  font-weight: 800;
}

.service-more::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin: 0 auto 0.62rem;
  border-radius: 999px;
  background: rgba(11, 77, 155, 0.28);
}

.service-card p,
.info-card p {
  color: var(--muted);
  margin-top: 0.35rem;
  font-size: 0.93rem;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin-top: 1rem;
  color: #294969;
  font-size: 0.9rem;
  font-weight: 700;
}

.trust-line li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-line li::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--brand-green);
}

.home .hero .trust-line {
  gap: 0.85rem;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.84rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.58);
}

.home .hero .trust-line li {
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.home .hero .trust-line li::before {
  width: 0.36rem;
  height: 0.36rem;
  box-shadow: 0 0 10px rgba(115, 191, 69, 0.6);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.contact-form-section {
  padding: 3rem 0;
}

.contact-office-section {
  padding: 3rem 0;
}

.contact-info,
form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.contact-info {
  background: #08386f;
  color: #fff;
  border: 1px solid rgba(8, 56, 111, 0.2);
}

.contact-info h2 {
  color: #fff;
  margin-top: 0.7rem;
}

.contact-intro {
  color: rgba(255, 255, 255, 0.92);
  margin-top: 0.7rem;
}

.contact-methods {
  margin-top: 1rem;
  display: grid;
  gap: 0.6rem;
}

.contact-method {
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  padding: 0.72rem 0.8rem;
  display: grid;
  gap: 0.1rem;
}

.contact-method strong {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.92;
}

.contact-method span {
  font-size: 1rem;
  font-weight: 700;
}

.contact-info ul {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.93);
}

.contact-info li {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.92rem;
}

.contact-info li b {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.86;
}

.contact-note {
  margin-top: 0.9rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 0.72rem;
  font-size: 0.88rem;
}

.contact-office-image {
  display: block;
  width: 100%;
  height: 220px;
  margin-top: 0.9rem;
  border-radius: var(--radius-md);
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

form {
  display: grid;
  gap: 0.75rem;
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.87rem;
  font-weight: 700;
  color: #19385b;
}

input,
textarea,
select {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(8, 56, 111, 0.18);
  padding: 0.72rem 0.75rem;
  font: inherit;
  color: var(--ink);
  background: #fbfdff;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 500;
}

.consent input {
  width: 16px;
  height: 16px;
  margin-top: 0.15rem;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.field-hint {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.jobs-section,
.application-section,
.admin-section {
  background: #d2dee7;
}

.jobs-list,
.admin-job-list {
  display: grid;
  gap: 1rem;
}

.job-card {
  width: 100%;
  padding: 1.3rem;
}

.job-card-trigger {
  border: 1px solid var(--line);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.job-card-trigger:hover,
.job-card-trigger:focus-visible {
  border-color: rgba(11, 77, 155, 0.35);
  box-shadow: 0 16px 30px rgba(11, 77, 155, 0.15);
  transform: translateY(-2px);
}

.job-card-top,
.admin-job-card,
.admin-card-actions,
.admin-header-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.job-card h3,
.admin-job-card h3 {
  margin-top: 0.7rem;
}

.job-card p,
.admin-job-card p,
.empty-state p {
  margin-top: 0.55rem;
  color: var(--muted);
}

.job-card h4 {
  margin-top: 1rem;
  color: var(--brand-blue-dark);
}

.job-card ul {
  margin: 0.55rem 0 1rem 1.2rem;
  color: var(--muted);
}

.job-location,
.status-badge {
  border-radius: var(--radius-sm);
  padding: 0.42rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.job-location {
  background: rgba(11, 77, 155, 0.08);
  color: var(--brand-blue-dark);
}

.job-meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.job-card-more {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--brand-blue);
  font-size: 0.9rem;
  font-weight: 800;
}

.job-card-more::after {
  content: " ->";
}

.job-dialog {
  width: min(680px, 92vw);
  max-height: 86vh;
  margin: auto;
  border: 0;
  border-radius: var(--radius-md);
  padding: 0;
  background: var(--white);
  box-shadow: 0 24px 56px rgba(8, 20, 38, 0.3);
}

.job-dialog::backdrop {
  background: rgba(8, 20, 38, 0.62);
}

.job-dialog-head,
.job-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem;
}

.job-dialog-head {
  border-bottom: 1px solid var(--line);
}

.job-dialog-head h3 {
  margin: 0.7rem 0;
}

.job-dialog-close {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #f5f8fb;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
}

.job-dialog-content {
  max-height: 52vh;
  overflow-y: auto;
  padding: 1.2rem;
  color: var(--muted);
}

.job-dialog-content h4 {
  margin-top: 1rem;
  color: var(--brand-blue-dark);
}

.job-dialog-content ul {
  margin: 0.55rem 0 0 1.2rem;
}

.job-dialog-actions {
  justify-content: flex-start;
  border-top: 1px solid var(--line);
}

.empty-state {
  padding: 1.4rem;
}

.admin-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.admin-login {
  max-width: 560px;
}

.admin-editor {
  align-self: start;
}

.admin-side-column {
  display: grid;
  gap: 1rem;
}

.admin-job-card {
  padding: 1rem;
}

.admin-card-actions form {
  padding: 0;
  border: 0;
  background: transparent;
}

.btn-danger {
  background: #a62d2d;
  color: var(--white);
}

.status-active {
  background: rgba(70, 145, 53, 0.14);
  color: #306b25;
}

.status-draft {
  background: rgba(70, 88, 111, 0.12);
  color: var(--muted);
}

.notice {
  margin-bottom: 1rem;
  border: 1px solid rgba(70, 145, 53, 0.22);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  background: rgba(115, 191, 69, 0.12);
  color: #28551f;
  font-weight: 700;
}

.notice-error {
  border-color: rgba(166, 45, 45, 0.22);
  background: rgba(166, 45, 45, 0.1);
  color: #832323;
}

.admin-checkbox {
  margin-top: 0.3rem;
}

footer {
  padding: 1.25rem 0 2.2rem;
  color: #3c5777;
  font-size: 0.87rem;
  background: #d2dee7;
}

footer a {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

footer a:hover {
  color: var(--brand-blue);
}

.stack-title {
  margin-top: 0.7rem;
}

.text-stack {
  margin-top: 0.7rem;
}

.section-cta {
  margin-top: 1rem;
}

.legal-hero {
  padding-bottom: 1.8rem;
}

.legal-section {
  padding-top: 0;
  background: #d2dee7;
}

.legal-content {
  max-width: 1040px;
}

.legal-panel {
  padding: 1.6rem;
}

.legal-panel h2 {
  margin-top: 1.4rem;
  font-size: 1.15rem;
}

.legal-panel h2:first-child {
  margin-top: 0;
}

.legal-panel p {
  margin-top: 0.55rem;
  color: var(--muted);
}

.legal-panel a {
  color: var(--brand-blue);
  font-weight: 700;
}

.focus-section {
  background: linear-gradient(180deg, #c8d6e0 0%, #bccbd8 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.focus-card {
  min-height: 260px;
  position: relative;
  display: grid;
  align-content: end;
  gap: 0.45rem;
  overflow: hidden;
  padding: 1.2rem;
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.focus-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 21, 40, 0.08) 0%, rgba(6, 21, 40, 0.72) 100%);
}

.focus-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.focus-card:hover img {
  transform: scale(1.03);
}

.focus-card span {
  width: fit-content;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  padding: 0.36rem 0.62rem;
  font-weight: 800;
  font-size: 0.86rem;
}

.focus-card strong {
  max-width: 46ch;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.25;
}

.focus-card em {
  width: fit-content;
  margin-top: 0.15rem;
  padding: 0.48rem 0.8rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand-blue);
  border: 1px solid rgba(255, 255, 255, 0.72);
  font-style: normal;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 10px 20px rgba(10, 28, 53, 0.16);
}

.focus-card em::after {
  content: " ->";
}

.focus-card:hover em,
.focus-card:focus-visible em {
  background: #ffffff;
  transform: translateY(-1px);
}

.footer-line {
  border-top: 1px solid rgba(8, 56, 111, 0.13);
  padding-top: 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 1280px) {
  .home .hero {
    background-position: 64% top;
  }
}

@media (max-width: 1020px) {
  .hero-wrap,
  .two-col,
  .combined-grid,
  .contact-wrap,
  .color-system-grid,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .home .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(14, 28, 48, 0.76) 0%, rgba(14, 28, 48, 0.58) 46%, rgba(14, 28, 48, 0.82) 100%),
      url("assets/hero-bild.webp") 68% top / cover no-repeat;
    padding-bottom: 5rem;
  }

  .home .hero-wrap {
    min-height: 0;
    align-content: start;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid.grid-4,
  .service-grid.grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-head h2 {
    font-size: 2rem;
  }

  .color-wheel {
    width: min(100%, 360px);
  }

}

@media (max-width: 900px) {
  .nav {
    position: relative;
    min-height: 72px;
    padding: 0.45rem 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(8, 56, 111, 0.12);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 30px rgba(8, 56, 111, 0.16);
    padding: 0.9rem;
    display: grid;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav.nav-open .nav-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links {
    display: grid;
    gap: 0.15rem;
  }

  .nav-links a {
    display: block;
    border-bottom: 0;
    padding: 0.65rem 0.2rem;
    border-radius: 8px;
  }

  .nav-links a.active {
    border-bottom: 0;
    background: rgba(11, 77, 155, 0.08);
    padding-left: 0.5rem;
  }

  .nav-cta {
    width: 100%;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .home .hero {
    background:
      radial-gradient(520px 380px at 30% 50%, rgba(2, 8, 18, 0.68) 0%, rgba(2, 8, 18, 0.34) 55%, rgba(2, 8, 18, 0) 78%),
      linear-gradient(180deg, rgba(14, 28, 48, 0.56) 0%, rgba(14, 28, 48, 0.46) 48%, rgba(14, 28, 48, 0.82) 100%),
      url("assets/hero-bild.webp") 74% top / cover no-repeat;
    padding-bottom: 8rem;
  }

  .home .hero-wrap {
    min-height: 0;
    padding-bottom: 0.6rem;
  }

  .home .hero .trust-line {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.34rem;
    margin-top: 1rem;
    font-size: 0.86rem;
    line-height: 1.25;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.86);
  }

  .home .hero .trust-line li {
    width: fit-content;
  }

  .fields,
  .grid-4,
  .grid-3,
  .service-grid.grid-4,
  .service-grid.grid-3,
  .focus-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    gap: 1.2rem;
  }

  .services-list .service-card-media {
    height: 240px;
  }

  .comparison-section {
    padding-top: 4.4rem;
  }

  .comparison-slider {
    min-height: 280px;
  }

  .color-system-panel {
    padding: 1rem;
  }

  .wheel-label {
    font-size: 0.95rem;
  }

  .wheel-label-red {
    right: 3%;
  }

  .wheel-label-green {
    left: 12%;
  }

  .hero-actions .btn,
  form .btn {
    width: 100%;
  }

  .footer-line {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container {
    width: 92vw;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand strong {
    font-size: 0.82rem;
    max-width: 220px;
  }

  .brand span {
    font-size: 0.7rem;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  h1 {
    max-width: 14ch;
  }

  .lead {
    font-size: 0.98rem;
  }

  .service-head h2 {
    font-size: 1.85rem;
  }

  .service-head p {
    font-size: 1rem;
  }

  section {
    padding: 2.8rem 0;
  }
}

