:root {
  --red: #861A22;
  --red-bright: #B92E3A;
  --black: #080808;
  --panel: #101010;
  --panel-2: #151515;
  --white: #f5f5f3;
  --grey: #a3a3a3;
  --line: rgba(255,255,255,.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 20%, rgba(165,32,25,.17), transparent 28rem),
    radial-gradient(circle at 10% 80%, rgba(165,32,25,.07), transparent 25rem),
    var(--black);
  color: var(--white);
  font-family: Lexend, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
}

.page {
  width: min(1420px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.topbar {
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}

.brand {
  text-decoration: none;
  color: var(--white);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1;
}

.brand-ruf {
  color: var(--red-bright);
}

.brand small {
  margin-left: .45rem;
  font-size: .35em;
  letter-spacing: .05em;
  color: #bdbdbd;
}

.status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #bababa;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 0 rgba(209,37,27,.65);
  animation: statusPulse 2s infinite;
}

.hero {
  min-height: 660px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 100px 0 90px;
}

.eyebrow,
.section-label {
  color: var(--red-bright);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .24em;
}

.hero h1 {
  max-width: 1050px;
  margin: 24px 0 28px;
  font-size: clamp(3rem, 7.3vw, 7.6rem);
  line-height: .94;
  letter-spacing: -.07em;
  font-weight: 400;
}

.hero h1 strong {
  color: var(--white);
  font-weight: 800;
}

.lead {
  max-width: 790px;
  margin: 0;
  color: #bcbcbc;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.7;
}

.pill {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  padding: 13px 18px;
  border: 1px solid rgba(209,37,27,.35);
  border-radius: 999px;
  background: rgba(209,37,27,.08);
  font-size: .9rem;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 18px rgba(209,37,27,.8);
}




.mission {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mission article {
  min-height: 280px;
  padding: 42px;
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,.015);
  transition: transform .25s ease, background .25s ease;
}

.mission article:last-child {
  border-right: 0;
}

.mission article:hover {
  background: rgba(255,255,255,.04);
  transform: translateY(-5px);
}

.mission .accent-card {
  background:
    linear-gradient(145deg, rgba(165,32,25,.24), rgba(165,32,25,.055));
}

.number {
  color: var(--red-bright);
  font-size: .72rem;
  letter-spacing: .2em;
}

.mission h2 {
  margin: 52px 0 16px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -.06em;
}

.mission p {
  color: #a9a9a9;
  line-height: 1.6;
  margin: 0;
  max-width: 360px;
}



.coming {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: end;
  padding: 35px 0 120px;
}

.coming h2 {
  margin: 16px 0 0;
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.065em;
}

.coming p {
  color: #aaa;
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
}

footer {
  min-height: 180px;
  padding: 45px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.footer-brand strong {
  font-size: 1.15rem;
}

.footer-brand em {
  color: var(--red-bright);
  font-style: normal;
}

.footer-brand small,
.hw small,
.hw span {
  display: block;
  color: #777;
  font-size: .68rem;
  letter-spacing: .12em;
  margin-top: 8px;
}

.hw {
  text-align: right;
}

.hw strong {
  display: block;
  margin-top: 5px;
  letter-spacing: .08em;
}

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.ambient-one {
  width: 420px;
  height: 420px;
  right: -180px;
  top: 20%;
  background: rgba(209,37,27,.11);
}

.ambient-two {
  width: 330px;
  height: 330px;
  left: -160px;
  bottom: 5%;
  background: rgba(209,37,27,.07);
}

@keyframes statusPulse {
  0%   { box-shadow: 0 0 0 0 rgba(209,37,27,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(209,37,27,0); }
  100% { box-shadow: 0 0 0 0 rgba(209,37,27,0); }
}



/* =========================================
   HAGENWORTH / BürgerNotFunk
   Responsive & Display System
   ========================================= */

::selection {
  background: var(--red-bright);
  color: #fff;
}

.brand,
.hero h1,
.mission h2,
.coming h2 {
  text-wrap: balance;
}

.topbar {
  position: relative;
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, var(--red-bright), transparent);
}

.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  top: 140px;
  border-radius: 50%;
  background:
    radial-gradient(circle,
      transparent 0 19%,
      rgba(209,37,27,.18) 20% 20.5%,
      transparent 21% 38%,
      rgba(209,37,27,.12) 39% 39.5%,
      transparent 40% 58%,
      rgba(209,37,27,.07) 59% 59.5%,
      transparent 60%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hw strong {
  color: #fff;
}

.hw strong::after {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  margin-top: 10px;
  margin-left: auto;
  background: var(--red-bright);
}

/* Large Display / Full-HD und größer */
@media (min-width: 1920px) {
  .page {
    width: min(100% - 120px, 1680px);
  }

  .hero {
    min-height: 760px;
  }

  .hero h1 {
    max-width: 1300px;
  }
}

/* Laptop */
@media (min-width: 1024px) and (max-width: 1439px) {
  .page {
    width: min(100% - 64px, 1280px);
  }

  .hero {
    min-height: 610px;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .page {
    width: calc(100% - 48px);
  }

  .topbar {
    gap: 18px;
  }

  .status {
    font-size: .7rem;
    line-height: 1.35;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 80px;
  }

  .hero::before {
    width: 360px;
    height: 360px;
    right: -170px;
    top: 60px;
  }

  .mission {
    grid-template-columns: 1fr;
  }

  .mission article {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 34px;
  }

  .mission article:last-child {
    border-bottom: 0;
  }

  .coming {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

/* Große Smartphones / kleine Tablets */
@media (min-width: 521px) and (max-width: 767px) {
  .page {
    width: calc(100% - 36px);
  }

  .topbar {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .brand {
    white-space: nowrap;
  }

  .status {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    text-align: left;
    font-size: .64rem;
    line-height: 1.4;
  }

  .hero {
    min-height: 0;
    justify-content: flex-start;
    padding: 42px 0 72px;
  }

  .hero::before {
    width: 320px;
    height: 320px;
    right: -170px;
    top: 65px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 10vw, 5rem);
  }

  .mission {
    grid-template-columns: 1fr;
  }

  .mission article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 32px;
  }

  .mission article:last-child {
    border-bottom: 0;
  }

  .coming {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hw {
    text-align: left;
  }

  .hw strong::after {
    margin-left: 0;
  }
}

/* Smartphone */
@media (max-width: 520px) {
  .page {
    width: calc(100% - 28px);
  }

  .topbar {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .brand {
    font-size: 1.65rem;
    white-space: nowrap;
  }

  .brand small {
    font-size: .32em;
  }

  .status {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    text-align: left;
    font-size: .61rem;
    line-height: 1.4;
    letter-spacing: .07em;
  }

  .status-dot {
    flex: 0 0 auto;
  }

  .hero {
    min-height: 0;
    justify-content: flex-start;
    padding: 40px 0 66px;
  }

  .hero::before {
    width: 290px;
    height: 290px;
    right: -170px;
    top: 190px;
  }

  .eyebrow {
    font-size: .67rem;
    letter-spacing: .18em;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
    line-height: .98;
    letter-spacing: -.065em;
    margin-top: 24px;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.75;
  }

  .pill {
    width: 100%;
    justify-content: flex-start;
    padding: 15px 18px;
    font-size: .78rem;
    line-height: 1.45;
  }

  .mission {
    grid-template-columns: 1fr;
  }

  .mission article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 30px 24px;
  }

  .mission article:last-child {
    border-bottom: 0;
  }

  .coming {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 70px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hw {
    text-align: left;
  }

  .hw strong::after {
    margin-left: 0;
  }
}

/* Hochformat-Tablet */
@media (min-width: 600px) and (max-width: 1023px) and (orientation: portrait) {
  .hero h1 {
    max-width: 720px;
  }
}

/* Touch-Geräte */
@media (pointer: coarse) {
  .brand {
    -webkit-tap-highlight-color: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* BürgerNotFunk – kompakter Hero auf mobilen Geräten */
@media (max-width: 767px) {
  .hero {
    display: block !important;
    min-height: 0 !important;
    padding-top: 36px !important;
  }


  .eyebrow {
    margin-top: 0 !important;
  }
}

/* BürgerNotFunk – eigenständige Baustellengestaltung */
:root {
  --red: #861a22;
  --red-bright: #b92e3a;
}

.bnf-divider {
  height: 1px;
  margin: 55px 0 90px;
  background: linear-gradient(90deg, transparent, rgba(185,46,58,.55), rgba(255,255,255,.12), transparent);
}
.hero::after {
  content: "";
  position: absolute;
  right: 3%;
  top: 15%;
  width: min(24vw, 220px);
  aspect-ratio: 1;
  border: 1px solid rgba(185,46,58,.25);
  border-radius: 24%;
  transform: rotate(-12deg);
  pointer-events: none;
  opacity: .55;
}
@media (max-width: 767px) {
  .hero::after { opacity: .18; right: 0; top: 4%; }
  .bnf-divider { margin: 35px 0 60px; }
}
