/* ============================================================
   Nur Startseite: Layout, Schrift und Abstände nach Cerens Startseite,
   Farben ausschliesslich aus Manuelas Variablen (css/site.css).
   Wird nur von index.html geladen, alle anderen Seiten bleiben unverändert.
   ============================================================ */
body[data-page="start"] {
  --sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --radius-gross: 28px;
  --ease: cubic-bezier(0.34, 1.32, 0.5, 1);
  --ease-soft: cubic-bezier(0.2, 0.8, 0.2, 1);
  font-size: 16px;
  letter-spacing: 0;
  hyphens: manual;
}

h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.3vw, 44px); line-height: 1.15; }
h3 { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.3; }

.container { width: min(1200px, 100% - 48px); }

/* ---------- Kopfzeile ---------- */
.site-header__inner {
  width: 100%;
  max-width: 1440px;
  padding: 16px clamp(24px, 4.4vw, 64px);
}

.brand__name { font-size: 24px; font-weight: 700; line-height: 1.1; }
.brand__sub { font-size: 12px; }
.nav-list { gap: clamp(20px, 3.3vw, 48px); }
.nav-list a { font-size: 18px; }
.nav-list a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--olive); }

/* ---------- Überschriften über den Abschnitten ---------- */
.eyebrow {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.lead { color: var(--text-soft); font-size: clamp(17px, 1.4vw, 19px); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  gap: 10px;
  min-height: 0;
  padding: 16px 28px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: transform 400ms var(--ease), background-color 250ms ease, box-shadow 250ms ease;
}

.btn:hover { transform: translateY(-2px); }
.btn__arrow { margin: 0; transition: transform 400ms var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.35) 50%, transparent 58%);
  transform: translateX(-60%);
  transition: transform 800ms ease;
  pointer-events: none;
}

.btn:hover::after { transform: translateX(60%); }
.btn--primary { box-shadow: 0 12px 30px rgba(58, 51, 43, 0.24); }

/* ---------- Headerbild mit Text links ----------
   Originalfoto unverändert; Ausschnitt und weicher linker Rand nur per CSS. */
.hero-foto {
  position: relative;
  height: min(46vw, 780px);
  overflow: hidden;
  background: var(--bg-tint);
}

.hero-foto__bild {
  position: absolute;
  top: 0;
  right: 0;
  width: 72%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 12%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0, #000 30%);
}

.hero-foto__text {
  position: absolute;
  top: 50%;
  left: 5%;
  width: 34%;
  transform: translateY(-50%);
}

.hero-foto__titel {
  margin: 0;
  font-size: 3.7vw;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hero-foto__marke {
  display: block;
  margin-bottom: 1.1vw;
  font-size: 1.15vw;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.hero-foto__lead {
  margin: 1.4vw 0 0;
  font-size: max(13px, 1.25vw);
  line-height: 1.5;
}

@media (min-width: 1696px) {
  .hero-foto__titel { font-size: 62px; }
  .hero-foto__marke { margin-bottom: 18px; font-size: 19px; }
  .hero-foto__lead { margin-top: 24px; font-size: 21px; }
}

.hero-foto__aktion {
  display: flex;
  justify-content: center;
  padding: 36px 20px 0;
}

/* ---------- Bereich unter dem Foto ---------- */
.hallo { padding: 56px 0 40px; }

.intro-center {
  max-width: 760px;
  text-align: center;
}

.intro-center h2 {
  max-width: 680px;
  margin: 0 auto 18px;
}

.intro-center p:last-of-type { margin-bottom: 0; }

.hallo__gruss { margin-top: 1.4em; color: var(--text); }

.werte {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.werte li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  padding: 24px 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  border-radius: 18px;
  background: var(--bg-tint);
}

.werte svg,
.info__icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.werte svg { width: 26px; height: 26px; color: var(--olive); }

/* ---------- Abschnitte und Karten ---------- */
.section--tint { margin-top: 0; background: none; }
.section--tint + .section { padding-bottom: clamp(48px, 6vw, 80px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}

.karte {
  border: 1px solid var(--line);
  border-radius: var(--radius-gross);
  background: var(--bg);
}

.needs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.need {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(24px, 2.6vw, 32px);
  text-decoration: none;
  transition: transform 450ms var(--ease), box-shadow 300ms ease;
}

a.need:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(58, 51, 43, 0.16);
}

.info__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  color: var(--olive);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.info__icon svg { width: 24px; height: 24px; }

.need h3, .step h3 { margin-bottom: 10px; }
.need p, .step p { margin: 0; color: var(--text-soft); font-size: 15.5px; }

.need__more {
  margin-top: auto;
  padding-top: 18px;
  color: var(--olive);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.steps { gap: 20px; }
.step { padding: clamp(26px, 3vw, 36px); }

.step__no {
  display: block;
  margin-bottom: 18px;
  color: var(--olive);
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
}

.cta-card {
  padding: clamp(40px, 7vw, 88px) clamp(24px, 5vw, 64px);
  text-align: center;
  border: 0;
  background: var(--bg-tint);
}

.cta-card h2 { margin-bottom: 32px; }

/* ---------- Einblenden beim Scrollen ---------- */
.reveal {
  transition: opacity 800ms ease var(--d, 0ms), transform 900ms var(--ease-soft) var(--d, 0ms);
}

.reveal--2 { --d: 100ms; }
.reveal--3 { --d: 200ms; }

.js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(26px);
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal:not(.is-visible) { opacity: 1; transform: none; }
}

/* ---------- Handy: gleiche Anordnung wie am Computer, Foto volle Breite ---------- */
@media (max-width: 760px) {
  body[data-page="start"] { font-size: 15px; line-height: 1.6; }

  h2 { font-size: clamp(21px, 5.8vw, 26px); }
  h3 { font-size: 15px; }

  .container { width: calc(100% - 32px); }

  .site-header__inner { padding: 8px 12px 2px; }
  .brand__name { font-size: 18px; }
  .brand__sub { font-size: 11px; }
  .nav-list { gap: 12px; }
  .nav-list a { font-size: 12.5px; }

  /* Links bündig: rechts wird der Jackenrand beschnitten, nie das Gesicht */
  .hero-foto { height: 78vw; }

  .hero-foto__bild {
    width: 100%;
    object-position: 0% 20%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-foto__text { left: 4%; width: 54%; }
  .hero-foto__titel { font-size: 5.3vw; }
  .hero-foto__marke { margin-bottom: 1.6vw; font-size: 2vw; letter-spacing: 0.22em; }
  .hero-foto__lead { margin-top: 2vw; font-size: 3vw; line-height: 1.4; }

  .hero-foto__aktion { padding-top: 22px; }
  .btn { padding: 12px 22px; font-size: 13.5px; }

  .hallo { padding: 32px 0 24px; }
  .eyebrow { margin-bottom: 10px; font-size: 10px; gap: 8px; }
  .eyebrow::before, .eyebrow::after { width: 18px; }
  .lead { font-size: 14.5px; line-height: 1.55; }

  .werte { gap: 8px; margin-top: 20px; }
  .werte li { gap: 8px; padding: 14px 2px; font-size: 9.5px; letter-spacing: 0.06em; }
  .werte svg { width: 22px; height: 22px; }

  .section--tight, .section--tint + .section { padding-block: 22px; }
  .section-head { margin-bottom: 16px; }

  .karte { border-radius: 18px; }
  .needs { gap: 8px; }
  .need { padding: 14px 12px; }
  .info__icon { width: 36px; height: 36px; margin-bottom: 10px; }
  .info__icon svg { width: 18px; height: 18px; }
  .need p, .step p { font-size: 12.5px; line-height: 1.45; }
  .need__more { padding-top: 10px; font-size: 10px; letter-spacing: 0.06em; }

  .steps { gap: 8px; }
  .step { padding: 12px 10px; }
  .step__no { margin-bottom: 8px; font-size: 26px; }
  .step h3 { margin-bottom: 6px; font-size: 13.5px; }

  .cta-card { padding: 26px 16px; }
  .cta-card h2 { margin-bottom: 18px; }
}
