:root {
  --bg: #05070a;
  --bg-alt: #111319;
  --card: #171a22;
  --accent: #b31316;
  --accent-soft: #e03232;
  --text: #f5f5f7;
  --muted: #d0d4e0;
  --border: #262936;
  --shadow-soft: 0 18px 45px rgba(0,0,0,0.55);
  --radius-lg: 18px;
  --radius-xl: 28px;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1b1f2c 0, #05070a 48%, #020308 100%);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

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

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

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

/* HEADER */

.header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  margin-bottom: 28px;
  background: rgba(7,8,14,0.95);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 16px 40px rgba(0,0,0,0.65);
  position: sticky;
  top: 12px;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo-wrap img {
  height: 46px;
  width: auto;
}

.logo-text-main {
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 0.88rem;
  color: var(--accent-soft);
}

.logo-text-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  opacity: 0.95;
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
  color: var(--muted);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  padding: 6px 12px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.nav a:hover {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-primary {
  background: linear-gradient(135deg, var(--accent), #ff3b3b);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(179,19,22,0.6);
}

.nav-primary:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 14px 35px rgba(179,19,22,0.85);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(9,11,18,0.85);
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0.55);
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.08);
}

.nav-toggle:focus-visible,
.nav a:focus-visible,
.btn-primary:focus-visible,
.btn-ghost:focus-visible,
.footer-links a:focus-visible {
  outline: 2px solid rgba(224,50,50,0.9);
  outline-offset: 3px;
}

/* LAYOUT GRID */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.7fr);
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .header {
    flex-direction: row;
    align-items: center;
    border-radius: 22px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding-top: 10px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 10px 12px;
    width: 100%;
    text-align: left;
    border-radius: 14px;
  }

  .nav-primary {
    box-shadow: none;
  }

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

@media (max-width: 480px) {
  .page { padding: 18px 12px 40px; }
  .hero { padding: 20px 16px; border-radius: 22px; }
  .section { padding: 20px 16px; border-radius: 22px; }
  .hero-services { grid-template-columns: minmax(0, 1fr); }
  .service-card img { height: 150px; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
}

/* HERO TEXT */

.hero {
  background: radial-gradient(circle at top left, rgba(255,76,76,0.09), transparent 60%),
              radial-gradient(circle at bottom right, rgba(98,124,255,0.09), transparent 55%),
              linear-gradient(135deg, #11131b, #090b11);
  border-radius: var(--radius-xl);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  background: rgba(5,7,12,0.85);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.hero-label-dot {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #fff, #ffecec 28%, #ff5151 29%, var(--accent) 65%);
  box-shadow: 0 0 0 4px rgba(179,19,22,0.35), 0 0 20px rgba(255,68,68,0.7);
}

.hero h1 {
  font-size: clamp(2.1rem, 2.7vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 14px;
}

.hero h1 span {
  color: var(--accent-soft);
}

.hero-subtitle {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 36rem;
  margin-bottom: 20px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.hero-badge {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(9,11,18,0.9);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-badge strong {
  color: #ffffff;
  font-weight: 600;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ff3b3b);
  border: none;
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(179,19,22,0.75);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.btn-primary span:first-child {
  font-size: 1.25rem;
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 16px 40px rgba(179,19,22,0.95);
}

.btn-ghost {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.92rem;
  background: rgba(9,11,18,0.7);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  border-color: rgba(255,255,255,0.26);
}

.hero-contact-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-contact-note strong {
  color: #ffffff;
  font-weight: 600;
}

.hero-contact-note a {
  color: var(--accent-soft);
}

/* RIGHT COLUMN SERVICES */

.hero-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: flex-start;
}

/* Karten bleiben flexibel, aber insgesamt kompakter */
.service-card {
  background: linear-gradient(145deg, rgba(19,22,33,0.95), rgba(8,9,14,0.98));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(0,0,0,0.65);
}

/* Bild etwas niedriger, damit mehr Platz für Text bleibt,
   ohne dass die Karte sehr hoch wird */
.service-card img {
  height: 110px;
  width: 100%;
  object-fit: cover;
}

/* etwas weniger Innenabstand + kleinere Schrift = gleiche Höhe, Text bleibt komplett sichtbar */
.service-card-body {
  padding: 10px 12px 10px;
}

.service-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.service-chip {
  font-size: 0.72rem;
  padding: 2px 7px;
}

/* minimal kleiner, dafür passt alles bequem rein */
.service-card-text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}


/* SECTION DETAILS & RECHTSTEXTE */

.section {
  margin-top: 34px;
  background: linear-gradient(135deg, rgba(10,12,19,0.98), rgba(5,7,12,0.99));
  border-radius: var(--radius-xl);
  padding: 24px 22px 22px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-soft);
}

.section h2 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.section-intro {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 18px;
  max-width: 48rem;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

@media (max-width: 900px) {
  .section-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.service-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 6px;
}

.service-item {
  padding: 11px 12px 10px;
  border-radius: 14px;
  background: radial-gradient(circle at top left, rgba(255,52,52,0.18), transparent 55%),
              linear-gradient(135deg, #11131a, #080910);
  border: 1px solid rgba(255,255,255,0.1);
}

.service-item h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.service-item p {
  font-size: 0.96rem;
  color: var(--muted);
  margin-bottom: 7px;
}

.service-bullets {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
}

.service-bullets li {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(5,7,12,0.98);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
}

/* MEDIA CARD (nur auf Startseite genutzt) */

.media-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: #0e1017;
  box-shadow: 0 16px 40px rgba(0,0,0,0.75);
}

.media-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.media-card-body {
  padding: 11px 13px 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.media-card-body strong {
  color: #ffffff;
}

/* RECHTSTEXT-SPEZIFISCH */

.legal-main .section {
  margin-top: 16px;
}

.legal-main h1 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.legal-main h2 {
  font-size: 1.1rem;
  margin: 18px 0 6px;
}

.legal-main p {
  font-size: 0.96rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.legal-main ul {
  margin: 0 0 8px 18px;
}

.legal-main li {
  font-size: 0.94rem;
  color: var(--muted);
  margin-bottom: 4px;
}

/* FOOTER */

footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem;
  color: var(--muted);
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 18px;
}

@media (max-width: 720px) {
  footer {
    grid-template-columns: minmax(0, 1fr);
  }
}

footer a {
  color: var(--accent-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.footer-links a {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(9,11,18,0.9);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
}

.footer-copy {
  margin-top: 8px;
}
