/* ============================================================
   Jagerhäusl – Frühstückspension Ramsau am Dachstein
   Modernes Redesign · gemeinsames Stylesheet
   ============================================================ */

:root {
  --pine:      #2e4636;   /* tiefes Tannengrün */
  --pine-dark: #223528;
  --moss:      #5c7a5e;   /* helleres Grün (Fassade) */
  --wood:      #b07d4a;   /* warmes Holz / Balkon */
  --amber:     #c8892f;   /* Akzent / Buttons */
  --terra:     #9c4a2f;   /* Dachziegel-Rot */
  --cream:     #f7f2e8;   /* Hintergrund */
  --cream-2:   #efe7d6;
  --ink:       #2b2a26;   /* Text */
  --muted:     #6d6a61;
  --white:     #ffffff;
  --sky:       #dbe7ec;
  --shadow:    0 14px 40px rgba(34, 53, 40, 0.14);
  --shadow-sm: 0 6px 18px rgba(34, 53, 40, 0.10);
  --radius:    18px;
  --maxw:      1140px;
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--pine); }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.5rem; }
p  { margin-bottom: 1.1rem; }
a  { color: var(--amber); text-decoration: none; transition: color .2s; }
a:hover { color: var(--terra); }
img { max-width: 100%; display: block; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--amber); color: #fff;
  padding: 14px 30px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; letter-spacing: .2px;
  box-shadow: var(--shadow-sm); transition: transform .2s, background .2s;
}
.btn:hover { background: var(--terra); color: #fff; transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.85);
  box-shadow: none;
}
.btn-ghost:hover { background: #fff; color: var(--pine); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s, box-shadow .35s, padding .35s;
  padding: 20px 0;
}
.nav.scrolled, .nav.solid { background: rgba(247,242,232,.96); box-shadow: var(--shadow-sm); backdrop-filter: blur(8px); padding: 12px 0; }
.nav.solid .brand .name { color: var(--pine); }
.nav.solid .brand .sub  { color: var(--muted); }
.nav.solid .nav-links a { color: var(--pine); }
.nav.solid .nav-toggle span { background: var(--pine); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand .name { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: #fff; transition: color .35s; }
.brand .sub  { font-size: .68rem; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.85); transition: color .35s; margin-top: 4px; }
.nav.scrolled .brand .name { color: var(--pine); }
.nav.scrolled .brand .sub  { color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  color: #fff; font-weight: 500; font-size: .95rem;
  padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s;
}
.nav.scrolled .nav-links a { color: var(--pine); }
.nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,.18); color: #fff; }
.nav.scrolled .nav-links a:hover, .nav.scrolled .nav-links a.active { background: var(--pine); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 5px auto; transition: .3s; }
.nav.scrolled .nav-toggle span { background: var(--pine); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  color: #fff; text-align: center;
  background-size: cover; background-position: center;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(34,53,40,.45) 0%, rgba(34,53,40,.25) 40%, rgba(34,53,40,.65) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero .kicker {
  display: inline-block; font-size: .8rem; letter-spacing: 4px; text-transform: uppercase;
  padding: 8px 18px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; margin-bottom: 24px;
}
.hero .lead { font-size: 1.2rem; max-width: 640px; margin: 20px auto 34px; color: rgba(255,255,255,.94); text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* page hero (kleiner, für Unterseiten) */
.page-hero {
  position: relative; min-height: 46vh; display: flex; align-items: flex-end;
  color: #fff; background-size: cover; background-position: center;
}
.page-hero::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(34,53,40,.25), rgba(34,53,40,.7)); }
.page-hero .container { position: relative; z-index: 2; padding-bottom: 46px; }
.page-hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.4); }
.page-hero .crumb { font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: 10px; }

/* ---------- Sections ---------- */
section.block { padding: 84px 0; }
section.block.tight { padding: 58px 0; }
.bg-cream2 { background: var(--cream-2); }
.bg-pine { background: var(--pine); color: #fff; }
.bg-pine h2, .bg-pine h3 { color: #fff; }
.section-label { color: var(--amber); font-weight: 600; letter-spacing: 3px; text-transform: uppercase; font-size: .78rem; margin-bottom: 14px; }
.lead-lg { font-size: 1.15rem; color: var(--muted); }
.center { text-align: center; }
.mx-auto { margin-left:auto; margin-right:auto; }
.narrow { max-width: 720px; }

/* grid helpers */
.grid { display: grid; gap: 40px; align-items: center; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.gap-sm { gap: 20px; }

/* media / cards */
.media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card .card-body { padding: 24px 26px 28px; }
.card h3 { margin-bottom: 8px; }

/* feature list with icons */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; list-style: none; }
.feature {
  background: #fff; border-radius: 14px; padding: 22px 20px; box-shadow: var(--shadow-sm);
  display: flex; gap: 14px; align-items: flex-start;
}
.feature .ic { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; background: var(--sky); display: grid; place-items: center; font-size: 1.2rem; }
.feature strong { display: block; font-size: .98rem; color: var(--pine); }
.feature span { font-size: .86rem; color: var(--muted); }

/* checklist */
.check { list-style: none; display: grid; gap: 12px; }
.check li { position: relative; padding-left: 34px; }
.check li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%; background: var(--moss); color: #fff;
  font-size: .8rem; display: grid; place-items: center; font-weight: 700;
}

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery a { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.07); }

/* price card */
.price-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 44px 40px; text-align: center; max-width: 520px; margin: 0 auto;
  border-top: 5px solid var(--amber);
}
.price-card .amount { font-family: var(--serif); font-size: 3.4rem; color: var(--pine); font-weight: 700; line-height: 1; }
.price-card .amount small { font-size: 1rem; color: var(--muted); font-family: var(--sans); }
.price-note { font-size: .9rem; color: var(--muted); }

/* highlight / callout */
.callout {
  background: #fff; border-left: 5px solid var(--amber); border-radius: 14px;
  padding: 26px 30px; box-shadow: var(--shadow-sm);
}

/* contact strip */
.contact-cta { text-align: center; }
.contact-cta .phone { font-family: var(--serif); font-size: 2rem; color: #fff; }

/* ---------- Legal pages ---------- */
.legal { padding: 128px 0 80px; }
.legal .container { max-width: 850px; }
.legal h1 { margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 30px; }
.legal h2 { font-size: 1.45rem; margin: 40px 0 12px; padding-top: 6px; border-top: 1px solid var(--cream-2); }
.legal h2:first-of-type { border-top: 0; }
.legal h3 { font-size: 1.12rem; margin: 22px 0 6px; color: var(--pine-dark); }
.legal p, .legal li { color: var(--ink); }
.legal ul { margin: 0 0 16px 22px; display: grid; gap: 6px; }
.legal a { word-break: break-word; }
.legal .note {
  background: #fff7e6; border-left: 4px solid var(--amber);
  padding: 14px 18px; border-radius: 10px; margin: 16px 0; font-size: .93rem; color: var(--ink);
}
.legal address { font-style: normal; }

/* ---------- Footer ---------- */
.footer { background: var(--pine-dark); color: rgba(255,255,255,.8); padding: 64px 0 28px; }
.footer h4 { color: #fff; margin-bottom: 18px; font-size: 1.3rem; }
.footer a { color: rgba(255,255,255,.8); }
.footer a:hover { color: var(--amber); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .brand-name { font-family: var(--serif); font-size: 1.8rem; color: #fff; margin-bottom: 8px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 44px; padding-top: 22px; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: rgba(255,255,255,.6); }
.footer-bottom a { font-size: .85rem; }

/* utility */
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .order-media { order: -1; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px;
    background: var(--pine); padding: 40px 34px; transform: translateX(100%); transition: transform .35s; box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a, .nav.scrolled .nav-links a { color: #fff; font-size: 1.1rem; width: 100%; }
  .nav-toggle { display: block; z-index: 101; }
  .nav.scrolled .nav-toggle span { background: var(--pine); }
  .nav-links.open ~ .nav-toggle span { background: #fff; }
  section.block { padding: 60px 0; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
