/* =========================================================
   ROOT VARIABLES — MINIMAL, PROFESSIONAL, BLUE THEME
========================================================= */

:root {
  /* BRAND COLORS */
  --color-primary: #0a3d91;        /* kräftiges, seriöses Blau */
  --color-secondary: #1859a3;      /* helleres Blau für Akzente */
  --color-accent: #000000;         /* Schwarz als tertiäre Akzentfarbe */

  /* BACKGROUND SYSTEM */
  --color-bg-dark: #eef3fa;        /* sehr helles, leicht bläuliches Grau */
  --color-bg-panel: #ffffff;       /* Panels wirklich weiß */

  /* TEXT SYSTEM */
  --color-text: #0a3d91;           /* Primärtext blau */
  --color-text-btn: #ffffff;       /* Primärtext blau */
  --color-text-muted: #5a6b85;     /* gedämpftes Blau/Grau */
  --text-size: 1.2rem;               /* Standardgröße für Paragraphen */

  /* BORDERS & SHADOWS */
  --color-border: rgba(0,0,0,0.08);
  --color-shadow: rgba(0,0,0,0.12);

  /* GLOWS */
  --color-glow: rgba(31,118,219,0.25);

  /* GRADIENT SYSTEM */
  --gradient-hero: linear-gradient(rgba(0, 0, 0, 0.8), #ffffff);
  --gradient-soft: linear-gradient(180deg, #ffffff, #eef3fa);
  --gradient-panel: radial-gradient(circle at top left, #dce7f7, #ffffff 70%);
  --gradient-section: linear-gradient(180deg, #ffffff, #dce7f7 40%, #ffffff);
  --gradient-section-reversed: linear-gradient(180deg, #eef3fa, #dce7f7 50%, #ffffff);
}


/* =========================================================
   GLOBAL RESET & BASICS
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background: var(--color-bg-dark);
  color: var(--color-text);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================================================
   LAYOUT BASICS
========================================================= */

.container {
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background: var(--gradient-soft);
}

h1, h2, h3 {
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.section-label {
  font-size: var(--text-size);;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-headline-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.section-subtitle {
  font-size: var(--text-size);;
  color: var(--color-text-muted);
  max-width: 520px;
}
/* =========================================================
   NAVIGATION
========================================================= */

header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: none;
  display: flex;
  justify-content: center;
}

.nav {
  margin-top: .5rem;
  width: 90rem;
  background: linear-gradient(
    to right,
    rgba(31, 118, 219, .1) 0%,
    transparent 16.6%,
    rgba(31, 118, 219, .1) 33.3%,
    transparent 50%,
    rgba(31, 118, 219, .1) 66.7%,
    transparent 83.3%,
    rgba(31, 118, 219, .1) 100%
  );
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5rem;
  border-radius: 100rem;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.18em;
  margin-right: 1rem;
}

.logo:hover {
  transform: scale(1.1);
  color: var(--color-accent);
  text-shadow: 0 0 20px var(--color-accent);
  transition-duration: 300ms;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.nav-links a {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  font-size: var(--text-size);
  color: var(--color-secondary);
  transition-duration: 300ms;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 0%;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--color-secondary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.6rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--color-primary);
  color: var(--color-text-btn);
  box-shadow: 0 0 0 0 var(--color-glow);
}

.btn:hover {
  background: var(--color-secondary);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px var(--color-glow);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-text);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background: rgba(0, 87, 184, 0.08);
  box-shadow: 0 10px 26px var(--color-shadow);
}

/* =========================================================
   HERO SECTION
========================================================= */

.hero {
  margin-top: -5rem;
  padding: 0;
  height: 95vh;
  background-image: url("img/bg.jpg");
  background-size: cover;
  background-position: center;
}

.hero-grid {
  padding: 5rem;
  padding-top: 8rem;
  width: inherit;
  height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 4fr);
  gap: 3rem;
  align-items: center;
  background: var(--gradient-hero);
}

.hero-kicker {
  font-size: var(--text-size);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.hero-title {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-title span {
  color: var(--color-primary);
}

.hero-sub {
  font-size: 0.98rem;
  color: var(--color-accent);
  max-width: 460px;
  margin-bottom: 1.8rem;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.7rem;
}

/* HERO RIGHT CARD */
.hero-right-card {
  position: relative;
  background: var(--gradient-panel);
  border-radius: 26px;
  padding: 1.4rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 40px 90px var(--color-shadow);
  overflow: hidden;
}

.hero-card-body {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 4fr);
  gap: 1rem;
  align-items: stretch;
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  gap: 1rem;
}

.hero-card-title {
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-secondary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-card-headline {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-badge {
  width: 50%;
  text-align: center;
  font-size: var(--text-size);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--color-bg-dark);
  font-weight: 600;
}

/* HERO MAP */

.hero-map {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--gradient-soft);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-map-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0.6rem;
}

.hero-map-thumb {
  position: relative;
  border-radius: 14px;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  font-size: 0.85rem;
  text-align: center;
  overflow: hidden;
}

.hero-map-tag {
  position: absolute;
  bottom: 0.6rem;
  left: 0.9rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #000;
}

/* HERO STATUS PANEL */

.hero-status-panel {
  border-radius: 18px;
  padding: 1rem;
  background: var(--gradient-panel);
  border: 1px solid var(--color-primary);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  justify-content: space-between;
}

.hero-status-col {
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero-status-value {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-text);
}

/* =========================================================
   ABOUT SECTION
========================================================= */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 3fr);
  gap: 2.5rem;
  align-items: start;
}

.about-text {
  font-size: var(--text-size);
  color: var(--color-text-muted);
  margin-bottom: 1.6rem;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .blueprint-card-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .feature-item {
    padding: 0.6rem 0.8rem;
  }
}

.timeline-about {
  position: relative;
  overflow: hidden;
}

/* LEFT SIDE REWORK */
.about-left {
  position: relative;
  z-index: 1;
}

.about-tags {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.about-tag {
  font-size: 01rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,0.03);
  color: var(--color-text);
}

.about-meta {
  margin-top: 1.8rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.about-meta-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--color-secondary);
}

/* RIGHT SIDE – TIMELINE CARD */
.about-timeline-card {
  position: relative;
  background: var(--gradient-panel);
  border-radius: 22px;
  border: 1px solid var(--color-border);
  padding: 1.8rem 1.6rem;
  box-shadow: 0 28px 80px rgba(0,0,0,0.55);
  overflow: hidden;
  transition-duration: 300ms;
}

/* Parallax container */
.timeline-parallax {
  position: relative;
  padding-left: 2rem;
}

/* Vertical line */
.timeline-line {
  position: absolute;
  left: 1.05rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.08),
    rgba(0,184,255,0.8),
    rgba(255,255,255,0.08)
  );
  opacity: 0.7;
}

/* Timeline steps */
.timeline-step {
  position: relative;
  margin-bottom: 1.8rem;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

/* Dot */
.timeline-dot {
  position: absolute;
  left: -1.35rem;
  top: 0.4rem;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: var(--color-accent);
  box-shadow: 0 0 0 6px rgba(0,184,255,0.24);
  transition-duration: 300ms;
}
.timeline-dot:hover {
  background: var(--color-text);
  transform: scale(1.5);
}

/* Content */
.timeline-content {
  padding-left: 0.4rem;
}

.timeline-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-secondary);
  margin-bottom: 0.2rem;
}

.timeline-title {
  font-size: var(--text-size);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.timeline-content p {
  font-size: var(--text-size);
  color: var(--color-text-muted);
}

/* Reveal when in view (class wird via JS gesetzt) */
.timeline-step.in-view {
  transform: translateY(0);
  opacity: 1;
}

/* Card hover (leichtes 3D-Gefühl, ohne zu übertreiben) */
.about-timeline-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 36px 90px rgba(0,0,0,0.65);
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .about-timeline-card {
    margin-top: 2rem;
  }
}

@media (max-width: 600px) {
  .about-timeline-card {
    padding: 1.4rem 1.2rem;
  }

  .timeline-parallax {
    padding-left: 1.6rem;
  }

  .timeline-line {
    left: 0.9rem;
  }

  .timeline-dot {
    left: -1.55rem;
  }
}

/* =========================================================
   SERVICES SECTION
========================================================= */

.services-blueprint {
  background: var(--gradient-section-reversed);
  position: relative;
  overflow: hidden;
}

.services-blueprint-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* PANEL BASE */
.blueprint-panel {
  position: relative;
  height: 330px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--color-bg-panel);
  border: 1px solid var(--color-border);
  box-shadow: 0 22px 60px rgba(0,0,0,0.6);
  transform-style: preserve-3d;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* BACKGROUND IMAGE */
.blueprint-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--panel-img);
  background-size: cover;
  background-position: center;
  filter: brightness(0.55) blur(4px); /* Blur Level A */
  transform: scale(1.1);
  transition: transform 0.7s ease;
  z-index: 1;
}

/* DARK OVERLAY */
.blueprint-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at bottom left, rgba(0,0,0,0.95), transparent 100%);
  z-index: 2;
}

/* BLUEPRINT LINES */
.bp-lines {
  position: absolute;
  inset: 14px 14px 14px 14px;
  z-index: 3;
  pointer-events: none;
}

.bp-line {
  position: absolute;
  background-color: var(--color-secondary);
  opacity: 0.65;
  transform-origin: left center;
  transform: scaleX(0);
}

/* horizontale Linie */
.bp-line-h {
  top: 18%;
  left: 6%;
  width: 48%;
  height: 1px;
}

/* vertikale Linie */
.bp-line-v {
  left: 20%;
  top: 18%;
  width: 1px;
  height: 40%;
  transform-origin: center top;
  transform: scaleY(0);
}

/* MEASUREMENT MARKS (kleine T-Striche) */
.bp-lines::before,
.bp-lines::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border-top: 1px solid rgba(255,255,255,0.16);
  border-left: 1px solid rgba(255,255,255,0.16);
  opacity: 0.7;
}

.bp-lines::before {
  top: 26%;
  left: 52%;
}

.bp-lines::after {
  bottom: 18%;
  right: 18%;
  transform: rotate(180deg);
}

/* CONTENT */
.blueprint-panel-content {
  position: absolute;
  inset: 0;
  z-index: 5;
  padding: 1.7rem 1.7rem 1.7rem 1.7rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bp-header-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}

.bp-step {
  font-size: 1.8rem; /* Mittel (B) */
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-bg-dark);
}

.bp-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--color-accent);
  background: rgba(0,0,0,0.35);
  color: var(--color-secondary);
}

.service-panel-title {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.service-panel-text {
  font-size: var(--text-size);
  color: var(--color-bg-dark);
  max-width: 90%;
}

/* HOVER EFFECTS */
.blueprint-panel:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 32px 90px rgba(0,0,0,0.75);
  border-color: var(--color-secondary);
}

.blueprint-panel:hover::before {
  transform: scale(1.18);
}

.blueprint-panel:hover .bp-particles {
  animation-duration: 14s;
}

.blueprint-panel:hover .bp-step {
  transform: translateY(-2px);
  transition: transform 0.25s ease;
}

/* ANIMATION STATES (via JS .in-view) */
.blueprint-panel .bp-line-h,
.blueprint-panel .bp-line-v {
  transition: transform 0.9s ease 0.15s;
}

.blueprint-panel.in-view .bp-line-h {
  transform: scaleX(1);
}

.blueprint-panel.in-view .bp-line-v {
  transform: scaleY(1);
}

/* KEYFRAMES */
@keyframes bpParticlesFloat {
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(-10px, -12px, 0); }
  100% { transform: translate3d(8px, 10px, 0); }
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .services-blueprint-grid {
    grid-template-columns: 1fr;
  }
  .blueprint-panel {
    height: 300px;
  }
}

@media (max-width: 600px) {
  .blueprint-panel {
    height: 270px;
  }
  .blueprint-panel-content {
    padding: 1.4rem;
  }
  .bp-step {
    font-size: 1.5rem;
  }
}

/* =========================================================
   FAQ SECTION
========================================================= */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 3fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.faq-intro {
  font-size: var(--text-size);
  color: var(--color-text-muted);
  margin-bottom: 1.7rem;
}

.faq-note {
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #808080;
}

.faq-list {
  border-radius: 18px;
  padding-bottom: .5rem;
  border: 1px solid var(--color-border);
  background: var(--color-bg-panel);
  overflow: hidden;
}

.faq-question {
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-question-text {
  font-size: var(--text-size);
}

.faq-toggle {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-size);
  font-weight: 800;
  color: var(--color-accent);
  user-select: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  font-size: 1rem;
  padding: 0 1.3rem;
  color: var(--color-text-muted);
}

.faq-item.active .faq-answer {
  max-height: 180px;
}

/* =========================================================
   REVIEWS SECTION
========================================================= */

.reviews {
  background: var(--gradient-section-reversed);
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 4fr);
  gap: 2.5rem;
  align-items: center;
}

.reviews-intro {
  font-size: var(--text-size);
  color: var(--color-text-muted);
  margin-bottom: 1.6rem;
}

.stars {
  color: #ffcf4a;
  font-size: 2rem;
  margin-bottom: 0.7rem;
}

.reviews-slider {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--color-bg-panel);
  border: 1px solid var(--color-border);
  padding: 2rem;
}

.review-text {
  font-size: var(--text-size);
}

.reviews-track {
  display: flex;
  transition: transform 0.6s ease;
}

.review-card {
  min-width: 100%;
  padding-right: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-card.active {
  opacity: 1;
  transform: translateY(0);
}

.reviews-nav {
  margin-top: 1.4rem;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: all 0.25s ease;
}

.nav-dot.active {
  background: var(--color-primary);
  transform: scale(1.2);
}

.review-footer {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.review-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-image: url("../img/profile.png");
  background-size: cover;
  background-position: center;
}

.review-name {
  font-size: 1rem;
  font-weight: 500;
}

.review-meta {
  font-size: .9rem;
  color: var(--color-text-muted);
}

/* =========================================================
   CONTACT SECTION (CREATIVE CONTACT)
========================================================= */

.creative-contact {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 6rem;
  background: var(--gradient-soft);
}

/* HEADLINE */
.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--color-bg-panel);
  border: 1px solid rgba(0,87,184,0.4);
  color: var(--color-secondary);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-title {
  margin-top: 1rem;
  font-size: 2.2rem;
  letter-spacing: 0.1em;
}

.contact-sub {
  margin-top: 0.5rem;
  font-size: var(--text-size);
  color: var(--color-text-muted);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* WRAPPER */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  position: relative;
}

/* LEFT PANEL */
.contact-info-panel {
  position: relative;
  padding: 2rem;
  border-radius: 22px;
  background: var(--gradient-panel);
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 60px var(--color-shadow);
}

.info-glow {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: radial-gradient(circle at top left, var(--color-glow), transparent 70%);
  pointer-events: none;
}

.info-title {
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.info-item {
  margin-bottom: 1.2rem;
}

.info-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}

.info-value {
  display: block;
  font-size: var(--text-size);
  margin-top: 0.2rem;
  color: var(--color-text);
}

.info-note {
  margin-top: 2rem;
  font-size: 1rem;
  color: var(--color-text-muted);
}

/* RIGHT PANEL */
.contact-form-panel {
  position: relative;
  padding: 4rem 2rem;
  border-radius: 22px;
  background: var(--color-bg-panel);
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 60px var(--color-shadow);
}

.form-glow {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: radial-gradient(circle at bottom right, var(--color-glow), transparent 70%);
  pointer-events: none;
}

/* FLOATING LABEL INPUTS */
.floating-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.floating-group input,
.floating-group textarea {
  width: 100%;
  padding: 1rem 1rem 0.6rem;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-dark);
  color: var(--color-text);
  font-size: var(--text-size);
  transition: all 0.2s ease;
}

.floating-group textarea {
  min-height: 120px;
  resize: vertical;
}

.floating-group label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: .85rem;
  color: var(--color-text-muted);
  pointer-events: none;
  transition: all 0.2s ease;
}

/* ACTIVE LABEL */
.floating-group input:focus + label,
.floating-group input:not(:placeholder-shown) + label,
.floating-group textarea:focus + label,
.floating-group textarea:not(:placeholder-shown) + label {
  top: -1.8rem;
  left: 0;
  font-size: var(--text-size);
  padding: 0 0.4rem;
  color: var(--color-secondary);
}

/* FORM ROW */
.form-floating-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* BUTTON */
.contact-btn {
  width: 100%;
  margin-top: 1rem;
}



/* =========================================================
   KONTAKTFORMULAR - ZUSÄTZLICHE STYLES
========================================================= */

/* Status-Nachricht */
.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  text-align: center;
  display: none;
  animation: slideIn 0.3s ease;
}

.form-message.show {
  display: block;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #16a34a;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #dc2626;
}

/* Button Loading State */
.contact-btn {
  position: relative;
  overflow: hidden;
}

.contact-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.contact-btn .btn-loader {
  display: none;
}

.contact-btn.loading .btn-text {
  display: none;
}

.contact-btn.loading .btn-loader {
  display: inline;
}

/* Animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Input Focus States */
.floating-group input:focus,
.floating-group textarea:focus {
  border-color: var(--color-secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(24, 89, 163, 0.1);
}





/* =========================================================
   FOOTER
========================================================= */

footer {
  border-top: 1px solid var(--color-border);
  padding: 1.5rem 0 2rem;
  font-size: 1rem;
  color: var(--color-text-muted);
  background: var(--color-bg-dark);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1.3rem;
}

.footer-links a {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: .8rem;
  color: var(--color-text-muted);
}

/* =========================================================
   POPUP
========================================================= */

/* POPUP OVERLAY */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 40px;
  z-index: 9999;
}

/* POPUP WINDOW */
.popup-window {
  background: #fff;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: 14px;
  padding: 0;
  position: relative;
  overflow: hidden;
  animation: popupFade 0.25s ease-out;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* INNER CONTENT */
.popup-inner {
  padding: 40px;
  overflow-y: auto;
  max-height: 90vh;
}

.popup-inner h1,
.popup-inner h2,
.popup-inner h3 {
  margin-top: 25px;
  margin-bottom: 10px;
}

.popup-inner p,
.popup-inner ul {
  margin-bottom: 15px;
  line-height: 1.6;
}

.popup-inner ul {
  padding-left: 20px;
}

/* CLOSE BUTTON */
.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--color-primary);
  background: none;
  border: none;
  width: 34px;
  height: 34px;
  font-size: 30px;
  cursor: pointer;
  transition: 0.2s;
}

.popup-close:hover {
  transform: scale(1.3);
}

/* ANIMATION */
@keyframes popupFade {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* =========================================================
   ANIMATIONS
========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* FLOATING IMAGES ANIMATION */
@keyframes floatAnim {
  0%   { transform: translateY(0px) translateX(0px) rotate(0deg); }
  25%  { transform: translateY(-12px) translateX(6px) rotate(1deg); }
  50%  { transform: translateY(0px) translateX(-6px) rotate(-1deg); }
  75%  { transform: translateY(12px) translateX(4px) rotate(1deg); }
  100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .faq-grid,
  .reviews-layout,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .hero-card-body {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  header {
    background: rgba(5, 6, 10, 0.94);
  }
}

@media (max-width: 768px) {
  section {
    padding: 3.5rem 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-safety-list {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .floating-images {
    height: 180px;
  }

  .float-img {
    width: 120px;
    opacity: 0.7;
  }
}


.cinematic-hero {
  position: relative;
  overflow: hidden;
}

.cinematic-title span {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: titleReveal 0.8s ease forwards;
}

.cinematic-title span:nth-child(1) { animation-delay: 0.2s; }
.cinematic-title .highlight { animation-delay: 0.4s; color: var(--color-accent); }
.cinematic-title span:nth-child(3) { animation-delay: 0.6s; }

@keyframes titleReveal {
  to { opacity: 1; transform: translateY(0); }
}

.cinematic-reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp 0.8s ease forwards;
}

@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

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

.hero-stats .stat {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: statPop 0.8s ease forwards;
}

.hero-stats .stat:nth-child(1) { animation-delay: 0.8s; }
.hero-stats .stat:nth-child(2) { animation-delay: 1s; }
.hero-stats .stat:nth-child(3) { animation-delay: 1.2s; }

@keyframes statPop {
  to { opacity: 1; transform: translateY(0); }
}

.hero-stats .stat span {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.hero-stats .stat label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}

.cinematic-card {
  transform-style: preserve-3d;
  transition: transform 0.2s ease;
}

/* HERO RIGHT CARD – SPLIT LAYOUT */
.hero-card-body-split {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 4fr);
  gap: 1.2rem;
  align-items: stretch;
}

/* MAP EMBED PREP */
.hero-map-embed {
  padding: 1rem;
  background: var(--gradient-section-reversed);
  border-radius: 18px;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.hero-map-frame-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  margin-top: 0.7rem;
  flex: 1;
}

.hero-map-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Placeholder-Overlay solange kein iframe drin ist */
.hero-map-overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 0 1rem;
  background: radial-gradient(circle at center, rgba(255,255,255,0.08), transparent 60%);
}

/* PROCESS PANEL REWORK */
.hero-process-panel {
  background: var(--gradient-section-reversed);
  border-radius: 18px;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
}

.hero-process-step {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition-duration: 300ms;
}

.hero-process-step:hover {
  transform: scale(1.1) translateX(1rem);
  text-shadow: var(--color-bg-dark);
}

.hero-process-step:last-child {
  border-bottom: none;
}

.hero-process-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-secondary);
  margin-bottom: 0.2rem;
}

.hero-process-text {
  font-size: var(--text-size);
  color: var(--color-text-muted);
}

/* HERO RIGHT CARD – etwas größer */
.hero-right-card {
  transform-origin: center center;
}

/* RESPONSIVE ANPASSUNG FÜR DIE RECHTE KARTE */
@media (max-width: 960px) {
  .hero-card-body-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right-card {
    margin-top: 2rem;
  }
}

@media (max-width: 600px) {
  .hero-map-embed {
    padding: 0.8rem;
  }

  .hero-process-panel {
    padding: 0.9rem;
  }
}

/* Speziel */
.margin-top {
  margin-top: 1rem;
}