/* ==========================================================================
   Hotel Gasthaus Krone, Immenstaad — Demo-Gestaltungsvorschlag
   Charakter: Sommerfrische am See — hell, luftig, gastfreundlich,
              ruhige Tradition (seit 1907)
   Farbwelt: Sand-Beige #F3EFE2 · Oliv-Gold #8F8440 · Kastanienbraun #5E3A22 ·
             helles Olivgrau #E8E6D4 · See-Blau #7FA8B8 (sparsam)
   Schriften: Lora (Headlines) + Albert Sans (Text), lokal gehostet
   ========================================================================== */

/* ---------- Schriften (lokal, DSGVO-konform) ---------- */
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Albert Sans";
  src: url("../fonts/albert-sans.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Albert Sans";
  src: url("../fonts/albert-sans-italic.woff2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

/* ---------- Designsystem ---------- */
:root {
  --sand: #f3efe2;          /* warmes Sand-Beige — Grundton */
  --sand-bright: #faf8ef;   /* aufgehellte Flächen (Header, Karten) */
  --pale: #e8e6d4;          /* helles Olivgrau — abgesetzte Flächen */
  --olive: #8f8440;         /* Oliv-Gold — Primärakzent */
  --olive-deep: #6e6531;    /* Hover / dunklere Akzente */
  --chestnut: #5e3a22;      /* Kastanienbraun — Headlines, Footer */
  --lake: #7fa8b8;          /* See-Blau — Wellen & Links, sparsam */
  --lake-deep: #4f7a8c;     /* See-Blau dunkler (Textlinks) */
  --ink: #3b332b;           /* warmes Dunkelbraun-Grau — Fließtext */
  --ink-soft: #5c5347;      /* abgesetzter Fließtext */
  --line: #ddd6bf;          /* Trennlinien auf hellem Grund */

  --font-display: "Lora", Georgia, serif;
  --font-body: "Albert Sans", "Segoe UI", sans-serif;

  --container: 1140px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 10px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset & Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--sand);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--lake-deep); text-decoration: none; }
a:hover { color: var(--olive-deep); }

::selection { background: var(--olive); color: var(--sand-bright); }

:focus-visible {
  outline: 3px solid var(--lake);
  outline-offset: 2px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- Typografie ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--chestnut);
  text-wrap: balance;
  /* lange Komposita: nur an gesetzten &shy;-Stellen trennen */
  hyphens: manual;
}

h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3.8vw, 2.5rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.4rem); }

p { max-width: 66ch; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 1.9rem;
  height: 2px;
  background: var(--olive);
}

.lead {
  font-size: clamp(1.08rem, 1.7vw, 1.22rem);
  line-height: 1.65;
}

em, .accent-i { font-style: italic; }

/* ---------- Demo-Hinweisleiste ---------- */
.demo-bar {
  background: var(--chestnut);
  color: #f2e9df;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0.5rem var(--pad);
  border-bottom: 3px solid var(--olive);
}
.demo-bar strong { font-weight: 600; color: #d8cf9d; }

/* ---------- Header & Navigation ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--sand-bright);
  border-bottom: 1px solid var(--line);
}

.site-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.8rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--chestnut);
}
.brand:hover { color: var(--chestnut); }
.brand__mark { width: 44px; height: 40px; flex: none; color: var(--olive); }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.brand__name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2rem);
}
.nav a {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  padding-block: 0.3rem;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav a:hover { color: var(--chestnut); }
.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav a[aria-current="page"] { color: var(--olive-deep); }

.nav__cta {
  background: var(--olive);
  color: var(--sand-bright) !important;
  padding: 0.55rem 1.15rem !important;
  border-radius: 999px;
  transition: background 0.25s var(--ease);
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--chestnut); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--chestnut);
  margin-block: 6px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--sand-bright);
    border-bottom: 3px solid var(--olive);
    padding: 0.5rem var(--pad) 1.5rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding-block: 0.8rem; font-size: 1rem; }
  .nav__cta { margin-top: 0.8rem; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 1.9rem;
  border: 2px solid var(--chestnut);
  border-radius: 999px;
  color: var(--chestnut);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { background: var(--chestnut); color: var(--sand); transform: translateY(-2px); }

.btn--solid {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--sand-bright);
}
.btn--solid:hover { background: var(--olive-deep); border-color: var(--olive-deep); color: var(--sand-bright); }

.btn--light { border-color: var(--sand); color: var(--sand); }
.btn--light:hover { background: var(--sand); color: var(--chestnut); }

/* ---------- Badge „seit 1907" ---------- */
.badge-1907 {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--chestnut);
  border: 1px solid var(--olive);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  background: var(--sand-bright);
}
.badge-1907 svg { width: 18px; height: 16px; color: var(--olive); flex: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--sand-bright) 0%, var(--sand) 100%);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(3.8rem, 9vw, 7rem) clamp(3.2rem, 8vw, 6rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero .badge-1907 { margin-bottom: 1.4rem; }
.hero h1 { margin-bottom: 1.4rem; }
.hero .lead { margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Emblem-Fläche rechts: Krone im Sonnenkreis über Wellen */
.hero__art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 380px;
  width: 100%;
  margin-inline: auto;
}
.hero__art::before {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: var(--pale);
  border: 1px solid var(--line);
}
.hero__art::after {
  content: "";
  position: absolute;
  inset: -2%;
  border-radius: 50%;
  border: 1px dashed var(--olive);
  opacity: 0.5;
}
.hero__emblem {
  position: relative;
  width: 46%;
  color: var(--olive);
  z-index: 1;
}
.hero__waves {
  position: absolute;
  bottom: 22%;
  width: 56%;
  color: var(--lake);
  z-index: 1;
}

/* Subtile Wellen am unteren Hero-Rand */
.hero__shore {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.9rem;
  width: 100%;
  color: var(--lake);
  opacity: 0.35;
  pointer-events: none;
}

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 280px; }
}

/* ---------- Wellen-Trenner (100 m zum See) ---------- */
.wave-sep {
  display: flex;
  justify-content: center;
  padding-block: clamp(0.4rem, 1.4vw, 1rem);
  color: var(--lake);
}
.wave-sep svg { width: min(220px, 40vw); height: 16px; }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(3.2rem, 8vw, 6rem); }

.section--pale { background: var(--pale); }
.section--bright {
  background: var(--sand-bright);
  border-block: 1px solid var(--line);
}

.section__head { max-width: 720px; margin-bottom: clamp(1.8rem, 5vw, 3rem); }
.section__head p { margin-top: 0.9rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow::before { display: none; }
.section__head--center p { margin-inline: auto; }

/* ---------- Karten (Haus-Block, Teaser) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.1rem, 2.5vw, 1.8rem);
}
.card {
  background: var(--sand-bright);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.card__icon { width: 38px; height: 38px; color: var(--lake-deep); flex: none; }
.card h3 { color: var(--chestnut); }
.card p { font-size: 0.97rem; }

.section--pale .card { background: var(--sand-bright); }

/* Teaser-Reihen (Zimmer / Restaurant auf der Startseite) */
.teaser {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(1.8rem, 5vw, 4.5rem);
  align-items: center;
}
.teaser--flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.teaser__art {
  background: var(--sand-bright);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 3rem);
  display: grid;
  place-items: center;
  gap: 1.1rem;
}
.teaser__art svg { width: clamp(70px, 9vw, 110px); color: var(--olive); }
.teaser__art .art-caption {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
}
.teaser h2 { margin-bottom: 1rem; }
.teaser p + p { margin-top: 0.8rem; }
.teaser .btn { margin-top: 1.6rem; }

.fact-list {
  list-style: none;
  margin-top: 1.2rem;
}
.fact-list li {
  padding: 0.4rem 0 0.4rem 1.8rem;
  position: relative;
  color: var(--ink-soft);
}
.fact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 1.05rem;
  height: 0.5rem;
  border-bottom: 2px solid var(--lake);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

@media (max-width: 820px) {
  .teaser, .teaser--flip { grid-template-columns: 1fr; }
  .teaser__art { max-width: 420px; }
  .teaser--flip .teaser__art { order: -1; }
}

/* ---------- Zimmer-Seite ---------- */
.rooms { display: grid; gap: 1rem; }
.room {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  background: var(--sand-bright);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 2rem);
}
.room h3 { margin-bottom: 0.3rem; }
.room__meta {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
}
.room p { font-size: 0.98rem; }

@media (max-width: 760px) {
  .room { grid-template-columns: 1fr; gap: 0.6rem; }
}

/* Preis-/Hinweiskästen */
.info-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1.1rem, 2.5vw, 1.8rem);
  margin-top: clamp(2rem, 5vw, 3rem);
}
.info-card {
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.info-card h3 { margin-bottom: 0.5rem; font-size: 1.12rem; }
.info-card p { font-size: 0.95rem; }
.info-card .price {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 600;
  color: var(--olive-deep);
  display: block;
  line-height: 1.2;
  margin-block: 0.3rem 0.4rem;
}
.section--pale .info-card { background: var(--sand-bright); }

.stand-note {
  font-size: 0.84rem;
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------- Restaurant-Seite ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.1rem, 2.5vw, 1.8rem);
}
.menu-block {
  background: var(--sand-bright);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.menu-block h3 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}
.menu-block h3 svg { width: 26px; height: 26px; color: var(--lake-deep); flex: none; }
.menu-block ul { list-style: none; }
.menu-block li {
  padding-block: 0.45rem;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
  font-size: 0.98rem;
}
.menu-block li:last-child { border-bottom: none; }
.menu-block li strong { color: var(--chestnut); font-weight: 600; }

/* Öffnungszeiten-Tabelle */
.hours {
  width: 100%;
  max-width: 560px;
  border-collapse: collapse;
  margin-top: 1.2rem;
}
.hours th, .hours td {
  text-align: left;
  padding: 0.65rem 0.4rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.hours th {
  font-weight: 600;
  color: var(--chestnut);
  white-space: nowrap;
  padding-right: 1.4rem;
}
.hours td { color: var(--ink-soft); }

/* ---------- CTA-Band ---------- */
.cta-band {
  background: var(--olive);
  color: var(--sand-bright);
  text-align: center;
  padding-block: clamp(3.2rem, 8vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.cta-band__crown {
  position: absolute;
  width: clamp(180px, 24vw, 320px);
  color: rgba(255, 255, 255, 0.12);
  top: 50%;
  right: -3%;
  transform: translateY(-50%) rotate(-8deg);
}
.cta-band h2 { color: var(--sand-bright); margin-bottom: 0.9rem; position: relative; }
.cta-band p {
  margin-inline: auto;
  margin-bottom: 1.6rem;
  color: rgba(250, 248, 239, 0.88);
  position: relative;
}
.cta-band .tel {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  font-weight: 600;
  color: var(--sand-bright);
  margin-bottom: 1.7rem;
  position: relative;
}
.cta-band .tel:hover { color: var(--chestnut); }
.cta-band .stand-note { color: rgba(250, 248, 239, 0.75); position: relative; }

/* ---------- Kontaktseite ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.1rem, 2.5vw, 1.8rem);
}
.contact-cell {
  background: var(--sand-bright);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.contact-cell h3 { margin-bottom: 0.7rem; }
.contact-cell .big {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 600;
  color: var(--olive-deep);
  display: inline-block;
}
.contact-cell .big:hover { color: var(--chestnut); }
.contact-cell address { font-style: normal; color: var(--ink-soft); }
.contact-cell p { font-size: 0.97rem; }
.contact-cell .ext {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lake-deep);
}
.contact-cell .ext:hover { color: var(--olive-deep); }

/* ---------- Rechtsseiten ---------- */
.legal { max-width: 780px; }
.legal h1 { margin-bottom: 2rem; }
.legal h2 {
  font-size: 1.3rem;
  margin: 2.2rem 0 0.8rem;
}
.legal p, .legal address { margin-bottom: 1rem; font-style: normal; color: var(--ink-soft); }

.demo-note {
  background: var(--sand-bright);
  border: 2px solid var(--olive);
  border-radius: var(--radius);
  padding: 1.4rem 1.8rem;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.demo-note strong { color: var(--olive-deep); }

.placeholder {
  background: #f0ead2;
  border: 1px dashed var(--olive);
  border-radius: 4px;
  padding: 0.1rem 0.5rem;
  font-size: 0.9em;
  color: var(--olive-deep);
  white-space: nowrap;
}

/* ---------- Footer ---------- */
.site-foot {
  background: var(--chestnut);
  color: rgba(243, 239, 226, 0.8);
  padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  font-size: 0.93rem;
  border-top: 4px solid var(--olive);
}
.site-foot a { color: var(--sand); }
.site-foot a:hover { color: #d8cf9d; }
.foot-emblem {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  color: #d8cf9d;
}
.foot-emblem svg { width: 30px; height: 27px; }
.foot-emblem span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(243, 239, 226, 0.18);
}
.foot-grid h3 {
  color: var(--sand);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.foot-grid ul { list-style: none; }
.foot-grid li { padding-block: 0.25rem; }
.foot-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(243, 239, 226, 0.55);
}

/* ---------- Einblend-Animationen ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .reveal.is-visible { opacity: 1; transform: none; }
  .reveal[data-delay="1"] { transition-delay: 0.1s; }
  .reveal[data-delay="2"] { transition-delay: 0.2s; }
  .reveal[data-delay="3"] { transition-delay: 0.3s; }
}
