/* Sauna, Wellness & Spa – Website-Demo
   Eigenständiges Stylesheet. Keine externen Schriften, keine Skripte. */

/* ---------- Grundwerte ---------- */
:root {
  --bg: #1a120c;
  --surface: #261a11;
  --text: #fbf3e8;
  --muted: #d3c0a6;
  --accent: #eda752;
  --on-accent: #1a1209;
  --line: rgba(246, 233, 215, .18);
  --shade: 26, 18, 12; /* Hintergrundfarbe als RGB für Verläufe */
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

img { max-width: 100%; }

a { color: var(--accent); text-underline-offset: .2em; }

a:focus-visible,
.btn:focus-visible,
.btn-bar:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

[id] { scroll-margin-top: 1rem; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10;
  padding: .6rem 1rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Pfeil-Symbol in Buttons ---------- */
.arr {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Hinweisleiste ---------- */
.demo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1.5rem;
  padding: calc(.95rem + env(safe-area-inset-top, 0px)) 1.5rem .95rem;
  background: var(--surface);
  border-bottom: 1px solid var(--accent);
  font-size: 1.08rem;
  line-height: 1.4;
}
.demo-bar p { margin: 0; }
.demo-bar strong { color: var(--accent); }
.demo-bar .sub { font-size: .95rem; color: var(--muted); }

.btn-bar {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-height: 2.75rem;
  padding: .5rem 1.15rem;
  border-radius: 999px;
  background: #fbf3e8;
  color: #1a120c;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.btn-bar:hover { filter: brightness(.94); }

/* ---------- Kopfzeile ---------- */
.site-head {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-head .in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 2rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: .9rem 1.5rem;
}
.logo {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  text-decoration: none;
}
.site-head nav {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem 1.4rem;
  margin-left: auto;
}
.site-head nav a {
  padding: .3rem 0;
  color: var(--muted);
  font-size: .98rem;
  text-decoration: none;
}
.site-head nav a:hover {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: .3em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  max-width: 100%;
  min-height: 2.75rem;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.btn:hover { filter: brightness(1.08); }

.btn-small {
  min-height: 2.5rem;
  padding: .55rem 1.2rem;
  font-size: .95rem;
}

.btn-ghost {
  padding: calc(.9rem - 2px) calc(1.6rem - 2px);
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover { background: rgba(237, 167, 82, .14); filter: none; }

/* Angedeutete Buttons ohne Funktion */
.mock-btn { cursor: default; -webkit-user-select: none; user-select: none; }
.mock-btn:hover { filter: none; }

/* ---------- Titelbild ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 88vh;
  min-height: 88svh;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--bg);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 62%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 56% 68% at 22% 64%, rgba(var(--shade), .86) 0%, rgba(var(--shade), .6) 50%, rgba(var(--shade), 0) 100%),
    linear-gradient(to top, rgba(var(--shade), .96) 0%, rgba(var(--shade), .55) 40%, rgba(var(--shade), 0) 82%);
}
.hero-inner {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 6rem 1.5rem 3.5rem;
}
.hero h1 {
  max-width: 15em;
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .45);
}
.lead {
  max-width: 40rem;
  margin: 0 0 1.75rem;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.ai-note {
  position: absolute;
  right: .8rem;
  bottom: .5rem;
  z-index: 1;
  font-size: .6rem;
  line-height: 1;
  letter-spacing: .01em;
  color: #6e6e6e;
}

/* ---------- Inhaltsbereich ---------- */
main {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
main:focus { outline: none; }

section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem 3rem;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}
section:first-of-type { border-top: 0; }
section.stack { display: block; }
section.stack > h2 { margin: 0 0 .8rem; }

h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  line-height: 1.2;
}

.body { min-width: 0; max-width: 40rem; }
.body p { margin: 0 0 1.1rem; }
.body p:last-child { margin-bottom: 0; }

.intro { max-width: 40rem; margin: 0 0 2rem; color: var(--muted); }
.note { font-size: .95rem; color: var(--muted); }
.demo-note { margin: 0; font-size: .85rem; color: var(--muted); }

/* ---------- Leistungen: Bildkacheln ---------- */
.tiles {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
.tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 19rem;
  overflow: hidden;
  isolation: isolate;
  border-radius: 6px;
  background: var(--surface);
}
.tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(var(--shade), .93) 0%, rgba(var(--shade), .55) 42%, rgba(var(--shade), 0) 80%);
}
.tile-a img { object-position: 42% 50%; }
.tile-b img { object-position: 52% 50%; }
.tile-c img { object-position: 48% 55%; }
.tile-text { max-width: 32rem; padding: 1.3rem 1.4rem; }
.tile-text h3 { margin: 0 0 .35rem; font-size: 1.4rem; line-height: 1.2; }
.tile-text p { margin: 0; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }

/* ---------- Aufguss ---------- */
.band {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}
.band img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
  object-position: 46% 55%;
}
.band-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 1.6rem 1.5rem 1.8rem;
}
.band-text h2 { margin: 0 0 .7rem; }
.band-text p { margin: 0 0 1rem; }
.band-text .note { margin: 0 0 1.3rem; }

/* ---------- Veranstaltungen ---------- */
.events { margin: 0 0 1.1rem; padding: 0; list-style: none; }
.events li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .2rem 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.events li:first-child { border-top: 1px solid var(--line); }
.events .when { font-family: var(--serif); font-weight: 700; color: var(--accent); }
.events .what strong { display: block; }

/* ---------- Galerie ---------- */
.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
.gallery figure {
  min-height: 15rem;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--surface);
}
.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 15rem;
  object-fit: cover;
}
.gallery .g1 img { object-position: 40% 50%; }

/* ---------- Karten: Gutschein, Aktion, Besuch ---------- */
.cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}
.panel {
  padding: 1.5rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.panel h3 { margin: 0 0 .8rem; font-size: 1.4rem; line-height: 1.2; }
.panel p { margin: 0 0 .8rem; }
.panel p:last-child { margin-bottom: 0; }
.panel .here { margin: .9rem 0 0; font-size: .95rem; color: var(--muted); }

.chips { margin: 0; }
.chip {
  display: inline-block;
  margin: 0 .6rem .4rem 0;
  padding: .25rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
}

.product {
  margin: 0 0 .6rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 233, 215, .06);
}
.pname { display: block; font-family: var(--serif); font-size: 1.1rem; font-weight: 700; }
.pprice { display: block; font-size: .88rem; color: var(--muted); }

.rows { margin: 0; }
.rows div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--line);
}
.rows div:first-child { border-top: 1px solid var(--line); }
.rows dd { margin: 0; color: var(--muted); text-align: right; white-space: nowrap; }

/* ---------- Kontakt ---------- */
.contact-box {
  max-width: 40rem;
  padding: 1.6rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.contact-box p { margin: 0 0 1rem; }
.contact-box .demo-note { margin: 0; }
.contact-box .address { margin: 1.2rem 0 0; color: var(--muted); }

.mock-form { display: grid; gap: .8rem; margin: 0 0 1rem; }
.mock-form .btn { justify-self: start; }
.mock-field {
  padding: .55rem .9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 233, 215, .06);
  line-height: 1.35;
}
.mock-field small { display: block; margin-bottom: .1rem; font-size: .78rem; color: var(--muted); }
.mock-field.area { min-height: 5.5rem; }

/* ---------- Fußzeile ---------- */
footer { margin-top: 1rem; border-top: 1px solid var(--line); }
footer .in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem 2rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.8rem 1.5rem 2.5rem;
  padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
  font-size: .95rem;
  color: var(--muted);
}
.flinks { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }
.flinks a, .mock-link { display: inline-block; padding: .35rem 0; }
footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }
.mock-link { color: var(--muted); text-decoration: underline; text-underline-offset: .2em; cursor: default; }

/* ---------- Bildschirmgrößen ---------- */

/* Handy und kleines Tablet */
@media (max-width: 55.99rem) {
  .hero { display: block; min-height: 0; }
  .hero-media { position: relative; inset: auto; height: 58vh; height: 58svh; }
  .hero::after {
    inset: 0 0 auto 0;
    height: 58vh;
    height: 58svh;
    background: linear-gradient(to top, var(--bg) 0%, rgba(0, 0, 0, 0) 35%);
  }
  .hero-inner { position: relative; margin-top: -2.5rem; padding: 0 1.5rem 2.5rem; }
  .ai-note { top: calc(58vh - 4.6rem); top: calc(58svh - 4.6rem); bottom: auto; }
}

/* Handy quer */
@media (orientation: landscape) and (max-height: 520px) {
  .hero { display: flex; min-height: 100vh; min-height: 100svh; }
  .hero-media { position: absolute; inset: 0; height: auto; }
  .hero::after {
    inset: 0;
    height: auto;
    background:
      radial-gradient(ellipse 56% 68% at 22% 64%, rgba(var(--shade), .86) 0%, rgba(var(--shade), .6) 50%, rgba(var(--shade), 0) 100%),
      linear-gradient(to top, rgba(var(--shade), .96) 0%, rgba(var(--shade), .55) 40%, rgba(var(--shade), 0) 82%);
  }
  .hero-inner { margin-top: 0; padding: 2rem 1.5rem 1.5rem; }
  .ai-note { top: auto; bottom: .5rem; }
  .hero h1 { margin-bottom: .6rem; font-size: clamp(2rem, 11vh, 3.6rem); }
  .lead { margin-bottom: 1rem; font-size: 1rem; }
}

/* Kleiner Kopfzeilen-Button nur, wenn genug Platz ist */
@media (max-width: 61.99rem) {
  .site-head .btn-small { display: none; }
}

/* Handy */
@media (max-width: 39.99rem) {
  .logo { font-size: 1.5rem; }
  .site-head .in { column-gap: 1rem; }
  .site-head nav { order: 3; width: 100%; margin-left: 0; gap: .2rem 1rem; }
  .site-head nav a { padding: .55rem 0; }
}

/* Ab mittlerer Breite */
@media (min-width: 40rem) {
  .events li { grid-template-columns: 10rem minmax(0, 1fr); }
}

/* Desktop */
@media (min-width: 56rem) {
  .demo-bar { padding-left: 2rem; padding-right: 2rem; }
  .site-head .in, footer .in { padding-left: 2rem; padding-right: 2rem; }
  .hero-inner { padding: 6rem 2rem 4.5rem; }
  main { padding: 0 2rem; }
  section { grid-template-columns: 16rem minmax(0, 1fr); }

  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile { min-height: 26rem; }
  .tile-text { min-height: 9.5rem; }

  .band { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .band img { min-height: 27rem; }
  .band-text { padding: 2.5rem; }

  .gallery { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(2, 15.5rem); }
  .gallery .g1 { grid-column: span 7; grid-row: span 2; }
  .gallery .g2, .gallery .g3 { grid-column: span 5; }

  .cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Sehr schmale Handys: Menü passt in eine Zeile */
@media (max-width: 23.4rem) {
  .site-head nav { gap: .2rem .55rem; }
  .site-head nav a { font-size: .84rem; }
}

/* Große Monitore: Abdunklung folgt dem mittig stehenden Text */
@media (min-width: 100rem) {
  .hero::after {
    background:
      radial-gradient(ellipse 50% 70% at 38% 66%, rgba(var(--shade), .86) 0%, rgba(var(--shade), .6) 50%, rgba(var(--shade), 0) 100%),
      linear-gradient(to top, rgba(var(--shade), .96) 0%, rgba(var(--shade), .55) 40%, rgba(var(--shade), 0) 82%);
  }
}

/* Weniger Bewegung, wenn im System eingestellt */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
