:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: rgba(15, 23, 42, .12);

  --accent: #e3051b;   /* rote Akzentfarbe */
  --accent-2: #b40416;

  --shadow: 0 10px 30px rgba(2, 6, 23, .12);
  --radius: 18px;

  --container: 1180px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  position: relative;
}

/* ============================= */
/* TRANSPARENTES BACKGROUND LOGO */
/* ============================= */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../assets/img/Logo.png") center center no-repeat;
  background-size: 1000px; /* Größe anpassen */
  opacity: 0.05;          /* Transparenz anpassen */
  pointer-events: none;
  z-index: -1;            /* WICHTIG: immer hinter allem */
}

@media (max-width: 768px) {
  body::before {
    background-size: 350px;
    opacity: 0.04;
  }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

.muted { color: var(--muted); }
.tiny { font-size: 12px; }

.kicker {
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  color: rgba(15, 23, 42, .7);
}

.accent { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, opacity .12s ease;
  cursor: pointer;
  user-select: none;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 9px 14px; font-size: 13px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-2); }

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, .55);
  opacity: .98;
}

.section .btn--ghost {
  border-color: rgba(15, 23, 42, .18);
  color: var(--text);
}
.section .btn--ghost:hover {
  border-color: rgba(15, 23, 42, .32);
}

/* Topbar */
.topbar {
  position: relative;
  top: 0;
  z-index: 3000;
  background: #104E8B;
  color: #fff;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 12px;
}
.topbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.topbar__link { font-weight: 800; }

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, .06);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 2000;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}

.brand__logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

/* Nav */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 6px 10px;
  border-radius: 2px;
}

.nav__panel {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav__list {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.nav__item { position: relative; }

.nav__list a {
  font-weight: 700;
  color: rgba(15, 23, 42, .86);
}
.nav__list a:hover { color: var(--text); }

.nav__cta { display: flex; }

/* Dropdown */
.nav__item--hasDropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
  padding: 10px 0;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .18s ease;

  z-index: 4000; /* WICHTIG: über sticky Header */
}

.dropdown a {
  display: block;
  padding: 10px 18px;
  font-weight: 600;
}
.dropdown a:hover {
  background: rgba(227, 5, 27, .08);
  color: var(--accent);
}

/* Hero */
.hero {
  position: relative;
  min-height: 74vh;
  display: grid;
  place-items: stretch;
  z-index: 1; /* unter Header */
}
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__video,
.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__video { display: block; }
.hero__image { display: none; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 6, 23, .70) 0%,
    rgba(2, 6, 23, .38) 55%,
    rgba(2, 6, 23, .25) 100%
  );
}

.hero__content {
  position: relative;
  padding: 64px 0 42px;
  color: #fff;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.05;
  margin: 10px 0 14px;
}
.lead {
  max-width: 58ch;
  font-size: 18px;
  color: rgba(255, 255, 255, .86);
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0 28px;
}

.hero__stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.stat {
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  border-radius: 16px;
  padding: 12px 14px;
  min-width: 160px;
}
.stat__value { font-weight: 900; font-size: 18px; }
.stat__label { font-size: 13px; color: rgba(255, 255, 255, .8); }

/* Sections */
.section { padding: 68px 0; }
.section--tight { padding: 50px 0; }
.section--alt { background: rgba(2, 6, 23, .03); }
.section--cta {
  background:#FFFFFF;
}

.sectionHead { margin-bottom: 24px; }
.sectionHead--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.section h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  margin: 0 0 10px;
}
.section p { margin: 0; }

.split {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 22px;
  align-items: start;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* Cards / Tiles */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(2, 6, 23, .06);
}
.card--media { position: relative; }
.card--media img {
  height: 320px;
  width: 100%;
  object-fit: cover;
}

.card__mediaOverlay {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 800;
  font-size: 12px;
}
.badge--ghost { background: rgba(255, 255, 255, .86); }

.card--plain { padding: 18px; }

.list { margin: 12px 0 0; padding-left: 18px; }
.list li { margin: 6px 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.tile {
  grid-column: span 4;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 28px rgba(2, 6, 23, .08);
  min-height: 260px;
  transition: transform .14s ease, box-shadow .14s ease;
}
.tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.tile img {
  height: 150px;
  width: 100%;
  object-fit: cover;
}

.tile__body { padding: 14px 16px 18px; }
.tile__body h3 { margin: 0 0 6px; font-size: 18px; }
.tile__body p { color: var(--muted); margin: 0; }

.tile__arrow {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(2, 6, 23, .06);
  font-weight: 900;
}

.tile--highlight {
  grid-column: span 4;
  background: #ffffff;
  display: flex;
  align-items: stretch;
}
.tile--highlight .tile__body { padding: 18px; }

/* Reasons */
.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.reason {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px 16px 18px;
}
.reason h3 { margin: 0 0 6px; }
.reason p { margin: 0; color: var(--muted); }

/* Slider */
.slider { overflow: hidden; }
.slider__track {
  display: flex;
  gap: 14px;
  transition: transform .28s ease;
  will-change: transform;
}

.quote {
  flex: 0 0 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px 16px 14px;
  box-shadow: 0 10px 24px rgba(2, 6, 23, .06);
}
.quote p { margin: 0 0 12px; font-weight: 600; }

.quote__by {
  display: flex;
  align-items: center;
  gap: 10px;
}
.quote__by img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
}

.sliderNav { display: flex; gap: 10px; }

.iconBtn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.iconBtn:hover { background: rgba(2, 6, 23, .03); }

/* CTA */
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.section--cta .btn--ghost {
  border-color: rgba(15, 23, 42, .18);
  color: var(--text);
}

/* News */
.newsGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.newsCard {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(2, 6, 23, .06);
}
.newsCard img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}
.newsCard__body { padding: 14px 16px 16px; }
.newsCard time {
  display: block;
  font-size: 12px;
  color: rgba(15, 23, 42, .6);
  font-weight: 800;
  margin-bottom: 8px;
}
.newsCard h3 { margin: 0 0 10px; }

.link { font-weight: 900; color: var(--accent); }
.link:hover { color: var(--accent-2); }

/* Contact */
.contactBox {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.contactBox__row {
  display: block;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}
.contactBox__row:first-child { border-top: none; }

.form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(2, 6, 23, .06);
}
.form--modal {
  box-shadow: none;
  border: none;
  padding: 0;
}

.form__row {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

label { font-weight: 800; font-size: 13px; }

input, textarea, select {
  border: 1px solid rgba(15, 23, 42, .18);
  border-radius: 14px;
  padding: 12px 12px;
  font: inherit;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: rgba(227, 5, 27, .5);
  box-shadow: 0 0 0 4px rgba(227, 5, 27, .10);
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  background: #fff;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.footer__links a {
  color: rgba(15, 23, 42, .75);
  font-weight: 700;
}
.footer__links a:hover { color: var(--text); }

/* Sticky CTA (mobile) */
.stickyCta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .88);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
  display: none;
  z-index: 2500;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 5000;
}
.modal.is-open { display: block; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, .55);
}

.modal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100% - 26px));
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .12);
}

.modal__head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.modal__head h3 { margin: 0; }

/* Service-Detailseiten (Layout für Unterseiten & Sections) */
.servicePage__inner{
  display:grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 22px;
  align-items:start;
}
.serviceBullets{
  margin:14px 0 0;
  padding-left:18px;
  color: var(--muted);
}
.serviceBullets li{ margin:6px 0; }

/* Responsive */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .tile { grid-column: span 6; }
  .tile--highlight { grid-column: span 6; }
  .reasons { grid-template-columns: 1fr; }
  .newsGrid { grid-template-columns: 1fr; }
  .servicePage__inner{ grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .topbar__right .btn--ghost { display: none; }

  .nav__toggle { display: inline-block; }

  .nav__panel {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 96px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    z-index: 4500;
  }
  .nav__panel.is-open { display: flex; }

  .nav__list { flex-direction: column; gap: 6px; }
  .nav__list a { padding: 10px 10px; border-radius: 12px; }
  .nav__list a:hover { background: rgba(2, 6, 23, .04); }

  /* Dropdown auf Mobile nicht per Hover */
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
    min-width: 0;
  }
  .dropdown a { padding: 10px 10px; border-radius: 12px; }
  .dropdown a:hover { background: rgba(227, 5, 27, .08); }

  .nav__cta { margin-top: 4px; }

  .hero__video { display: none; }
  .hero__image { display: block; }

  .stickyCta { display: block; }
  .quote { flex-basis: 86vw; }
}
