/* =====================================================================
   Übernachten in Mitteldeutschland – Stylesheet
   Farbwelt: warmes Grün / Sandstein, gastfreundlich & modern
   ===================================================================== */
:root {
  --green-900: #1f3d2b;
  --green-700: #2f5d3f;
  --green-500: #4a7c59;
  --sand-100: #f7f3ec;
  --sand-200: #efe7d8;
  --sand-300: #e3d6bf;
  --ink: #25281f;
  --muted: #6b6f63;
  --white: #ffffff;
  --accent: #c8893b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 61, 43, 0.10);
  --maxw: 1140px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--sand-100);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); }
h1, h2, h3 { line-height: 1.2; color: var(--green-900); font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 0 0 .6em; }
h3 { font-size: 1.25rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  font-size: 1rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green-700); color: var(--white); }
.btn-primary:hover { background: var(--green-900); }
.btn-outline { background: transparent; color: var(--green-900); border-color: var(--green-700); }
.btn-outline:hover { background: var(--green-700); color: var(--white); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: #a96f28; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand-300);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--green-700); color: #fff; font-weight: 700;
  display: grid; place-items: center; font-size: 1.1rem;
}
.brand-name { font-weight: 700; color: var(--green-900); font-size: 1.05rem; line-height: 1.1; }
.brand-name small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }
.nav-links { display: flex; gap: 22px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; }
.nav-links a:hover { color: var(--green-700); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--green-900); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(rgba(31,61,43,.62), rgba(31,61,43,.62)),
              url('hero.jpg') center/cover no-repeat, var(--green-700);
  color: #fff; text-align: center;
  padding: clamp(64px, 12vw, 130px) 22px;
}
.hero h1 { color: #fff; max-width: 760px; margin-inline: auto; }
.hero p { font-size: 1.15rem; max-width: 640px; margin: 0 auto 1.8em; color: #f3efe6; }
.hero .btn { margin: 0 6px; }

/* ---------- Sections ---------- */
section { padding: clamp(48px, 7vw, 88px) 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--accent); }

/* ---------- Object cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.cards { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card-media {
  aspect-ratio: 16/10; background: var(--sand-200);
  display: grid; place-items: center; color: var(--muted);
  background-size: cover; background-position: center;
}
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-loc { font-size: .85rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.card h3 { margin: 4px 0 8px; }
.card p { color: var(--muted); flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; padding: 0; list-style: none; }
.tag { background: var(--sand-200); color: var(--green-900); font-size: .8rem; padding: 4px 11px; border-radius: 999px; font-weight: 600; }
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Object detail ---------- */
.detail-hero {
  background: var(--green-700);
  background-size: cover; background-position: center;
  min-height: 320px; display: flex; align-items: flex-end;
  position: relative;
}
.detail-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(31,61,43,.78)); }
.detail-hero .container { position: relative; z-index: 2; padding-bottom: 34px; color: #fff; }
.detail-hero h1 { color: #fff; margin-bottom: .2em; }
.detail-hero .loc { color: #f3efe6; font-weight: 600; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 12px 0 8px; }
.gallery .ph {
  aspect-ratio: 4/3; background: var(--sand-200); border-radius: 10px;
  display: grid; place-items: center; color: var(--muted); font-size: .85rem;
  border: 1px dashed var(--sand-300); text-align: center; padding: 8px;
}
.gallery a { display: block; border-radius: 10px; overflow: hidden; }
.gallery img {
  width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 10px; transition: transform .25s ease; display: block;
}
.gallery a:hover img { transform: scale(1.05); }
.layout-2col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.feature-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; }
.feature-list li { padding: 6px 0 6px 26px; position: relative; break-inside: avoid; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green-500); font-weight: 700; }
.placeholder {
  background: #fff7e8; border: 1px solid #f0d9a8; color: #8a6a1f;
  padding: 2px 8px; border-radius: 6px; font-size: .9em; font-weight: 600;
}

/* ---------- Sidebar / booking box ---------- */
.booking-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; position: sticky; top: 90px; }
.booking-box h3 { margin-top: 0; }
.price { font-size: 1.6rem; color: var(--green-900); font-weight: 700; }
.price small { font-size: .9rem; color: var(--muted); font-weight: 500; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: 5px; color: var(--green-900); }
input, textarea, select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--sand-300);
  border-radius: 10px; font-family: inherit; font-size: 1rem; background: #fff;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--green-500); border-color: var(--green-500); }
textarea { min-height: 130px; resize: vertical; }
.form-check { display: block; position: relative; padding-left: 30px; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.form-check input { position: absolute; left: 0; top: 3px; width: auto; margin: 0; }
.hp { position: absolute; left: -9999px; }
.note { font-size: .85rem; color: var(--muted); }

/* ---------- Section tints ---------- */
.tint { background: var(--sand-200); }
.region-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.region-grid .item { background:#fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.region-grid .item .ico { font-size: 1.8rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #d9e3da; padding: 54px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; margin: 0 0 14px; }
.site-footer a { color: #d9e3da; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 34px; padding-top: 18px; font-size: .85rem; color: #aab8ac; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Alerts ---------- */
.alert { padding: 16px 20px; border-radius: 10px; margin-bottom: 24px; }
.alert-success { background: #e6f4ea; border: 1px solid #b6dcc1; color: #1f5130; }
.alert-error { background: #fbeaea; border: 1px solid #e4b6b6; color: #8a2b2b; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .layout-2col { grid-template-columns: 1fr; }
  .booking-box { position: static; }
  .region-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; background: var(--sand-100); pad