/* -------------------------------------------------------
 Grund-Variablen (Farben & Transparenzen)
------------------------------------------------------- */
:root {
  --fw-red: #B51C1C;
  --fw-red-dark: #8E1414;
  --text: #ffffff;
  --glass: rgba(255,255,255,0.06);
  --glass-border: rgba(181, 28, 28, 0.65);
}

/* -------------------------------------------------------
 Basis
------------------------------------------------------- */
* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #0d0f14;
  color: var(--text);
}

/* -------------------------------------------------------
 HERO-Bereich + Hintergrund
------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  background: url("assets/background.png") center/cover no-repeat;
}
.container {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

/* -------------------------------------------------------
 Branding (Wappen + Titel)
------------------------------------------------------- */
.brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
}
.brand img { width: 72px; height: auto; }
.brand h1 { margin: 0; font-size: clamp(28px, 4.5vw, 52px); line-height: 1.05; }
.brand .sub { margin: 4px 0 0; font-size: 18px; opacity: 0.9; }

/* -------------------------------------------------------
 Karten (mit rotem Rahmen)
------------------------------------------------------- */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 45px;
}
.card {
  width: min(360px, 100%);
  background: var(--glass);
  border: 2px solid var(--glass-border);
  border-radius: 16px;
  padding: 22px;

  /* Buttons nicht an den unteren Rand drücken */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  backdrop-filter: blur(8px) saturate(140%);
  text-align: left;
  min-height: 220px;
}
.row { display: flex; align-items: center; gap: 14px; }
.icon-wrap {
  width: 56px; height: 56px; border-radius: 12px; background: #ffffff;
  display: grid; place-items: center;
}
.icon { width: 34px; height: 34px; object-fit: contain; }
.card h3 { margin: 4px 0 8px; font-size: 22px; }
.card p  { margin: 0 0 14px; opacity: 0.96; }

/* -------------------------------------------------------
 Buttons (Basis)
------------------------------------------------------- */
.btn {
  display: inline-block;
  width: 100%;
  padding: 12px 16px;
  text-align: center;
  border-radius: 10px;
  background: var(--fw-red);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s ease-in-out;

  /* FIX: fester Abstand (nicht auto), damit Buttons nah am Text bleiben */
  margin-top: 12px !important;
}
.btn:hover { background: var(--fw-red-dark); }

/* Ghost-Variante (für Social-Buttons) */
.btn.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid var(--glass-border);
  padding: 12px 16px;
}
.btn.btn-ghost:hover {
  background: var(--fw-red);
  border-color: var(--fw-red);
}
.btn.btn-ghost.instagram:hover { background: #E4405F; border-color: #E4405F; }
.btn.btn-ghost.facebook:hover  { background: #1877F2; border-color: #1877F2; }

/* -------------------------------------------------------
 Drei Buttons untereinander – mit sicherem Abstand
------------------------------------------------------- */
.btn-column {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;     /* Primärer Abstand zwischen den Buttons */
  margin-top: 8px;
}

/* Fallback, falls 'gap' überschrieben/ignoriert wird */
.btn-column .btn + .btn { margin-top: 16px !important; }

/* Sicherheitsnetz gegen fremde Overrides */
.btn-column a.btn + a.btn { margin-top: 16px !important; }

/* -------------------------------------------------------
 Footer
------------------------------------------------------- */
footer {
  margin-top: 70px;
  text-align: center;
  opacity: 0.85;
}

/* -------------------------------------------------------
 Responsive
------------------------------------------------------- */
@media (max-width: 640px) {
  .cards { gap: 16px; }
  .card  { padding: 18px; }
}