/* ============================================
   GRUNDEINSTELLUNGEN
   ============================================ */

:root {
  --ink: #1A1A1A;
  --ink-soft: #2C2C2A;
  --paper: #F5F5F0;
  --paper-raised: #FFFFFF;
  --rust: #D85A30;
  --rust-dark: #993C1D;
  --rust-light: #FAECE7;
  --line: #D3D1C7;
  --text-muted: #5F5E5A;
  --text-faint: #888780;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
}

.sr-only {
  position: absolute;
  left: -9999px;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  margin: 0;
}

p { margin: 0; }

a { color: var(--rust-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--rust);
  color: #fff;
}

.btn-primary:hover { background: var(--rust-dark); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-soft);
}

.btn-ghost:hover { border-color: var(--text-faint); }

/* ============================================
   TOPBAR
   ============================================ */

.topbar {
  background: var(--ink);
  padding: 14px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: #F5F5F0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.topbar-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #F5F5F0;
  font-size: 14px;
}

.topbar-phone:hover { text-decoration: none; color: var(--rust); }

/* ============================================
   HERO
   ============================================ */

.hero {
  background: var(--ink);
  padding: 72px 0 88px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 16px;
}

.hero-copy h1 {
  font-size: 40px;
  line-height: 1.18;
  color: #F5F5F0;
  margin-bottom: 20px;
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--rust);
}

.hero-sub {
  font-size: 17px;
  color: #B8B6AC;
  margin-bottom: 32px;
  max-width: 440px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.card-stack {
  position: relative;
  width: 280px;
  height: 280px;
}

.stack-item {
  position: absolute;
  border-radius: var(--radius-md);
  border: 1px solid rgba(245,245,240,0.15);
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

.stack-label {
  font-size: 12px;
  font-weight: 500;
  color: #F5F5F0;
  background: rgba(0,0,0,0.35);
  padding: 4px 10px;
  border-radius: 20px;
}

.stack-item--card {
  width: 200px;
  height: 120px;
  background: var(--rust);
  top: 10px;
  left: 0;
  transform: rotate(-6deg);
  z-index: 3;
}

.stack-item--flyer {
  width: 170px;
  height: 230px;
  background: #3a3a38;
  top: 30px;
  left: 90px;
  transform: rotate(8deg);
  z-index: 2;
}

.stack-item--letter {
  width: 190px;
  height: 250px;
  background: #2C2C2A;
  top: 10px;
  left: 30px;
  transform: rotate(-2deg);
  z-index: 1;
}

/* ============================================
   TRUST STRIP
   ============================================ */

.trust {
  background: var(--rust-light);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--rust-dark);
}

.trust-item svg { flex-shrink: 0; }

/* ============================================
   SECTION HEADERS (geteilt)
   ============================================ */

.section-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rust-dark);
  margin-bottom: 10px;
}

.section-title {
  font-size: 30px;
  margin-bottom: 40px;
  max-width: 600px;
}

/* ============================================
   PRODUKT-GRID
   ============================================ */

.products {
  padding: 80px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
}

.product-card--accent {
  background: var(--ink);
  border-color: var(--ink);
}

.product-card--accent h3,
.product-card--accent p {
  color: #F5F5F0;
}

.product-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--rust-light);
  color: var(--rust-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.product-icon--accent {
  background: rgba(216,90,48,0.2);
  color: var(--rust);
}

.product-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.product-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

.product-card--accent p { color: #B8B6AC; }

.badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--rust);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  margin-top: 14px;
}

.badge--inline {
  margin-top: 0;
  margin-left: 10px;
  vertical-align: middle;
}

/* ============================================
   BESTELLBEREICH
   ============================================ */

.order {
  padding: 80px 0 96px;
  background: var(--paper-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.order-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Progress */

.progress {
  display: flex;
  align-items: center;
  margin-bottom: 36px;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.45;
}

.progress-step.is-active,
.progress-step.is-done {
  opacity: 1;
}

.progress-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  flex-shrink: 0;
}

.progress-step.is-active .progress-num {
  background: var(--rust);
  border-color: var(--rust);
  color: #fff;
}

.progress-step.is-done .progress-num {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.progress-label {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.progress-line {
  flex: 1;
  height: 1px;
  background: var(--line);
  margin: 0 12px;
}

/* Form steps */

.form-step {
  display: none;
  border: none;
  padding: 0;
  margin: 0;
}

.form-step.is-active {
  display: block;
}

/* Package options */

.package-option {
  display: block;
  cursor: pointer;
  margin-bottom: 14px;
}

.package-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.package-card {
  display: block;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.package-option input:checked + .package-card {
  border-color: var(--rust);
  background: var(--rust-light);
}

.package-option input:focus-visible + .package-card {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}

.package-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.package-name {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}

.package-price {
  font-size: 16px;
  font-weight: 500;
  color: var(--rust-dark);
}

.package-desc {
  display: block;
  font-size: 13.5px;
  color: var(--text-muted);
}

.step-actions {
  margin-top: 28px;
  display: flex;
  justify-content: flex-end;
}

.step-actions--split {
  justify-content: space-between;
}

/* Form fields */

.field {
  margin-bottom: 18px;
}

.field--grow { flex: 1; }

.field-row {
  display: flex;
  gap: 16px;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-raised);
  color: var(--ink-soft);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--rust);
}

.field textarea { resize: vertical; }

/* Upload box */

.upload-box {
  position: relative;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 28px 16px;
  text-align: center;
  background: var(--paper);
}

.upload-box input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-text {
  font-size: 14px;
  color: var(--text-muted);
}

.upload-box.has-file {
  border-color: var(--rust);
  background: var(--rust-light);
}

.upload-box.has-file .upload-text {
  color: var(--rust-dark);
  font-weight: 500;
}

/* Checkbox */

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 20px 0 4px;
  cursor: pointer;
}

.checkbox-row input {
  margin-top: 3px;
  flex-shrink: 0;
}

/* Success state */

.form-success {
  text-align: center;
  padding: 48px 24px;
  color: var(--rust-dark);
}

.form-success svg { margin-bottom: 16px; }

.form-success h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.form-success p {
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 360px;
  margin: 0 auto;
}

/* ============================================
   LIVE-VORSCHAU (Signatur-Element)
   ============================================ */

.preview-card {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: sticky;
  top: 24px;
}

.preview-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #B8B6AC;
  margin-bottom: 8px;
}

.preview-package-name {
  font-size: 22px;
  color: #F5F5F0;
  margin-bottom: 18px;
}

.preview-items {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-items li {
  font-size: 14px;
  color: #D8D6CC;
  padding-left: 18px;
  position: relative;
}

.preview-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rust);
}

.preview-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid rgba(245,245,240,0.15);
  padding-top: 18px;
  margin-bottom: 18px;
}

.preview-price-row span:first-child {
  font-size: 13.5px;
  color: #B8B6AC;
}

.preview-price {
  font-size: 26px;
  font-weight: 500;
  color: #fff;
  font-family: var(--font-display);
}

.preview-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: #95938A;
  line-height: 1.5;
}

.preview-note svg { flex-shrink: 0; margin-top: 1px; }

/* ============================================
   FAQ
   ============================================ */

.faq {
  padding: 80px 0;
}

.faq-list {
  max-width: 680px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq-item summary {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 20px;
  color: var(--rust);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.6;
}

/* ============================================
   CTA FINAL
   ============================================ */

.cta-final {
  background: var(--rust);
  padding: 64px 0;
  text-align: center;
}

.cta-final-inner h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 12px;
}

.cta-final-inner p {
  color: rgba(255,255,255,0.85);
  font-size: 15.5px;
  margin-bottom: 28px;
}

.cta-final .btn-primary {
  background: var(--ink);
}

.cta-final .btn-primary:hover {
  background: #000;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--ink);
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: #95938A;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-copy h1 { font-size: 32px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .order-grid { grid-template-columns: 1fr; }
  .preview-card { position: static; }
  .field-row { flex-direction: column; gap: 0; }
}

/* ============================================
   FORM ERROR & HINTS
   ============================================ */

.form-error {
  background: #FCEBEB;
  border: 1px solid #F09595;
  color: #791F1F;
  font-size: 13.5px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin: 4px 0 18px;
}

.field-hint {
  font-size: 12.5px;
  color: var(--text-faint);
  margin-top: 6px;
}

/* ============================================
   FOOTER LINKS
   ============================================ */

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #B8B6AC;
}

.footer-links a:hover {
  color: var(--rust);
}

/* ============================================
   COOKIE BANNER
   ============================================ */

.cookie-banner {
  position: fixed !important;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  z-index: 9999;
  background: var(--ink);
  border-top: 1px solid rgba(245,245,240,0.15);
  padding: 20px 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 13.5px;
  color: #D8D6CC;
  line-height: 1.6;
  max-width: 600px;
  margin: 0;
}

.cookie-text a {
  color: #F5F5F0;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-actions .btn-ghost {
  border-color: rgba(245,245,240,0.3);
  color: #F5F5F0;
}

.cookie-actions .btn-ghost:hover {
  border-color: rgba(245,245,240,0.5);
  background: rgba(245,245,240,0.08);
}

@media (max-width: 700px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions { flex-direction: column; }
  .cookie-actions .btn { width: 100%; }
}
