/* Pension Anötzlehen */

:root {
  --cream:  #f6f1e6;
  --paper:  #faf6ec;
  --linen:  #ece2cd;
  --ink:    #1f1a14;
  --soot:   #3a3127;
  --muted:  #7a6d5b;
  --rule:   #d9cdb3;
  --accent: #2f4a2a;
  --accent-deep: #1f3320;

  --serif:   "Cormorant Garamond", Georgia, serif;
  --display: "Playfair Display", Georgia, serif;
  --sans:    "Inter", system-ui, sans-serif;
}

[data-season="winter"] {
  --accent: #1f3d6b;
  --accent-deep: #142a4d;
  --linen: #e6e6d8;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; min-width: 0; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ── Typography ── */
h1 { font-family: var(--display); font-weight: 500; font-size: clamp(44px, 7vw, 88px); line-height: 1; letter-spacing: -0.01em; }
h2 { font-family: var(--display); font-weight: 500; font-size: clamp(32px, 4.5vw, 54px); line-height: 1.05; letter-spacing: -0.01em; }
h3 { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.5vw, 30px); line-height: 1.15; }
h4 { font-family: var(--display); font-weight: 500; font-size: 22px; }
p  { max-width: 65ch; }

.serif { font-family: var(--serif); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--muted); }
.eyebrow.center::after { content: ""; width: 24px; height: 1px; background: var(--muted); }
.eyebrow.light { color: #e8dec5; }
.eyebrow.light::before, .eyebrow.light::after { background: #cdbf9a; }

/* ── Seasonal visibility ── */
[data-season="winter"] .sommer-only { display: none !important; }
[data-season="sommer"] .winter-only { display: none !important; }

/* ── Layout helpers ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 80px); }
section { padding: 80px clamp(20px, 5vw, 80px); }
section.tight { padding-top: 40px; padding-bottom: 40px; }
section.dark { background: var(--accent-deep); color: var(--cream); }
section.linen { background: var(--linen); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.two-col.top { align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.four-col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  font-family: var(--sans); transition: opacity 0.2s, transform 0.2s, background-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn:hover { opacity: 0.85; }
.btn-primary { background: var(--accent); color: var(--cream); }
.btn-primary:hover { background: var(--accent-deep); opacity: 1; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.btn-outline  { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); opacity: 1; }
.btn-ghost    { background: transparent; color: var(--cream); border: 1px solid rgba(246,241,230,.5); }
.btn-ghost:hover { background: rgba(246,241,230,.12); opacity: 1; }
.btn-cream    { background: var(--cream); color: var(--ink); }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(250,246,236,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.nav--raised { box-shadow: 0 4px 28px rgba(31,26,20,.07); border-bottom-color: transparent; }
.brand { display: flex; align-items: center; gap: 14px; }
.brandmark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: var(--cream);
  display: grid; place-items: center;
  font-family: var(--display); font-size: 20px;
}
.brandname { font-family: var(--display); font-size: 18px; letter-spacing: 0.02em; }
.brandsub  { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 1px; }

.nav-links { list-style: none; display: flex; gap: 6px; }
.nav-links a {
  padding: 8px 14px; font-size: 13px; color: var(--muted);
  transition: color 0.15s; border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.nav-right { display: flex; align-items: center; gap: 16px; }

.cta { background: var(--accent); color: var(--cream); padding: 10px 20px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; transition: background-color 0.2s, transform 0.15s; }
.cta:hover { background: var(--accent-deep); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; padding: 4px; }
.hamburger span { width: 22px; height: 1.5px; background: var(--ink); display: block; transition: 0.2s; }

.mobile-menu {
  display: none; flex-direction: column; gap: 0;
  background: var(--paper); border-bottom: 1px solid var(--rule);
  position: sticky; top: 69px; z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 16px clamp(20px, 5vw, 56px); font-size: 15px; border-top: 1px solid var(--rule); }
.mobile-menu .cta { margin: 16px clamp(20px, 5vw, 56px); text-align: center; }

/* ── Hero ── */
.hero {
  position: relative; height: clamp(520px, 80vh, 760px); overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-image: url("Images/Anoetzlehen_view_watzmann.jpg");
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 45%, rgba(20,15,10,.38) 100%),
    linear-gradient(180deg, rgba(31,26,20,.08) 0%, rgba(31,26,20,.65) 100%);
}
.hero-sign {
  position: absolute; top: -58px; right: clamp(24px, 6vw, 80px);
  width: clamp(180px, 22vw, 300px); transform-origin: top center;
  transform-style: preserve-3d;
  z-index: 99;
  animation: swing 5s ease-in-out infinite;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,.5));
}
@keyframes swing {
  0%, 100% { transform: perspective(500px) rotateZ(-5deg) rotateY(-14deg); }
  50%       { transform: perspective(500px) rotateZ(5deg)  rotateY(14deg);  }
}

/* ── Hero slider ── */
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  will-change: transform, opacity;
}
.hero-slide.active { opacity: 1; }

@keyframes kb-zoom-in  { from { transform: scale(1)    translate(0, 0);      } to { transform: scale(1.12) translate(-1.5%, -1%); } }
@keyframes kb-zoom-out { from { transform: scale(1.12) translate(1%, 1.5%);  } to { transform: scale(1)    translate(-1%, 0);     } }
@keyframes kb-pan-l    { from { transform: scale(1.08) translate(2%, 0.5%); } to { transform: scale(1.1)  translate(-2%, -1%);   } }
@keyframes kb-pan-r    { from { transform: scale(1.08) translate(-2%, 0);   } to { transform: scale(1.1)  translate(2%, 1%);     } }

.hero-slide:nth-child(1).active { animation: kb-zoom-in  8s ease-out forwards; }
.hero-slide:nth-child(2).active { animation: kb-zoom-out 8s ease-out forwards; }
.hero-slide:nth-child(3).active { animation: kb-pan-l    8s ease-out forwards; }
.hero-slide:nth-child(4).active { animation: kb-pan-r    8s ease-out forwards; }
.hero-content {
  position: relative; padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 80px);
  color: var(--cream); max-width: 820px;
}
.hero-content .eyebrow { margin-bottom: 20px; }
.hero-content h1 { color: var(--cream); }
.hero-content p { font-family: var(--serif); font-style: italic; font-size: clamp(16px, 2vw, 20px); margin-top: 18px; opacity: 0.92; max-width: 560px; }
.hero-content .hero-sig { font-size: 14px; margin-top: 12px; opacity: 0.8; }
.hero-btns { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* ── Intro ── */
.intro { max-width: 860px; margin: 0 auto; text-align: center; }
.intro h2 { margin-top: 20px; }
.intro .lead { font-family: var(--serif); font-size: clamp(18px, 2.2vw, 22px); line-height: 1.6; color: var(--soot); margin: 24px auto 0; }
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--muted); margin: 32px 0; }
.divider span { width: 60px; height: 1px; background: currentColor; opacity: .5; }
.divider-sign { font-family: var(--serif); font-style: italic; font-size: 18px; }

/* ── Feature cards ── */
.card {
  background: var(--paper); border: 1px solid var(--rule);
  overflow: hidden;
}
.card-img { height: 220px; background-size: cover; background-position: center; }
.card-body { padding: 24px 22px 28px; }
.card-body .eyebrow { margin-bottom: 12px; }
.card-body h3 { margin-top: 0; }
.card-body p  { font-size: 14px; color: var(--soot); margin-top: 10px; }
.card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(31,26,20,.10); }
.card-link { display: inline-block; margin-top: 16px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 2px; transition: color 0.15s, border-color 0.15s; }
.card-link:hover { color: var(--accent-deep); border-color: var(--accent-deep); }

/* ── Stats ── */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--rule); padding-top: 24px; margin-top: 28px; }
.stat-num { font-family: var(--display); font-size: 42px; }
.stat-label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }

/* ── Rooms ── */
.room-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.room-card { border: 1px solid var(--rule); overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.room-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(31,26,20,.09); }
.room-img  { height: 300px; background-size: cover; background-position: center; position: relative; }
.room-badge {
  position: absolute; padding: 6px 12px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}
.room-badge.view  { top: 16px; left: 16px; background: var(--paper); }
.room-badge.price { top: 16px; right: 16px; background: var(--accent); color: var(--cream); }
.room-body { padding: 28px 26px 30px; }
.room-body .eyebrow { margin-bottom: 8px; }
.room-meta { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--soot); margin-top: 10px; }
.room-features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.room-features li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--soot); }
.room-features li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.room-actions { display: flex; gap: 12px; margin-top: 22px; }

/* ── Includes ── */
.includes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.include-item { border-top: 1px solid var(--rule); padding: 20px 0; }
.include-item + .include-item { margin-top: 0; }
.includes-grid .include-item:nth-child(n+4) { border-top: 1px solid var(--rule); }
.include-item h4 { font-size: 20px; }
.include-item p  { font-size: 13px; color: var(--soot); margin-top: 6px; }

/* ── Kitchen ── */
.kueche-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.kueche-text {
  background: var(--linen); padding: clamp(48px, 8vw, 100px) clamp(20px, 5vw, 80px);
  display: flex; flex-direction: column; justify-content: center;
}
.kueche-img { background-size: cover; background-position: center; background-image: url("Images/Anoetzlehen_common-room.jpg"); min-height: 400px; }

.menu-table { width: 100%; }
.menu-row { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid rgba(246,241,230,.12); }
.menu-day { font-family: var(--display); font-size: 22px; }
.menu-food { font-family: var(--serif); font-size: 16px; line-height: 1.55; opacity: 0.92; }

/* ── Erleben ── */
.erleben-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(260px, auto); gap: 24px;
}
.erleben-card {
  position: relative; overflow: hidden;
  background-size: cover; background-position: center;
}
.erleben-card.featured { grid-column: span 7; min-height: 500px; }
.erleben-card.half     { grid-column: span 5; min-height: 260px; }
.erleben-card.third    { grid-column: span 4; min-height: 300px; }
.erleben-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,26,20,.05) 30%, rgba(31,26,20,.7) 100%);
}
.erleben-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: var(--cream); }
.erleben-content h3 { font-size: clamp(22px, 3vw, 38px); color: var(--cream); }
.erleben-content p  { font-family: var(--serif); font-style: italic; font-size: 15px; opacity: 0.9; margin-top: 6px; max-width: 100%; }
.erleben-link {
  display: inline-flex; align-items: center;
  margin-top: 14px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream); opacity: 0.75; border-bottom: 1px solid rgba(246,241,230,.35);
  padding-bottom: 2px; transition: opacity 0.15s;
}
.erleben-link:hover { opacity: 1; }

/* ── TOMAS Booking Widget ── */
[data-season="sommer"] #twebshop {
  --tw-button-color: #2f4a2a;
  --tw-button-text-color: #f6f1e6;
  --tw-button-price-color: #2e6a1a;
  --tw-button-price-text-color: #fff;
  --tw-box-color: #2f4a2a;
  --tw-box-text-color: #f6f1e6;
  --tw-booking-color: #ece2cd;
  --tw-booking-text-color: #1f1a14;
}
[data-season="winter"] #twebshop {
  --tw-button-color: #1f3d6b;
  --tw-button-text-color: #f6f1e6;
  --tw-button-price-color: #1a5c2e;
  --tw-button-price-text-color: #fff;
  --tw-box-color: #1f3d6b;
  --tw-box-text-color: #f6f1e6;
  --tw-booking-color: #e6e6d8;
  --tw-booking-text-color: #1f1a14;
}

.booking-widget-wrap { max-width: 1100px; margin: 0 auto; }

/* ── Contact strip (below widget) ── */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 64px auto 0;
  padding-top: 48px;
  border-top: 1px solid var(--rule);
}
.contact-item label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px; }
.contact-item strong { font-family: var(--display); font-size: 24px; font-weight: 400; display: block; }
.contact-item small  { font-size: 13px; color: var(--soot); margin-top: 2px; display: block; }

/* ── Footer ── */
.footer { background: var(--ink); color: var(--cream); padding: 60px clamp(20px, 5vw, 80px) 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(246,241,230,.12); }
.footer h4 { font-family: var(--display); font-size: 18px; font-weight: 400; margin-bottom: 14px; }
.footer-col-head { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(246,241,230,.5); margin-bottom: 14px; }
.footer a { display: block; font-size: 13px; color: rgba(246,241,230,.7); margin-bottom: 10px; transition: color 0.15s; }
.footer a:hover { color: var(--cream); }
.footer-desc { font-size: 13px; color: rgba(246,241,230,.6); line-height: 1.7; margin-bottom: 16px; }
.footer-address { font-family: var(--serif); font-style: italic; font-size: 13px; color: rgba(246,241,230,.6); line-height: 1.7; }
.footer-legal { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 12px; color: rgba(246,241,230,.4); }

/* ── Blockquote ── */
blockquote { font-family: var(--display); font-style: italic; font-size: clamp(24px, 3.5vw, 38px); line-height: 1.3; max-width: 860px; margin: 24px auto; }
.quote-attr { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }

/* ── CTA Band ── */
.cta-band { background: var(--accent-deep); color: var(--cream); text-align: center; padding: 80px clamp(20px, 5vw, 80px); }
.cta-band h2 { color: var(--cream); max-width: 640px; margin: 20px auto 0; }
.cta-band p  { font-family: var(--serif); font-style: italic; font-size: 18px; opacity: 0.9; margin: 18px auto 0; max-width: 560px; }
.cta-band .btn { margin-top: 32px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; }
  .two-col, .room-grid, .kueche-hero { grid-template-columns: 1fr; }
  .two-col { gap: 32px; }
  .three-col { grid-template-columns: 1fr 1fr; }
  .four-col  { grid-template-columns: 1fr 1fr; }
  .erleben-card.featured, .erleben-card.half, .erleben-card.third { grid-column: span 12; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .includes-grid { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .contact-strip { grid-template-columns: 1fr 1fr; }
  .hero { height: clamp(420px, 65vh, 620px); }
  .hero-content { padding: clamp(24px, 6vw, 36px); max-width: 100%; }
  .hero-sign { width: clamp(140px, 28vw, 240px); top: 16px; right: clamp(14px, 6vw, 24px); }
}
@media (max-width: 600px) {
  section { padding-top: 56px; padding-bottom: 56px; }
  .three-col, .four-col, .room-grid, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .includes-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-btns { flex-direction: column; }
  .contact-strip { grid-template-columns: 1fr; }
  .room-features { grid-template-columns: 1fr; }
  .hero-sign { display: none; }
}
