/* OXY8 DermaSun Landingpage - basiert auf oxy8-brand-content/design-system/DESIGN.md */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('assets/fonts/CormorantGaramond-Regular.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('assets/fonts/CormorantGaramond-Italic.woff2') format('woff2');
  font-weight: 300 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('assets/fonts/Jost.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #ffffff;
  --ink-deep: #262626;
  --ink: #1a1a1a;
  --surface: #f7f4ef;
  --surface-warm: #ede8df;
  --sage: #7a9070;
  --sage-light: #c5d4bc;
  --gold-sand: #c8a96e;
  --blush: #e8d5c8;
  --muted: #9a9188;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', sans-serif;
  --max-width: 1280px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: var(--canvas);
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold-sand);
  outline-offset: 4px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.narrow { max-width: 760px; }
.container.narrow { margin: 0 auto; }
.center { text-align: center; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--ink-deep);
}
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); margin-bottom: 16px; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 24px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }

p { margin-bottom: 16px; }

.eyebrow {
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--sage);
  margin-bottom: 16px;
}

.lead { font-size: 1.1rem; }
.brand-link { display: inline-flex; align-items: center; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
  text-align: center;
}
.btn-primary { background: var(--ink-deep); color: var(--canvas); border: none; }
.btn-primary:hover { background: var(--ink); }
.btn-secondary { background: transparent; color: var(--ink-deep); border: 1.5px solid var(--ink-deep); padding: 13px 31px; }
.btn-secondary:hover { background: var(--ink-deep); color: var(--canvas); }
.btn-small { padding: 10px 20px; font-size: 0.75rem; }
.btn-large { padding: 16px 40px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--canvas);
  border-bottom: 1px solid var(--surface-warm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.header-logo { width: 100px; height: auto; }

/* Hero */
.hero { padding: 48px 0 64px; background: linear-gradient(180deg, var(--surface) 0%, var(--canvas) 100%); }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero-visual img,
.hero-media img { margin: 0 auto; max-width: 320px; }
.hero-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  background: var(--canvas);
  border: 1px solid var(--sage-light);
  color: var(--ink-deep);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.hero-bullets { list-style: none; margin: 0 0 24px; }
.hero-bullets li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
}
.hero-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 14px;
  height: 2px;
  background: var(--gold-sand);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.cta-row.center { justify-content: center; }
.trust-line { font-size: 0.85rem; color: var(--muted); }
.trust-band { padding-top: 10px; padding-bottom: 10px; }
.trust-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.trust-strip li {
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--surface-warm);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--sage);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.text-link:hover { color: var(--ink-deep); }
.hero-media {
  text-align: center;
}
.hero-media img {
  max-width: 360px;
  margin-bottom: 12px;
}
.hero-media-caption {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 360px;
  margin: 0 auto;
}

/* Sections */
.section { padding: 72px 0; }
.section-surface { background: var(--surface); }
.section-final { background: var(--surface-warm); }

/* Benefits */
.benefits-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-bottom: 56px;
}
.benefits-grid-compact { margin-bottom: 0; }
.benefit {
  background: var(--canvas);
  border: 1px solid var(--surface-warm);
  padding: 24px;
}
.benefit h3::before {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--sage);
  margin-bottom: 12px;
}

/* Product cards */
.product-cards { display: grid; gap: 24px; grid-template-columns: 1fr; margin-bottom: 56px; }
.product-card {
  background: var(--surface);
  padding: 32px 24px;
  text-align: center;
}
.product-card img { max-width: 220px; margin: 0 auto 16px; }
.product-copy { max-width: 520px; margin: 0 auto; }
.price-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  align-items: baseline;
  margin-bottom: 12px;
}
.product-label {
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-meta { font-weight: 500; letter-spacing: 0.05em; }
.product-price {
  color: var(--ink-deep);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.bundle-panel {
  border: 1px solid var(--surface-warm);
  margin: -24px 0 56px;
  padding: 24px;
  text-align: center;
}

.texture-strip { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 40px; }
.texture-strip img { width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.inci summary {
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  padding: 12px 0;
  color: var(--sage);
}
.inci p { font-size: 0.9rem; color: var(--muted); padding-top: 8px; }
.ingredient-note { color: var(--ink) !important; }

.section-heading { margin-bottom: 32px; }

.trust-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}
.trust-card {
  background: var(--canvas);
  border: 1px solid var(--surface-warm);
  padding: 24px;
  text-align: center;
}
.trust-card img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  margin: 0 auto 16px;
}
.trust-card p { color: var(--muted); font-size: 0.92rem; }

/* Certificates */
.cert-grid { display: grid; gap: 24px; grid-template-columns: 1fr; margin: 32px 0 16px; }
.cert-card {
  background: var(--canvas);
  border: 1px solid var(--surface-warm);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease;
}
.cert-card:hover { border-color: var(--sage); }
.cert-card img {
  max-width: 160px;
  margin: 0 auto 16px;
  border: 1px solid var(--surface-warm);
}
.cert-card p { font-size: 0.9rem; color: var(--muted); }
.cert-cta {
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--sage);
}
.cert-note { font-size: 0.85rem; color: var(--muted); max-width: 760px; }

.proof-details {
  border-top: 1px solid var(--surface-warm);
  border-bottom: 1px solid var(--surface-warm);
  padding: 16px 0;
}
.proof-details summary {
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage);
}

/* Anwendung */
.steps { padding-left: 20px; margin-bottom: 24px; }
.steps li { margin-bottom: 12px; }
.notice {
  font-size: 0.9rem;
  color: var(--muted);
  border-left: 3px solid var(--gold-sand);
  padding-left: 16px;
}
.application-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}
.application-media {
  display: grid;
  gap: 16px;
}
.application-media img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.premium-points {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.premium-points article {
  background: var(--surface);
  border: 1px solid var(--surface-warm);
  padding: 20px 22px;
}
.comparison-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.comparison-card {
  background: var(--canvas);
  border: 1px solid var(--surface-warm);
  padding: 22px;
}
.comparison-common {
  color: var(--muted);
}
.comparison-oxy8 {
  font-weight: 500;
}

/* Vergleich */
.table-wrap { overflow-x: auto; margin-bottom: 24px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; background: var(--canvas); }
th, td { padding: 12px 16px; text-align: left; border: 1px solid var(--surface-warm); font-size: 0.95rem; }
thead th { font-family: var(--font-body); font-weight: 500; letter-spacing: 0.05em; background: var(--surface-warm); }
tbody th { font-weight: 500; white-space: nowrap; }
tbody td:last-child { background: var(--surface); font-weight: 500; }

/* FAQ */
#faq details {
  border-bottom: 1px solid var(--surface-warm);
}
#faq summary {
  font-weight: 500;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
#faq summary::-webkit-details-marker { display: none; }
#faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--sage);
}
#faq details[open] summary::after { content: '–'; }
#faq details p { padding: 0 0 16px; color: var(--ink); }

/* Footer */
.site-footer {
  background: var(--ink-deep);
  color: var(--canvas);
  padding: 48px 0;
}
.footer-logo { width: 90px; margin-bottom: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 24px; }
.footer-links a {
  color: var(--canvas);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-links a:hover { color: var(--sage-light); }
.footer-note { font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }
.footer-links a[href="#CCM.openWidget"] { cursor: pointer; }

/* Header-Navigation (nur Desktop) */
.header-nav { display: none; gap: 24px; }
.header-nav a {
  color: var(--ink-deep);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.header-nav a:hover { color: var(--sage); }

.midpage-cta { margin-top: 32px; }

/* Sticky Mobile-CTA-Bar */
.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--canvas);
  border-top: 1px solid var(--surface-warm);
  box-shadow: 0 -4px 16px rgba(38, 38, 38, 0.08);
  transform: translateY(100%);
  transition: transform 0.25s ease;
}
.mobile-cta-bar.visible { transform: translateY(0); }
.mobile-cta-label {
  font-weight: 500;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  white-space: nowrap;
}
.mobile-cta-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Tablet / Desktop */
@media (min-width: 768px) {
  .hero { padding: 72px 0 88px; }
  .hero-grid { grid-template-columns: 1.2fr 1fr; }
  .hero-visual img,
  .hero-media img { max-width: 420px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .product-cards { grid-template-columns: repeat(2, 1fr); }
  .application-grid { grid-template-columns: 1fr 1fr; }
  .comparison-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .benefits-grid { grid-template-columns: repeat(4, 1fr); }
  .comparison-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .header-nav { display: flex; }
  .mobile-cta-bar { display: none; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .btn { width: 100%; padding-left: 18px; padding-right: 18px; }
  .header-inner { gap: 12px; }
  .header-logo { width: 88px; }
  .mobile-cta-bar .btn { width: auto; }
  .mobile-cta-label { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
