:root {
  --bg: #F5EEDC;
  --surface: #FFFDF7;
  --ink: #1C1C1C;
  --muted: #5B5A52;
  --line: #E3D9BF;
  --accent: #073763;
  --on-accent: #FFFFFF;
  --link: #073763;
  --ring: rgba(7, 55, 99, .22);
  --lagoon: #3FA896;
  --gold: #E0A050;
  --on-gold: #2A1D00;
  --tint-lagoon: #D9EBE2;
  --tint-gold: #F7E4C0;
  --tint-ocean: #DCE5EE;
  --sky-top: #0A3034;
  --sky-mid: #0F4D50;
  --sky-low: #3FA896;
  --hero-ink: #F7F1E1;
  --hero-muted: #CFE3DC;
  --wave-back: rgba(245, 238, 220, .38);
  --font-display: "Lora", Georgia, serif;
  --font-body: "Karla", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #071E2A;
    --surface: #0D2F40;
    --ink: #E6F4F6;
    --muted: #8FB4C0;
    --line: #1B4558;
    --accent: #3CD0DE;
    --on-accent: #04222C;
    --link: #72DCE8;
    --ring: rgba(60, 208, 222, .3);
    --gold: #F0C45C;
    --tint-lagoon: #0F3C4B;
    --tint-gold: #3A3010;
    --tint-ocean: #13364F;
    --wave-back: rgba(7, 30, 42, .45);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #071E2A;
  --surface: #0D2F40;
  --ink: #E6F4F6;
  --muted: #8FB4C0;
  --line: #1B4558;
  --accent: #3CD0DE;
  --on-accent: #04222C;
  --link: #72DCE8;
  --ring: rgba(60, 208, 222, .3);
  --gold: #F0C45C;
  --tint-lagoon: #0F3C4B;
  --tint-gold: #3A3010;
  --tint-ocean: #13364F;
  --wave-back: rgba(7, 30, 42, .45);
  color-scheme: dark;
}
* { box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: var(--sky-top);
}
a { color: var(--link); text-underline-offset: 2px; }
button { font-family: inherit; }
.wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 2px; }

/* Tönungen je Themenfarbe */
.t-lagoon { --tint: var(--tint-lagoon); }
.t-gold { --tint: var(--tint-gold); }
.t-ocean { --tint: var(--tint-ocean); }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 58%, var(--sky-low) 100%);
  color: var(--hero-ink);
  position: relative;
  overflow: hidden;
}
.hero .wrap { padding-block: 34px 0; position: relative; z-index: 3; }
.hello { margin: 0; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--hero-muted); }
.hero h1 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(54px, 15vw, 92px);
  line-height: .95;
  letter-spacing: -.02em;
}
.hero .lead { margin: 12px 0 0; max-width: 30ch; font-size: 19px; line-height: 1.4; text-wrap: balance; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero-chips span {
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 14px;
  font-weight: 500;
}
.scene { position: relative; height: 140px; margin-top: 8px; z-index: 1; }
.pearl {
  position: absolute;
  right: 9%;
  bottom: 42px;
  width: clamp(86px, 24vw, 132px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 24%, #ffffff 0 4%, #a7bcc3 12%, #36525d 38%, #07161c 74%);
  box-shadow: 0 0 0 7px rgba(232, 181, 63, .3), 0 0 46px 16px rgba(232, 181, 63, .5);
}
.spark { position: absolute; color: var(--gold); font-size: 18px; opacity: .85; }
.sp1 { right: calc(9% + clamp(86px, 24vw, 132px) + 8px); bottom: 92px; }
.sp2 { right: 4%; bottom: 112px; font-size: 13px; }
.sp3 { right: calc(9% + clamp(86px, 24vw, 132px) - 6px); bottom: 118px; font-size: 11px; }
.wave { position: absolute; left: 0; bottom: 0; width: 200%; display: block; }
.wave.back { height: 66px; fill: var(--wave-back); animation: drift 16s linear infinite; z-index: 2; }
.wave.front { height: 46px; fill: var(--bg); animation: drift 11s linear infinite reverse; z-index: 3; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sticky Suche */
.bar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.bar .wrap { padding-block: 10px; }
.search { position: relative; }
.search .mag { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-size: 18px; pointer-events: none; }
.search input {
  width: 100%;
  min-height: 52px;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 12px 50px 12px 46px;
  -webkit-appearance: none;
  appearance: none;
}
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search input::placeholder { color: var(--muted); }
.search input:focus-visible { outline: none; border-color: var(--lagoon); box-shadow: 0 0 0 4px var(--ring); }
.search .clear {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; color: var(--muted); font-size: 18px; cursor: pointer;
}
.search .clear:hover { background: var(--tint-lagoon); }

main { padding-bottom: 8px; scroll-margin-top: 84px; }
.sec-title { margin: 26px 0 12px; font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -.01em; text-wrap: balance; }
.sec-title small { display: block; margin-top: 2px; font-family: var(--font-body); font-weight: 400; font-size: 14px; letter-spacing: 0; color: var(--muted); }

/* Häufig gesucht */
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.quick button {
  min-height: 44px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  font-size: 15px; font-weight: 500; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line);
}
.quick button:hover { border-color: var(--lagoon); background: var(--tint-lagoon); }

/* Themenkacheln */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  min-height: 108px; padding: 14px; border-radius: 22px; border: 2px solid transparent;
  background: var(--tint); color: var(--ink); text-align: left; cursor: pointer;
  transition: transform .15s;
}
.tile:hover { transform: translateY(-2px); border-color: var(--lagoon); }
.tile:active { transform: scale(.97); }
.tile .em { font-size: 34px; line-height: 1.1; }
.tile .lb { font-weight: 600; font-size: 16px; line-height: 1.2; text-wrap: balance; }
.tile .n { margin-top: auto; font-size: 13px; color: var(--muted); }

/* Auf einen Blick */
.glance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 560px) { .glance { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gl { background: var(--tint); border-radius: 22px; padding: 14px 14px 16px; min-width: 0; }
.gl .e { font-size: 26px; line-height: 1; }
.gl .k { margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gl .v { margin-top: 1px; font-family: var(--font-display); font-weight: 700; font-size: 23px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.gl .s { margin-top: 2px; font-size: 14px; color: var(--muted); }

/* Zurück + Gruppen */
.back {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 18px;
  padding: 8px 16px; border-radius: 999px; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--on-accent); background: var(--accent); border: 0;
}
.group h2 {
  display: flex; align-items: center; gap: 12px; margin: 24px 0 12px;
  font-family: var(--font-display); font-size: 25px; font-weight: 700; letter-spacing: -.01em; text-wrap: balance;
}
.group h2 .bub { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: var(--tint); }
.group h2 small { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }

/* Einträge */
.entry { background: var(--surface); border: 1.5px solid var(--line); border-radius: 20px; margin-bottom: 10px; overflow: hidden; }
.entry[open] { border-color: var(--lagoon); }
.entry summary {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px;
  list-style: none; cursor: pointer; font-weight: 600; font-size: 17px; line-height: 1.25;
}
.entry summary::-webkit-details-marker { display: none; }
.entry summary .ico { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--tint); }
.entry summary .tt { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.entry summary .chev { flex: none; width: 10px; height: 10px; margin: 0 6px 0 2px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: rotate(45deg); transition: transform .15s; }
.entry[open] summary .chev { transform: rotate(-135deg); }
.entry .body { padding: 2px 16px 18px; overflow-wrap: anywhere; }
.entry .body p { margin: 0 0 10px; }
.entry .body ul { list-style: none; margin: 0 0 12px; padding: 0; }
.entry .body li { position: relative; padding-left: 24px; margin: 6px 0; }
.entry .body li::before { content: "✦"; position: absolute; left: 3px; top: .2em; font-size: .8em; color: var(--gold); }
.entry .body h4 { margin: 16px 0 6px; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.entry .body .note { display: block; padding: 10px 12px; border-radius: 12px; background: var(--tint-gold); font-size: 14.5px; }
mark { background: var(--gold); color: var(--on-gold); border-radius: 4px; padding: 0 2px; }

/* Nummern + Kontakte */
.tel {
  display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px; border-radius: 999px; cursor: copy;
  font-family: var(--font-mono); font-size: 14px; color: var(--ink); background: var(--tint-lagoon); border: 0; white-space: nowrap;
}
.tel:hover { background: var(--lagoon); color: #04222C; }
.wa {
  display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px; border-radius: 999px; text-decoration: none;
  font-size: 14px; font-weight: 600; color: var(--on-accent); background: var(--accent);
}
.ct { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 0; border-top: 1px dashed var(--line); }
.ct:first-of-type { border-top: 0; }
.ct .av { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: var(--tint-ocean); }
.ct .who { flex: 1 1 130px; min-width: 0; font-weight: 600; }
.ct .who small { display: block; font-weight: 400; color: var(--muted); font-size: 13.5px; line-height: 1.3; }
.ct .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.ct .tel, .ct .wa { min-height: 44px; padding-inline: 14px; }

/* Packliste */
.pk { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 4px 0; cursor: pointer; }
.pk input { width: 24px; height: 24px; accent-color: var(--accent); flex: none; margin: 0; }
.pk input:checked + span { color: var(--muted); text-decoration: line-through; }
.packhead { margin-bottom: 4px; }
.packtext { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.packprog { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.packprog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lagoon), var(--gold)); transition: width .25s; }

.empty { margin: 36px 0; padding: 28px 20px; border: 2px dashed var(--line); border-radius: 22px; text-align: center; color: var(--muted); }
.empty strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 24px; margin-bottom: 4px; }

/* Footer */
.foot { margin-top: 44px; background: var(--sky-top); color: var(--hero-ink); }
.foot .wrap { padding-block: 34px calc(104px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 10px; justify-items: start; }
.foot .thanks { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1.1; }
.foot p { margin: 0; color: var(--hero-muted); }
.foot a { color: var(--hero-muted); }
.gold-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 20px; margin: 6px 0;
  border-radius: 999px; font-weight: 600; text-decoration: none; color: var(--on-gold) !important; background: var(--gold);
}
.foot-info { display: grid; gap: 6px; font-size: 14.5px; color: var(--hero-muted); }
.foot .tel { background: rgba(255, 255, 255, .16); color: var(--hero-ink); }

/* Hilfe-Knopf */
.fab {
  position: fixed; z-index: 35;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 10px 18px;
  border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 16px;
  color: var(--on-accent); background: var(--accent); box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}
.fab span { font-size: 22px; line-height: 1; }
.toast {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 45;
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  max-width: calc(100% - 32px);
  background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-size: 15px;
}
@media (max-width: 420px) {
  .hero .lead { font-size: 18px; }
  .gl .v { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .wave.back, .wave.front { animation: none; }
  .tile, .entry summary .chev, .packprog i { transition: none; }
}

/* ---------- Ergänzungen für guest.villa-diani.com ---------- */
html, body { margin: 0; }
.topbar { position: absolute; top: 14px; right: max(16px, env(safe-area-inset-right, 0px)); z-index: 5; display: flex; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--hero-ink); background: rgba(255, 255, 255, .14);
}
.pill:hover { background: rgba(255, 255, 255, .24); }
.hero .wrap { padding-top: 64px; }
.install-hint { margin: 0; font-size: 14px; color: var(--hero-muted); }

/* ---------- Feedback-Formular ---------- */
.fbcard { margin-top: 26px; border-width: 2px; border-color: var(--gold); }
.fbcard summary .tt small { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.fb fieldset { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.fb legend, .fb .lbl { display: block; padding: 0; margin: 0 0 8px; font-weight: 600; font-size: 16px; }
.fb .req::after { content: " *"; color: var(--gold); }
.fb .hint { font-size: 13.5px; color: var(--muted); font-weight: 400; }
.stars { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.stars input, .seg input, .grid input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { font-size: 34px; line-height: 1; cursor: pointer; color: var(--line); padding: 4px; transition: transform .1s; }
.stars label.on { color: var(--gold); }
.stars input:focus-visible + label { outline: 3px solid var(--lagoon); border-radius: 8px; }
.stars .ends { flex-basis: 100%; display: flex; justify-content: space-between; max-width: 230px; font-size: 12.5px; color: var(--muted); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; cursor: pointer; background: var(--surface); border: 1.5px solid var(--line); font-size: 15px; }
.seg input:checked + label { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.seg input:focus-visible + label, .grid input:focus-visible + label { outline: 3px solid var(--lagoon); outline-offset: 2px; }
.grid { display: grid; gap: 10px; }
.grid .row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.grid .row > span { flex: 1 1 150px; font-size: 15px; }
.grid .pts { display: flex; gap: 4px; }
.grid label { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; background: var(--surface); border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; }
.grid input:checked + label { background: var(--lagoon); color: #04222C; border-color: var(--lagoon); }
.fb textarea, .fb input[type=text], .fb input[type=email] {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface);
  border: 2px solid var(--line); border-radius: 14px; padding: 10px 12px; -webkit-appearance: none; appearance: none;
}
.fb textarea { min-height: 96px; resize: vertical; }
.fb textarea:focus-visible, .fb input[type=text]:focus-visible, .fb input[type=email]:focus-visible { outline: none; border-color: var(--lagoon); box-shadow: 0 0 0 4px var(--ring); }
.fb .two { display: grid; gap: 8px; }
@media (min-width: 560px) { .fb .two { grid-template-columns: 1fr 1fr; } }
.fb .check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 15px; }
.fb .check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.fb .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fb .err { color: #B3261E; font-weight: 600; margin: 0 0 10px; }
.fb .sendbtn { min-height: 52px; padding: 12px 24px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: 17px; font-weight: 700; color: var(--on-accent); background: var(--accent); }
.fb .sendbtn[disabled] { opacity: .6; cursor: wait; }
.fbdone { text-align: center; padding: 8px 0 4px; }
.fbdone strong { display: block; font-family: var(--font-display); font-size: 28px; margin-bottom: 6px; }
.fbdone .gold-btn { margin-top: 10px; }
.linkbtn { background: none; border: 0; padding: 8px; color: var(--link); text-decoration: underline; cursor: pointer; font: inherit; }
.gold-btn.ghost { background: transparent; border: 2px solid var(--gold); color: var(--hero-ink) !important; cursor: pointer; font: inherit; font-weight: 600; }
