/* fraso.it — Einstiegsseite. Schriften liegen lokal (SIL Open Font License). */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --tinte: #0b1c20;
  --papier: #efe8dc;
  --gedaempft: #9fb3b0;
  --linie: rgba(239, 232, 220, 0.14);
  --kupfer: #d99a5b;
  --kupfer-hell: #f0b67a;
  --rand: clamp(16px, 4vw, 56px);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --weich: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  display: flex; flex-direction: column;
  background: radial-gradient(120% 90% at 85% 0%, #14343a 0%, var(--tinte) 55%) fixed, var(--tinte);
  color: var(--papier);
  font-family: var(--sans);
  font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
::selection { background: var(--kupfer); color: var(--tinte); }

#wasser { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.korn {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none;
  opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.kopf, main, .fuss { position: relative; z-index: 2; }

.kopf {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: calc(var(--rand) * .7) var(--rand) 0;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gedaempft);
}
.marke { color: var(--papier); font-weight: 600; letter-spacing: .22em; }

main {
  flex: 1;
  display: grid; align-content: center;
  gap: clamp(36px, 6vh, 72px);
  padding: clamp(28px, 5vh, 64px) var(--rand);
  max-width: 1280px; width: 100%; margin: 0 auto;
}

/* ---------- Marken oben: tauchen nacheinander auf und schwimmen dann */
.marken {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; flex-wrap: wrap;
  gap: clamp(18px, 4vw, 56px);
}
.logo {
  position: relative;
  opacity: 0;
  animation: auftauchen-logo 1.3s var(--weich) forwards, schwimmen 7s ease-in-out 2.2s infinite;
}
.logo + .logo::before {          /* feiner Trennstrich */
  content: ""; position: absolute; left: calc(clamp(18px, 4vw, 56px) / -2); top: 18%; bottom: 18%;
  width: 1px; background: var(--linie);
}
.logo img {
  display: block; width: auto;
  /* einheitlich hell auf dem dunklen Wasser */
  filter: brightness(0) invert(.94) sepia(.12);
}
.logo-spapro img    { height: clamp(78px, 10vw, 128px); }
.logo-hotspring img { height: clamp(50px, 6.6vw, 86px); }
.logo-laxspa img    { height: clamp(38px, 4.8vw, 62px); }
.logo-spapro    { animation-delay: .15s, 2.2s; }
.logo-hotspring { animation-delay: .45s, 3.1s; }
.logo-laxspa    { animation-delay: .75s, 4.0s; }
@keyframes auftauchen-logo {
  from { opacity: 0; transform: translateY(26px); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes schwimmen {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

.titel {
  margin: clamp(26px, 5vh, 52px) 0 0;
  max-width: 17ch;
  font-family: var(--serif); font-weight: 360;
  font-size: clamp(40px, 6.4vw, 92px); line-height: .98; letter-spacing: -.03em;
  opacity: 0; transform: translateY(14px);
  animation: auftauchen 1.1s .95s var(--weich) forwards;
}
.titel em { font-style: italic; font-weight: 330; color: #d9d4ca; }
.satz {
  margin: 18px 0 0; color: var(--gedaempft);
  font-size: clamp(16px, 1.4vw, 19px);
  opacity: 0; animation: auftauchen 1s 1.2s var(--weich) forwards;
}
@keyframes auftauchen { to { opacity: 1; transform: none; } }

/* ---------- drei Karten mit Vorschau */
.wege ol {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 32px);
}
.wege li { opacity: 0; transform: translateY(22px); animation: auftauchen 1s var(--weich) forwards; }
.wege li:nth-child(1) { animation-delay: 1.35s; }
.wege li:nth-child(2) { animation-delay: 1.5s; }
.wege li:nth-child(3) { animation-delay: 1.65s; }

.karte { display: block; text-decoration: none; outline: none; }
.fenster {
  display: block; position: relative; overflow: hidden;
  border-radius: 12px;
  background: #0f262b;
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 18px 40px -22px rgba(0,0,0,.8);
  outline: 1px solid var(--linie);
  transition: transform .6s var(--weich), box-shadow .6s var(--weich), outline-color .4s ease;
}
.leiste {
  display: flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 12px;
  background: rgba(239, 232, 220, .06);
  border-bottom: 1px solid var(--linie);
}
.leiste i { width: 7px; height: 7px; border-radius: 50%; background: rgba(239, 232, 220, .22); }
.leiste b {
  margin-left: 10px; font-weight: 500; font-size: 11px; letter-spacing: .04em;
  color: var(--gedaempft);
}
.fenster img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top;
  filter: saturate(.88) brightness(.9);
  transform-origin: 50% 0;
  transition: transform 1.2s var(--weich), filter .6s ease;
}
/* Glanz, der beim Zeigen einmal über das Bild läuft */
.fenster::after {
  content: ""; position: absolute; inset: 28px 0 0 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 236, 210, .14) 50%, transparent 65%);
  transform: translateX(-120%);
}

.text {
  display: grid; grid-template-columns: 2.2em 1fr; align-items: baseline;
  column-gap: 10px; row-gap: 3px;
  padding: 16px 4px 0;
}
.text .nr   { grid-column: 1; grid-row: 1; }
.text .name { grid-column: 2; grid-row: 1; }
.text .was  { grid-column: 2; grid-row: 2; }
.text .adr  { grid-column: 2; grid-row: 3; margin-top: 4px; }
.nr { font-variant-numeric: tabular-nums; font-size: 12px; letter-spacing: .12em; color: var(--gedaempft); transition: color .3s; }
.name {
  font-family: var(--serif); font-weight: 400; letter-spacing: -.02em;
  font-size: clamp(24px, 2.3vw, 32px); line-height: 1.1;
}
.adr {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: 13px; letter-spacing: .03em; white-space: nowrap; color: var(--gedaempft);
}
.was { color: var(--gedaempft); font-size: 15px; transition: color .3s; }
.pfeil {
  width: 20px; height: 20px; fill: none; stroke: var(--kupfer);
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .45s var(--weich);
}

.karte:hover .fenster, .karte:focus-visible .fenster {
  transform: translateY(-6px);
  outline-color: rgba(217, 154, 91, .55);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 30px 60px -24px rgba(0,0,0,.9), 0 0 0 1px rgba(217,154,91,.25);
}
.karte:hover .fenster img, .karte:focus-visible .fenster img { transform: scale(1.045); filter: none; }
.karte:hover .fenster::after, .karte:focus-visible .fenster::after { transform: translateX(120%); transition: transform 1.1s var(--weich); }
.karte:hover .nr, .karte:focus-visible .nr { color: var(--kupfer-hell); }
.karte:hover .was, .karte:focus-visible .was { color: var(--papier); }
.karte:hover .pfeil, .karte:focus-visible .pfeil { transform: translate(3px, -3px); }
.karte:focus-visible .fenster { outline: 2px solid var(--kupfer); }

/* ---------- Fuß */
.fuss {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 0 var(--rand) calc(var(--rand) * .7);
  font-size: 13px; color: var(--gedaempft);
}
.fuss summary {
  cursor: pointer; list-style: none;
  text-decoration: underline; text-decoration-color: var(--linie); text-underline-offset: 4px;
}
.fuss summary::-webkit-details-marker { display: none; }
.fuss summary:hover { color: var(--papier); }
.fuss summary:focus-visible { outline: 2px solid var(--kupfer); outline-offset: 4px; }
.klein { max-width: 62ch; padding-top: 10px; line-height: 1.55; }
.klein strong { color: var(--papier); font-weight: 600; }
.klein a { text-underline-offset: 3px; }
.jahr { white-space: nowrap; }

/* ---------- schmal */
@media (max-width: 900px) {
  .wege ol { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .marken { gap: 18px; flex-wrap: nowrap; }
  .logo-spapro img    { height: 64px; }
  .logo-hotspring img { height: 40px; }
  .logo-laxspa img    { height: 30px; }
  .logo + .logo::before { display: none; }
  .fuss { flex-direction: column-reverse; }
}

@media (prefers-reduced-motion: reduce) {
  .logo, .titel, .satz, .wege li { animation: none; opacity: 1; transform: none; }
  .fenster, .fenster img, .fenster::after, .pfeil { transition: none; }
}
