:root {
  --black: #0d0f12;
  --black-2: #171a1f;
  --text-light: rgba(255, 255, 255, 0.86);
  --text-muted: rgba(255, 255, 255, 0.68);
  --text-soft: rgba(255, 255, 255, 0.52);
  --line: rgba(255, 255, 255, 0.12);
  --red: #d4142a;
  --red-light: #ff4f67;
  --max-width: 1280px;
  --transition: 0.25s ease;
}

/* =====================================================
   BASIS
===================================================== */

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

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #ffffff;
}

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

p,
h4 {
  margin-top: 0;
}

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


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

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(212, 20, 42, 0.12),
      transparent 28%
    ),
    linear-gradient(120deg, var(--black), var(--black-2));
  color: var(--text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 240px;
  height: 240px;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(255, 79, 103, 0.08),
    transparent 68%
  );
}


/* =====================================================
   FOOTER-BEREICHE
===================================================== */

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  gap: 42px;
  padding: 52px 0 42px;
}

.footer-col {
  min-width: 0;
}

.footer-col h4 {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--red-light));
}

.footer-col p {
  max-width: 360px;
  margin-bottom: 9px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.footer-col p:last-child {
  margin-bottom: 0;
}


/* =====================================================
   FOOTER-LISTEN
===================================================== */

.footer-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.footer-list li {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.footer-list a {
  position: relative;
  display: inline-block;
  color: var(--text-muted);
  transition:
    color var(--transition),
    transform var(--transition);
}

.footer-list a::before {
  content: "›";
  display: inline-block;
  margin-right: 7px;
  color: var(--red);
  font-size: 1.1em;
  font-weight: 700;
  transition: transform var(--transition);
}

.footer-list a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-list a:hover::before {
  transform: translateX(2px);
}


/* =====================================================
   UNTERER FOOTER-BEREICH
===================================================== */

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 0;
  text-align: center;
}

.footer-bottom-inner p {
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.5;
}


/* =====================================================
   TABLET UND SMARTPHONE
   Firmeninfos oben, danach zwei Spalten
===================================================== */

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
    padding: 44px 0 34px;
  }

  .footer-col:first-child {
    grid-column: 1 / -1;
  }

  .footer-col:first-child p {
    max-width: 520px;
  }
}


/* =====================================================
   SMARTPHONE
   Bleibt bewusst zweispaltig
===================================================== */

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
    padding: 36px 0 28px;
  }

  .footer-col:first-child {
    grid-column: 1 / -1;
  }

  .footer-col h4 {
    margin-bottom: 14px;
    font-size: 0.92rem;
  }

  .footer-col h4::after {
    bottom: -6px;
    width: 28px;
  }

  .footer-col p {
    max-width: 100%;
    margin-bottom: 7px;
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .footer-list {
    gap: 8px;
  }

  .footer-list li {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .footer-list a::before {
    margin-right: 4px;
  }

  .footer-list a:hover {
    transform: translateX(2px);
  }

  .footer-bottom-inner {
    min-height: 52px;
    padding: 12px 0;
  }

  .footer-bottom-inner p {
    max-width: 290px;
    margin: 0 auto;
    font-size: 0.74rem;
    line-height: 1.45;
  }
}


/* =====================================================
   SEHR KLEINE SMARTPHONES
   Weiterhin zwei Spalten
===================================================== */

@media (max-width: 380px) {
  .container {
    width: min(100% - 22px, var(--max-width));
  }

  .footer-grid {
    gap: 24px 12px;
    padding-top: 30px;
  }

  .footer-col h4 {
    font-size: 0.85rem;
  }

  .footer-col p,
  .footer-list li {
    font-size: 0.74rem;
  }

  .footer-list a::before {
    display: none;
  }

  .footer-bottom-inner p {
    font-size: 0.68rem;
  }
}


/* =====================================================
   REDUZIERTE BEWEGUNG
===================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}