/* ==========================================================================
   Keona's Thai Massage — keonas-thaimassage.de
   Rein statisches Stylesheet. Keine externen Ressourcen, keine Webfonts.
   Farbpalette aus dem Empfangsraum-Foto (willkommen.jpeg) abgeleitet.
   ========================================================================== */

:root {
  /* Farben aus dem Bild */
  --bordeaux:      #834B46;  /* Damast-Tapete */
  --bordeaux-dark: #5C332F;  /* Tapete im Schatten */
  --bordeaux-deep: #3B1F1D;  /* fuer Verlaeufe und Footer */
  --sand:          #F4DAB2;  /* Wandflaeche */
  --ivory:         #FDF7E7;  /* Tuerrahmen, Seitenhintergrund */
  --ivory-warm:    #F6ECD8;  /* abgesetzte Flaechen */
  --lime:          #A9C65A;  /* Team-Shirts, CTA */
  --lime-dark:     #87A23F;  /* Hover */
  --walnut:        #684C3B;  /* Dielenboden */
  --ink:           #1B0F0A;  /* Fliesstext */
  --ink-soft:      #4A3A31;  /* Sekundaertext */
  --blush:         #EBC5BD;  /* Orchidee */

  /* Typografie */
  --font-display: ui-serif, Georgia, "Iowan Old Style", "Palatino Linotype",
                  Palatino, "Times New Roman", serif;
  --font-body:    system-ui, -apple-system, "Segoe UI", Roboto,
                  "Helvetica Neue", Arial, sans-serif;

  /* Rhythmus */
  --measure: 68ch;
  --page:    72rem;
  --gutter:  clamp(1.25rem, 5vw, 3rem);
  --section: clamp(3.5rem, 9vw, 6.5rem);

  --radius:    14px;
  --radius-lg: 22px;
  --shadow:    0 18px 40px -24px rgba(59, 31, 29, 0.55);
  --shadow-lg: 0 30px 70px -30px rgba(59, 31, 29, 0.65);
}

/* --------------------------------------------------------------------------
   Grundlagen
   -------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.25vw, 1.125rem);
  line-height: 1.7;
  overflow-wrap: break-word;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--bordeaux-dark); }
a:hover { color: var(--bordeaux); }

/* Ein einziger, konsistenter Fokusring auf allen interaktiven Elementen. */
:focus-visible {
  outline: 3px solid var(--lime-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Layout-Hilfen
   -------------------------------------------------------------------------- */

.wrap {
  width: min(100% - 2 * var(--gutter), var(--page));
  margin-inline: auto;
}

.wrap--narrow { width: min(100% - 2 * var(--gutter), 46rem); }

.section { padding-block: var(--section); }

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

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 100;
  background: var(--lime);
  color: var(--ink);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
}

.skip-link:focus-visible {
  transform: translate(-50%, 0);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Damast-Ornament
   Greift die Tapete aus dem Foto auf — rein per CSS erzeugt, damit keine
   zusaetzliche Bilddatei geladen werden muss.
   -------------------------------------------------------------------------- */

.damask {
  position: relative;
  isolation: isolate;
}

.damask::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  background-image:
    radial-gradient(ellipse 14px 26px at 50% 22%, var(--sand) 0 42%, transparent 45%),
    radial-gradient(ellipse 26px 14px at 50% 50%, var(--sand) 0 42%, transparent 45%),
    radial-gradient(ellipse 9px 18px at 50% 78%, var(--sand) 0 45%, transparent 48%),
    radial-gradient(circle 5px at 22% 50%, var(--sand) 0 45%, transparent 48%),
    radial-gradient(circle 5px at 78% 50%, var(--sand) 0 45%, transparent 48%);
  background-size: 120px 120px;
  background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
}

/* Zweite, versetzte Lage erzeugt das typische Rapportmuster einer Damasttapete. */
.damask::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.1;
  background-image:
    radial-gradient(ellipse 12px 22px at 50% 30%, var(--blush) 0 42%, transparent 45%),
    radial-gradient(ellipse 20px 11px at 50% 60%, var(--blush) 0 42%, transparent 45%);
  background-size: 120px 120px;
  background-position: 60px 60px;
}

/* --------------------------------------------------------------------------
   Hinweisband
   -------------------------------------------------------------------------- */

.notice {
  background: var(--bordeaux-deep);
  color: var(--ivory);
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.5;
  padding: 0.85rem var(--gutter);
}

.notice p { margin: 0; }

.notice strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
}

.notice span { color: var(--sand); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(78vh, 40rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--bordeaux-deep);
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

/* Scrim: sorgt fuer AA-Kontrast des Titels ueber dem Foto. */
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(59, 31, 29, 0.94) 0%,
      rgba(59, 31, 29, 0.82) 22%,
      rgba(59, 31, 29, 0.42) 48%,
      rgba(59, 31, 29, 0.20) 72%,
      rgba(59, 31, 29, 0.34) 100%);
}

.hero__content {
  position: relative;
  padding-block: clamp(2.5rem, 7vw, 4.5rem);
  color: var(--ivory);
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--lime);
}

.hero h1 {
  font-size: clamp(2.25rem, 1.4rem + 4.2vw, 4.25rem);
  color: var(--ivory);
  margin-bottom: 0.35em;
  text-shadow: 0 2px 18px rgba(59, 31, 29, 0.5);
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1rem + 0.7vw, 1.5rem);
  font-style: italic;
  color: var(--sand);
  max-width: 34ch;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Willkommenstext
   -------------------------------------------------------------------------- */

.welcome { background: var(--ivory); }

.welcome__lead {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.15rem + 1.1vw, 2rem);
  line-height: 1.35;
  color: var(--bordeaux-dark);
  max-width: 24ch;
  margin: 0 0 1.5rem;
}

.welcome__body {
  max-width: var(--measure);
  color: var(--ink-soft);
}

.pullquote {
  margin: clamp(2.5rem, 6vw, 3.5rem) 0 0;
  padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.5rem, 4vw, 2.5rem);
  border-left: 5px solid var(--lime);
  background: var(--ivory-warm);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.pullquote p {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.15rem + 1.1vw, 1.875rem);
  font-style: italic;
  line-height: 1.3;
  color: var(--bordeaux-dark);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Buchung
   -------------------------------------------------------------------------- */

.booking {
  background: var(--bordeaux);
  color: var(--ivory);
  text-align: center;
}

.booking h2 {
  font-size: clamp(1.75rem, 1.35rem + 1.9vw, 2.75rem);
  color: var(--ivory);
}

.booking__intro {
  max-width: 46ch;
  margin-inline: auto;
  color: var(--sand);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.5rem;
  padding: 1rem 2.5rem;
  margin-top: 0.75rem;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.18s ease, background-color 0.18s ease,
              box-shadow 0.18s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--lime-dark);
  color: var(--ink);
  transform: translateY(-2px);
}

.button:active { transform: translateY(0); }

.button__icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

.booking__note {
  margin: 1.75rem auto 0;
  max-width: 48ch;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--sand);
}

.booking__note a {
  color: var(--ivory);
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */

.contact { background: var(--ivory-warm); }

.contact h2 {
  font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2.25rem);
  color: var(--bordeaux-dark);
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.contact__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact__card {
  background: var(--ivory);
  border: 1px solid rgba(104, 76, 59, 0.16);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  box-shadow: var(--shadow);
}

.contact__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--walnut);
  margin-bottom: 0.6rem;
}

.contact__value {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  line-height: 1.45;
  color: var(--ink);
  font-style: normal;
}

.contact__value a {
  color: var(--bordeaux-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Rechtstexte
   -------------------------------------------------------------------------- */

.pagehead {
  background: var(--bordeaux-dark);
  color: var(--ivory);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.pagehead h1 {
  color: var(--ivory);
  font-size: clamp(1.875rem, 1.5rem + 1.9vw, 3rem);
  margin-bottom: 0.25em;
}

.pagehead p {
  color: var(--sand);
  margin: 0;
}

.backlink {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--sand);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.backlink:hover,
.backlink:focus-visible { color: var(--ivory); text-decoration: underline; }

.legal {
  max-width: var(--measure);
  color: var(--ink-soft);
}

.legal h2 {
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.625rem);
  color: var(--bordeaux-dark);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(104, 76, 59, 0.2);
}

.legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

.legal h3 {
  font-size: 1.0625rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink);
  margin-top: 1.75rem;
  margin-bottom: 0.4em;
}

.legal ul { padding-left: 1.25rem; margin: 0 0 1.1em; }
.legal li { margin-bottom: 0.35em; }

.legal address {
  font-style: normal;
  background: var(--ivory-warm);
  border-left: 4px solid var(--lime);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 0 0 1.5em;
  color: var(--ink);
  line-height: 1.6;
}

.legal .callout {
  background: var(--ivory-warm);
  border: 1px solid rgba(104, 76, 59, 0.18);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 0 0 1.5em;
  color: var(--ink);
}

.legal .source {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(104, 76, 59, 0.2);
  font-size: 0.875rem;
  color: var(--walnut);
}

/* --------------------------------------------------------------------------
   Fehlerseite
   -------------------------------------------------------------------------- */

.errorpage {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: var(--ivory);
  padding-block: var(--section);
}

.errorpage h1 {
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem);
  color: var(--bordeaux-dark);
}

/* Bordeaux statt Limette: Limette auf Elfenbein erreicht nur 1.8:1 Kontrast. */
.errorpage__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 3rem + 6vw, 7rem);
  line-height: 1;
  color: var(--bordeaux);
  margin: 0 0 0.5rem;
}

.errorpage__code::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 3px;
  margin: 1.25rem auto 0;
  background: var(--lime);
  border-radius: 999px;
}

.errorpage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.button--ghost {
  background: transparent;
  color: var(--bordeaux-dark);
  border: 2px solid var(--bordeaux-dark);
  box-shadow: none;
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: var(--bordeaux-dark);
  color: var(--ivory);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--bordeaux-deep);
  color: var(--sand);
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
  font-size: 0.9375rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
  justify-content: space-between;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ivory);
  margin: 0;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__nav a {
  color: var(--sand);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 4px;
}

.footer__nav a:hover,
.footer__nav a:focus-visible { color: var(--ivory); text-decoration: underline; }

.footer__legal {
  width: 100%;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244, 218, 178, 0.22);
  color: rgba(244, 218, 178, 0.75);
  font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   Bewegungsreduktion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .button:hover,
  .button:focus-visible { transform: none; }
}

/* --------------------------------------------------------------------------
   Druck
   -------------------------------------------------------------------------- */

@media print {
  .notice, .hero, .booking, .skip-link { display: none; }

  body { background: #fff; color: #000; font-size: 11pt; }

  .pagehead { background: none; color: #000; padding-block: 0 1rem; }
  .pagehead h1, .pagehead p { color: #000; }
  .backlink { display: none; }
  .legal { max-width: none; color: #000; }
  .footer { background: none; color: #000; }
  .footer__nav { display: none; }
}
