/* =========================================================
   Hotel Allgäublick — Design System
   Tannengrün, Salbei, warmer Stein, gedecktes Lehmbraun
   Signatur: Alpine Bogen-Rahmen (Bergbogen)
   Display: Fraunces · Body: Work Sans
   ========================================================= */

:root {
  --h-forest: #2F3E36;
  --h-forest-2: #3B4C40;
  --h-sage: #8A9A8B;
  --h-clay: #815F43;
  --h-clay-light: #C2A389;
  --h-stone: #EEEDE4;
  --h-surface: #FBFAF6;
  --h-text: #262B25;
  --h-muted: #5C6660;
  --h-border: #DDD8CB;

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Work Sans', 'Karla', sans-serif;

  --radius-arch: 200px 200px 12px 12px;
  --radius-md: 10px;
  --shadow-sm: 0 3px 14px rgba(47,62,54,0.1);
  --shadow-md: 0 18px 44px rgba(47,62,54,0.18);
  --container-w: 1180px;
  --space-section: clamp(64px, 9vw, 128px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body { margin: 0; background: var(--h-stone); color: var(--h-text); font-family: var(--font-body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--h-forest);
  line-height: 1.16;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 500; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 600; }

p { margin: 0 0 1em; }
.lede { font-size: 1.15rem; color: var(--h-muted); }
a { color: var(--h-forest); }
:focus-visible { outline: 3px solid var(--h-clay); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }
section { padding: var(--space-section) 0; }
.section-tight { padding: calc(var(--space-section) * 0.5) 0; }
.section-alt { background: var(--h-surface); }
.section-dark { background: var(--h-forest); color: rgba(255,255,255,0.86); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow, .section-dark .fi-icon { color: var(--h-clay-light); }

.eyebrow { display: inline-block; font-family: var(--font-body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--h-clay); margin-bottom: 0.9em; }
.section-head { max-width: 620px; margin-bottom: 2.8rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--font-body); font-weight: 600; font-size: 0.96rem; padding: 0.9em 1.7em; border-radius: 3px; border: 1.5px solid transparent; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease; text-decoration: none; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--h-forest); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #23302A; box-shadow: var(--shadow-md); }
.btn-clay { background: var(--h-clay); color: #fff; }
.btn-clay:hover { background: #9c765a; }
.btn-ghost { background: transparent; border-color: var(--h-forest); color: var(--h-forest); }
.btn-ghost:hover { background: var(--h-forest); color: #fff; }
.btn-on-dark { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-on-dark:hover { background: #fff; color: var(--h-forest); }
.btn-block { width: 100%; justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251,250,246,0.92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--h-border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 0.7em; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--h-forest); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand-sub { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.62rem; color: var(--h-muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2px; }

.nav-primary { display: flex; align-items: center; gap: 2.2rem; }
.nav-primary ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.nav-primary a { color: var(--h-text); font-family: var(--font-body); font-weight: 500; font-size: 0.95rem; }
.nav-primary a:hover { color: var(--h-forest); text-decoration: none; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--h-forest); transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-primary { position: fixed; top: 84px; left: 0; right: 0; height: calc(100vh - 84px); background: var(--h-stone); flex-direction: column; align-items: flex-start; padding: 2rem 24px; transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto; }
  .nav-primary.is-open { transform: translateX(0); }
  .nav-primary ul { flex-direction: column; gap: 1.3rem; width: 100%; }
  .nav-primary .btn { width: 100%; margin-top: 1.5rem; }
}

/* Hero with alpine arch */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 88px) 0 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 0.95fr; gap: 3rem; align-items: center; }
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid .arch-frame { aspect-ratio: 16/10; max-width: 520px; margin: 0 auto; }
}
.hero h1 { margin-bottom: 0.4em; }
.hero .lede { max-width: 48ch; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

.arch-frame {
  width: 100%;
  border-radius: var(--radius-arch);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 3/4;
}
.arch-frame svg, .arch-frame img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* Zahlen-Leiste */
.fact-strip { display: flex; flex-wrap: wrap; gap: 2.4rem; padding: 2.6rem 0; }
.fact-strip div { font-family: var(--font-display); }
.fact-strip strong { display: block; font-size: 1.5rem; color: var(--h-clay); font-weight: 600; }
.fact-strip span { font-size: 0.82rem; color: var(--h-muted); font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.05em; }

/* Zimmer */
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem; }
@media (max-width: 940px) { .room-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .room-grid { grid-template-columns: 1fr; } }

.room-card { text-align: center; }
.room-card .arch-frame { aspect-ratio: 4/5; margin-bottom: 1.5rem; }
.room-card h3 { margin-bottom: 0.3em; }
.room-meta { font-size: 0.85rem; color: var(--h-clay); font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 0.7em; }
.room-card p { color: var(--h-muted); font-size: 0.96rem; }

/* Ausstattung list */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 2.4rem; }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-item { display: flex; gap: 1rem; align-items: flex-start; }
.feature-item .fi-icon { width: 26px; height: 26px; flex-shrink: 0; color: var(--h-clay); margin-top: 2px; }
.feature-item h3 { font-size: 1.05rem; margin-bottom: 0.25em; }
.feature-item p { color: rgba(255,255,255,0.72); font-size: 0.93rem; margin-bottom: 0; }
.section-dark .feature-item p { color: rgba(255,255,255,0.72); }

/* Umgebung tags */
.activity-list { display: flex; flex-wrap: wrap; gap: 0.8rem; list-style: none; padding: 0; margin: 1.8rem 0 0; }
.activity-list li { background: var(--h-surface); border: 1px solid var(--h-border); border-radius: 24px; padding: 0.6em 1.2em; font-size: 0.92rem; color: var(--h-forest); font-weight: 500; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-detail { display: flex; align-items: flex-start; gap: 0.9rem; margin-bottom: 1.3rem; }
.contact-detail .ic { width: 22px; height: 22px; color: var(--h-clay); flex-shrink: 0; margin-top: 2px; }
.contact-detail a, .contact-detail span { font-weight: 600; color: var(--h-forest); }
.map-embed { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--h-border); margin-top: 1.5rem; }
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; filter: grayscale(35%) sepia(8%) contrast(1.03); }
.map-embed { position: relative; min-height: 260px; }
.map-embed-trigger { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35em; background: var(--h-stone); border: 0; cursor: pointer; font-family: var(--font-display); color: var(--h-forest); text-align: center; padding: 1em; transition: background 0.2s ease; }
.map-embed-trigger:hover { background: var(--h-clay-light); }
.map-embed-trigger-label { font-size: 1.05rem; font-weight: 600; }
.map-embed-trigger-label::before { content: "📍 "; }
.map-embed-trigger-note { font-size: 0.78rem; font-weight: 500; color: var(--h-muted); font-family: var(--font-body); }

form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--h-forest); margin-bottom: 0.4em; }
input, textarea, select { width: 100%; font-family: var(--font-body); font-size: 1rem; padding: 0.8em 1em; border: 1.5px solid var(--h-border); border-radius: 4px; background: var(--h-surface); color: var(--h-text); transition: border-color 0.2s ease; }
input:focus, textarea:focus, select:focus { border-color: var(--h-forest); outline: none; }
textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.85rem; color: var(--h-muted); }
.form-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { display: flex; }
.form-consent label { display: flex; align-items: flex-start; gap: 0.6em; font-family: var(--font-body); font-weight: 400; text-transform: none; cursor: pointer; }
.form-consent input[type="checkbox"] { margin-top: 0.2em; flex-shrink: 0; width: 1.15em; height: 1.15em; accent-color: var(--h-clay); }
.form-consent span { font-size: 0.86rem; color: var(--h-muted); }
.form-consent a { color: inherit; }
.form-consent.has-error span { color: #B3261E; }
.form-success { display: none; background: #E4E9E1; color: var(--h-forest); border-radius: 4px; padding: 1em 1.2em; font-weight: 600; }
.form-success.is-visible { display: block; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--h-border); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: none; border: none; text-align: left; padding: 1.4rem 0.2rem; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--h-forest); cursor: pointer; }
.faq-question .icon { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-question .icon::before, .faq-question .icon::after { content: ""; position: absolute; background: var(--h-clay); transition: transform 0.25s ease; }
.faq-question .icon::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-question .icon::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.faq-question[aria-expanded="true"] .icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { color: var(--h-muted); padding-bottom: 1.4rem; margin: 0; max-width: 65ch; }
.faq-item.is-open .faq-answer { max-height: 400px; }

.reviews-widget { border: 1px solid var(--h-border); border-radius: var(--radius-md); padding: 2rem; text-align: center; background: var(--h-surface); color: var(--h-muted); }

/* Footer */
.site-footer { background: var(--h-forest); color: rgba(255,255,255,0.75); padding: 3.8rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; padding-bottom: 2.6rem; border-bottom: 1px solid rgba(255,255,255,0.14); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-grid h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; font-family: var(--font-body); font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.footer-grid a { color: rgba(255,255,255,0.75); }
.footer-grid a:hover { color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.6); max-width: 36ch; font-size: 0.9rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; font-size: 0.84rem; }
.footer-legal { display: flex; gap: 1.3rem; list-style: none; margin: 0; padding: 0; }
.footer-legal a { color: rgba(255,255,255,0.55); }
.back-to-ad { display: inline-flex; align-items: center; gap: 0.4em; font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 1.4rem; }
.back-to-ad:hover { color: rgba(255,255,255,0.75); }
.legal-back-link { font-size: 0.76rem; color: rgba(255,255,255,0.4); margin-top: 0.5rem; font-family: var(--font-body); }
.legal-back-link a { color: rgba(255,255,255,0.55); text-decoration: underline; }
.legal-back-link a:hover { color: rgba(255,255,255,0.85); }

.page-hero { padding: clamp(56px, 7vw, 84px) 0 clamp(36px, 5vw, 56px); }
.breadcrumb { font-size: 0.84rem; color: var(--h-muted); margin-bottom: 1rem; }

.legal-text { max-width: 70ch; }
.legal-text h2 { margin-top: 2em; }
.legal-placeholder-note { border-left: 3px solid var(--h-clay); background: var(--h-stone); border-radius: var(--radius-md); padding: 1.2em 1.4em; color: var(--h-muted); font-style: italic; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Rückweg zu Iller Digital */
.ad-bar { display: flex; align-items: center; justify-content: center; gap: 0.6em; background: #0F1B2D; color: rgba(255,255,255,0.88); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 0.82rem; padding: 0.6em 1em; text-decoration: none; }
.ad-bar:hover { background: #16263D; color: #fff; text-decoration: none; }
.ad-bar strong { color: #C9A227; font-weight: 600; }
.ad-bar svg, .ad-bar img { width: 16px; height: 16px; flex-shrink: 0; }

.text-center { text-align: center; }
.mt-lg { margin-top: 2.6rem; }

/* Skip-Link */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--h-forest); color: #fff; padding: 1em 1.5em; font-family: var(--font-body); font-weight: 600; border-radius: 0 0 var(--radius-md) 0; }
.skip-link:focus { left: 0; }
