/* ===========================================================
   Austrian Board — Landingpage
   Farbwelt: Rot-Weiß-Rot, staatstragend
   =========================================================== */

:root {
  --red: #c8102e;
  --red-dark: #9b0c23;
  --red-deep: #6e0819;
  --ink: #1a1c22;
  --ink-soft: #4a4e59;
  --paper: #ffffff;
  --paper-soft: #f6f4f1;
  --paper-tint: #faf7f4;
  --line: #e6e1da;
  --gold: #b08d3f;
  --shadow: 0 18px 40px -22px rgba(26, 28, 34, 0.45);
  --radius: 14px;
  --max: 1140px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Staatstragendes Band ----------------------------------- */
.flag-band {
  display: flex;
  height: 6px;
}
.flag-band span { flex: 1; }
.flag-band__red { background: var(--red); }
.flag-band__white { background: var(--paper); }

/* --- Header -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: block;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-size: 1.05rem; letter-spacing: -0.01em; }
.brand__text small { font-size: 0.7rem; color: var(--ink-soft); letter-spacing: 0.02em; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--red); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* --- Buttons ------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; font-size: 0.88rem; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--outline { border-color: var(--red); color: var(--red); background: transparent; }
.btn--outline:hover { background: var(--red); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--red); color: var(--red); }

/* --- Eyebrow ------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow--light { color: #ff9aa6; }

/* --- Hero ---------------------------------------------------- */
.hero {
  position: relative;
  padding: 92px 0 84px;
  background:
    radial-gradient(900px 420px at 78% -8%, rgba(200, 16, 46, 0.10), transparent 70%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-tint) 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: 50%;
  transform: translateY(-50%);
  width: 520px; height: 520px;
  background: conic-gradient(from 210deg, transparent 0deg, rgba(200,16,46,0.06) 120deg, transparent 240deg);
  border-radius: 50%;
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 900px; }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.1rem);
  margin-bottom: 22px;
}
.hero h1 .hl { color: var(--red); }
.hero__lead {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 32px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.hero__stats dt { font-family: "Fraunces", serif; font-size: 1.3rem; color: var(--ink); }
.hero__stats dd { font-size: 0.9rem; color: var(--ink-soft); }

/* --- Sections ------------------------------------------------ */
.section { padding: 88px 0; }
.section--tint { background: var(--paper-tint); }
.section--dark {
  background: linear-gradient(160deg, var(--red-deep), var(--red-dark));
  color: #fff;
}

.section__head { max-width: 680px; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 16px; }
.section__head--light h2 { color: #fff; }
.section__intro { color: var(--ink-soft); font-size: 1.06rem; }
.section--dark .section__intro { color: rgba(255, 255, 255, 0.82); }

/* --- Grids --------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* --- Vorstand / Über uns ------------------------------------ */
.board__member {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 46px 40px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.board__mark {
  font-family: "Fraunces", serif;
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(200, 16, 46, 0.3);
}
.board__mark--open { margin-bottom: -2rem; }
.board__mark--close {
  margin-top: -2rem;
  transform: rotate(180deg);
}
.board__quote {
  font-family: "Fraunces", serif;
  font-size: 1.24rem;
  line-height: 1.6;
  color: var(--ink);
  max-width: 32rem;
}
.board__caption { margin-top: 1.6rem; }
.board__name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--ink);
}
.board__role {
  display: block;
  margin-top: 3px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.board__linkedin {
  display: inline-flex;
  color: #0a66c2;
  transition: opacity 0.15s ease;
}
.board__linkedin svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.board__linkedin:hover { opacity: 0.65; }

/* --- Cards --------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(200, 16, 46, 0.08);
  color: var(--red);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }

.card--dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}
.card--dark:hover { box-shadow: none; }
.card--dark p { color: rgba(255, 255, 255, 0.78); }
.card__num {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  color: #ff9aa6;
  margin-bottom: 12px;
}

/* --- Tiers (Zertifikate) ------------------------------------ */
.tiers { margin-bottom: 48px; }
.tier {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
}
.tier--featured {
  border-color: var(--red);
  box-shadow: var(--shadow);
  position: relative;
}
.tier--featured::before {
  content: "Beliebt";
  position: absolute;
  top: -12px; right: 24px;
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.tier__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.tier h3 { font-size: 1.5rem; margin-bottom: 10px; }
.tier__desc { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 20px; }
.tier__list { list-style: none; margin-top: auto; }
.tier__list li {
  padding: 9px 0 9px 26px;
  position: relative;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
}
.tier__list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* --- Callout (ClassMarker) ---------------------------------- */
.callout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  padding: 38px 36px;
}
.callout h3 { font-size: 1.45rem; margin-bottom: 10px; }
.callout p { color: var(--ink-soft); }
.callout__steps { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.callout__steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 0.97rem;
}
.callout__steps span {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* --- Split (Community) -------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.split__text h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 16px; }
.split__text p { color: var(--ink-soft); margin-bottom: 22px; }

.check-list { list-style: none; margin-bottom: 28px; }
.check-list li {
  position: relative;
  padding: 8px 0 8px 32px;
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px var(--red);
}

/* --- Network visual ----------------------------------------- */
.split__panel {
  background: linear-gradient(160deg, var(--paper-soft), #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 24px 28px;
  text-align: center;
}
.network {
  position: relative;
  width: 260px; height: 260px;
  margin: 0 auto 18px;
}
.node {
  position: absolute;
  display: flex;
  align-items: center; justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
}
.node--center {
  width: 84px; height: 84px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--red);
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 10px 24px -8px rgba(200, 16, 46, 0.6);
  z-index: 2;
}
.node:not(.node--center) {
  width: 54px; height: 54px;
  background: #fff;
  color: var(--red);
  border: 1.5px solid var(--red);
}
.node--1 { top: 0; left: 50%; transform: translateX(-50%); }
.node--2 { top: 24%; right: 0; }
.node--3 { bottom: 24%; right: 4%; }
.node--4 { bottom: 0; left: 50%; transform: translateX(-50%); }
.node--5 { top: 30%; left: 0; }
.network__caption { font-size: 0.85rem; color: var(--ink-soft); }

/* --- CTA ----------------------------------------------------- */
.cta {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(200, 16, 46, 0.10), transparent 70%),
    var(--paper-tint);
  text-align: center;
}
.cta__inner { max-width: 680px; margin: 0 auto; }
.cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 16px; }
.cta__lead { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 30px; }
.cta .hero__actions { justify-content: center; }

/* --- Footer -------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 52px;
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer__brand { display: flex; gap: 14px; max-width: 360px; }
.site-footer__brand strong { color: #fff; font-size: 1.1rem; }
.site-footer__brand p { font-size: 0.9rem; margin-top: 4px; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; }
.site-footer__nav a { font-size: 0.92rem; transition: color 0.15s ease; }
.site-footer__nav a:hover { color: #ff9aa6; }
.site-footer__legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 24px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
}

/* --- Responsive --------------------------------------------- */
@media (max-width: 880px) {
  .site-nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 12px; text-align: center; }
  .nav-toggle { display: flex; }

  .grid--2 { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; gap: 18px; }
  .callout { grid-template-columns: 1fr; gap: 24px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .tier--featured { order: -1; }

  .board__member { padding: 38px 30px 34px; }
}

@media (max-width: 520px) {
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 60px; }
  .btn { width: 100%; }
  .hero__actions, .cta .hero__actions { flex-direction: column; }

  .board__member { padding: 32px 22px 30px; }
  .board__mark { font-size: 3.4rem; }
  .board__mark--open { margin-bottom: -1.5rem; }
  .board__mark--close { margin-top: -1.5rem; }
  .board__quote { font-size: 1.1rem; line-height: 1.55; }
  .board__caption { margin-top: 1.3rem; }
  .board__name { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* === Aktions-Banner (oben, sticky, fetched aus /api/aktionen/aktiv) ===== */
.ab-promo {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #c8102e, #9b0c23);
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px -6px rgba(0, 0, 0, 0.3);
}
.ab-promo[hidden] { display: none; }
.ab-promo:hover { background: linear-gradient(135deg, #9b0c23, #c8102e); }
.ab-promo__chip {
  flex: none;
  background: #fff;
  color: #c8102e;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.ab-promo__txt {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.ab-promo__h {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ab-promo__sub {
  font-size: 0.86rem;
  opacity: 0.92;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ab-promo__code {
  flex: none;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.ab-promo__cta {
  flex: none;
  font-weight: 700;
  background: #fff;
  color: #c8102e;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .ab-promo { gap: 10px; padding: 10px 14px; font-size: 0.88rem; }
  .ab-promo__sub { display: none; }
  .ab-promo__code { display: none; }
  .ab-promo__cta { padding: 6px 12px; font-size: 0.82rem; }
}
