:root {
  --background: #f0f3ed;
  --primary: #f7f8f6;
  --secondary: #f4f5f1;
  --accent: #007352;
  --bg: var(--background);
  --surface: var(--primary);
  --surface-alt: var(--secondary);
  --text: #0d2618;
  --muted: #425a4d;
  --brand: var(--accent);
  --brand-dark: var(--accent);
  --line: #cfd8cc;
  --focus: #f59e0b;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

body {
  font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 12% 20%, var(--primary) 0, var(--background) 50%), var(--bg);
  line-height: 1.5;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Source Sans 3", sans-serif;
  line-height: 1.15;
  margin: 0 0 0.6rem;
}

a {
  color: inherit;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -200px;
  left: 1rem;
  background: #111;
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: var(--primary);
  border-bottom: 1px solid var(--line);
}

/* Scroll-margin für Ankerziele - verhindert, dass der sticky Header die Überschrift verdeckt */
section[id],
h2[id],
h3[id] {
  scroll-margin-top: 90px;
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: 52px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 1rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--text);
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(2rem, 3.6vw, 3.3rem);
}

.hero-copy,
.section-copy,
.hint {
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.3rem 0 0.9rem;
}

.hero-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 18px 40px -30px rgba(8, 28, 18, 0.45);
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.hero-card li + li {
  margin-top: 0.55rem;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--surface-alt);
}

.value-grid,
.feature-list,
.pricing-grid {
  display: grid;
  gap: 1rem;
}

.value-grid {
  grid-template-columns: repeat(3, 1fr);
}

.value-grid article {
  scroll-snap-align: start;
}

.feature-list {
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.feature-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.feature-item-reverse {
  direction: rtl;
}

.feature-item-reverse > * {
  direction: ltr;
}

.feature-image {
  overflow: hidden;
  border-radius: 0.95rem;
  background: var(--surface);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0.95rem;
}

.value-grid article,
.feature-list article,
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  padding: 1rem;
}

.price-card {
  position: relative;
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
}

.pricing-grid {
  margin-top: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
  /* title | price | list (stretches) | button | note */
  grid-template-rows: auto auto 1fr auto auto;
}


.badge {
  display: inline-flex;
  margin: 0;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, var(--primary) 86%);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  margin: 0.2rem 0 0.8rem;
}

.price span {
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
  color: var(--muted);
}

.price-card ul {
  margin: 0 0 1rem;
  padding-left: 1rem;
  align-self: start;
}

.price-card li + li {
  margin-top: 0.45rem;
}

.price-card > .btn {
  margin-top: 0;
  align-self: end;
}

.pricing-note {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.pricing-grid-note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.pricing-selector {
  margin-top: 0.65rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface-alt);
}

.pricing-selector__group {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.45rem;
}

.pricing-selector__legend {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.pricing-selector__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
}

.pricing-selector__submit {
  margin-top: 0.7rem;
  width: 100%;
}

.price-card.featured {
  border: 2px solid var(--brand);
  transform: translateY(-4px);
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--surface);
  padding: 0.8rem 0.95rem;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 0.7rem;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 700;
}

.btn:focus-visible,
.main-nav a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

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

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

.btn-outline {
  border-color: var(--line);
  background: var(--surface);
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--primary);
  padding: 1.3rem 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.legal-content {
  max-width: 820px;
}

.legal-content h1 {
  margin-bottom: 0.5rem;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  padding: 1rem;
}

.legal-card + .legal-card {
  margin-top: 0.9rem;
}

.legal-card h2 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}

.legal-card h3 {
  margin: 0.9rem 0 0.35rem;
  font-size: 1.02rem;
}

.legal-card p {
  margin: 0;
  color: var(--muted);
}

.legal-stand {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── Kontaktseite ──────────────────────────────────────────────────────── */
.contact-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
  max-width: 520px;
  margin: 0 auto;
  padding: 5rem 1rem 6rem;
}

.contact-heading {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 0.75rem;
}

.contact-lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

.contact-card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 8px 28px -12px rgba(8, 28, 18, 0.12);
}

.contact-card-icon {
  margin-bottom: 0.6rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: color-mix(in srgb, var(--accent) 10%, var(--surface) 90%);
  border-radius: 50%;
}

.contact-card-label {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.contact-card-email {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0.2rem 0 0;
}

.contact-card-email a {
  color: var(--accent);
  text-decoration: none;
}

.contact-card-email a:hover {
  text-decoration: underline;
}

.contact-card-hint {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-topics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}

.contact-topics li {
  padding: 0.65rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  font-size: 0.95rem;
  color: var(--muted);
}
/* ─────────────────────────────────────────────────────────────────────── */

/* Slider Styles */
.section-with-slider {
  position: relative;
  overflow: hidden;
  min-height: 550px;
  display: flex;
  flex-direction: column;
}

.slider-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.slider-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 24, 21, 0.25) 0%, rgba(15, 24, 21, 0.15) 35%, rgba(15, 24, 21, 0.28) 100%),
    linear-gradient(90deg, rgba(12, 20, 17, 0.08) 0%, rgba(12, 20, 17, 0.03) 50%, rgba(12, 20, 17, 0.08) 100%);
  z-index: 1;
  pointer-events: none;
}

.slider {
  position: relative;
  width: 200%;
  height: 100%;
  display: flex;
  transition: transform 2s ease-in-out;
}

@keyframes pan-lr {
  from { object-position: 20% center; }
  to   { object-position: 80% center; }
}

.slider-image {
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: 20% center;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.slider-image.active {
  opacity: 1;
}

.section-with-slider > .container {
  position: relative;
  z-index: 1;
  padding: 2rem 0 3rem;
  background: transparent;
  margin-top: auto;
}

.section-with-slider .value-wrapper {
  position: relative;
  z-index: 2;
  background: rgba(244, 247, 242, 0.15);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  padding: 2rem 2rem 1.5rem;
  box-shadow: 0 10px 32px rgba(16, 24, 21, 0.18);
}

.section-with-slider h2 {
  color: #1a1a1a;
  text-shadow: none;
  margin-bottom: 1.25rem;
}

.section-with-slider .value-grid article {
  background: rgba(255, 255, 255, 0.55);
  padding: 1.5rem;
  border: none;
  box-shadow: 0 4px 12px rgba(16, 24, 21, 0.08);
  backdrop-filter: none;
}

.value-grid-pagination {
  display: none;
  justify-content: center;
  gap: 0.5rem;
  padding-top: 1.5rem;
}

.pagination-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.pagination-dot.active {
  background: var(--accent);
  width: 12px;
  height: 12px;
}

.pagination-dot:hover {
  transform: scale(1.2);
}

@media (max-width: 980px) {
  .value-grid-pagination {
    display: flex;
  }
  .hero-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-wrap: nowrap;
  }

  .hero-cta > *,
  .hero-cta .coming-soon-cta {
    flex: 1;
  }

  .hero-cta .coming-soon-cta .btn {
    width: 100%;
  }

  .slider-image.active {
    animation: pan-lr 15s linear infinite;
  }

  .value-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }

  .value-grid::-webkit-scrollbar {
    display: none;
  }

  .value-grid article {
    flex: 0 0 100%;
    scroll-snap-align: start;
    width: 100%;
  }

  .feature-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-item {
    grid-template-columns: 1fr;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 0.95rem;
    overflow: hidden;
  }

  .feature-item .feature-image {
    order: -1;
    border-radius: 0;
    height: 200px;
  }

  .feature-item .feature-image img {
    border-radius: 0;
    height: 200px;
  }

  .feature-item .video-placeholder {
    min-height: unset;
    height: 200px;
    border-radius: 0;
  }

  .feature-item article {
    background: transparent;
    border: none;
    border-radius: 0;
  }

  .feature-item-reverse {
    direction: ltr;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav {
    display: none;
  }

  .price-card.featured {
    transform: none;
  }
}

/* Savings Section */
.savings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.savings-card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 0.95rem;
  padding: 1.5rem;
  text-align: center;
}

.savings-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.savings-card .big-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0.5rem 0 0.8rem;
}

.savings-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

/* Video Placeholder */
.video-placeholder {
  position: relative;
  background: var(--surface-alt);
  border-radius: 0.95rem;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.95rem;
}

.placeholder-text {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Responsive Savings Grid */
@media (max-width: 980px) {
  .savings-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Cookie Settings Button (Footer) ──────────────────────────────── */
.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.15s;
}

.footer-link-btn:hover {
  text-decoration-color: currentColor;
}
/* ─────────────────────────────────────────────────────────────────────── */

/* ── Cookie Banner ─────────────────────────────────────────────────── */
dialog.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  top: auto;
  z-index: 100;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 1rem 0;
  background: var(--primary);
  border: none;
  border-top: 1px solid var(--line);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  min-width: 200px;
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.cookie-banner__text a {
  color: var(--accent);
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .btn {
    flex: 1;
  }
}
/* ─────────────────────────────────────────────────────────────────────── */

/* ── Coming Soon ───────────────────────────────────────────────────────── */

/* Disabled button appearance */
a.btn[aria-disabled="true"] {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

/* Header nav: Login button with hover tooltip */
.nav-coming-soon {
  position: relative;
  display: inline-block;
}

.nav-coming-soon__tip {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.72rem;
  background: var(--text);
  color: var(--bg);
  padding: 0.25rem 0.65rem;
  border-radius: 0.4rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  z-index: 10;
}

.nav-coming-soon:hover .nav-coming-soon__tip {
  opacity: 1;
}

/* CTA buttons on homepage: small note below */
.coming-soon-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.coming-soon-note {
  font-size: 0.78rem;
  color: var(--muted);
}
/* ─────────────────────────────────────────────────────────────────────── */
