/* ═══════════════════════════════════════════════════════════
   Kostenloser Selbstcheck – Bestandsklarheit
   Farbpalette: Petrol / Grün – passend zur Architektur-Website
   ═══════════════════════════════════════════════════════════ */

:root {
  --main:        #315F5B;
  --main-dark:   #244844;
  --main-light:  rgba(49, 95, 91, 0.10);
  --secondary:   #827548;
  --bg:          #F4F1E8;
  --bg-card:     #FFFDF7;
  --bg-mid:      #DDE7E3;
  --text:        #23201C;
  --text-mid:    #4A4238;
  --text-muted:  #6F6860;
  --border:      rgba(49, 95, 91, 0.22);
  --border-focus:#315F5B;
  --valid:       #315F5B;
  --invalid:     #C0392B;
  --radius:      6px;
  --shadow:      0 1px 4px rgba(35, 32, 28, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

/* ── Honeypot ─────────────────────────────────────────────── */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ── Skip Link ────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  padding: 0.5rem 1rem;
  background: var(--main);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.875rem;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus { left: 1rem; }

/* ── Site Header ──────────────────────────────────────────── */
.site-header {
  background: var(--main);
  padding: 0.9rem 1.5rem;
}
.site-header-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header a.back-link {
  color: rgba(255,255,255,0.80);
  text-decoration: none;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.site-header a.back-link:hover { color: #fff; }
.site-header .brand {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

/* ── Progress Bar ─────────────────────────────────────────── */
.progress-wrap {
  background: var(--bg-mid);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
.progress-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.progress-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 7rem;
}
.progress-bar-track {
  flex: 1;
  height: 5px;
  background: rgba(49, 95, 91, 0.18);
  border-radius: 99px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: var(--main);
  border-radius: 99px;
  width: 0%;
  transition: width 0.4s ease;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--main);
  color: #fff;
  padding: 4rem 1.5rem 3.5rem;
}
.hero-inner {
  max-width: 52rem;
  margin: 0 auto;
}
.hero-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.60);
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: #fff;
}
.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.hero-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  max-width: 44rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.btn-hero {
  display: inline-block;
  background: #fff;
  color: var(--main);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}
.btn-hero:hover {
  background: var(--bg);
  transform: translateY(-1px);
}
.hero-hint {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.50);
}

/* ── Section: Worum es geht ───────────────────────────────── */
.intro-section {
  padding: 3.5rem 1.5rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.intro-inner {
  max-width: 52rem;
  margin: 0 auto;
}
.section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.intro-section h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.intro-section p {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.intro-list {
  list-style: none;
  margin: 1rem 0 1.25rem;
}
.intro-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-mid);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.intro-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: var(--main);
  margin-top: 0.5rem;
}
.intro-note {
  background: var(--bg-mid);
  border-left: 3px solid var(--secondary);
  padding: 0.875rem 1.125rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 1.25rem;
}

/* ── Form Section ─────────────────────────────────────────── */
.form-section {
  padding: 3rem 1.5rem 4rem;
}
.form-inner {
  max-width: 52rem;
  margin: 0 auto;
}
.form-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.form-section-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ── Form Messages ────────────────────────────────────────── */
.form-error-box {
  background: #fdf0ef;
  border: 1px solid #c0392b;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: #c0392b;
  line-height: 1.6;
}
.form-error-box ul { margin: 0.5rem 0 0 1rem; }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}
.card-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}
.question-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  border-radius: 50%;
  background: var(--main);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
}
.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}
.card-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.contact-card .card-header { margin-bottom: 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}
@media (max-width: 540px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ── Form Fields ──────────────────────────────────────────── */
.field-group {
  margin-bottom: 1rem;
}
.field-group:last-child { margin-bottom: 0; }
.field-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 0.375rem;
}
.required-mark { color: var(--main); margin-left: 2px; }
input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(49, 95, 91, 0.12);
}
input.field-invalid,
textarea.field-invalid {
  border-color: var(--invalid);
}
textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.55;
}
.field-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}
.field-error {
  font-size: 0.75rem;
  color: var(--invalid);
  margin-top: 0.3rem;
}

/* ── Radio & Checkbox Groups ──────────────────────────────── */
.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.375rem;
}
.radio-option,
.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  cursor: pointer;
}
.radio-option input,
.checkbox-option input {
  width: auto;
  min-width: 1rem;
  height: 1rem;
  margin-top: 0.28rem;
  accent-color: var(--main);
  cursor: pointer;
  flex-shrink: 0;
}
.radio-option span,
.checkbox-option span {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.55;
}

/* ── Scale ────────────────────────────────────────────────── */
.scale-group {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  margin-top: 0.375rem;
}
.scale-option { position: relative; }
.scale-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.scale-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-mid);
  background: #fff;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  user-select: none;
}
.scale-option label .scale-sub {
  font-size: 0.55rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.1;
  text-align: center;
  margin-top: 2px;
}
.scale-option input:checked + label {
  background: var(--main);
  border-color: var(--main);
  color: #fff;
}
.scale-option input:checked + label .scale-sub { color: rgba(255,255,255,0.75); }
.scale-option label:hover {
  border-color: var(--main);
  background: var(--main-light);
}

/* ── Card Divider / Sub-question ──────────────────────────── */
.card-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.25rem 0;
}
.sub-question {
  margin-top: 1.25rem;
  padding-top: 1.125rem;
  border-top: 1px solid var(--border);
}
.sub-question-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 0.5rem;
  display: block;
}

/* ── Consent Area ─────────────────────────────────────────── */
.consent-area {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
}
.consent-area .checkbox-option { margin-bottom: 1rem; }
.consent-area .checkbox-option:last-child { margin-bottom: 0; }
.consent-area .checkbox-option span {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.consent-area .checkbox-option span a { color: var(--main); text-decoration: underline; }

/* ── Submit Button ────────────────────────────────────────── */
.btn-submit {
  display: inline-block;
  background: var(--main);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.9rem 2.25rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
  text-align: center;
}
.btn-submit:hover { background: var(--main-dark); transform: translateY(-1px); }
.btn-submit:active { transform: none; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
}
.site-footer p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.site-footer a { color: var(--secondary); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ── Thank-you Page ───────────────────────────────────────── */
.thankyou-wrap {
  min-height: 60vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 4rem 1.5rem 5rem;
}
.thankyou-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3rem 2.5rem;
  max-width: 48rem;
  width: 100%;
  box-shadow: 0 2px 12px rgba(35, 32, 28, 0.08);
}
.thankyou-icon {
  width: 3rem;
  height: 3rem;
  background: var(--main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #fff;
  font-size: 1.4rem;
}
.thankyou-card h1 {
  font-size: clamp(1.4rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.thankyou-card p {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.thankyou-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}
.thankyou-cta-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.625rem;
}
.thankyou-card h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.thankyou-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.btn-cta {
  display: inline-block;
  background: var(--main);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  margin-top: 0.75rem;
  transition: background 0.2s, transform 0.15s;
}
.btn-cta:hover { background: var(--main-dark); transform: translateY(-1px); }
.thankyou-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
}

/* ── Ampel ────────────────────────────────────────────────── */
.ampel-section {
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  margin: 1.75rem 0;
}
.ampel-section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}
.ampel-section h2 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.ampel-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.ampel-badge {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  border-radius: 7px;
  margin-bottom: 1.25rem;
}
.ampel-badge.gruen {
  background: #EAF5ED;
  border: 1.5px solid #5CA06E;
}
.ampel-badge.gelb {
  background: #FDF6E3;
  border: 1.5px solid #C9A534;
}
.ampel-badge.rot {
  background: #FDF0EF;
  border: 1.5px solid #C0392B;
}
.ampel-dot {
  width: 1.125rem;
  height: 1.125rem;
  min-width: 1.125rem;
  border-radius: 50%;
  margin-top: 0.18rem;
}
.ampel-badge.gruen .ampel-dot { background: #5CA06E; }
.ampel-badge.gelb  .ampel-dot { background: #C9A534; }
.ampel-badge.rot   .ampel-dot { background: #C0392B; }
.ampel-badge-content {}
.ampel-badge-title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.ampel-badge.gruen .ampel-badge-title { color: #2E6B40; }
.ampel-badge.gelb  .ampel-badge-title { color: #7A5C00; }
.ampel-badge.rot   .ampel-badge-title { color: #8B2020; }
.ampel-badge-text {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ── Hint Boxes ───────────────────────────────────────────── */
.hint-boxes { display: flex; flex-direction: column; gap: 0.875rem; }
.hint-box {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--secondary);
  border-radius: 0 6px 6px 0;
  padding: 1rem 1.25rem;
}
.hint-box-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.375rem;
}
.hint-box-text {
  font-size: 0.8125rem;
  color: var(--text-mid);
  line-height: 1.65;
}
.hint-box-list {
  list-style: none;
  margin-top: 0.375rem;
}
.hint-box-follow { margin-top: 0.625rem !important; }
.hint-box-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.2rem;
}
.hint-box-list li::before {
  content: '–';
  flex-shrink: 0;
}

/* ── CTA-Bereich Danke-Seite ──────────────────────────────── */
.cta-box {
  background: var(--main-light);
  border: 1px solid rgba(49, 95, 91, 0.22);
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  margin-top: 1.75rem;
}
.cta-box h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.cta-box p {
  font-size: 0.875rem;
  color: var(--text-mid);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}
.cta-box-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.75rem !important;
  font-style: italic;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero { padding: 2.75rem 1.25rem 2.5rem; }
  .card { padding: 1.25rem; }
  .thankyou-card { padding: 2rem 1.25rem; }
  .ampel-section { padding: 1.25rem; }
  .scale-option label { width: 2.75rem; height: 2.75rem; font-size: 0.9rem; }
}

/* ── Summary Section ──────────────────────────────────────── */
.summary-section {
  margin: 1.75rem 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-card);
}
.summary-header {
  padding: 1.25rem 1.75rem;
  background: var(--bg-mid);
  border-bottom: 1px solid var(--border);
}
.summary-header h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.375rem;
}
.summary-intro {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-style: italic;
  margin: 0;
}
.summary-groups { padding: 0; }
.summary-group {
  padding: 1rem 1.75rem;
  border-bottom: 1px solid var(--border);
}
.summary-group:last-child { border-bottom: none; }
.summary-group-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.625rem;
}
.summary-dl { margin: 0; }
.summary-row {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 0.25rem 1rem;
  padding: 0.375rem 0;
  border-bottom: 1px solid rgba(49, 95, 91, 0.07);
  align-items: baseline;
}
.summary-row:last-child { border-bottom: none; }
.summary-row dt {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.55;
}
.summary-row dd {
  font-size: 0.875rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.55;
}
.summary-empty {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.8125rem;
}
.summary-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.175rem;
}
.summary-items li {
  font-size: 0.875rem;
  color: var(--text-mid);
  padding-left: 0.875rem;
  position: relative;
  line-height: 1.5;
}
.summary-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--main);
}
@media (max-width: 540px) {
  .summary-row { grid-template-columns: 1fr; gap: 0.1rem; }
  .summary-row dt { color: var(--secondary); }
  .summary-group { padding: 0.875rem 1.125rem; }
}

/* ── Print Button ─────────────────────────────────────────── */
.print-row {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin: 1.5rem 0 0.5rem;
  flex-wrap: wrap;
}
.btn-print {
  background: transparent;
  border: 1.5px solid var(--main);
  color: var(--main);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.125rem;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}
.btn-print:hover { background: var(--main); color: #fff; }
.print-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── @media print ─────────────────────────────────────────── */
@media print {
  /* Header vereinfacht */
  .site-header {
    background: none !important;
    border-bottom: 1px solid #ccc;
    padding: 0.5rem 0;
  }
  .site-header .brand { color: #000 !important; font-size: 0.875rem; }
  .site-header a.back-link { display: none; }

  /* Nicht drucken */
  .progress-wrap,
  .hero,
  .intro-section,
  .form-section,
  .no-print,
  .cta-box,
  .thankyou-icon,
  .thankyou-disclaimer { display: none !important; }

  /* Danke-Seite Layout */
  .thankyou-wrap { padding: 0; min-height: auto; display: block; }
  .thankyou-card {
    box-shadow: none !important;
    border: none !important;
    padding: 0;
    max-width: 100%;
  }
  .thankyou-card h1 { font-size: 1.25rem; margin-bottom: 0.5rem; }
  .thankyou-card > p { font-size: 0.8rem; margin-bottom: 0.5rem; }

  /* Ampel */
  .ampel-section {
    background: #fff !important;
    border: 1px solid #ccc !important;
    margin: 0.75rem 0;
  }
  .ampel-badge.gruen { background: #f0faf3 !important; border-color: #5CA06E !important; }
  .ampel-badge.gelb  { background: #fefae0 !important; border-color: #C9A534 !important; }
  .ampel-badge.rot   { background: #fef0ef !important; border-color: #C0392B !important; }

  /* Hinweisboxen */
  .hint-box { background: #fff !important; border-color: #ccc !important; page-break-inside: avoid; }

  /* Zusammenfassung */
  .summary-section { border-color: #ccc !important; page-break-inside: auto; margin: 0.75rem 0; }
  .summary-header { background: #f5f5f5 !important; }
  .summary-group { page-break-inside: avoid; }
  .summary-row { grid-template-columns: 10rem 1fr; }

  /* Footer */
  .site-footer { margin-top: 1.5rem; border-top: 1px solid #ccc; }
  .site-footer a { color: #000; }
}
