/*
Theme Name: Förderverein KFJF Landkreis Leer
Theme URI: https://foerderverein-kfjf-lk-leer.de/
Author: MB Bürodienstleistungen
Description: Individuelles WordPress-Theme für den Förderverein der Kinder- und Jugendfeuerwehren im Landkreis Leer e. V.
Version: 1.0.0
Text Domain: foerderverein-kfjf
*/

:root {
  --navy: #0e2748;
  --navy-dark: #081a31;
  --blue: #17479e;
  --red: #e30613;
  --ink: #10233f;
  --muted: #5e6d7f;
  --line: #dfe5ec;
  --tint: #f3f6f9;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(14, 39, 72, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  max-width: 438px;
}

.brand img {
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a {
  padding: 13px 0;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--red);
}

.desktop-nav .nav-cta {
  padding: 14px 18px;
  border: 1px solid var(--red);
  color: var(--red);
}

.desktop-nav .nav-cta:hover,
.desktop-nav .nav-cta:focus-visible {
  background: var(--red);
  color: var(--white);
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  cursor: pointer;
  list-style: none;
  border: 1px solid var(--navy);
  padding: 11px 14px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu nav {
  position: absolute;
  top: 50px;
  right: 0;
  width: min(300px, calc(100vw - 32px));
  display: grid;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(8, 26, 49, 0.16);
}

.mobile-menu nav a {
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
}

.hero {
  overflow: hidden;
  background:
    linear-gradient(110deg, #ffffff 0%, #ffffff 62%, #f1f5f8 62%),
    var(--white);
}

.hero-grid {
  min-height: 630px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.75fr);
  align-items: center;
  gap: 72px;
  padding-block: 82px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  display: inline-block;
  width: 38px;
  height: 3px;
  margin: 0 13px 3px 0;
  background: var(--red);
}

.hero h1 {
  max-width: 790px;
  margin: 0;
  color: var(--navy-dark);
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: clamp(52px, 5.4vw, 76px);
  font-stretch: condensed;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.subhero {
  padding: 105px 0 92px;
  background: linear-gradient(110deg, #fff 0%, #fff 72%, var(--tint) 72%);
}

.subhero .narrow {
  max-width: 920px;
}

.subhero h1 {
  margin: 0;
  color: var(--navy-dark);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(48px, 6vw, 74px);
  letter-spacing: -0.045em;
  line-height: 1;
}

.subhero .narrow > p:last-child {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.hero h1 span {
  color: var(--red);
  overflow-wrap: anywhere;
}

.lead {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  min-height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 22px;
  border: 2px solid transparent;
  font-size: 15px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--red);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #bd0010;
}

.button-secondary {
  border-color: var(--navy);
  background: transparent;
  color: var(--navy);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--navy);
  color: var(--white);
}

.hero-panel {
  position: relative;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 38px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 24px 24px 0 #e5eaf0;
}

.panel-flames {
  position: absolute;
  top: 45px;
  left: 38px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 105px;
}

.panel-flames i {
  display: block;
  width: 25px;
  border-radius: 70% 25% 62% 32%;
  transform: skew(-8deg);
}

.panel-flames i:nth-child(1) {
  height: 82px;
  background: #2b61b8;
}

.panel-flames i:nth-child(2) {
  height: 105px;
  background: #050a11;
}

.panel-flames i:nth-child(3) {
  height: 76px;
  background: var(--red);
}

.hero-panel > p {
  margin: 0 0 11px;
  color: #b9c7d7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-panel strong {
  max-width: 330px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 30px;
  line-height: 1.13;
}

.hero-panel > span {
  margin-top: 18px;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.6;
}

.membership-strip {
  background: var(--navy-dark);
  color: var(--white);
}

.fee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.fee-grid > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 3px 16px;
  padding: 28px 36px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.fee-grid > div:first-child {
  padding-left: 0;
}

.fee-grid > div:last-child {
  border-right: 0;
  padding-right: 0;
}

.fee-grid span {
  grid-column: 1;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 700;
}

.fee-grid strong {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 42px;
  line-height: 1;
}

.fee-grid small {
  color: #8fa2b7;
  font-size: 12px;
}

.section {
  padding: 110px 0;
}

.section-tint {
  background: var(--tint);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 110px;
}

.section h2,
.contact-section h2 {
  margin: 0;
  color: var(--navy-dark);
  font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.prose {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.prose p {
  margin: 0 0 20px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 90px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading > p {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--white);
}

.support-card {
  min-height: 270px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.support-card > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.support-card h3 {
  margin: 55px 0 12px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.25;
}

.support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.action-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  background: var(--navy);
}

.action-main {
  padding: 68px;
  color: var(--white);
}

.section-kicker-light {
  color: #ffffff;
}

.action-main h2,
.contact-section h2 {
  color: var(--white);
}

.action-main > p:not(.section-kicker) {
  max-width: 680px;
  margin: 24px 0 32px;
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.7;
}

.button-light {
  background: var(--white);
  color: var(--navy);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--red);
  color: var(--white);
}

.donation-card {
  margin: 22px;
  padding: 42px;
  background: var(--white);
  color: var(--navy);
}

.donation-card > p {
  margin: 0;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.donation-card h3 {
  margin: 14px 0 14px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 42px;
}

.donation-card > span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.donation-card dl {
  margin: 34px 0 0;
}

.donation-card dl > div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.donation-card dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.donation-card dd {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  word-break: break-word;
}

.rules-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
}

.rules-intro {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.steps li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.steps li > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.steps strong {
  color: var(--navy);
  font-size: 17px;
}

.steps p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

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

.board-list article {
  min-height: 112px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.board-list h3 {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
}

.board-list p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.path-grid article {
  min-height: 310px;
  padding: 42px;
  background: var(--white);
  border: 1px solid var(--line);
}

.path-grid article > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}

.path-grid h3 {
  margin: 54px 0 14px;
  color: var(--navy);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 30px;
}

.path-grid p {
  max-width: 470px;
  color: var(--muted);
  line-height: 1.65;
}

.path-grid a,
.text-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--red);
  font-weight: 800;
}

.button-disabled {
  cursor: default;
  opacity: .82;
}

.compact-cta {
  padding-block: 80px;
}

.legal {
  padding-block: 75px;
}

.legal-copy {
  max-width: 850px;
}

.legal-copy h2 {
  margin: 38px 0 12px;
  font-size: 24px;
  letter-spacing: -.01em;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.legal-copy a {
  color: var(--red);
}

.legal-note {
  margin-top: 42px;
  padding: 20px;
  border-left: 3px solid var(--red);
  background: var(--tint);
}

.download-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}

.download-wrap > div:first-child > p:not(.section-kicker) {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.download-list {
  border-top: 1px solid var(--line);
}

.download-list > div {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 92px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.download-list > div > span {
  width: 55px;
  flex: 0 0 55px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.download-list strong,
.download-list small {
  display: block;
}

.download-list strong {
  color: var(--navy);
  font-size: 16px;
}

.download-list small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.contact-section {
  padding: 90px 0;
  background: var(--navy-dark);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.contact-details {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
}

.contact-details span {
  display: block;
  margin-bottom: 14px;
  color: #8fa2b7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-details address,
.contact-details a {
  color: #e5ecf3;
  font-size: 14px;
  font-style: normal;
  line-height: 1.75;
}

.contact-details a {
  word-break: break-word;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-inner {
  min-height: 125px;
  display: grid;
  grid-template-columns: 280px 1fr auto;
  align-items: center;
  gap: 35px;
}

.footer-inner img {
  width: 100%;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.footer-inner nav {
  display: flex;
  gap: 18px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-panel { min-height: 320px; }
  .split, .section-heading, .rules-grid, .download-wrap, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .support-grid, .board-list { grid-template-columns: repeat(2, 1fr); }
  .action-grid { grid-template-columns: 1fr; }
  .path-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 240px 1fr; padding-block: 24px; }
  .footer-inner nav { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 32px, 1180px); }
  .header-inner { min-height: 82px; }
  .brand { max-width: 235px; }
  .hero-grid { padding-block: 58px; gap: 48px; }
  .hero h1, .subhero h1 { font-size: 45px; }
  .hero-panel { box-shadow: 12px 12px 0 #e5eaf0; }
  .fee-grid { grid-template-columns: 1fr; }
  .fee-grid > div, .fee-grid > div:first-child, .fee-grid > div:last-child { padding: 22px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .section { padding: 72px 0; }
  .support-grid, .board-list { grid-template-columns: 1fr; }
  .action-main, .donation-card, .path-grid article { padding: 32px; }
  .donation-card { margin: 12px; }
  .contact-details { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner img { max-width: 280px; }
  .footer-inner nav { grid-column: auto; }
}

.footer-inner nav {
  display: flex;
  gap: 20px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 1020px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

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

  .support-grid,
  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading,
  .split,
  .rules-grid,
  .download-wrap,
  .contact-grid {
    gap: 55px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 86px;
  }

  .shell {
    width: min(100% - 32px, 1180px);
  }

  .header-inner {
    min-height: 82px;
    gap: 18px;
  }

  .brand {
    max-width: 235px;
  }

  .hero {
    background: var(--white);
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 60px 0 70px;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 64px);
  }

  .lead {
    font-size: 17px;
  }

  .hero-panel {
    min-height: 330px;
    box-shadow: 12px 12px 0 #e5eaf0;
  }

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

  .fee-grid > div,
  .fee-grid > div:first-child,
  .fee-grid > div:last-child {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .fee-grid > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 78px 0;
  }

  .split,
  .section-heading,
  .action-grid,
  .rules-grid,
  .download-wrap,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .support-grid,
  .board-grid {
    grid-template-columns: 1fr;
  }

  .support-card {
    min-height: 220px;
  }

  .action-main {
    padding: 46px 28px;
  }

  .donation-card {
    margin: 0 14px 14px;
    padding: 30px 24px;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 36px 0;
  }

  .footer-inner img {
    max-width: 300px;
  }
}

@media (max-width: 440px) {
  .brand {
    max-width: 205px;
  }

  .mobile-menu summary {
    padding: 10px;
    font-size: 12px;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
