/* ============================================================
   BDS Bayern – Bürokratieabbau Landingpage
   style.css  |  Corporate Design: Blau #0072b5, Orange #ff8f23
   ============================================================ */

/* --- Design Tokens --- */
:root {
  --bds-blue:        #0072b5;
  --bds-blue-75:     #3d93c4;
  --bds-blue-50:     #80b9da;
  --bds-blue-25:     #bfdcec;
  --bds-blue-10:     #e5f2f9;
  --bds-orange:      #ff8f23;
  --bds-orange-dark: #e67d15;
  --text-dark:       #1a1a1a;
  --text-gray:       #555555;
  --text-light:      #888888;
  --bg-white:        #ffffff;
  --bg-light:        #f7f9fc;
  --border:          #dde6ef;
  --shadow-sm:       0 2px 12px rgba(0, 114, 181, 0.07);
  --shadow-md:       0 6px 28px rgba(0, 114, 181, 0.14);
  --radius:          8px;
  --radius-lg:       16px;
  --font:            'Open Sans', sans-serif;
  --container-max:   1180px;
  --pad:             clamp(1.25rem, 5vw, 3rem);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--bds-blue); transition: color 0.2s; }
a:hover { color: var(--bds-orange); }

ul { list-style: none; }
address { font-style: normal; }
details { cursor: pointer; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }

:focus-visible {
  outline: 3px solid var(--bds-orange);
  outline-offset: 3px;
  border-radius: 3px;
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.85em 1.75em;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s,
              box-shadow 0.2s, transform 0.12s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-orange {
  background: var(--bds-orange);
  color: #fff;
  border-color: var(--bds-orange);
}
.btn-orange:hover {
  background: var(--bds-orange-dark);
  border-color: var(--bds-orange-dark);
  color: #fff;
  box-shadow: 0 4px 18px rgba(255, 143, 35, 0.38);
}

.btn-blue {
  background: var(--bds-blue);
  color: #fff;
  border-color: var(--bds-blue);
}
.btn-blue:hover {
  background: #005a91;
  border-color: #005a91;
  color: #fff;
}

.btn-blue-outline {
  background: transparent;
  color: var(--bds-blue);
  border-color: var(--bds-blue);
}
.btn-blue-outline:hover {
  background: var(--bds-blue);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--bds-blue);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--bds-blue-10);
  color: var(--bds-blue);
}

.btn-ghost-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.btn-outline-sm {
  padding: 0.5em 1.1em;
  font-size: 0.875rem;
  border-color: var(--bds-blue);
  color: var(--bds-blue);
  background: transparent;
}
.btn-outline-sm:hover {
  background: var(--bds-blue);
  color: #fff;
}

.btn-lg {
  font-size: 1.0625rem;
  padding: 1em 2.25em;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 0.875rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo { height: 48px; width: auto; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.header-nav a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
}
.header-nav a:not(.btn):hover { color: var(--bds-blue); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--bg-white);
  padding: 5rem 0 6rem;
  overflow: hidden;
}

/* BDS tektonisches Winkelelement oben links */
.bds-angle-tl {
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 0;
  border-top: 160px solid var(--bds-blue);
  border-right: 250px solid transparent;
  pointer-events: none;
}

/* BDS Winkelelement unten rechts */
.bds-angle-br {
  position: absolute;
  bottom: 0; right: 0;
  width: 0; height: 0;
  border-bottom: 110px solid var(--bds-blue-10);
  border-left: 180px solid transparent;
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bds-blue);
  background: var(--bds-blue-10);
  padding: 0.3em 0.9em;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}

h1 {
  font-size: clamp(1.875rem, 4vw, 2.875rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-gray);
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Stat cards im Hero */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  background: var(--bds-blue);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-md);
}

.stat-number {
  display: block;
  font-size: 2.125rem;
  font-weight: 800;
  line-height: 1;
  color: var(--bds-orange);
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.8125rem;
  line-height: 1.45;
  opacity: 0.88;
}

/* ============================================================
   SECTION GEMEINSAM
   ============================================================ */
h2 {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--bds-blue);
  margin-bottom: 0.9rem;
}

.section-lead {
  font-size: 1.0625rem;
  color: var(--text-gray);
  max-width: 700px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.section-problem        { background: var(--bg-light);   padding: 5rem 0; }
.section-forderungen    { background: var(--bg-white);   padding: 5rem 0; }
.section-vorteile       { background: var(--bds-blue-10); padding: 5rem 0; }
.section-kummerkasten   { background: var(--bg-white);   padding: 5rem 0; }
.section-ueber-bds      { background: var(--bg-light);   padding: 5rem 0; }
.section-faq            { background: var(--bg-white);   padding: 5rem 0; }

/* ============================================================
   PROBLEM-KARTEN
   ============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.problem-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--bds-blue);
  transition: box-shadow 0.22s, transform 0.22s;
}
.problem-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.problem-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
}
.problem-card p {
  color: var(--text-gray);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* Zitat */
.bds-quote {
  background: var(--bds-blue);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  position: relative;
  overflow: hidden;
}
.bds-quote::before {
  content: '\201C';
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  font-size: 9rem;
  font-weight: 800;
  opacity: 0.12;
  line-height: 1;
}
.bds-quote p {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 1rem;
  position: relative;
}
.bds-quote cite {
  font-size: 0.875rem;
  opacity: 0.75;
  display: block;
}

/* ============================================================
   FORDERUNGEN
   ============================================================ */
.forderungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.forderung-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--bg-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.forderung-item:hover {
  border-color: var(--bds-blue-50);
  box-shadow: var(--shadow-sm);
}

.forderung-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--bds-blue-50);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2.75rem;
}
.forderung-text p {
  color: var(--text-gray);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ============================================================
   VORTEILE
   ============================================================ */
.vorteile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.vorteil-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s, transform 0.22s;
}
.vorteil-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.vorteil-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
  line-height: 1;
}
.vorteil-card p {
  color: var(--text-gray);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ============================================================
   KUMMERKASTEN-FORMULAR
   ============================================================ */
.kummerkasten-intro {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.kummerkasten-form {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 3rem);
  max-width: 800px;
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.form-group:last-child { margin-bottom: 0; }

label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
}

input[type="text"],
input[type="email"],
textarea {
  padding: 0.75em 1em;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--bds-blue);
  box-shadow: 0 0 0 3px rgba(0, 114, 181, 0.12);
  outline: none;
}
textarea { resize: vertical; }

fieldset { border: none; padding: 0; }
legend {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  display: block;
}

.radio-group { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 400;
  cursor: pointer;
}

/* Slider */
.range-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.25rem;
}
input[type="range"] {
  flex: 1;
  accent-color: var(--bds-blue);
  height: 6px;
  cursor: pointer;
}
.range-label { font-size: 0.875rem; color: var(--text-light); }
.range-output {
  background: var(--bds-blue);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.scale-hint {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 400;
  margin-left: 0.25rem;
  display: inline-block;
}

/* Checkbox */
.checkbox-label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--bds-blue);
  margin-top: 2px;
  cursor: pointer;
}
.form-privacy { margin-bottom: 1rem; }

/* File Upload */
.field-hint {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 400;
  margin-left: 0.3rem;
}

.file-upload-wrapper {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg-white);
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.file-upload-wrapper:hover,
.file-upload-wrapper:focus-within {
  border-color: var(--bds-blue);
  background: var(--bds-blue-10);
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  border: none;
  padding: 0;
  box-shadow: none;
}

.file-upload-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  color: var(--text-gray);
  font-size: 0.9375rem;
  pointer-events: none;
}

.file-hint-text {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: 0.35rem;
}

.form-note {
  background: var(--bds-blue-10);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  font-size: 0.875rem;
  color: var(--text-gray);
  border-left: 3px solid var(--bds-blue);
  line-height: 1.55;
}

/* ============================================================
   ÜBER BDS
   ============================================================ */
.bds-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.bds-split-text p {
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.bds-leistungen {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.bds-leistungen li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-gray);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.bds-leistungen li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bds-blue);
}

.cta-card {
  background: var(--bds-blue);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.cta-card h3 { color: #fff; font-size: 1.25rem; line-height: 1.35; }
.cta-card p { font-size: 0.9375rem; opacity: 0.88; line-height: 1.6; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--bds-blue); }

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  gap: 1rem;
  transition: background 0.2s, color 0.2s;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--bds-blue);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary {
  background: var(--bds-blue);
  color: #fff;
}
.faq-item[open] summary::after { content: '\2212'; color: #fff; }

.faq-answer {
  padding: 1.25rem 1.5rem;
  color: var(--text-gray);
  line-height: 1.7;
  font-size: 0.9375rem;
  background: var(--bg-light);
}

/* ============================================================
   FINALE CTA-SEKTION
   ============================================================ */
.section-final-cta {
  background: var(--bds-blue);
  color: #fff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.section-final-cta h2 { color: #fff; }
.section-final-cta > .container > p {
  color: rgba(255,255,255,0.85);
  font-size: 1.0625rem;
  margin-bottom: 2.75rem;
  line-height: 1.7;
}

/* Winkel-Dekor */
.bds-angle-tl-sm {
  position: absolute; top: 0; left: 0;
  width: 0; height: 0;
  border-top: 90px solid rgba(255,255,255,0.07);
  border-right: 140px solid transparent;
  pointer-events: none;
}
.bds-angle-br-sm {
  position: absolute; bottom: 0; right: 0;
  width: 0; height: 0;
  border-bottom: 90px solid rgba(255,255,255,0.07);
  border-left: 140px solid transparent;
  pointer-events: none;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  text-align: left;
}
.kontakt-card {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid rgba(255,255,255,0.18);
}
.kontakt-card h3 {
  color: rgba(255,255,255,0.65);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  margin-bottom: 0.6rem;
}
.kontakt-link {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bds-orange);
  text-decoration: none;
  margin-bottom: 0.25rem;
}
.kontakt-link:hover { color: #fff; }
.kontakt-info { font-size: 0.875rem; color: rgba(255,255,255,0.55); }
.kontakt-card address { color: rgba(255,255,255,0.85); line-height: 1.7; }

.cta-final-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #121b24;
  color: rgba(255,255,255,0.78);
  padding-top: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo img {
  filter: brightness(0) invert(1);
  opacity: 0.85;
  margin-bottom: 1rem;
  height: 44px;
  width: auto;
}
.footer-logo p {
  font-size: 0.875rem;
  opacity: 0.6;
  line-height: 1.55;
}

.footer-kontakt address { font-size: 0.9375rem; line-height: 1.9; }
.footer-kontakt a,
.footer-links a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
}
.footer-kontakt a:hover,
.footer-links a:hover { color: var(--bds-orange); }

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links a { font-size: 0.9375rem; }

.social-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.social-links a:hover {
  background: var(--bds-orange);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.09);
  padding: 1.25rem 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.8125rem; opacity: 0.5; }
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--bds-orange); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: row; }
  .stat-card { flex: 1; }
  .bds-split { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  :root { --pad: 1.25rem; }

  .hero { padding: 3.5rem 0 4rem; }
  .bds-angle-tl { border-top-width: 90px; border-right-width: 140px; }
  .hero-stats { flex-direction: column; }

  .section-problem, .section-forderungen, .section-vorteile,
  .section-kummerkasten, .section-ueber-bds, .section-faq,
  .section-final-cta { padding: 3.5rem 0; }

  .form-row { grid-template-columns: 1fr; }
  .bds-quote { padding: 1.75rem; }
  .bds-quote p { font-size: 1.0625rem; }

  /* Nav: nur CTA-Button auf Mobil */
  .header-nav a:not(.btn) { display: none; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* Print */
@media print {
  .site-header, .hero-actions, .section-final-cta,
  .section-kummerkasten, .site-footer { display: none; }
}
