:root {
  --bg: #fff7f4;
  --bg-strong: #ffe7df;
  --surface: #ffffff;
  --surface-soft: #fffaf8;
  --text: #1d1715;
  --muted: #6d5a54;
  --line: #edd6ce;
  --green: #c83a2f;
  --green-dark: #8f241d;
  --green-soft: #ffe4dc;
  --black: #171312;
  --danger: #b82018;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(74, 28, 22, 0.12);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.12;
  color: var(--black);
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.9rem);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.25rem;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

.section {
  padding: 92px 0;
}

.section-accent {
  background:
    radial-gradient(circle at 15% 20%, rgba(200, 58, 47, 0.22), transparent 34%),
    linear-gradient(135deg, #fff6f2 0%, #ffe7df 52%, #ffffff 100%);
}

.section-muted {
  background: #ffffff;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--black);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 244, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(237, 214, 206, 0.92);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  white-space: nowrap;
}

.brand-logo-link {
  line-height: 0;
}

.brand-logo {
  display: block;
  width: clamp(210px, 22vw, 310px);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  font-size: 0.95rem;
  color: var(--muted);
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--black);
}

.header-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  padding: 92px 0 78px;
}

.hero-grid,
.split-grid,
.inhouse-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: 54px;
  align-items: center;
}

.hero-copy p {
  font-size: 1.08rem;
  color: #322420;
}

.hero-lead {
  font-size: 1.18rem !important;
}

.hero-trained-counter {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 0 0 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(237, 214, 206, 0.95);
  box-shadow: 0 10px 28px rgba(74, 28, 22, 0.08);
  color: var(--green-dark);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.hero-trained-counter:empty::before {
  content: "Über Brandschutzhelfer/innen alleine in München ausgebildet";
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--green-dark);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 99px;
  background: var(--green);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions-center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: var(--black);
  box-shadow: 0 13px 30px rgba(143, 36, 29, 0.26);
}

.btn-secondary {
  background: var(--black);
  color: #fff;
  box-shadow: 0 13px 30px rgba(23, 19, 18, 0.22);
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.trust-list li {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(237, 214, 206, 0.95);
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(237, 214, 206, 0.95);
  box-shadow: var(--shadow);
  border-radius: 34px;
  overflow: hidden;
}

.section-image-card,
.hero-image-card {
  margin: 0;
}

.image-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff3ee 0%, #ffffff 100%);
}

.image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame-16x9 {
  aspect-ratio: 16 / 9;
}

.image-frame-12x7 {
  aspect-ratio: 12 / 7;
}

.hero-image-frame {
  border-bottom: 1px solid rgba(237, 214, 206, 0.95);
}

.hero-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px;
}

.hero-note span {
  color: var(--muted);
}

.section-media-block {
  margin-top: 34px;
}

.section-image-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(74, 28, 22, 0.08);
  overflow: hidden;
}

.section-image-card figcaption {
  padding: 14px 18px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}


.premium-section {
  overflow: hidden;
}

.premium-layout {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  column-gap: 24px;
  min-height: 640px;
  align-items: start;
  overflow: visible;
}

.premium-kicker {
  grid-column: 1 / 4;
  grid-row: 1;
  align-self: start;
  color: var(--green-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 5;
  margin-bottom: 22px;
}

.premium-title {
  grid-row: 1;
  align-self: start;
  margin: 46px 0 0;
  font-size: clamp(3.4rem, 7vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.07em;
  z-index: 4;
  pointer-events: none;
  color: var(--black);
}

.premium-copy {
  grid-row: 2;
  align-self: end;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.9);
  border-left: 5px solid var(--green);
  padding: 24px;
  border-radius: 0 22px 22px 0;
  box-shadow: 0 18px 44px rgba(74, 28, 22, 0.10);
  z-index: 5;
  backdrop-filter: blur(10px);
}

.premium-copy p {
  color: var(--muted);
}

.premium-copy p:last-child {
  margin-bottom: 0;
}

.premium-image {
  margin: 0;
  padding: 0;
  line-height: 0;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 28px 48px rgba(74, 28, 22, 0.16));
}

.premium-image .image-frame {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.premium-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.security-premium .premium-layout {
  min-height: 800px;
  align-items: start;
}

.security-premium .premium-image,
.security-premium .premium-image .image-frame,
.ablauf-premium .premium-image,
.ablauf-premium .premium-image .image-frame {
  margin: 0;
  padding: 0;
  line-height: 0;
}

.security-premium .premium-title {
  grid-column: 1 / 13;
  max-width: none;
}

.security-premium .premium-copy {
  grid-column: 1 / 5;
}

.security-premium .premium-image {
  grid-column: 5 / 13;
  grid-row: 1 / 3;
  align-self: end;
  margin-top: 190px;
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
}

.security-premium .premium-image .image-frame {
  aspect-ratio: 12 / 7;
}

.security-premium .cards-grid-six {
  margin-top: 56px;
}

.ablauf-premium .premium-layout {
  min-height: 860px;
  align-items: start;
}

.ablauf-premium .premium-title {
  grid-column: 1 / 13;
  max-width: none;
}

.ablauf-premium .premium-copy {
  grid-column: 1 / 5;
}

.ablauf-premium .premium-image {
  grid-column: 5 / 13;
  grid-row: 1 / 3;
  align-self: end;
  margin-top: 230px;
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
}

.ablauf-premium .premium-image .image-frame {
  aspect-ratio: 16 / 9;
}

.premium-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 48px;
}

.premium-step {
  border-top: 3px solid var(--green);
  padding: 18px 0 0;
  background: transparent;
  box-shadow: none;
}

.premium-step h3 {
  margin-bottom: 0.65rem;
}

.premium-step p {
  color: var(--muted);
}

.table-shell {
  margin-top: 34px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  min-height: 320px;
  overflow-x: auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.target-card,
.info-panel,
.location-panel,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(74, 28, 22, 0.08);
}

.target-card {
  padding: 24px;
}

.target-card p {
  margin: 0;
  color: var(--muted);
}

.target-card-strong {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

.target-card-strong h3,
.target-card-strong p {
  color: #fff;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--green-soft);
  margin-bottom: 16px;
  font-size: 1.35rem;
}

.center-action {
  text-align: center;
  margin-top: 34px;
}

.split-grid-reverse {
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
}

.split-grid-reverse > :first-child {
  order: 2;
}

.split-grid-reverse > :last-child {
  order: 1;
}

.info-panel {
  padding: 30px;
  background: linear-gradient(135deg, #171312 0%, #552119 100%);
  color: #fff;
}

.info-panel h3 {
  color: #fff;
}

.check-list {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.check-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}


.after-text {
  margin-top: 30px;
}

.location-panel {
  padding: 34px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 20% 15%, rgba(200, 58, 47, 0.22), transparent 28%),
    #fff;
}

.location-kicker {
  color: var(--green-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.location-panel strong {
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 12px;
}

.inhouse-section {
  background:
    linear-gradient(140deg, #fff3ef 0%, #ffffff 100%);
}

.inhouse-grid {
  align-items: start;
}

.contact-form {
  padding: 28px;
  position: sticky;
  top: 98px;
}

.contact-form h3 {
  font-size: 1.65rem;
}

.form-note,
.form-status {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-form label:not(.consent-row) {
  display: block;
  margin: 14px 0 7px;
  font-weight: 800;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #e5c9c0;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(200, 58, 47, 0.18);
}

.consent-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-top: 5px;
}

.consent-row a {
  text-decoration: underline;
  color: var(--black);
}

.form-submit {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
}

.form-status.success {
  color: var(--green-dark);
  font-weight: 800;
}

.form-status.error {
  color: var(--danger);
  font-weight: 800;
}

.hp-field {
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 28px;
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--black);
}

details p {
  margin: 14px 0 0;
  color: var(--muted);
}

.final-cta {
  text-align: center;
  background:
    radial-gradient(circle at 80% 10%, rgba(200, 58, 47, 0.22), transparent 30%),
    var(--black);
  color: #fff;
}

.final-cta h2,
.final-cta p {
  color: #fff;
}

.site-footer {
  background: #171312;
  color: #fff;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  gap: 16px;
}



.footer-inner a,
.legal-trigger {
  appearance: none;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-modal[hidden] {
  display: none;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 19, 18, 0.72);
  backdrop-filter: blur(8px);
}

.legal-modal-panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(86vh, 820px);
  overflow: hidden;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 26px 80px rgba(23, 19, 18, 0.34);
  border: 1px solid var(--line);
}

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #8f241d 0%, #c83a2f 100%);
  color: #fff;
}

.legal-modal-header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.legal-modal-close {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.legal-modal-body {
  max-height: calc(min(86vh, 820px) - 84px);
  overflow-y: auto;
  padding: 28px;
}

.legal-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal-content h2 {
  margin-top: 28px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.legal-content p {
  color: var(--muted);
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .premium-layout {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 20px;
  }

  .premium-kicker {
    order: 1;
    margin-bottom: 0;
  }

  .premium-title {
    order: 2;
    font-size: clamp(2.4rem, 12vw, 4rem);
    line-height: 0.95;
    margin: 0;
    letter-spacing: -0.055em;
    pointer-events: auto;
  }

  .premium-image {
    order: 3;
    width: 100%;
  }

  .security-premium .premium-image,
  .ablauf-premium .premium-image {
    clip-path: none;
    filter: none;
  }

  .premium-image .image-frame,
  .security-premium .premium-image .image-frame,
  .ablauf-premium .premium-image .image-frame {
    aspect-ratio: 12 / 7;
    clip-path: none;
    border-radius: 20px;
  }

  .premium-copy {
    order: 4;
    width: 100%;
    margin: 0;
    border-radius: 18px;
    border-left-width: 4px;
  }

  .premium-steps {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .main-nav {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .inhouse-grid,
  .split-grid-reverse {
    grid-template-columns: 1fr;
  }

  .split-grid-reverse > :first-child,
  .split-grid-reverse > :last-child {
    order: initial;
  }

  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form {
    position: relative;
    top: 0;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .section,
  .hero {
    padding: 62px 0;
  }

  .header-inner {
    min-height: 66px;
  }

  .header-cta {
    display: none;
  }

  .brand-logo {
    width: min(235px, 68vw);
    max-height: 54px;
  }

  .trust-list,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .table-shell {
    padding: 12px;
    border-radius: 18px;
  }

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

  .legal-modal {
    padding: 12px;
  }

  .legal-modal-body {
    padding: 20px;
  }
}




.inhouse-image-card {
  margin: 18px 0 24px;
}
