/* ============================================================
   Ferienapartment Dornet · Ungenach – Tor zum Salzkammergut
   Farben: Waldgrün, Terrakotta, Creme
   ============================================================ */

:root {
  --gruen: #2e4b3f;
  --gruen-dunkel: #1f352c;
  --terra: #c26d4b;
  --terra-hell: #e8a383;
  --creme: #faf6ef;
  --creme-dunkel: #f0e8da;
  --text: #33302a;
  --text-hell: #6f6a60;
  --weiss: #ffffff;
  --radius: 14px;
  --schatten: 0 10px 30px rgba(31, 53, 44, .12);
  --maxbreite: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--creme);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, .serif {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gruen-dunkel);
  font-weight: 600;
  line-height: 1.2;
}

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

a { color: var(--terra); }

.container {
  max-width: var(--maxbreite);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(46, 75, 63, .12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  max-width: var(--maxbreite);
  margin: 0 auto;
}

.brand {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gruen-dunkel);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand svg { flex: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: .98rem;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover { color: var(--terra); }

.nav-cta {
  background: var(--terra);
  color: var(--weiss) !important;
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 600;
}

.nav-cta:hover { background: var(--gruen); color: var(--weiss) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--gruen-dunkel);
  border-radius: 2px;
  margin: 5px 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--weiss);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31,53,44,.35) 0%, rgba(31,53,44,.75) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxbreite);
  margin: 0 auto;
  padding: 80px 22px;
  width: 100%;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .85rem;
  color: var(--terra-hell);
  font-weight: 600;
  margin-bottom: 14px;
}

.hero h1 {
  color: var(--weiss);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  max-width: 15ch;
  margin-bottom: 18px;
}

.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 46ch;
  margin-bottom: 32px;
  color: #f3efe6;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform .15s, background .2s;
  border: none;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--terra); color: var(--weiss); }
.btn-primary:hover { background: #a95a3b; }

.btn-outline {
  background: rgba(255,255,255,.12);
  color: var(--weiss);
  border: 2px solid rgba(255,255,255,.75);
}
.btn-outline:hover { background: rgba(255,255,255,.25); }

/* ---------- Kennzahlen-Balken ---------- */
.fakten {
  background: var(--gruen-dunkel);
  color: var(--creme);
}

.fakten-grid {
  max-width: var(--maxbreite);
  margin: 0 auto;
  padding: 26px 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  text-align: center;
}

.fakt strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.6rem;
  color: var(--terra-hell);
}

.fakt span { font-size: .92rem; color: #d9d2c4; }

/* ---------- Sektionen ---------- */
section { padding: 84px 0; }

.sektion-alt { background: var(--weiss); }

.ueberschrift {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 14px;
}

.ueberschrift h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }

.ueberschrift p {
  color: var(--text-hell);
  margin-top: 10px;
}

.trenner {
  width: 64px;
  height: 4px;
  background: var(--terra);
  border-radius: 2px;
  margin: 18px auto 0;
}

/* ---------- Über die Wohnung ---------- */
.ueber-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  margin-top: 44px;
}

.ueber-grid img {
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  width: 100%;
}

.ueber-text h3 { font-size: 1.35rem; margin-bottom: 12px; }

.ueber-text p { margin-bottom: 14px; color: var(--text); }

.checkliste {
  list-style: none;
  margin: 18px 0 6px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.checkliste li {
  padding-left: 28px;
  position: relative;
  font-size: .98rem;
}

.checkliste li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  background: var(--terra);
  border-radius: 50%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Galerie ---------- */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
  margin-top: 44px;
}

.galerie-grid a { display: block; overflow: hidden; border-radius: var(--radius); }

.galerie-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.galerie-grid a:hover img { transform: scale(1.06); }

.galerie-grid .gross {
  grid-column: span 2;
  grid-row: span 2;
}

/* ---------- Ausstattung ---------- */
.ausstattung-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.ausstattung-karte {
  background: var(--creme);
  border: 1px solid rgba(46,75,63,.1);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform .2s, box-shadow .2s;
}

.ausstattung-karte:hover {
  transform: translateY(-4px);
  box-shadow: var(--schatten);
}

.ausstattung-karte svg { flex: none; margin-top: 2px; }

.ausstattung-karte strong { display: block; color: var(--gruen-dunkel); }
.ausstattung-karte span { font-size: .92rem; color: var(--text-hell); }

/* ---------- Lage ---------- */
.lage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  margin-top: 44px;
}

.lage-text ul {
  list-style: none;
  margin-top: 18px;
}

.lage-text li {
  padding: 12px 0 12px 34px;
  border-bottom: 1px dashed rgba(46,75,63,.2);
  position: relative;
}

.lage-text li::before {
  content: "";
  position: absolute;
  left: 4px; top: 16px;
  width: 18px; height: 18px;
  background: var(--terra);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.lage-text li strong { color: var(--gruen-dunkel); }

.lage-karte {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--schatten);
  min-height: 380px;
}

.lage-karte iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

/* ---------- Bewertungen ---------- */
.bewertung-kopf {
  text-align: center;
  margin-top: 44px;
}

.bewertung-wert {
  font-family: Georgia, serif;
  font-size: 3rem;
  color: var(--terra);
  font-weight: 700;
}

.sterne { color: var(--terra); font-size: 1.3rem; letter-spacing: 3px; }

.bewertung-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.bewertungs-karte {
  background: var(--weiss);
  border: 1px solid rgba(46,75,63,.1);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: 0 4px 14px rgba(31,53,44,.06);
  display: flex;
  flex-direction: column;
}

.bewertungs-karte .name {
  font-weight: 700;
  color: var(--gruen-dunkel);
  margin-top: 14px;
}

.bewertungs-karte .datum { font-size: .85rem; color: var(--text-hell); }

/* ---------- Buchung ---------- */
.buchung {
  background: var(--gruen-dunkel);
  color: var(--creme);
}

.buchung h2, .buchung h3 { color: var(--weiss); }

.buchung .ueberschrift p { color: #cfc8ba; }

.buchung-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 44px;
  margin-top: 44px;
  align-items: start;
}

.buchung-formular {
  background: var(--weiss);
  border-radius: var(--radius);
  padding: 32px 30px;
  color: var(--text);
  box-shadow: var(--schatten);
}

.formular-zeile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.buchung-formular label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gruen-dunkel);
  margin: 14px 0 5px;
}

.buchung-formular input,
.buchung-formular select,
.buchung-formular textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid rgba(46,75,63,.25);
  border-radius: 9px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--creme);
  color: var(--text);
}

.buchung-formular input:focus,
.buchung-formular select:focus,
.buchung-formular textarea:focus {
  outline: 2px solid var(--terra);
  outline-offset: 1px;
}

.buchung-formular .btn { width: 100%; margin-top: 20px; }

.formular-hinweis {
  font-size: .82rem;
  color: var(--text-hell);
  margin-top: 12px;
  text-align: center;
}

.buchung-info h3 { font-size: 1.3rem; margin-bottom: 10px; }

.buchung-info p { color: #d9d2c4; margin-bottom: 14px; }

.buchung-info ul { list-style: none; margin-bottom: 22px; }

.buchung-info li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: #e8e2d5;
}

.buchung-info li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 15px; height: 15px;
  background: var(--terra-hell);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.airbnb-box {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 22px 22px;
}

.airbnb-box .btn { margin-top: 12px; }

.airbnb-box p { margin-bottom: 4px; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #16261f;
  color: #b9b2a4;
  padding: 46px 0 26px;
  font-size: .95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.site-footer h4 {
  color: var(--weiss);
  font-family: Georgia, serif;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.site-footer a { color: var(--terra-hell); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  text-align: center;
  font-size: .85rem;
  color: #8a8478;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 25, 22, .92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox.aktiv { display: flex; }

.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.lightbox-schliessen {
  position: absolute;
  top: 20px; right: 26px;
  background: none;
  border: none;
  color: var(--weiss);
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  color: var(--weiss);
  border: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
}

.lightbox-nav:hover { background: rgba(255,255,255,.28); }
.lightbox-vorher { left: 22px; }
.lightbox-nachher { right: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .ueber-grid, .lage-grid, .buchung-grid { grid-template-columns: 1fr; }
  .galerie-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .galerie-grid .gross { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--creme);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 22px 20px;
    gap: 4px;
    border-bottom: 1px solid rgba(46,75,63,.15);
    box-shadow: 0 18px 30px rgba(31,53,44,.12);
  }
  .nav-links.aktiv { display: flex; }
  .nav-links a { display: block; padding: 10px 4px; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .nav-toggle { display: block; }
  .checkliste { grid-template-columns: 1fr; }
  .formular-zeile { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .galerie-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .galerie-grid .gross { grid-column: span 1; }
}


/* ---------- Modernisierte, konsistente Typografie und Details ---------- */
:root {
  --radius: 18px;
  --schatten: 0 16px 42px rgba(31, 53, 44, .12);
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -0.012em;
}

h1, h2, h3, .serif, .brand, .fakt strong, .bewertung-wert, .site-footer h4 {
  font-family: inherit;
  letter-spacing: -0.035em;
}

h1, h2, h3 { font-weight: 700; }
.site-header { background: rgba(250, 246, 239, .96); }
.nav { padding-top: 16px; padding-bottom: 16px; }
.hero { min-height: min(88vh, 820px); }
.hero::after { background: linear-gradient(90deg, rgba(20, 38, 30, .78) 0%, rgba(20, 38, 30, .44) 58%, rgba(20, 38, 30, .12) 100%); }
.btn { border-radius: 12px; }
.nav-cta { border-radius: 10px; }
.ausstattung-karte, .bewertungs-karte, .buchung-formular { border-radius: 18px; }
.galerie-grid a { border-radius: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
