/* CFI Premium-System: ruhige Typografie, klare Hierarchie, eine Akzentfarbe */
:root {
  --premium-navy: #001d3e;
  --premium-blue: #0150aa;
  --premium-ink: #10243a;
  --premium-copy: #5c6c7c;
  --premium-line: #dce5ee;
  --premium-soft: #f5f8fb;
}

body {
  color: var(--premium-ink);
  line-height: 1.6;
}

.site-header,
.site-footer { background: var(--premium-navy); }

.main-nav { gap: 8px; }
.main-nav a {
  padding-inline: 15px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.main-nav a:hover,
.main-nav a.active { color: #fff; }

.kicker,
.home-page .kicker {
  margin-bottom: 11px;
  color: var(--premium-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero .kicker,
.service-page-hero .kicker,
.area-page-hero .kicker { color: #9fc9f4; }

.button,
.area-link,
.form-submit {
  border-radius: 8px;
  font-size: 14px;
  letter-spacing: -.01em;
}

/* Startseite */
.home-page .hero {
  height: 420px;
  background-image:
    linear-gradient(90deg, rgba(0,20,43,.97) 0%, rgba(0,29,62,.86) 39%, rgba(0,31,64,.28) 68%, rgba(0,20,43,.02) 100%),
    url('/images/hero.webp');
}
.home-page .hero-content { padding-top: 48px; }
.home-page .hero h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(44px, 4.5vw, 58px);
  line-height: 1.02;
  letter-spacing: -2.1px;
}
.home-page .hero-text {
  max-width: 610px;
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 1.65;
}
.home-page .hero-actions { margin-block: 24px 20px; }
.home-page .hero-trust { gap: 12px 30px; margin-top: 0; }
.home-page .hero-trust span { color: rgba(255,255,255,.72); font-size: 12px; }

.home-page .seo-intro { padding: 92px 0 56px; }
.home-page .seo-intro-layout {
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.home-page .seo-intro h2 {
  max-width: 560px;
  margin: 0;
  color: var(--premium-ink);
  font-size: clamp(38px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -1.6px;
}
.home-page .seo-intro-copy {
  padding-top: 0;
  border-top: 0;
  border-left: 2px solid var(--premium-blue);
  padding-left: 32px;
}
.home-page .seo-intro-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--premium-copy);
  font-size: 17px;
  line-height: 1.75;
}
.home-page .seo-facts { margin-top: 54px; }
.home-page .seo-facts div { min-height: 76px; padding: 16px 26px; }
.home-page .seo-facts strong { color: var(--premium-ink); font-size: 16px; }
.home-page .seo-facts span { margin-top: 2px; color: var(--premium-copy); font-size: 12px; }

.home-page .services { padding: 96px 0 104px; background: var(--premium-soft); }
.home-page .services h2 {
  max-width: 850px;
  color: var(--premium-ink);
  font-size: clamp(36px, 3.5vw, 46px);
  line-height: 1.1;
}
.home-page .services .section-copy {
  margin: 12px 0 36px;
  color: var(--premium-copy);
  font-size: 15px;
}
.home-page .service-grid { gap: 18px; }
.home-page .service-card {
  border-color: var(--premium-line);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,34,73,.045);
}
.home-page .service-card:hover {
  transform: translateY(-3px);
  border-color: #b9cee3;
  box-shadow: 0 16px 34px rgba(0,34,73,.085);
}
.home-page .service-image { height: 205px; }
.home-page .service-card-primary .service-image { height: 260px; }
.home-page .service-card-compact .service-image { height: 180px; }
.home-page .service-body,
.home-page .service-card-primary .service-body,
.home-page .service-card-compact .service-body {
  min-height: 154px;
  padding: 22px 22px 20px;
}
.home-page .service-card-compact .service-body { min-height: 170px; }
.home-page .service-body h3,
.home-page .service-card-compact .service-body h3 {
  margin-bottom: 7px;
  color: var(--premium-ink);
  font-size: 18px;
  line-height: 1.3;
}
.home-page .service-body p {
  color: var(--premium-copy);
  font-size: 14px;
  line-height: 1.55;
}
.home-page .service-more { margin-top: 14px; color: var(--premium-blue); font-size: 12px; }

.home-page .service-area-section { padding-block: 96px; }
.home-page .service-area-heading { margin-bottom: 34px; }
.home-page .service-area-heading h2,
.home-page .why-us > h2,
.home-page .process-heading h2,
.home-page .faq-intro h2,
.home-page .form-intro h2 {
  color: var(--premium-ink);
  font-size: clamp(34px, 3.7vw, 46px);
  line-height: 1.1;
  letter-spacing: -1.35px;
}
.home-page .service-area-heading p:not(.kicker) {
  max-width: 560px;
  color: var(--premium-copy);
  font-size: 15px;
}

.home-page .trust { padding: 96px 0; background: #eef3f8; }
.home-page .trust-grid { gap: 70px; }
.home-page .why-us-intro {
  margin: 14px 0 30px;
  color: var(--premium-copy);
  font-size: 16px;
}
.home-page .quality-grid { gap: 0 30px; }
.home-page .quality-grid article {
  min-height: 104px;
  padding: 20px 0;
  border-color: #d5e0ea;
}
.home-page .quality-grid h3 { margin-bottom: 4px; color: var(--premium-ink); font-size: 17px; }
.home-page .quality-grid p { color: var(--premium-copy); font-size: 13px; }
.home-page .growth-card {
  min-height: 100%;
  padding: 44px;
  border-radius: 16px;
  background: linear-gradient(125deg, #003b7c, #001d3e);
}
.home-page .growth-card h2 { font-size: clamp(29px, 2.7vw, 38px); }
.home-page .growth-card p { max-width: 440px; margin-bottom: 24px; font-size: 15px; }

.home-page .work-process { padding: 96px 0; }
.home-page .process-heading { margin-bottom: 34px; }
.home-page .process-grid article {
  min-height: 158px;
  padding: 26px 26px 28px;
}
.home-page .process-grid article > span {
  color: #6e9fce;
  font-size: 13px;
  letter-spacing: .1em;
}
.home-page .process-grid h3 { margin: 24px 0 6px; color: var(--premium-ink); font-size: 18px; }
.home-page .process-grid article p { color: var(--premium-copy); font-size: 13px; }

.home-page .faq-section { padding: 96px 0; background: var(--premium-soft); }
.home-page .faq-layout { gap: 84px; }
.home-page .faq-intro > p:not(.kicker) { color: var(--premium-copy); font-size: 15px; }
.home-page .faq-list summary { padding-block: 22px; color: var(--premium-ink); font-size: 15px; }
.home-page .faq-list details p { color: var(--premium-copy); font-size: 14px; line-height: 1.65; }

.home-page .contact-form-section { padding: 100px 0; }
.home-page .form-intro > p:not(.kicker) {
  max-width: 520px;
  color: var(--premium-copy);
  font-size: 16px;
}
.home-page .contact-form {
  border-color: var(--premium-line);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(0,34,73,.07);
}

/* Leistungsseiten */
.service-page-hero { padding: 32px 0 72px; }
.service-hero-grid { gap: 70px; }
.service-hero-copy h1 {
  max-width: 650px;
  font-size: clamp(42px, 5.2vw, 60px);
  letter-spacing: -1.9px;
}
.service-hero-copy > p:not(.kicker) {
  max-width: 560px;
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.7;
}
.service-overview { padding: 92px 0; }
.service-content-grid { gap: 80px; }
.service-main-copy h2 {
  font-size: clamp(34px, 3.8vw, 44px);
  letter-spacing: -1.2px;
}
.service-main-copy > p:not(.kicker) {
  max-width: 68ch;
  color: var(--premium-copy);
  font-size: 15px;
  line-height: 1.75;
}
.service-feature-list li,
.service-side-card { border-color: var(--premium-line); background: #f7f9fc; }
.service-faq-section { padding: 88px 0; background: var(--premium-soft); }

/* Einsatzgebiet-Seite */
.area-page-hero { padding: 74px 0 48px; }
.area-page-hero h1 {
  font-size: clamp(42px, 5vw, 58px);
  letter-spacing: -1.8px;
}
.area-page-hero > .container > p:not(.kicker) {
  max-width: 680px;
  color: rgba(255,255,255,.78);
  font-size: 16px;
}
.area-page-map { padding: 52px 0 78px; }
.area-list-section { padding: 88px 0 96px; }
.area-list-heading h2 { font-size: clamp(34px, 3.7vw, 44px); }
.area-list-heading p:not(.kicker) { color: var(--premium-copy); font-size: 15px; }
.area-group {
  border-color: var(--premium-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0,34,73,.045);
}
.area-places li { color: var(--premium-copy); font-size: 13px; }
.area-regions { border-radius: 14px; }

@media (max-width: 820px) {
  .home-page .seo-intro-layout { grid-template-columns: 1fr; gap: 32px; }
  .home-page .seo-intro-copy { padding-left: 24px; }
  .home-page .services,
  .home-page .service-area-section,
  .home-page .trust,
  .home-page .work-process,
  .home-page .faq-section,
  .home-page .contact-form-section { padding-block: 70px; }
  .service-hero-grid,
  .service-content-grid { gap: 44px; }
}

@media (max-width: 620px) {
  .main-nav a { font-size: 15px; }
  .home-page .hero { min-height: 500px; }
  .home-page .hero h1 { font-size: 36px; letter-spacing: -1.1px; }
  .home-page .seo-intro { padding-block: 64px 42px; }
  .home-page .seo-intro h2,
  .home-page .services h2,
  .home-page .service-area-heading h2,
  .home-page .why-us > h2,
  .home-page .process-heading h2,
  .home-page .faq-intro h2,
  .home-page .form-intro h2 { font-size: 32px; letter-spacing: -.9px; }
  .home-page .seo-intro-copy p { font-size: 16px; }
  .home-page .service-body,
  .home-page .service-card-primary .service-body,
  .home-page .service-card-compact .service-body { min-height: 0; }
  .home-page .growth-card { padding: 34px 28px; }
  .area-page-hero h1,
  .service-hero-copy h1 { font-size: 38px; letter-spacing: -1.1px; }
}

/* Cinematic Video-Hero */
.home-page .hero {
  position: relative;
  isolation: isolate;
  height: 468px;
  overflow: hidden;
  background-color: var(--premium-navy);
  background-image: none;
}
.home-page .hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #001d3e 0%, #001d3e 43%, rgba(0,29,62,.94) 50%, rgba(0,29,62,.44) 61%, rgba(0,29,62,.08) 76%, transparent 100%);
}
.hero-video-shell {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 48%;
  overflow: hidden;
  background: #082847;
}
.hero-video-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,18,40,.12), transparent 35%, rgba(0,18,40,.12));
}
.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.home-page .hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  padding-block: 0;
  flex-direction: column;
  justify-content: center;
}
.home-page .hero-content > * { max-width: 590px; }
.home-page .hero h1 {
  margin-bottom: 20px;
  font-size: clamp(48px, 4.35vw, 58px);
  line-height: 1.04;
  letter-spacing: -2px;
  text-wrap: balance;
}
.home-page .hero-text {
  max-width: 540px;
  font-size: 16px;
  line-height: 1.7;
}
.home-page .hero-actions { margin-block: 27px 0; }
.home-page .hero-actions .button { min-width: 178px; }
@media (max-width: 980px) {
  .hero-video-shell { left: 42%; }
  .home-page .hero::before { background: linear-gradient(90deg, #001d3e 0%, rgba(0,29,62,.97) 46%, rgba(0,29,62,.66) 67%, rgba(0,29,62,.18) 100%); }
}

@media (max-width: 820px) {
  .home-page .hero { min-height: 540px; }
  .hero-video-shell { inset: 0; }
  .home-page .hero::before { background: linear-gradient(90deg, rgba(0,29,62,.98) 0%, rgba(0,29,62,.88) 58%, rgba(0,29,62,.48) 100%); }
  .home-page .hero-content { padding-block: 50px 64px; }
}

@media (max-width: 620px) {
  .home-page .hero { min-height: 500px; }
  .hero-video { object-position: 62% center; }
  .home-page .hero::before {
    background: linear-gradient(90deg, rgba(0,29,62,.78) 0%, rgba(0,29,62,.62) 58%, rgba(0,29,62,.4) 100%);
  }
  .home-page .hero-content { padding-block: 48px 58px; }
  .home-page .hero h1 { max-width: 11ch; font-size: 40px; line-height: 1.04; letter-spacing: -1.35px; }
  .home-page .hero-text { max-width: 38ch; font-size: 15px; }
  .home-page .hero .kicker,
  .home-page .hero h1,
  .home-page .hero-text {
    text-shadow: 0 2px 14px rgba(0, 15, 33, .72);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

/* Premium-Kontaktbereich */
.home-page .contact-form-section {
  padding-block: 100px;
  background: #fff;
}
.home-page .contact-form-layout {
  grid-template-columns: minmax(330px,.82fr) minmax(0,1.18fr);
  gap: clamp(54px,7vw,88px);
}
.home-page .form-intro {
  top: 96px;
  padding: 0;
}
.home-page .form-intro h2 {
  max-width: 520px;
  margin-bottom: 16px;
  font-size: clamp(38px,4vw,48px);
  line-height: 1.08;
  letter-spacing: -1.45px;
}
.home-page .form-intro > p:not(.kicker) {
  max-width: 420px;
  margin-bottom: 24px;
  color: var(--premium-copy);
  font-size: 15px;
}
.contact-details-list {
  max-width: 440px;
  border-top: 1px solid var(--premium-line);
}
.contact-detail-item {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--premium-line);
}
.contact-detail-icon,
.contact-clock-icon {
  width: 25px;
  height: 25px;
  margin-top: 0;
  color: var(--premium-blue);
}
.contact-detail-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-clock-icon {
  position: relative;
  display: block;
  border: 1.7px solid currentColor;
  border-radius: 50%;
}
.contact-clock-icon::before,
.contact-clock-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: 50% 100%;
}
.contact-clock-icon::before { height: 7px; transform: translate(-50%,-100%); }
.contact-clock-icon::after { height: 6px; transform: translate(-50%,-100%) rotate(120deg); }
.contact-detail-item span:not(.contact-clock-icon) {
  display: block;
  margin-bottom: 5px;
  color: #758391;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.contact-detail-item a,
.contact-detail-item address,
.contact-detail-item p,
.contact-detail-item .protected-email {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--premium-ink);
  font: inherit;
  font-size: 14px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.55;
  text-decoration: none;
}
.contact-detail-item a,
.contact-detail-item .protected-email {
  color: var(--premium-blue);
  cursor: pointer;
}
.contact-detail-item a:hover,
.contact-detail-item .protected-email:hover {
  text-decoration: underline;
}
.home-page .contact-form {
  padding: clamp(28px,4vw,42px);
  border: 1px solid rgba(1,80,170,.1);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(0,34,73,.07);
}
.home-page .contact-form input,
.home-page .contact-form select,
.home-page .contact-form textarea {
  border-color: #dce5ee;
  border-radius: 9px;
  background: #f8fafc;
}
.home-page .contact-form input:focus,
.home-page .contact-form select:focus,
.home-page .contact-form textarea:focus {
  border-color: #6aa6e5;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(1,80,170,.09);
}

@media (max-width: 950px) {
  .home-page .contact-form-layout { grid-template-columns: 1fr; gap: 46px; }
  .home-page .form-intro { max-width: none; }
  .home-page .contact-details-list { max-width: 680px; }
}

@media (max-width: 620px) {
  .home-page .contact-form-section { padding-block: 70px; }
  .home-page .form-intro h2 { max-width: 11ch; font-size: 36px; letter-spacing: -1.1px; }
  .home-page .form-intro > p:not(.kicker) { max-width: 32ch; margin-bottom: 24px; }
  .contact-detail-item { padding-block: 16px; }
}

/* Einheitliche 4:3-Leistungskarten ohne Beschnitt auf allen Bildschirmgrößen. */
.home-page .service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.home-page .service-card-uniform { grid-column: auto; }

.home-page .service-card-uniform .service-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  background: #eef3f8;
}

.home-page .service-card-uniform .service-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.home-page .service-card-uniform:hover .service-image img { transform: none; }

.home-page .service-card-uniform .service-body {
  min-height: 166px;
  padding: 22px 22px 20px;
}

.home-page .service-card-uniform .service-body h3 {
  margin-bottom: 7px;
  font-size: 18px;
  line-height: 1.3;
}

/* Auch die Leistungsseiten zeigen das vollständige 4:3-Motiv. */
.service-hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  background: #eef3f8;
}

.service-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 1100px) {
  .home-page .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .service-card-uniform .service-body { min-height: 180px; }
}

@media (max-width: 620px) {
  .home-page .service-grid { grid-template-columns: 1fr; }
  .home-page .service-card-uniform .service-body { min-height: 0; padding: 22px 20px; }
}

/* Das neue Hero-Video bleibt auf größeren Bildschirmen im gelieferten 4:3-Format. */
@media (min-width: 821px) {
  .hero-video-shell {
    inset: 0 0 0 auto;
    width: auto;
    height: 100%;
    aspect-ratio: 4 / 3;
  }

  .hero-video {
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 820px) {
  .hero-video-shell {
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }
}
