/* =======================================================================
   qoob8 Startseite — homepage-specific styles
   Loaded in addition to index.css + custom.css. Reuses shared classes
   (proof-bar, benefits-section, testimonials-section, showroom-section,
   decision-strip, faq-section, final-section, site-footer, ...) as-is;
   this file only adds the layout patterns that don't exist yet.
   ======================================================================= */

/* ---- Full-width header (Oura-style): sits transparent directly on the
   hero image, scrolling away with the hero like any in-flow element. Once
   the user scrolls back up past the first fold, .is-scrolled switches it to
   a fixed, translucent bar pinned to the viewport instead. */
.home-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  width: 100%;
}
.home-header.is-scrolled {
  position: fixed;
}
.home-header-bg {
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
.home-header.is-scrolled .home-header-bg {
  background: #10100fb8;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px #00000024;
}
.home-header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}
.home-header-left {
  display: flex;
  align-items: center;
  gap: 44px;
  min-width: 0;
}
.home-brand {
  display: flex;
  align-items: center;
  flex: none;
}
.home-brand img {
  height: 24px;
  width: auto;
  display: block;
}
.home-header .nav-links {
  position: static;
  display: flex;
  background: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  font-weight: 650;
}
.home-header .nav-links a {
  color: #fff;
  white-space: nowrap;
  padding: 0;
}
.home-header .nav-links a:hover {
  opacity: 0.7;
}
.home-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.home-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #ffffff4d;
  display: grid;
  place-items: center;
  transition: border-color 0.2s;
}
.home-icon-btn:hover {
  border-color: #fff;
}
.home-header .bag-icon,
.home-header .bag-icon:before {
  border-color: #fff;
}
.home-header .menu-button {
  display: none;
  background: none;
  border: 1px solid #ffffff4d;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  place-items: center;
  gap: 5px;
}
.home-header .menu-button span {
  background: #fff;
  width: 16px;
  height: 1px;
}

@media (width <= 900px) {
  .home-header-inner {
    min-height: 74px;
  }
  .home-header .nav-links {
    display: none;
    position: fixed;
    top: 84px;
    left: 14px;
    right: 14px;
    width: calc(100% - 28px);
    background: #16161499;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px 18px;
    box-shadow: 0 20px 50px #00000040;
  }
  .home-header .nav-links.is-open {
    display: flex;
  }
  .home-header .nav-links a {
    width: 100%;
    padding: 14px 0;
    font-size: 15px;
    border-bottom: 1px solid #ffffff26;
  }
  .home-header .nav-links a:last-child {
    border-bottom: 0;
  }
  .home-header .menu-button {
    display: grid;
  }
}

/* ---- Hero (brand/emotion, full-bleed kept image, text overlay) ---- */
.home-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  color: #fff;
  overflow: hidden;
}
.home-hero-media {
  position: absolute;
  inset: 0;
}
.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 35%;
  display: block;
}
.home-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #000000c2 0%, #00000078 42%, #00000018 75%);
}
.home-hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: clamp(150px, 20vw, 200px) clamp(24px, 5vw, 70px) 100px;
}
.home-hero-content h1 {
  letter-spacing: -0.065em;
  margin: 22px 0 26px;
  font-size: clamp(46px, 6vw, 80px);
  line-height: 0.94;
  color: #fff;
}
.home-hero-content h1 em {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-style: italic;
}
.home-hero-lead {
  max-width: 480px;
  color: #e7e5df;
  margin: 0 0 34px;
  font-size: 18px;
  line-height: 1.62;
}
.home-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.button-outline {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}
.button-outline:hover {
  border-color: #a9a69f;
}
.button-outline-light {
  color: #fff;
  background: transparent;
  border: 1px solid #ffffff70;
}
.button-outline-light:hover {
  border-color: #fff;
}

@media (width <= 900px) {
  .home-hero-shade {
    background: linear-gradient(180deg, #00000090, #00000060 45%, #000000c9);
  }
  .home-hero-content {
    max-width: 100%;
    padding-top: 150px;
  }
}
@media (width <= 560px) {
  .home-hero-content h1 {
    font-size: 40px;
  }
  .home-hero-lead {
    font-size: 16px;
  }
}

/* ---- Trust bar (reuses .proof-bar/.proof-grid, adds icon + two-line text) ---- */
.proof-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.proof-grid .trust-num {
  flex: none;
  width: 32px;
  height: 32px;
  background: #fff;
  color: #11110f;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
}
.proof-grid .trust-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.proof-grid .trust-text strong {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.proof-grid .trust-text small {
  font-size: 12.5px;
  color: #81817e;
}
@media (width <= 900px) {
  .proof-grid span {
    padding: 14px;
  }
}
@media (width <= 560px) {
  .proof-grid span {
    border-right: 0 !important;
    border-bottom: 1px solid #ffffff2e;
  }
  .proof-grid span:last-child {
    border-bottom: 0;
  }
}

/* ---- "Beginne jedes Tag stärker": image left, checklist + CTA right ---- */
.check-list {
  display: grid;
  gap: 0;
  margin: 6px 0 46px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.check-list li {
  position: relative;
  padding: 17px 0 17px 36px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.4;
}
.check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

/* ---- Positioning teaser: "Was qoob8 anders macht" ---- */
.positioning-section {
  background: #fff;
  padding: 110px 0;
}
.positioning-intro {
  max-width: 680px;
  margin-bottom: 48px;
}
.positioning-intro h2 {
  letter-spacing: -0.05em;
  margin: 0;
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.02;
}
.positioning-intro p:not(.eyebrow) {
  color: var(--muted);
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.6;
}
.positioning-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.positioning-card {
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
}
.positioning-card-image {
  aspect-ratio: 4 / 3;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}
.positioning-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.positioning-card-body {
  padding: 24px 26px 30px;
}
.positioning-card span {
  width: 40px;
  height: 40px;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 22px;
}
.positioning-card h3 {
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  font-size: 19px;
}
.positioning-card p {
  color: var(--muted);
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
}
.positioning-cta {
  text-align: center;
  margin-top: 44px;
}
@media (width <= 900px) {
  .positioning-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (width <= 560px) {
  .positioning-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Emotional full-bleed section: alt background image ---- */
.experience-image.alt-media {
  background: url(/media/gallery-2.webp) center 28% / cover no-repeat;
}

/* ---- Founder story: Christian & Verena ---- */
.founder-story-section {
  background: #eae6e0;
  padding: 118px 0;
}
.founder-story-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  align-items: center;
  gap: 80px;
}
.founder-portrait-placeholder {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background: linear-gradient(155deg, #2c2b28, #54514a 55%, #7c766a);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #f4f1ea;
  text-align: center;
}
.founder-portrait-placeholder .monogram {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 56px;
}
.founder-portrait-placeholder small {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  color: #d8d3c8;
}
.founder-story-copy h2 {
  letter-spacing: -0.05em;
  margin: 0 0 22px;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.08;
}
.founder-story-copy p:not(.eyebrow) {
  color: #4a4842;
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.7;
}
.founder-story-copy footer {
  margin-top: 24px;
}
.founder-story-copy footer strong {
  display: block;
  font-size: 15px;
}
.founder-story-copy footer span {
  color: var(--muted);
  font-size: 13px;
}
@media (width <= 900px) {
  .founder-story-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .founder-portrait-placeholder {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ---- Erfahrungen: pill row below testimonial grid ---- */
.erfahrungen-pills {
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 0;
}

/* ---- Final CTA: alt background image + two actions ---- */
.final-media.home-final {
  background: url(/media/eva-eisbad-shibuya.webp) 50% 62% / cover no-repeat;
}
.final-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- FAQ: nested lists inside accordion answers ---- */
.faq-list details ul {
  display: grid;
  gap: 8px;
  margin: -6px 48px 25px 0;
  padding: 0;
  list-style: none;
}
.faq-list details ul li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.faq-list details ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--green);
  font-weight: 800;
}
.faq-list details p + p {
  margin-top: -14px;
}
.faq-list details .faq-safety {
  background: #f6f0e6;
  border-radius: 10px;
  margin: 0 48px 25px 0;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.55;
  color: #6b5a2f;
}
@media (width <= 560px) {
  .faq-list details ul,
  .faq-list details .faq-safety {
    margin-right: 0;
  }
}

/* ---- FAQ teaser: link under the shortened list ---- */
.faq-teaser-more {
  margin-top: 28px;
}
