/* Heilkraftzentrum – Platzhalterseite (Stand 06.10.2026) */

@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-latin.woff2?v=20261006") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-italic-latin.woff2?v=20261006") format("woff2");
  font-weight: 400 500;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Farben aus dem Logo */
  --green-dark: #51684c;     /* Wortmarke */
  --green: #7e9960;          /* Blätter / Figur */
  --green-light: #a7bb86;    /* helle Blätter */
  --green-deep: #546449;     /* Boden */
  --brown: #523930;          /* Stamm */
  --orange: #e69e35;         /* Flamme */
  /* Textvarianten mit etwas mehr Kontrast auf Creme */
  --green-text: #6d8a50;
  --orange-text: #d4871f;
  --cream: #f8f4ea;
  --ink: #4a342b;

  --font: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Weicher Creme-/Grün-Verlauf wie auf den Markenfolien */
html {
  min-height: 100%;
  background-color: var(--cream);
  background-image:
    radial-gradient(70rem 50rem at -8% -6%, rgba(167, 187, 134, .40), transparent 70%),
    radial-gradient(60rem 42rem at 108% 0%, rgba(242, 196, 128, .32), transparent 70%),
    radial-gradient(70rem 50rem at -12% 106%, rgba(167, 187, 134, .32), transparent 70%),
    radial-gradient(60rem 45rem at 110% 104%, rgba(232, 214, 186, .55), transparent 70%);
  background-repeat: no-repeat;
}
body { background: transparent; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(2.5rem, 7vh, 5rem) 1.25rem clamp(1.25rem, 4vh, 2.5rem);
  text-align: center;
}
.hero__logo {
  margin: 0 auto;
  width: min(480px, 84vw);
}
.hero__logo img { width: 100%; }

/* ---------- Typografie der Folien ---------- */
.kicker {
  margin: 0 0 .9rem;
  color: var(--orange);
  font-size: clamp(.85rem, 1.6vw, 1.05rem);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.slide__title {
  margin: 0 auto;
  max-width: 20ch;
  color: var(--green-dark);
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.divider {
  display: block;
  width: 3.5rem;
  height: 3px;
  margin: clamp(1.25rem, 3vh, 1.9rem) auto;
  border-radius: 2px;
  background: var(--orange);
}
.slide__text {
  margin: 0 auto .6em;
  max-width: 34em;
  font-size: clamp(1.06rem, 2.1vw, 1.42rem);
  line-height: 1.6;
  text-wrap: pretty;
}
.slide__text:last-child { margin-bottom: 0; }
.slide__text--italic { font-style: italic; margin-top: .9em; }
.hl-green  { color: var(--green-text); }
.hl-orange { color: var(--orange-text); }

.slide__title--motto { max-width: none; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; }
.slide__title--motto strong { font-weight: 800; }
.slide__title--motto .hl-green,
.slide__title--motto .hl-orange { font-weight: 500; }
.slide__title--motto .hl-green  { color: var(--green); }
.slide__title--motto .hl-orange { color: var(--orange); }
.motto__line, .motto__arrow { display: block; }
.motto__arrow {
  margin: .15em 0 .1em;
  color: #9a8f86;
  font-size: .6em;
  font-weight: 400;
  line-height: 1.2;
}
.sparkle { font-style: normal; }

/* ---------- Karussell ---------- */
main { flex: 1; }

.carousel {
  position: relative;
  width: min(62rem, calc(100% - 2rem));
  margin: 0 auto;
}

/* Grundzustand (auch ohne JavaScript): horizontales Scroll-Snap */
.carousel__track {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(81, 104, 76, .35) transparent;
  border-radius: 28px;
  background: rgba(255, 255, 255, .42);
  border: 1px solid rgba(81, 104, 76, .10);
  box-shadow: 0 30px 60px -38px rgba(74, 52, 43, .35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.carousel__track:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
.slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(22rem, 52vh, 30rem);
  padding: clamp(2.25rem, 6vw, 4rem) clamp(1.25rem, 6vw, 4.5rem);
  text-align: center;
}
.slide__inner { width: 100%; }

/* Mit JavaScript: Scrollbalken ausblenden, Steuerung einblenden */
.carousel.is-enhanced .carousel__track { scrollbar-width: none; }
.carousel.is-enhanced .carousel__track::-webkit-scrollbar { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .carousel.is-enhanced .slide__inner {
    opacity: .25;
    transform: translateY(10px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .carousel.is-enhanced .slide.is-active .slide__inner {
    opacity: 1;
    transform: none;
  }
}

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  margin-top: 1.4rem;
}
.carousel__controls[hidden] { display: none; }

.carousel__btn {
  display: inline-grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid rgba(81, 104, 76, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .7);
  color: var(--green-dark);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.carousel__btn:hover { background: var(--green-dark); color: #fff; border-color: var(--green-dark); }
.carousel__btn:active { transform: scale(.94); }
.carousel__btn:focus-visible,
.carousel__dot:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.carousel__btn--toggle { width: 2.4rem; height: 2.4rem; margin-left: .3rem; }
.carousel__btn--toggle .icon-play { display: none; }
.carousel__btn--toggle.is-paused .icon-play { display: block; }
.carousel__btn--toggle.is-paused .icon-pause { display: none; }

.carousel__dots { display: flex; align-items: center; gap: .15rem; }
.carousel__dot {
  position: relative;
  width: 1.75rem;              /* großzügige Klickfläche */
  height: 1.75rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.carousel__dot::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: .55rem; height: .55rem;
  border-radius: 999px;
  background: rgba(81, 104, 76, .3);
  transform: translate(-50%, -50%);
  transition: width .3s ease, background-color .3s ease;
}
.carousel__dot:hover::before { background: rgba(81, 104, 76, .55); }
.carousel__dot[aria-current="true"]::before { width: 1.5rem; background: var(--orange); }

/* ---------- Hinweis & Footer ---------- */
.note {
  margin: clamp(2rem, 5vh, 3rem) 1.25rem 0;
  text-align: center;
  color: var(--green-dark);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 600;
}
.footer {
  padding: 2rem 1rem 2.25rem;
  text-align: center;
  font-size: .9rem;
  letter-spacing: .03em;
  color: #7a6a60;
}

@media (max-width: 560px) {
  .carousel { width: calc(100% - 1.5rem); }
  .carousel__track { border-radius: 22px; }
  .slide { min-height: 26rem; }
  .kicker { letter-spacing: .16em; }
  .carousel__controls { gap: .5rem; }
  .carousel__dot { width: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
