/* ==========================================================================
   Foamcleanityhygiene — Offizieller Onlineshop (de-DE)
   Thema: Reinheit, Frische, WC-Aktivschaum
   Mobile First Design
   ========================================================================== */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f0f9ff;
  --color-bg-card: #ffffff;
  --color-primary: #1d4ed8;
  --color-primary-hover: #1e40af;
  --color-primary-light: #dbeafe;
  --color-secondary: #0891b2;
  --color-secondary-hover: #0e7490;
  --color-accent-turquoise: #06b6d4;
  --color-accent-green: #059669;
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-border-focus: #3b82f6;
  --color-error: #dc2626;
  --color-error-bg: #fef2f2;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(29, 78, 216, 0.08);
  --shadow-lg: 0 10px 25px rgba(29, 78, 216, 0.12);
  --shadow-btn: 0 4px 15px rgba(29, 78, 216, 0.35);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-max-width: 680px;
}

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

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-main);
  background-color: #f8fafc;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  background-color: #f8fafc;
  color: var(--color-text-main);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

picture {
  display: block;
  width: 100%;
  max-width: 100%;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--color-primary-hover);
}

.site-wrapper {
  max-width: var(--container-max-width);
  margin: 0 auto;
  background-color: var(--color-bg);
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   Header & Top Bar
   ========================================================================== */
.top-notice-bar {
  background: linear-gradient(90deg, #1e40af 0%, #0891b2 100%);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  padding: 8px 12px;
  letter-spacing: 0.02em;
}

.site-header {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 50;
}

@media (max-width: 599px) {
  .site-header {
    justify-content: center;
  }
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.2rem;
  color: #1e3a8a;
  letter-spacing: -0.02em;
}

.brand-logo svg {
  width: 24px;
  height: 24px;
  color: var(--color-secondary);
}

.header-badge {
  display: none;
  font-size: 0.75rem;
  background-color: var(--color-bg-alt);
  color: var(--color-secondary);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-weight: 600;
}

@media (min-width: 600px) {
  .header-badge {
    display: inline-block;
  }
}

/* ==========================================================================
   Hero Section (Mobile First First Screen)
   ========================================================================== */
.hero-section {
  padding: 20px 20px 28px;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #e0f2fe;
  color: #0369a1;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.hero-title {
  font-size: 1.55rem;
  line-height: 1.2;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: var(--color-primary);
  background: linear-gradient(120deg, #1d4ed8 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.title-product {
  display: block;
}

@media (min-width: 480px) {
  .title-product {
    display: inline;
  }
}

.hero-subtitle {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: 18px;
  padding: 0 4px;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(8, 145, 178, 0.12);
  background: #ffffff;
}

@media (min-width: 480px) {
  .hero-image-wrapper {
    max-width: 360px;
    margin-bottom: 20px;
  }
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hero-badge-discount {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.pricing-banner {
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: var(--shadow-sm);
}

.price-box-current {
  text-align: left;
}

.price-box-current .price-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-secondary);
  font-weight: 700;
}

.price-box-current .price-value {
  font-size: 1.85rem;
  font-weight: 900;
  color: #1e3a8a;
  line-height: 1.1;
}

.price-divider {
  width: 1px;
  height: 40px;
  background-color: var(--color-border);
}

.price-box-old {
  text-align: right;
}

.price-box-old .price-label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.price-box-old .price-value {
  font-size: 1.2rem;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: line-through;
}

.price-box-old .saving-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent-green);
}

.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-btn);
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  min-height: 54px;
}

.cta-button:hover, .cta-button:focus {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.45);
}

.cta-button:active {
  transform: translateY(0);
}

.hero-trust-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  text-align: left;
}

.trust-bullet-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #334155;
  font-weight: 500;
}

.trust-bullet-item svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-accent-green);
}

/* ==========================================================================
   Section Generic Layout
   ========================================================================== */
.content-section {
  padding: 32px 20px;
  border-bottom: 1px solid var(--color-border);
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-secondary);
  margin-bottom: 6px;
}

.section-title {
  font-size: 1.45rem;
  line-height: 1.3;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.section-lead {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

/* ==========================================================================
   Problem Section (AIDA Problem)
   ========================================================================== */
.problem-card {
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}

.problem-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.problem-body {
  padding: 16px;
}

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #475569;
}

.problem-item svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #ef4444;
  margin-top: 2px;
}

/* ==========================================================================
   Solution / How It Works
   ========================================================================== */
.solution-feature-box {
  background: linear-gradient(135deg, #f0fdfa 0%, #f0f9ff 100%);
  border: 1px solid #99f6e4;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.solution-feature-box h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f766e;
  margin-bottom: 8px;
}

.solution-feature-box p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #334155;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8 0%, #0891b2 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.step-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Benefits Grid
   ========================================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.benefit-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.benefit-card:hover {
  border-color: #93c5fd;
  transform: translateY(-2px);
}

.benefit-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
}

.benefit-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.benefit-text p {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Product Specifications Table
   ========================================================================== */
.specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.specs-table tr:nth-child(even) {
  background-color: #f8fafc;
}

.specs-table td {
  padding: 12px 16px;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--color-border);
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table td.spec-title {
  font-weight: 600;
  color: #334155;
  width: 42%;
}

.specs-table td.spec-value {
  color: #0f172a;
  font-weight: 500;
}

/* ==========================================================================
   Package Selection & Order Form
   ========================================================================== */
.order-section {
  padding: 32px 20px 40px;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--color-border);
}

.packages-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.package-option {
  position: relative;
  border: 2px solid var(--color-border);
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.package-option:hover {
  border-color: #93c5fd;
}

.package-option.selected {
  border-color: var(--color-primary);
  background: #eff6ff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

.package-radio-circle {
  width: 20px;
  height: 20px;
  border: 2px solid #94a3b8;
  border-radius: 50%;
  margin-right: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.package-option.selected .package-radio-circle {
  border-color: var(--color-primary);
}

.package-option.selected .package-radio-circle::after {
  content: "";
  width: 10px;
  height: 10px;
  background-color: var(--color-primary);
  border-radius: 50%;
}

.package-info {
  flex-grow: 1;
}

.package-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.package-desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.package-price-wrap {
  text-align: right;
  flex-shrink: 0;
}

.package-price-total {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e3a8a;
  line-height: 1.1;
}

.package-old-price {
  font-size: 0.75rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.package-badge {
  position: absolute;
  top: -10px;
  right: 14px;
  background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Form Styling */
.order-form-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  box-shadow: var(--shadow-md);
}

.order-form-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  text-align: center;
}

.order-form-card .form-subtitle {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  height: 48px;
  padding: 10px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: #0f172a;
  background-color: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  -webkit-appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-input.is-invalid {
  border-color: var(--color-error);
  background-color: var(--color-error-bg);
}

.form-error-msg {
  display: none;
  font-size: 0.75rem;
  color: var(--color-error);
  margin-top: 4px;
  font-weight: 500;
}

.form-error-msg.visible {
  display: block;
}

.order-summary-box {
  background-color: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-summary-box .sum-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
}

.order-summary-box .sum-total {
  font-size: 1.3rem;
  font-weight: 900;
  color: #1e3a8a;
}

.form-security-note {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.form-security-note svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent-green);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-question svg {
  width: 18px;
  height: 18px;
  color: var(--color-secondary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 16px 16px;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 32px 20px 90px;
  font-size: 0.8rem;
  line-height: 1.6;
  text-align: center;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-text {
  max-width: 460px;
  margin: 0 auto 18px;
}

.footer-contact {
  margin-bottom: 18px;
}

.footer-contact a {
  color: #38bdf8;
  text-decoration: underline;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  list-style: none;
  margin-bottom: 20px;
  padding: 0;
}

.footer-nav a {
  color: #cbd5e1;
  font-weight: 500;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.75rem;
  color: #64748b;
  border-top: 1px solid #1e293b;
  padding-top: 16px;
}

/* ==========================================================================
   Sticky Bottom CTA for Mobile
   ========================================================================== */
.sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid #e2e8f0;
  padding: 10px 16px;
  z-index: 99;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  display: none;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.sticky-mobile-cta.visible {
  display: block;
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sticky-price-info {
  flex-shrink: 0;
}

.sticky-price-now {
  font-size: 1.25rem;
  font-weight: 900;
  color: #1e3a8a;
  line-height: 1;
}

.sticky-price-sub {
  font-size: 0.65rem;
  color: var(--color-accent-green);
  font-weight: 700;
}

.sticky-cta-btn {
  flex-grow: 1;
  padding: 12px 18px;
  font-size: 0.95rem;
  min-height: 44px;
}

/* ==========================================================================
   Cookie Banner
   ========================================================================== */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #cbd5e1;
  padding: 10px 14px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  font-size: 0.75rem;
  color: #334155;
  line-height: 1.4;
}

.cookie-banner-inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cookie-banner-actions {
  display: flex;
  gap: 8px;
}

.btn-cookie-accept {
  background-color: var(--color-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
}

.btn-cookie-necessary {
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-weight: 500;
  font-size: 0.8rem;
  cursor: pointer;
}

/* ==========================================================================
   Responsive Breakpoints: 360, 390, 430, 768, 1440
   ========================================================================== */
@media (max-width: 380px) {
  .site-header {
    padding: 10px 14px;
  }
  .brand-logo {
    font-size: 1.15rem;
  }
  .hero-section {
    padding: 16px 14px 24px;
  }
  .hero-title {
    font-size: 1.4rem;
  }
  .price-box-current .price-value {
    font-size: 1.6rem;
  }
}

@media (min-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .cookie-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .hero-section {
    padding: 30px 32px 36px;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps-container {
    gap: 16px;
  }
}

@media (min-width: 1440px) {
  .site-wrapper {
    margin: 20px auto;
    border-radius: var(--radius-lg);
  }
}
