/* ==========================================================================
   Thai Sabai Massage – Nachbau der Referenz thai-sabai-massage.de
   Werte (Farben, Größen, Abstände) aus den berechneten Styles der Referenz.
   Desktop-Layout (> 1100 px): linke Seitenleiste 280 px.
   ========================================================================== */

:root {
  /* Farbpalette (Avada-Globals der Referenz) */
  --color-primary: #80732a;          /* awb-color5 – Oliv/Gold: Seitenleiste, Buttons, Icons */
  --color-secondary: #4a3826;        /* awb-color6 – Überschriften */
  --color-accent: #d0ebeb;           /* awb-color4 – Adresse in der Seitenleiste */
  --color-background: #ffffff;       /* awb-color1 */
  --color-surface: #fcfaf8;          /* Formularfelder */
  --color-surface-warm: rgba(202, 154, 106, 0.11); /* Hintergrund „Warum Sie uns wählen“ */
  --color-text: #999999;             /* awb-color3 – Fließtext */
  --color-text-muted: #e8e8e8;       /* awb-color2 – Telefonnummern im Hero */
  --color-border: #e8e8e8;
  --color-dark: #4a433d;             /* awb-color7 – Footer */
  --color-input-text: #80732a;
  --color-select-arrow: #e3d6c9;

  --font-body: "Roboto", Arial, Helvetica, sans-serif;
  --font-heading: "Satisfy", Arial, Helvetica, sans-serif;
  --font-ui: "Red Hat Display", Arial, Helvetica, sans-serif;

  --sidebar-width: 280px;
  --site-width: 1215px;
  --card-shadow: 0 18px 45px 0 rgba(127, 114, 41, 0.08);
  --radius-card: 8px;

  /* Responsive Typografie (Avada „responsive typography“ nachgebildet) */
  --fs-h1: 76px;
  --fs-h2: 38px;
  --fs-h2-booking: 68px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { color: var(--color-secondary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--color-primary); }

p { margin: 20px 0; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--color-secondary);
  margin: 0;
}

b, strong { font-weight: 700; }

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.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;
}

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 10000;
  background: #fff; color: var(--color-secondary);
  padding: 10px 16px; border-radius: 4px; font-size: 16px;
}
.skip-link:focus { top: 8px; }

/* --------------------------------------------------------------------------
   Grundlayout: Seitenleiste + Inhalt
   -------------------------------------------------------------------------- */
.site { display: flex; align-items: flex-start; min-height: 100vh; background: var(--color-border); }

.site-content {
  flex: 1 1 auto;
  min-width: 0;
  background: #fff;
}

.site-main {
  padding: 0 30px;
  background: #fff;
}

/* Sektionen: wie Avada-Container (margin -30px, Innenabstand 11 % der Inhaltsbreite) */
.sec {
  position: relative;
  --sep-bleed: 140px;
  margin: 0 -30px;
  padding: 0 11%;
}
.wrap {
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Seitenleiste (Desktop)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  flex: 0 0 var(--sidebar-width);
  width: var(--sidebar-width);
  min-height: 100vh;
  background: var(--color-primary);
  color: #fff;
  z-index: 50;
}
.site-header__inner {
  padding: 84px 28px;
  text-align: center;
}
.site-header__logo { display: block; }
.site-header__logo img { width: 224px; height: auto; margin: 0 auto; }

.site-header__appointment,
.site-header__hours,
.nav-toggle { display: none; }

.main-nav ul { list-style: none; margin: 55px 0 0; padding: 0; }
.main-nav li + li { margin-top: 15px; }
.main-nav a {
  display: block;
  font-family: var(--font-ui);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.7;
  color: #fff;
}
.main-nav a:hover,
.main-nav a:focus-visible { color: var(--color-accent); }

.site-header__find { margin-top: 63px; }
.site-header__find p { margin: 0; }
.site-header__find-title { color: #fff; }
.site-header__address { color: var(--color-accent); margin-top: 19px !important; }
.site-header__find .content-blocker { margin-top: 60px; }
.site-header__address a { color: #fff; }
.site-header__address a:hover { color: var(--color-accent); }

/* Platzhalter für Google Maps (Optik wie Borlabs-Content-Blocker der Referenz) */
.content-blocker { margin-top: 38px; }
.content-blocker__box {
  background: #fafafa;
  border-radius: 4px;
  padding: 16px;
  color: #555;
  font-size: 14px;
  line-height: 1.25;
  text-align: center;
}
.content-blocker__text {
  margin: 0 0 16px !important;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
}
.content-blocker__btn {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 4px;
  padding: 12px 20px;
  background: #0063e3;
  color: #fff;
  font: 600 14px/1.5 var(--font-body);
  cursor: pointer;
}
.content-blocker__btn:hover { background: #0050b8; }
.content-blocker__link {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 0;
  background: none;
  color: #2563eb;
  font: 400 14px/1.25 var(--font-body);
  cursor: pointer;
}
.content-blocker__link:hover { text-decoration: underline; }
.content-blocker__link[data-consent-unlock] { font-size: 12px; color: #555; }
.content-blocker iframe { display: block; width: 100%; border: 0; border-radius: 4px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  border: 0;
  border-radius: 4px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.btn:hover, .btn:focus-visible { background: var(--color-secondary); color: #fff; }
.btn--small { font-size: 14px; line-height: 17px; padding: 13px 29px; }
.btn--submit { display: block; width: 100%; font-size: 18px; line-height: 21px; padding: 17px 40px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  padding-top: 6%;
  padding-bottom: 12%;
  margin-bottom: -5%;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.21);
  background-blend-mode: overlay;
  background-image: url("../images/hero/hotstone-massage-schaafheim-babenhausen-1920.jpg");
  background-image: image-set(url("../images/hero/hotstone-massage-schaafheim-babenhausen-1920.webp") type("image/webp"), url("../images/hero/hotstone-massage-schaafheim-babenhausen-1920.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}
@media (min-width: 1921px), (min-resolution: 2dppx) and (min-width: 1100px) {
  .hero {
    background-image: url("../images/hero/hotstone-massage-schaafheim-babenhausen-2560.jpg");
    background-image: image-set(url("../images/hero/hotstone-massage-schaafheim-babenhausen-2560.webp") type("image/webp"), url("../images/hero/hotstone-massage-schaafheim-babenhausen-2560.jpg") type("image/jpeg"));
  }
}
.hero p { margin: 0; }
.hero a { color: var(--color-text-muted); }
.hero a:hover { color: #fff; }

/* Info-Zeile wie Avada-Spalten: Icon | Text | Icon | Text (Prozent der Inhaltsbreite) */
.hero__info {
  display: grid;
  grid-template-columns: 4.36% 22.4% 5.9% minmax(0, 1fr);
  align-items: start;
}
.hero__info--small { display: none; }
.hero__info-item { display: contents; }
.hero__icon {
  width: 42px; height: 42px;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 5px;
}
.hero__icon svg { width: 21px; height: 21px; color: #fff; }

.hero__title {
  width: 76%;
  margin-top: calc(115.5px + 2.02%);
  color: #fff;
  font-size: var(--fs-h1);
  line-height: 1.16;
}
.hero__text {
  width: 51%;
  margin-top: 3.8% !important;
  padding-bottom: calc(39px + 3.2%);
}

/* --------------------------------------------------------------------------
   Einleitungs-Karten
   -------------------------------------------------------------------------- */
.intro { position: relative; z-index: 2; padding-bottom: calc(34.5px + 2.67%); }
.intro__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 4%;
}
.card {
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  background: #fff;
  overflow: hidden;
  text-align: center;
  padding-bottom: 29%;
}
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__body { padding: 25% 12.5% 0; }
.card__title { font-size: var(--fs-h2); line-height: 1.16; }
.card__body p { margin: 15px 0 0; }

/* --------------------------------------------------------------------------
   Massagen & Preise
   -------------------------------------------------------------------------- */
.prices { margin-bottom: 6%; }
.prices__title {
  width: 69%;
  margin: 10px auto 0;
  text-align: center;
  font-size: var(--fs-h2);
  line-height: 1.3;
}
.prices__lead {
  width: 69%;
  margin: 2.8% auto 0;
  text-align: center;
}
.prices__grid {
  padding-bottom: 60px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 4%;
  row-gap: 0;
  margin-top: 6.4%;
  align-items: start;
}
.massage { margin-bottom: calc(38.3px + 7.7%); }
.massage:nth-last-child(-n+3) { margin-bottom: 0; }
.massage__media {
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.massage__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.massage__body { padding: 0 10.4%; }
.massage__title { margin-top: 31px; font-size: 28px; line-height: 1.16; }
.massage__body p { margin: 15px 0 0; }
.massage__body .massage__prices { margin-top: 20px; }

/* --------------------------------------------------------------------------
   Öl oder Creme
   -------------------------------------------------------------------------- */
.oil {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
}
.oil__text {
  /* Prozentwerte beziehen sich (wie in der Referenz) auf die Spaltenbreite */
  padding: 17% 19% 19%;
  background-image: linear-gradient(180deg, #fff 0%, rgba(128, 115, 42, 0.07) 100%);
}
.oil__title { margin-top: 10px; font-size: 43px; line-height: 1.3; }
.oil__text p { margin: 25px 0 20px; text-align: left; }
.oil__image {
  background-image: url("../images/backgrounds/oel-oder-creme-1200.jpg");
  background-image: image-set(url("../images/backgrounds/oel-oder-creme-1200.webp") type("image/webp"), url("../images/backgrounds/oel-oder-creme-1200.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center center;
}

/* --------------------------------------------------------------------------
   Ihr Wohlbefinden ist unsere Passion
   -------------------------------------------------------------------------- */
.passion { padding-top: 50px; padding-bottom: 20px; text-align: center; background: #fff; }
.passion__title { margin-top: 10px; font-size: var(--fs-h2); line-height: 1.16; }
.passion p { margin: 15px 0 20px; }

/* --------------------------------------------------------------------------
   Trenner (SVG) – ragen wie in der Referenz links unter die Seitenleiste
   -------------------------------------------------------------------------- */
.sep { display: block; position: relative; z-index: 1; pointer-events: none; }

/* --------------------------------------------------------------------------
   Buchen-CTA
   -------------------------------------------------------------------------- */
.booking {
  overflow: hidden;
  /* Höhe des Wellen-Trenners: (Sektionsbreite + 2 × Überstand) × 162/1024 */
  padding: calc((100% + 60px + 2 * var(--sep-bleed, 140px)) * 0.158203) 15% 10%;
  margin-bottom: -50px;
  text-align: center;
  color: #fff;
  background-image:
    linear-gradient(180deg, rgba(74, 67, 61, 0.37) 0%, rgba(74, 67, 61, 0.35) 100%),
    url("../images/backgrounds/traditionelle-thaimassage-schaafheim-babenhausen-1920.jpg");
  background-image:
    linear-gradient(180deg, rgba(74, 67, 61, 0.37) 0%, rgba(74, 67, 61, 0.35) 100%),
    image-set(url("../images/backgrounds/traditionelle-thaimassage-schaafheim-babenhausen-1920.webp") type("image/webp"), url("../images/backgrounds/traditionelle-thaimassage-schaafheim-babenhausen-1920.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}
.sep--waves {
  position: absolute;
  top: 0;
  left: calc(-1 * var(--sep-bleed, 140px));
  width: calc(100% + 2 * var(--sep-bleed, 140px));
  max-width: none;
  height: auto;
  aspect-ratio: 1024 / 162;
}
.booking__inner { width: 77%; margin: 0 auto; }
.booking__title {
  margin-top: 10px;
  color: #fff;
  font-size: var(--fs-h2-booking);
  line-height: 1.25;
}
.booking p { margin: 26px 0 20px; }

/* --------------------------------------------------------------------------
   Warum Sie uns wählen sollten
   -------------------------------------------------------------------------- */
.reasons-head {
  position: relative;
  z-index: 3;
  padding: 0 5%;
  background: transparent;
}
.reasons-head__box {
  background: #fff;
  border-radius: 8px 8px 0 0;
  padding: 6% 8% 35px;
}
.reasons-head__title {
  width: 46.5%;
  margin-top: 10px;
  font-size: var(--fs-h2);
  line-height: 1.16;
}

.reasons {
  overflow: hidden;
  padding-top: 99px;
  padding-bottom: calc(4% + 20px);
  background: var(--color-surface-warm);
  text-align: center;
}
.sep--curve {
  position: absolute;
  top: 0;
  left: calc(-1 * var(--sep-bleed, 140px));
  width: calc(100% + 2 * var(--sep-bleed, 140px));
  max-width: none;
  height: 99px;
}
.reasons__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 4%;
  margin-top: calc(9.43% - 20.6px);
}
.reason { padding: 0 8%; }
.reason__icon { width: 90px; height: 80px; margin: 0 auto; color: var(--color-primary); }
.reason__title { margin-top: 29px; font-size: 23px; line-height: 1.16; }
.reason p { margin: 14px 0 20px; }

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact {
  padding-top: 8%;
  padding-bottom: calc(8% + 6px);
  color: #fff;
  background-image: url("../images/backgrounds/kontakt-thaimassage-schaafheim-1800.jpg");
  background-image: image-set(url("../images/backgrounds/kontakt-thaimassage-schaafheim-1800.webp") type("image/webp"), url("../images/backgrounds/kontakt-thaimassage-schaafheim-1800.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center bottom;
}
.contact__grid {
  display: grid;
  grid-template-columns: 36% 1fr;
  column-gap: 5.66%;
  align-items: start;
}
.contact__title { margin-top: 10px; color: #fff; font-size: var(--fs-h2); line-height: 1.16; }
.contact__info > p { margin: 17px 0 0; }
.contact__voucher {
  margin-top: 30px !important;
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  line-height: 1.16;
  color: #fff;
}
.contact__sep {
  margin: 34px 0 35px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.contact__list { list-style: none; margin: 0; padding: 0; font-size: 16px; line-height: 1.7; }
.contact__list li { display: flex; align-items: flex-start; padding: 5.6px 0; }
.contact__list li:first-child { padding-top: 0; }
.contact__list .icon { flex: 0 0 16px; width: 16px; height: 14px; margin: 6px 16px 0 6px; color: #fff; }
.contact__list p { margin: 0; color: #fff; }
.contact__list a { color: #fff; }
.contact__list a:hover { color: var(--color-accent); }

.contact__form-card {
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  padding: 25px 35px 20px;
}

/* Formular */
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 40px;
  padding-top: 20px;
}
.field { position: relative; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field--full + .field--full { margin-top: -10px; }
.form-grid > .field:last-child { margin-bottom: 21px; }
.input {
  display: block;
  width: 100%;
  height: 58px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--color-surface);
  color: var(--color-input-text);
  font: 400 16px/1.2 var(--font-body);
  appearance: none;
  -webkit-appearance: none;
}
.input::placeholder { color: var(--color-input-text); opacity: 1; }
.input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 2px rgba(128, 115, 42, 0.35); }
.input--textarea { height: 108px; padding: 16px; resize: vertical; }
.input--select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23e3d6c9' d='M6 8 0 1.4 1.3 0 6 5.2 10.7 0 12 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 12px 8px;
  cursor: pointer;
}
.input--date::-webkit-calendar-picker-indicator { opacity: .6; cursor: pointer; }

.consent {
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  padding: 20px 0 30px 10px;
}
.consent input {
  position: absolute;
  left: 10px;
  top: calc(50% - 12px);
  width: 14px; height: 14px;
  margin: 0;
  accent-color: var(--color-primary);
}
.consent label { display: block; padding-left: 26.8px; color: #fff; font-size: 20px; line-height: 1.7; cursor: pointer; }

.field__error { display: block; min-height: 0; margin-top: 4px; font-size: 14px; line-height: 1.3; color: #ffd2c4; }
.field__error:empty { display: none; }
.has-error .input,
.input[aria-invalid="true"] { border-color: #e2401c; }
.has-error .consent { outline: 1px solid #e2401c; }

.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-msg { margin-top: 10px; }
.form-msg__text {
  margin: 0;
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
}
.form-msg__text--success { background: rgba(128, 115, 42, 0.92); }
.form-msg__text--error { background: rgba(176, 52, 30, 0.92); }
.btn--submit[disabled] { opacity: .7; cursor: progress; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 2;
  background: var(--color-dark);
  border-top: 1px solid rgba(232, 232, 232, 0.15);
  padding: 30px 11%;
  color: #fff;
  font-size: 16px;
  line-height: 1.7;
}
.site-footer__inner {
  max-width: var(--site-width);
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-left: 7px;
}
.site-footer__agency { display: flex; align-items: center; gap: 0; color: #fff; font-size: 10px; line-height: 1.7; }
.site-footer__agency img { width: 75px; height: auto; }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 20px; justify-content: flex-end; }
.site-footer__nav a { color: #fff; }
.site-footer__nav a:hover { color: var(--color-accent); }

/* „Nach oben“ */
.to-top {
  position: fixed;
  right: 75px;
  bottom: 0;
  z-index: 60;
  width: 42px;
  height: 42px;
  border-radius: 4px 4px 0 0;
  background: #333;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease, background-color .2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--color-primary); color: #fff; }
.to-top svg { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   Unterseiten (Impressum, Datenschutz)
   -------------------------------------------------------------------------- */
.legal { padding-top: 60px; padding-bottom: 80px; }
.legal h1 { font-size: 60px; line-height: 1.2; margin: 0 0 30px; }
.legal h2 { font-size: 36px; line-height: 1.25; margin: 50px 0 10px; }
.legal h3 { font-size: 28px; line-height: 1.25; margin: 34px 0 6px; }
.legal h4 { font-family: var(--font-body); font-weight: 700; font-size: 20px; color: var(--color-secondary); margin: 24px 0 0; }
.legal p, .legal li { color: #777; }
.legal a { color: var(--color-primary); text-decoration: underline; word-break: break-word; }
.legal ul { padding-left: 1.2em; }
.legal .note {
  background: var(--color-surface-warm);
  border-left: 4px solid var(--color-primary);
  padding: 16px 20px;
  font-size: 17px;
}
