/* =========================================================
   Hotel Villa im Park – Startseite
   ========================================================= */
:root {
  --green-900: #15291d;
  --green-800: #1d3626;
  --green-700: #264532;
  --green-600: #33573f;
  --cream-50:  #fbf8f1;
  --cream-100: #f6f1e6;
  --cream-200: #ece4d3;
  --line:      #ddd3bf;
  --gold:      #b8955a;
  --sage:      #a9a585;
  --ink:       #24271f;
  --ink-soft:  #555a4c;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --shadow: 0 10px 30px -12px rgba(21, 41, 29, .28);
  --shadow-sm: 0 4px 14px -8px rgba(21, 41, 29, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

body {
  margin: 0;
  font: 400 16px/1.6 var(--sans);
  color: var(--ink);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.005em; }
h2 { font-size: clamp(32px, 3.4vw, 44px); }
h3 { font-size: 24px; font-weight: 600; }
p { margin: 0; }
figure { margin: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green-800); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.i--lg { width: 34px; height: 34px; stroke-width: 1.3; }

.eyebrow { font: 500 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.eyebrow--light { color: rgba(255, 255, 255, .85); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  font: 500 15px/1 var(--sans); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn--dark { background: var(--green-800); color: #fff; }
.btn--dark:hover { background: var(--green-600); }
.btn--outline { border-color: var(--green-800); color: var(--green-800); background: transparent; }
.btn--outline:hover { background: var(--green-800); color: #fff; }
.btn--outline-light { border-color: rgba(255, 255, 255, .85); color: #fff; background: rgba(21, 41, 29, .25); backdrop-filter: blur(2px); }
.btn--outline-light:hover { background: #fff; color: var(--green-800); }
.btn--light { background: var(--cream-50); color: var(--green-800); }
.btn--light:hover { background: #fff; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--cream-100); border-bottom: 1px solid transparent; transition: box-shadow .3s var(--ease), border-color .3s; }
.header.is-scrolled { box-shadow: 0 6px 20px -14px rgba(0, 0, 0, .4); border-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 32px; height: 84px; }
.header__logo img { height: 62px; width: auto; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font-size: 15px; text-decoration: none; color: var(--ink); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.header__cta { margin-left: 18px; }
.header__cta .sm { display: none; }
.burger { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; min-height: 520px; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--green-800); }
.hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21, 41, 29, .95) 0%, rgba(21, 41, 29, .82) 32%, rgba(21, 41, 29, .25) 60%, rgba(21, 41, 29, 0) 78%), linear-gradient(0deg, rgba(21, 41, 29, .35), transparent 30%); }
.hero__content { position: relative; padding-block: 64px 110px; }

/* Desktop: dunkelgrüne Flächen links und rechts, Bild läuft weich hinein */
@media (min-width: 721px) {
  .hero { background: var(--green-900); box-shadow: 0 0 0 100vmax var(--green-900); clip-path: inset(0 -100vmax); }
  /* Bild nur rechts, Text links auf Grün */
  .hero__bg img { left: 30%; width: 70%; object-position: 55% 30%; }
  .hero__shade {
    background:
      linear-gradient(270deg, rgba(21, 41, 29, 1) 0, rgba(21, 41, 29, .6) 60px, rgba(21, 41, 29, 0) 200px),
      linear-gradient(90deg, rgba(21, 41, 29, 1) 30%, rgba(21, 41, 29, .75) 40%, rgba(21, 41, 29, .2) 55%, rgba(21, 41, 29, 0) 65%),
      linear-gradient(0deg, rgba(21, 41, 29, .35), transparent 30%);
  }
}
.hero h1 { font-size: clamp(40px, 5vw, 64px); }
.hero__lead { max-width: 440px; margin-top: 22px; font-size: 16.5px; line-height: 1.65; color: rgba(255, 255, 255, .9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Buchungsleiste ---------- */
.booking {
  position: relative; z-index: 2; margin: -44px auto 0; max-width: 900px;
  display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px;
  padding: 12px; background: var(--cream-50); border-radius: 8px; box-shadow: var(--shadow);
}
.booking__field { display: flex; align-items: center; gap: 12px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; color: var(--green-800); }
.booking__field > span { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.booking small { font-size: 11px; letter-spacing: .04em; color: var(--ink-soft); }
.booking input, .booking select { border: 0; padding: 0; font: 500 14px/1.4 var(--sans); color: var(--ink); background: transparent; width: 100%; cursor: pointer; }
.booking input:focus, .booking select:focus { outline: none; }
.booking__field:focus-within { border-color: var(--gold); }
.booking__submit { height: 100%; }

/* ---------- Google-Bewertung ---------- */
.ratings { display: flex; justify-content: center; align-items: center; gap: 8px 18px; margin-top: 18px; }
.ratings .rating + .rating { position: relative; }
.ratings .rating + .rating::before { content: ""; position: absolute; left: -10px; top: 20%; bottom: 20%; width: 1px; background: var(--line); }
.rating { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 6px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 14px; transition: background .25s var(--ease); }
.rating:hover { background: var(--cream-200); }
.rating__score { display: grid; place-items: center; min-width: 34px; height: 30px; padding: 0 6px; border-radius: 6px 6px 6px 0; background: var(--green-800); color: #fff; font: 600 14px/1 var(--sans); }
.rating__stars { --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6 6.6.9-4.8 4.6 1.2 6.5L12 17.4 6.1 20.5l1.2-6.5L2.5 9.4l6.6-.9z'/%3E%3C/svg%3E");
  position: relative; display: inline-block; flex: none; width: 100px; height: 20px;
  background: linear-gradient(90deg, var(--gold) calc(var(--rating) / 5 * 100%), var(--line) 0);
  -webkit-mask: var(--star) 0 0 / 20px 20px repeat-x; mask: var(--star) 0 0 / 20px 20px repeat-x; }
.rating strong { font: 600 16px/1 var(--sans); }
.rating__count { color: var(--ink-soft); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }

/* ---------- USPs ---------- */
.usps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding-block: 34px 38px; margin-block: 0; }
.usps li { display: flex; align-items: center; gap: 14px; color: var(--green-700); }
.usps strong { display: block; font: 500 15px/1.3 var(--sans); color: var(--ink); }
.usps span { font-size: 13px; color: var(--ink-soft); }

/* ---------- Sections ---------- */
.section { padding-block: 72px; }
.section--tint { background: var(--cream-100); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section__head p:last-child { margin-top: 14px; color: var(--ink-soft); }

/* Intro */
.intro { display: grid; grid-template-columns: 1fr 1.15fr .85fr; gap: 24px; align-items: center; }
.intro__text p:not(.eyebrow) { margin: 18px 0 26px; color: var(--ink-soft); max-width: 420px; }
.intro__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); height: 300px; }
.intro__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.intro__img:hover img { transform: scale(1.04); }
.intro__img--b img { object-position: 30% 50%; }

/* Rooms */
.rooms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.room { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.room:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.room img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.room__body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 18px; }
.room h3 { font-size: 22px; }
.room p { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.chev { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--green-800); transition: background .25s, color .25s, border-color .25s; }
.room:hover .chev { background: var(--green-800); color: #fff; border-color: var(--green-800); }
.dots { display: none; }

/* Ambience */
.ambience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.amb { display: grid; grid-template-columns: .85fr 1.15fr; background: var(--cream-50); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.amb img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.amb__text { padding: 18px 18px 16px; display: flex; flex-direction: column; }
.amb h3 { font-size: 22px; margin-bottom: 8px; }
.amb p { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }
.amb__arrow { margin-top: auto; padding-top: 10px; color: var(--green-800); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.duo__card { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: center; background: var(--cream-50); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); }
.duo__card > img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; border-radius: 4px; }
.duo__card h3 { margin-bottom: 10px; }
.duo__card p { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.ticks { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.ticks li { padding-left: 16px; position: relative; margin: 3px 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.map { position: relative; display: block; border-radius: 4px; overflow: hidden; height: 100%; min-height: 190px; border: 1px solid var(--line); }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map svg rect { transition: fill .3s; }
.map:hover svg rect { fill: #e6dfcc; }
.map__pin { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -100%); display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; background: var(--green-800); color: #fff; font-size: 13px; border-radius: 20px; white-space: nowrap; box-shadow: var(--shadow-sm); }
.map__pin img { width: 34px; height: auto; }
.map__pin::after { content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); border: 6px solid transparent; border-bottom: 0; border-top-color: var(--green-800); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--green-800); color: #fff; }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; opacity: .28; }
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 34px; }
.cta h2 { font-size: clamp(26px, 2.6vw, 34px); }
.cta p { margin-top: 6px; color: rgba(255, 255, 255, .82); font-size: 14.5px; }

/* ---------- Footer ---------- */
.footer { background: var(--green-900); color: rgba(255, 255, 255, .82); font-size: 14px; padding-top: 52px; }
.footer__grid { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr 1.2fr 1fr; gap: 32px; }
.footer__brand img { width: 210px; }
.footer h4 { margin: 0 0 14px; font: 500 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--gold); }
.contact li { display: flex; gap: 10px; align-items: flex-start; }
.contact .i { color: var(--gold); margin-top: 2px; }
.awards { display: flex; gap: 12px; margin-top: 20px; }
.awards img { width: 104px; height: 104px; border-radius: 4px; }
@media (max-width: 720px) { .awards img { width: 120px; height: 120px; } }
.footer__copy { padding-block: 22px; margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .55); }

.mobile-book { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .nav a { font-size: 14px; }
  .usps { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .intro { grid-template-columns: 1fr 1fr; }
  .intro__text { grid-column: 1 / -1; }
  .rooms { grid-template-columns: repeat(2, 1fr); }
  .ambience { grid-template-columns: 1fr; }
  .amb { grid-template-columns: 280px 1fr; }
  .duo { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .header__inner { height: 70px; gap: 12px; }
  .header__logo img { height: 48px; }
  .header__cta { margin-left: auto; min-height: 40px; padding: 0 16px; }
  .header__cta .lg { display: none; }
  .header__cta .sm { display: inline; }
  .burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: 0; background: none; cursor: pointer; }
  .burger span { display: block; height: 2px; background: var(--green-800); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 18px; background: var(--cream-100); border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px -18px rgba(0, 0, 0, .4); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .3s var(--ease), opacity .3s, visibility .3s; }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { font-size: 17px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
}

@media (max-width: 720px) {
  .section { padding-block: 44px; }

  /* Hero: Bild oben, Text auf Grün */
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero__bg { position: relative; display: block; height: 260px; }
  .hero__bg img { position: absolute; object-position: 50% 45%; }
  .hero__shade { top: 0; bottom: auto; height: 260px; background: linear-gradient(180deg, rgba(21, 41, 29, 0) 45%, rgba(29, 54, 38, 1) 100%); }
  .hero__content { margin-top: -70px; padding-block: 0 26px; }
  .hero h1 { font-size: 36px; }
  .hero__lead { font-size: 14.5px; margin-top: 12px; }
  .hero__actions { flex-direction: column; gap: 10px; margin-top: 20px; }
  .hero__actions .btn { width: 100%; min-height: 44px; }

  .booking { display: none; }
  .ratings { margin-top: 0; padding-top: 16px; gap: 0; align-items: stretch; }
  .ratings .rating + .rating::before { left: 0; top: 10%; bottom: 10%; }
  .rating { flex: 1; flex-wrap: wrap; align-content: flex-start; padding: 2px 6px; font-size: 13px; gap: 6px; }
  .rating strong { font-size: 14px; }
  .rating__score { min-width: 30px; height: 26px; font-size: 13px; }
  .rating__stars { order: 3; }
  .rating__count { order: 4; flex-basis: 100%; text-align: center; font-size: 12px; }
  .rating:hover { background: none; }
  .rating__stars { width: 85px; height: 17px; -webkit-mask-size: 17px 17px; mask-size: 17px 17px; }

  .usps { grid-template-columns: repeat(3, 1fr); gap: 10px; padding-block: 22px; border-bottom: 1px solid var(--line); }
  .usps li { flex-direction: column; text-align: center; gap: 6px; }
  .usps li:nth-child(4), .usps li:nth-child(5) { display: none; }
  .usps .i--lg { width: 28px; height: 28px; }
  .usps strong { font-size: 12.5px; }
  .usps span { display: none; }

  h2 { font-size: 30px; }
  .intro { grid-template-columns: 1fr; gap: 18px; }
  .intro__text p:not(.eyebrow) { margin: 12px 0 18px; font-size: 14.5px; }
  .intro__img { height: 180px; }
  .intro__img--b { display: none; }

  .section__head { text-align: left; margin-bottom: 20px; }
  .section__head p:last-child { display: none; }

  /* Zimmer-Karussell */
  .rooms { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px; scrollbar-width: none; }
  .rooms::-webkit-scrollbar { display: none; }
  .room { flex: 0 0 86%; scroll-snap-align: center; flex-direction: row; }
  .room img { width: 42%; aspect-ratio: auto; height: auto; min-height: 96px; }
  .room__body { flex: 1; padding: 12px 14px; }
  .room h3 { font-size: 19px; }
  .room p { font-size: 12px; }
  .dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
  .dots span { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--green-800); transition: background .2s; }
  .dots span.on { background: var(--green-800); }

  /* Ambiente als Liste */
  .ambience { gap: 10px; }
  .amb { grid-template-columns: 96px 1fr; align-items: center; }
  .amb img { min-height: 0; height: 56px; }
  .amb__text { flex-direction: row; align-items: center; justify-content: space-between; padding: 0 14px; }
  .amb h3 { font-size: 19px; margin: 0; }
  .amb p { display: none; }
  .amb__arrow { margin: 0; padding: 0; }

  .duo { gap: 14px; margin-top: 14px; }
  .duo__card { grid-template-columns: 1fr; gap: 14px; }
  .duo__card > img { min-height: 0; height: 150px; }
  .map { min-height: 170px; }
  .duo__card h3 br { display: none; }

  .cta__inner { flex-direction: column; align-items: flex-start; gap: 18px; padding-block: 30px; }
  .cta .btn { width: 100%; }

  .footer { padding-top: 36px; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .footer__brand img { margin: 0 auto; width: 180px; }
  .contact li { justify-content: center; text-align: left; }
  .awards { justify-content: center; }
  .footer__copy { margin-top: 26px; }

  .mobile-book { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; min-height: 52px; box-shadow: var(--shadow); transform: translateY(calc(100% + 30px)); visibility: hidden; transition: transform .4s var(--ease), visibility .4s; }
  .mobile-book.is-visible { transform: none; visibility: visible; }
}
