/* StayPath Thailand – gemeinsame Gestaltung für beide Sprachen */

:root {
  --navy: #1B2A49;
  --navy-soft: #2A3D66;
  --gold: #C8973A;
  --gold-dark: #8A6418;
  --paper: #FFFFFF;
  --mist: #F5F6F8;
  --line: #D9DEE7;
  --muted: #55607A;
  --ok: #1E6B3A;
  --error: #A32020;
  --width: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5.4vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--navy); }
[hidden] { display: none !important; }

.wrap { max-width: var(--width); margin: 0 auto; padding: 0 20px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: 12px 16px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }

/* Kopfzeile */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { display: block; height: 52px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; gap: 6px; font-size: 0.95rem; font-weight: 600; }
.lang a { text-decoration: none; padding: 10px 6px; color: var(--muted); }
.lang a[aria-current="true"] { color: var(--navy); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 12px 26px;
  background: var(--gold); color: var(--navy);
  font-size: 1.05rem; font-weight: 700; text-decoration: none;
  border: 2px solid var(--gold); border-radius: 8px; cursor: pointer;
}
.btn:hover { background: #D6A84E; border-color: #D6A84E; }
.btn.small { min-height: 48px; padding: 8px 18px; font-size: 0.95rem; }
.btn.ghost { background: transparent; color: var(--paper); border-color: rgba(255, 255, 255, 0.55); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn.outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.outline:hover { background: var(--mist); }

/* Kopfbereich */
.hero { background: var(--navy); color: var(--paper); padding: 72px 0 64px; }
.hero h1 { max-width: 17ch; }
.hero .place { font-size: 1.2rem; font-weight: 600; color: #E3BC6C; max-width: 34ch; margin-bottom: 0.9em; }
.hero .lead { font-size: 1.15rem; max-width: 46ch; color: #E6EAF2; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.hero .trust { font-size: 0.98rem; color: #C9D1E0; margin: 0; }

/* Abschnitte */
section { padding: 68px 0; }
section.tint { background: var(--mist); }
.section-intro { max-width: 60ch; color: var(--muted); }

/* Drei Schritte */
.steps { list-style: none; counter-reset: step; margin: 28px 0 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.steps li { counter-increment: step; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.steps li::before {
  content: counter(step); display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--paper);
  font-weight: 700; margin-bottom: 14px;
}
.steps p { margin: 0; color: var(--muted); }

/* Kacheln */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); margin-top: 28px; }
.card { border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 12px; padding: 24px; background: var(--paper); }
.card p { margin: 0; color: var(--muted); }
.note { margin-top: 22px; color: var(--muted); font-size: 0.98rem; }

/* Preise */
.price-list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 28px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.price-row h3 { margin-bottom: 4px; }
.price-row p { margin: 0; color: var(--muted); font-size: 0.98rem; max-width: 62ch; }
.price { text-align: right; white-space: nowrap; }
.price strong { display: block; font-size: 1.45rem; font-weight: 800; }
.price small { display: block; font-size: 0.85rem; color: var(--muted); }
.facts { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin: 32px 0; }
.fact { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.fact h3 { font-size: 1rem; text-transform: none; margin-bottom: 6px; }
.fact p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Listen mit Haken */
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; max-width: 70ch; }
.checks li { position: relative; padding-left: 40px; }
.checks li::before {
  content: ""; position: absolute; left: 6px; top: 0.32em; width: 9px; height: 17px;
  border: solid var(--gold-dark); border-width: 0 3px 3px 0; transform: rotate(45deg);
}

/* Zwei Spalten */
.split { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: start; }
.about p { max-width: 62ch; }

/* Orte */
.places { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); margin-top: 28px; }
.places div { border-left: 4px solid var(--gold); padding: 4px 0 4px 16px; }
.places p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Fragen */
.faq { margin-top: 24px; max-width: 78ch; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 700; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; font-weight: 400; color: var(--gold-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* Kontakt */
.contact-ways { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
form { display: grid; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
label { display: block; font-weight: 600; font-size: 0.98rem; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=date], select, textarea {
  width: 100%; min-height: 50px; padding: 10px 12px; font: inherit; color: var(--navy);
  background: var(--paper); border: 1.5px solid #8C96AB; border-radius: 8px;
}
textarea { min-height: 120px; resize: vertical; }
.consent { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-weight: 400; }
.consent input { width: 22px; height: 22px; margin-top: 3px; }
.trap { position: absolute; left: -5000px; }
.form-status { padding: 14px 16px; border-radius: 8px; font-weight: 600; }
.form-status.ok { background: #E4F3E9; color: var(--ok); }
.form-status.error { background: #FBE6E6; color: var(--error); }

/* Fußzeile */
.site-footer { background: var(--navy); color: #C9D1E0; padding: 36px 0 44px; font-size: 0.95rem; }
.site-footer a { color: var(--paper); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 14px; }
.site-footer p { margin: 0; max-width: 70ch; }

/* WhatsApp-Knopf */
.whatsapp-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 30;
  background: #1E7A45; color: #FFFFFF; font-weight: 700; text-decoration: none;
  padding: 12px 18px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* Rechtsseiten */
.legal { padding: 48px 0 72px; max-width: 760px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.08rem; margin-top: 1.5em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 0.4em; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0 0 1em; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; }
.legal .toc { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; list-style: none; }
.placeholder { background: #FFF6DC; border: 1px solid #E3BC6C; border-radius: 8px; padding: 14px 16px; }
.missing { background: #FFF6DC; outline: 1px solid #E3BC6C; padding: 0 4px; border-radius: 3px; }

@media (max-width: 620px) {
  .legal dl { grid-template-columns: 1fr; gap: 0; }
  .legal dd { margin-bottom: 10px; }
}

@media (max-width: 860px) {
  .steps, .places { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 620px) {
  section { padding: 48px 0; }
  .hero { padding: 48px 0 44px; }
  .steps, .cards, .places, .facts { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 1fr; }
  .price { text-align: left; display: flex; align-items: baseline; gap: 10px; }
  .price strong, .price small { display: inline; }
  .site-header .btn { display: none; }
  .hero .actions .btn { width: 100%; }
}

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