:root {
  --ocker: #c98a2c;
  --terracotta: #c1592d;
  --terracotta-dark: #a3441f;
  --turkis: #1f9c93;
  --turkis-dark: #147067;
  --sand: #fbf3e6;
  --sand-deep: #f2e2c9;
  --ink: #2c2620;
  --ink-soft: #5a4f42;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px -18px rgba(44, 38, 32, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Work Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand {
  font-family: "Fraunces", "Georgia", serif;
}

.baustelle {
  background: var(--terracotta);
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  padding: 8px 12px;
  letter-spacing: 0.02em;
}

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(44, 38, 32, 0.92);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 14px 24px;
}

.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand span { color: var(--ocker); }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav.main-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  opacity: 0.85;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

nav.main-nav a:hover {
  opacity: 1;
  border-color: var(--ocker);
}

/* ---------- Hero slider ---------- */
.hero {
  position: relative;
  height: 92vh;
  min-height: 520px;
  max-height: 900px;
  overflow: hidden;
  color: #fff;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}

.hero-slide.is-active { opacity: 1; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44,38,32,0.35) 0%, rgba(44,38,32,0.15) 40%, rgba(44,38,32,0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--sand);
  margin-bottom: 14px;
  opacity: 0.9;
}

.hero-content h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  margin: 0 0 16px;
  max-width: 820px;
  text-shadow: 0 4px 18px rgba(0,0,0,0.35);
}

.hero-content p {
  max-width: 560px;
  font-size: 1.1rem;
  margin: 0 0 28px;
  opacity: 0.96;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: background 0.2s ease;
}

.hero-dots span.is-active { background: #fff; }

/* ---------- CTA buttons ---------- */
.cta {
  display: inline-block;
  background: var(--ocker);
  color: #fff;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s ease, transform 0.15s ease;
  box-shadow: 0 10px 22px -8px rgba(201, 138, 44, 0.6);
}

.cta:hover { background: #b3791f; transform: translateY(-1px); }

.cta.outline {
  background: transparent;
  border: 2px solid #fff;
  box-shadow: none;
}

.cta.outline:hover { background: rgba(255,255,255,0.15); }

/* ---------- Sections ---------- */
main { overflow-x: hidden; }

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 24px;
}

.section-tight { padding-top: 60px; padding-bottom: 60px; }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin: 0 0 14px;
  color: var(--ink);
}

.section-head p {
  color: var(--ink-soft);
  margin: 0;
}

.section.alt {
  background: var(--sand-deep);
}

.section.dark {
  background: var(--ink);
  color: var(--sand);
}

.section.dark .section-head p { color: #cfc3b3; }
.section.dark h2 { color: #fff; }
.section.dark .section-eyebrow { color: var(--ocker); }

/* ---------- Intro ---------- */
.intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: center;
  margin-top: 20px;
}

.intro-fact {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 18px;
  box-shadow: var(--shadow);
}

.intro-fact .num {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  color: var(--terracotta);
  display: block;
  margin-bottom: 6px;
}

.intro-fact .label {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ---------- Feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.split.reverse .split-media { order: 2; }
.split.reverse .split-text { order: 1; }

.split-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: block;
}

.split-text h3 {
  font-size: 1.5rem;
  margin: 0 0 14px;
  color: var(--terracotta-dark);
}

.split-text p { color: var(--ink-soft); }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-size: 0.98rem;
}

.feature-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--turkis);
  flex-shrink: 0;
}

/* ---------- Gallery grid (Kunst & Charakter) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 16px;
  margin-top: 10px;
}

.gallery figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery figure:hover img { transform: scale(1.06); }

.gallery figure figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 12px 8px;
  font-size: 0.78rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
}

.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }

/* ---------- Erleben cards ---------- */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.experience-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 340px;
  box-shadow: var(--shadow);
}

.experience-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-card .tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255,255,255,0.92);
  color: var(--terracotta-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 999px;
}

.experience-card .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
  font-size: 0.95rem;
}

/* ---------- Lage ---------- */
.lage-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.lage-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.badge {
  background: var(--turkis);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
}

/* ---------- Info grid (Versorgung, Sehenswürdigkeiten, Ausstattung) ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}

.section.dark .info-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: none;
}

.info-card h4 {
  margin: 0 0 8px;
  color: var(--terracotta-dark);
  font-size: 1.05rem;
}

.section.dark .info-card h4 { color: var(--ocker); }

.info-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.section.dark .info-card p { color: #cfc3b3; }

.tick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.tick-grid .tick {
  background: #fff;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.92rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tick-grid .tick::before {
  content: "✓";
  color: var(--turkis);
  font-weight: 700;
}

/* ---------- Price table ---------- */
table.preise {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 24px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

table.preise th, table.preise td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--sand-deep);
  color: var(--ink);
}

table.preise th {
  background: var(--terracotta);
  color: #fff;
  font-weight: 600;
}

table.preise td { font-weight: 500; }

table.preise tr:last-child td { border-bottom: none; }

/* ---------- Cross-promo (Nessy's) ---------- */
.promo {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(120deg, var(--turkis) 0%, var(--turkis-dark) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
}

.promo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.promo-text { padding: 36px 40px 36px 0; }
.promo-text h3 { font-size: 1.5rem; margin: 0 0 12px; }
.promo-text p { opacity: 0.95; margin: 0 0 20px; }

@media (max-width: 800px) {
  .promo { grid-template-columns: 1fr; }
  .promo-text { padding: 8px 24px 32px; }
  .promo img { min-height: 220px; }
}

.promo.no-image {
  grid-template-columns: 1fr;
  text-align: center;
}

.promo.no-image .promo-text {
  padding: 44px 40px;
}

/* ---------- Decorative sun (Wohnung-Sektion) ---------- */
#wohnung { position: relative; overflow: hidden; }

.section-sun {
  position: absolute;
  top: -26px;
  left: -18px;
  width: 230px;
  height: 230px;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 22px rgba(255, 205, 70, 0.55));
}

#wohnung .section-head,
#wohnung .split {
  position: relative;
  z-index: 1;
}

@media (max-width: 700px) {
  .section-sun { width: 140px; height: 140px; top: -10px; left: -16px; }
}

/* ---------- Standalone feature image ---------- */
.feature-img {
  margin: 28px 0 0;
  text-align: center;
}

.feature-img img {
  max-width: 480px;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: inline-block;
}

.feature-img figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- Duo images (Momente) ---------- */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.duo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: block;
}

@media (max-width: 640px) {
  .duo { grid-template-columns: 1fr; }
  .duo img { height: 240px; }
}

/* ---------- Kontakt ---------- */
.kontakt-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

form.anfrage {
  display: grid;
  gap: 16px;
}

form.anfrage label {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 6px;
}

form.anfrage input,
form.anfrage textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e3d3b8;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}

form.anfrage input:focus,
form.anfrage textarea:focus {
  outline: 2px solid var(--turkis);
  outline-offset: 1px;
}

.kontakt-info {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.kontakt-info h3 { color: #fff; margin-top: 0; }
.kontakt-info a { color: var(--ocker); }

.note {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.9rem;
  margin: 0 0 20px;
}

.section:not(.dark) .note {
  background: #fdf6e8;
  border: 1px solid #ecd9a8;
  color: var(--ink);
}

/* ---------- Footer ---------- */
footer.site {
  background: #221d18;
  color: #cfc3b3;
  text-align: center;
  padding: 32px 24px;
  font-size: 0.85rem;
}

footer.site a {
  color: #cfc3b3;
  margin: 0 8px;
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  z-index: 999;
  transition: transform 0.15s ease;
}

.whatsapp-float:hover { transform: scale(1.07); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 1; }
  .split.reverse .split-text { order: 2; }
  .split-media img { height: 280px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gallery .g-wide { grid-column: span 2; }
  .experience-grid { grid-template-columns: 1fr; }
  .lage-wrap { grid-template-columns: 1fr; }
  .kontakt-wrap { grid-template-columns: 1fr; }
  nav.main-nav ul { gap: 14px; }
  nav.main-nav a { font-size: 0.85rem; }
}

@media (max-width: 560px) {
  .section { padding: 60px 18px; }
  .hero-content h1 { font-size: 1.9rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .nav-wrap { flex-wrap: nowrap; }
  nav.main-nav { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  nav.main-nav ul { flex-wrap: nowrap; gap: 16px; padding-bottom: 2px; }
  nav.main-nav a { white-space: nowrap; }
}
