/* ==========================================================================
   ADURO — pages.css
   Seitenspezifische Styles: Homepage, Über uns, FAQ, Rechtstexte
   ========================================================================== */

/* ── Homepage: Hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: calc(-1 * var(--header-h));
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(20,18,14,.2), rgba(20,18,14,.45)),
    #2a2218 center / cover no-repeat;
  background-size: cover;
  background-position: center;
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 160px 0 80px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-5xl);
  line-height: 1.12;
  color: #fff;
  letter-spacing: .01em;
  margin: 0 0 24px;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
  max-width: 720px;
  text-transform: uppercase;
}

.hero__subtext {
  color: rgba(255,255,255,.92);
  font-size: var(--text-lg);
  line-height: 1.55;
  max-width: 460px;
  margin: 0 0 40px;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__float-ctas {
  position: absolute;
  right: 60px;
  top: 46%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-end;
  z-index: 2;
}

.hero__scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  pointer-events: none;
  animation: scrollFadeIn 1.2s .3s both;
  transition: opacity .4s ease, transform .4s ease;
}

.hero__scroll-hint.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
}

.hero__mouse {
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255,255,255,.75);
  border-radius: 14px;
  position: relative;
}

.hero__mouse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,.9);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollWheel 1.8s cubic-bezier(.6,.05,.3,1) infinite;
}

@keyframes scrollWheel {
  0%   { opacity: 0; transform: translate(-50%, 0); }
  30%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 16px); }
}

@keyframes scrollFadeIn {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* ── Homepage: Scrollytelling ───────────────────────────────────────────────── */
.scrolly {
  position: relative;
  background: #0e0c09;
  color: #f5f1ea;
  padding: 0;
}

.scrolly__intro {
  text-align: center;
  padding: 90px 28px 30px;
  max-width: 820px;
  margin: 0 auto;
}

.scrolly__intro h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.05;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 12px 0 18px;
  color: #fff;
}

.scrolly__intro p {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: #bdb6a8;
  margin: 0 auto;
  max-width: 620px;
}

.scrolly__intro .eyebrow { color: #d4782e; }

.scrolly__track {
  position: relative;
  height: 400vh;
}

.scrolly__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 0 60px;
  overflow: hidden;
}

.scrolly__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(212,120,46,.1), transparent 60%);
  pointer-events: none;
}

.scrolly__canvas {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scrolly__canvas svg { width: 100%; height: 100%; max-width: 680px; overflow: visible; }

.scrolly__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.scrolly__info {
  position: relative;
  max-width: 440px;
}

.scrolly__step {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}

.scrolly__step.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.scrolly__step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #d4782e;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.scrolly__step-num .sep { color: #6b6358; }

.scrolly__step h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 18px;
  color: #fff;
}

.scrolly__step p {
  font-size: var(--text-base);
  line-height: 1.65;
  color: #bdb6a8;
  margin: 0 0 22px;
}

.scrolly__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.scrolly__features li {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #8a8275;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-left: 14px;
  position: relative;
}

.scrolly__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 1px;
  background: #d4782e;
}

.scrolly__progress {
  position: absolute;
  left: 60px;
  bottom: 48px;
  display: flex;
  gap: 6px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #6b6358;
  letter-spacing: 2px;
}

.scrolly__bar {
  width: 120px;
  height: 1px;
  background: rgba(255,255,255,.12);
  position: relative;
  overflow: hidden;
}

.scrolly__bar i {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: #d4782e;
  width: 0%;
  transition: width .15s linear;
}

.scrolly__dots {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 5;
}

.scrolly__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: all .25s ease;
}

.scrolly__dot.is-active {
  background: #d4782e;
  border-color: #d4782e;
  transform: scale(1.3);
}

/* SVG-Parts */
.ex-part { transition: transform 1.2s cubic-bezier(.16,1,.3,1), opacity .6s ease; }
.ex-part .lbl { font-family: var(--font-mono); font-size: 10px; fill: #bdb6a8; letter-spacing: 1.5px; opacity: 0; transition: opacity .5s ease; }
.ex-part .lbl-line { stroke: #d4782e; stroke-width: 1; opacity: 0; transition: opacity .5s ease; }
.ex-part.is-hi .lbl, .ex-part.is-hi .lbl-line { opacity: 1; }
.ex-part.is-dim { opacity: .35; }

/* ── Homepage: Kategorie-Grid ───────────────────────────────────────────────── */
.cat-grid-section {
  padding: var(--space-20) 0;
  background: var(--page);
}

.section-header { margin-bottom: var(--space-10); }
.section-header h2 { font-size: var(--text-4xl); }
.section-header--centered { text-align: center; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cat-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.cat-card__link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.cat-card__img {
  position: absolute;
  inset: 0;
}

.cat-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.cat-card:hover .cat-card__img img { transform: scale(1.06); }

.cat-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #6d5436, #3e2e1a);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-card__img-placeholder svg { width: 64px; height: 64px; }

.cat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,15,8,.85) 0%, rgba(20,15,8,.25) 50%, transparent 100%);
}

.cat-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px 22px;
  color: #fff;
  z-index: 2;
}

.cat-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 6px;
  color: #fff;
}

.cat-card__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.8);
  margin: 0 0 14px;
  line-height: 1.5;
}

.cat-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(255,255,255,.9);
  text-transform: uppercase;
  transition: gap var(--transition);
}

.cat-card:hover .cat-card__cta { gap: 10px; }
.cat-card__cta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ── Homepage: Features ─────────────────────────────────────────────────────── */
.features-section {
  padding: var(--space-20) 0;
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition-md), transform var(--transition-md);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(90,122,43,.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.feature-card__icon svg { width: 24px; height: 24px; }

.feature-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 10px;
  color: var(--ink);
}

.feature-card__text {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
  margin: 0;
}

/* ── Homepage: Stats-Strip ──────────────────────────────────────────────────── */
.stats-strip {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2a2218 0%, #1a140d 55%, #241c12 100%);
  color: #fff;
  padding: 72px 28px;
}

.stats-strip__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(201,122,58,.22), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(90,122,43,.18), transparent 55%);
}

.stats-strip__inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  position: relative;
  padding: 30px 22px 26px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.05);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 30px rgba(0,0,0,.3);
  text-align: left;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--btn) 0%, rgba(201,122,58,.2) 100%);
}

.stat-card__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 56px);
  color: #fff;
  letter-spacing: .01em;
  line-height: 1;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-value { }
.stat-suffix { font-size: .6em; color: var(--btn); margin-left: 2px; }

.stat-card__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* ── Über uns ───────────────────────────────────────────────────────────────── */
.ueber-uns-section {
  padding: var(--space-20) 0;
  background: var(--page);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin: 40px 0 60px;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0 28px;
}

.story-grid.is-reversed { direction: rtl; }
.story-grid.is-reversed > * { direction: ltr; }

.story-img {
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-lg);
}

.story-text .eyebrow { margin-bottom: 14px; }

.story-text h2 {
  font-size: var(--text-4xl);
  margin: 0 0 18px;
}

.story-text p {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--ink-2);
}

/* Team-Kacheln */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: var(--space-12) auto;
  padding: 0 28px;
}

.team-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
}

.team-card__img {
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}

.team-card__body { padding: 20px 18px 22px; }

.team-card__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 0 4px;
}

.team-card__role {
  font-size: var(--text-sm);
  color: var(--muted);
  margin: 0 0 12px;
}

.team-card__bio {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.65;
  margin: 0;
}

/* ── FAQ-Seite ──────────────────────────────────────────────────────────────── */
.faq-section {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--space-12) 28px var(--space-20);
}

.faq-section h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-10);
}

/* ── Legal-Seiten ───────────────────────────────────────────────────────────── */
.legal-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-10) 28px var(--space-20);
}

.legal-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--space-8);
  margin-bottom: var(--space-10);
}

.legal-header h1 { font-size: var(--text-4xl); }
.legal-header .meta { font-size: var(--text-sm); color: var(--muted); margin-top: var(--space-2); }

.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: flex-start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 20px 0;
}

.legal-toc h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--ink);
}

.legal-toc ol { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.legal-toc a { font-size: var(--text-sm); color: var(--muted); }
.legal-toc a:hover { color: var(--accent); }

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: var(--space-10) 0 var(--space-4);
  display: flex;
  align-items: center;
  gap: 14px;
}

.legal-content h2 .num {
  font-size: 16px;
  color: var(--accent);
  font-weight: 700;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--ink-2);
}

.legal-content ul,
.legal-content ol { padding-left: var(--space-6); }
.legal-content li { margin-bottom: var(--space-2); }

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .features-grid    { grid-template-columns: repeat(2, 1fr); }
  .stats-strip__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .cat-grid    { grid-template-columns: repeat(2, 1fr); }
  .team-grid   { grid-template-columns: repeat(2, 1fr); }
  .story-grid  { grid-template-columns: 1fr; gap: 30px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc   { position: static; }
  .scrolly__stage { grid-template-columns: 1fr; padding: 30px 22px; gap: 0; height: auto; min-height: 100vh; }
  .scrolly__canvas { height: 55vh; }
  .scrolly__info { max-width: 100%; margin-top: 12px; }
  .scrolly__progress, .scrolly__dots { display: none; }
}

@media (max-width: 640px) {
  .cat-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-strip__inner { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero__float-ctas { position: static; transform: none; margin-top: 20px; }
  .hero__inner { padding: 120px 0 60px; }
}
