@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --red: #E20612;
  --red-dark: #C00510;
  --black: #20242C;
  --grey: #898D93;
  --light-grey: #F6F6F6;
  --white: #FFFFFF;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page-wrap {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
}

.page-content {
  flex: 1;
  padding-top: 24px;
  padding-bottom: 40px;
}

/* Logo */
.logo-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
}
.logo-dot {
  width: 38px; height: 38px;
  background: var(--red);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 17px;
}
.logo-text {
  font-size: 15px; font-weight: 700;
  color: var(--black); letter-spacing: 0.5px;
}

/* Typography */
.badge {
  display: inline-block;
  background: var(--light-grey);
  color: var(--grey);
  font-size: 12px; font-weight: 600;
  padding: 7px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.headline {
  font-size: 28px; font-weight: 800;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 14px;
}
.headline-sm { font-size: 22px; }
.headline-xs { font-size: 20px; }

.subheadline {
  font-size: 12px; font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.body-text {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.65;
  margin-bottom: 20px;
}
.body-text-sm { font-size: 13px; }

/* Buttons */
.cta-button {
  display: block;
  width: 100%;
  background: var(--red);
  color: white;
  text-align: center;
  padding: 17px 24px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
  margin-bottom: 8px;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.cta-button:hover { background: var(--red-dark); }
.cta-button:active { transform: scale(0.98); }

.cta-button.secondary {
  background: white;
  color: var(--black);
  border: 2px solid #E0E0E0;
}
.cta-button.secondary:hover {
  border-color: var(--red);
  color: var(--red);
  background: #FFF5F5;
}

.cta-sub {
  text-align: center;
  font-size: 12px;
  color: var(--grey);
  margin-bottom: 22px;
}

/* Trust Row */
.trust-row {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}
.trust-item {
  flex: 1;
  text-align: center;
  padding: 14px 8px;
  background: var(--light-grey);
  border-radius: 12px;
}
.trust-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 4px;
}
.trust-label {
  font-size: 11px;
  color: var(--grey);
  line-height: 1.3;
}

/* Image Placeholder */
.image-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #2a2a3e 0%, #1a1a2e 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 14px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}
.image-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(226,6,18,0.12) 100%);
}

/* Social Proof */
.social-proof-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  margin-bottom: 16px;
}
.avatar-stack { display: flex; }
.avatar-stack span {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #FF6B6B);
  border: 2px solid white;
  margin-left: -8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: white; font-weight: 700;
}
.avatar-stack span:first-child { margin-left: 0; }
.social-proof-text {
  font-size: 12px;
  color: var(--grey);
  line-height: 1.35;
}

/* Pain Cards */
.pain-card {
  background: #FFF5F5;
  border-left: 3px solid var(--red);
  border-radius: 0 14px 14px 0;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.pain-label {
  font-size: 12px;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 5px;
}
.pain-card p {
  font-size: 14px;
  color: var(--black);
  line-height: 1.55;
  margin: 0;
}

/* Benefit Grid */
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.benefit-card {
  background: var(--light-grey);
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
}
.benefit-icon { font-size: 30px; margin-bottom: 8px; }
.benefit-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 5px;
  line-height: 1.3;
}
.benefit-desc {
  font-size: 11px;
  color: var(--grey);
  line-height: 1.45;
}

/* Section Divider */
.section-divider {
  width: 42px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin: 28px 0;
}

/* Testimonial */
.testimonial {
  background: var(--light-grey);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}
.testimonial-text {
  font-size: 14px;
  color: var(--black);
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 10px;
}
.testimonial-author {
  font-size: 12px;
  color: var(--grey);
  font-weight: 600;
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, var(--red) 0%, #FF4444 100%);
  color: white;
  border-radius: 16px;
  padding: 22px 20px;
  margin-bottom: 22px;
  text-align: center;
}
.highlight-box .hl-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.3;
}
.highlight-box .hl-sub {
  font-size: 13px;
  opacity: 0.92;
  line-height: 1.5;
}

/* Day Items */
.day-item {
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--red);
}
.day-time {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 3px;
}
.day-desc {
  font-size: 14px;
  color: var(--black);
  line-height: 1.5;
}

/* Requirement Items */
.req-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.req-check {
  color: var(--red);
  font-size: 20px;
  min-width: 24px;
  margin-top: 1px;
  font-weight: 700;
}
.req-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 3px;
}
.req-text p {
  font-size: 12px;
  color: var(--grey);
  line-height: 1.45;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid #EEEEEE;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}
.faq-question .faq-icon {
  color: var(--grey);
  font-size: 20px;
  transition: transform 0.25s ease;
  min-width: 24px;
  text-align: center;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 13px;
  color: var(--grey);
  line-height: 1.55;
}
.faq-item.open .faq-answer {
  max-height: 200px;
  padding-bottom: 16px;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* Progress Bar */
.progress-bar {
  display: flex;
  gap: 5px;
  margin-bottom: 24px;
}
.progress-bar span {
  flex: 1;
  height: 4px;
  background: #E8E8E8;
  border-radius: 3px;
  transition: background 0.3s;
}
.progress-bar span.filled {
  background: var(--red);
}

/* Quiz / Answer Options */
.quiz-question {
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
  line-height: 1.3;
}
.quiz-subtitle {
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 20px;
}

.answer-option {
  display: block;
  width: 100%;
  background: var(--white);
  border: 2px solid #E8E8E8;
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 15px;
  color: var(--black);
  text-align: left;
  cursor: pointer;
  margin-bottom: 12px;
  font-family: inherit;
  transition: all 0.2s;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  line-height: 1.4;
}
.answer-option:hover {
  border-color: var(--red);
  background: #FFF5F5;
}
.answer-option:active {
  transform: scale(0.98);
}
.answer-option.selected {
  border-color: var(--red);
  background: #FFF5F5;
}

/* Path Tags */
.path-tag {
  display: inline-block;
  background: #FFF0E0;
  color: #E08000;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 12px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.path-tag.quiz {
  background: #E8F5E9;
  color: #2E7D32;
}

/* Form Fields */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
}
.input-field {
  width: 100%;
  padding: 16px 18px;
  border: 2px solid #E8E8E8;
  border-radius: 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--black);
  background: white;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.input-field::placeholder { color: #B0B0B0; }
.input-field:focus { border-color: var(--red); }

/* Upload Zone */
.upload-zone {
  border: 2px dashed #D0D0D0;
  border-radius: 16px;
  padding: 36px 20px;
  text-align: center;
  margin-bottom: 20px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.upload-zone:hover {
  border-color: var(--red);
  background: #FFF5F5;
}
.upload-zone .upload-icon { font-size: 36px; margin-bottom: 10px; }
.upload-zone p { font-size: 14px; color: var(--grey); }
.upload-zone small { font-size: 12px; color: #B0B0B0; }
.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.upload-zone.has-file {
  border-color: var(--red);
  border-style: solid;
  background: #FFF5F5;
}
.upload-zone.has-file p { color: var(--red); font-weight: 600; }

.skip-link {
  display: block;
  text-align: center;
  color: var(--grey);
  font-size: 13px;
  text-decoration: underline;
  margin-top: 14px;
  cursor: pointer;
}
.skip-link:hover { color: var(--red); }

/* Success / Steps */
.success-icon {
  width: 88px; height: 88px;
  background: #E8F5E9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  margin: 10px auto 24px;
}

.step-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.step-num {
  width: 36px; height: 36px;
  min-width: 36px;
  background: var(--red);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
}
.step-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 3px;
}
.step-content p {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.45;
}

/* Contact Card */
.contact-card {
  background: var(--light-grey);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}
.contact-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}
.contact-card p {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.5;
}
.contact-card a {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  animation: fadeIn 0.4s ease-out;
}

/* Loading spinner */
.spinner {
  display: none;
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero Image */
.hero-image {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 22px;
  object-fit: cover;
  max-height: 260px;
}

/* Logo Image */
.logo-bar img.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* Footer */
.page-footer {
  padding: 20px 0;
  border-top: 1px solid #EEEEEE;
  text-align: center;
  font-size: 12px;
  color: var(--grey);
  margin-top: auto;
}
.page-footer a {
  color: var(--grey);
  text-decoration: none;
  margin: 0 8px;
}
.page-footer a:hover {
  color: var(--red);
  text-decoration: underline;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--black);
  color: white;
  padding: 16px 20px;
  z-index: 9999;
  display: none;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.cookie-banner.show { display: block; }
.cookie-inner {
  max-width: 480px;
  margin: 0 auto;
}
.cookie-text {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
  opacity: 0.9;
}
.cookie-text a {
  color: white;
  text-decoration: underline;
}
.cookie-buttons {
  display: flex;
  gap: 10px;
}
.cookie-btn {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}
.cookie-btn:hover { opacity: 0.9; }
.cookie-btn.accept {
  background: var(--red);
  color: white;
}
.cookie-btn.decline {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}

/* Split Buttons (zwei gleichwertige Optionen) */
.split-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}
.split-btn {
  flex: 1;
  display: block;
  text-align: center;
  padding: 16px 12px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
  line-height: 1.3;
}
.split-btn-primary {
  background: var(--red);
  color: white;
}
.split-btn-primary:hover { background: var(--red-dark); }
.split-btn-secondary {
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--black);
}
.split-btn-secondary:hover {
  border-color: var(--red);
  color: var(--red);
  background: #FFF5F5;
}
.split-btn:active { transform: scale(0.98); }

/* USP List (Startseite) */
.usp-list {
  margin-bottom: 20px;
}
.usp-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #F0F0F0;
}
.usp-item:last-child { border-bottom: none; }
.usp-icon {
  font-size: 22px;
  min-width: 28px;
  text-align: center;
  margin-top: 1px;
}
.usp-text {
  font-size: 14px;
  color: var(--black);
  line-height: 1.5;
}
.usp-text strong {
  font-weight: 700;
}

/* Photo Gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 22px;
}
.photo-gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
}
.photo-gallery img.gallery-wide {
  grid-column: 1 / -1;
  height: 180px;
}
.gallery-caption {
  font-size: 12px;
  color: var(--grey);
  text-align: center;
  margin-top: -14px;
  margin-bottom: 22px;
}

/* Rejection page */
.rejection-box {
  background: var(--light-grey);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 20px;
}
.rejection-box .rejection-icon {
  font-size: 48px;
  margin-bottom: 14px;
}

/* Responsive fine-tuning */
@media (max-width: 380px) {
  .page-wrap { padding: 0 18px; }
  .headline { font-size: 24px; }
  .benefit-grid { gap: 8px; }
  .benefit-card { padding: 14px 10px; }
}

@media (min-width: 481px) {
  body { background: var(--light-grey); }
  .page-wrap {
    background: white;
    box-shadow: 0 0 40px rgba(0,0,0,0.08);
    border-radius: 0;
    min-height: 100vh;
  }
}
