/* Deutscher Hof – Design: ruhig, hell, modern. Keine externen Schriften, keine Cookies. */

:root {
  --forest: #1e3a2f;
  --forest-2: #2e5744;
  --moss: #6b8a5e;
  --cream: #f6f1e6;
  --paper: #fffdf8;
  --ink: #1c2420;
  --muted: #56625a;
  --cherry: #4F7942;   /* Fern Green (Akzentfarbe) */
  --cherry-d: #3F6235;
  --line: #e3dac6;
  --radius: 14px;
  --shadow: 0 14px 34px -16px rgba(30, 58, 47, .35);
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest-2); text-underline-offset: .18em; }
a:hover { color: var(--cherry-d); }
:focus-visible { outline: 3px solid var(--cherry); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.2; color: var(--forest); margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3, .h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
address { font-style: normal; }
ul.plain, ol.plain { list-style: none; padding: 0; margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.wrap { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--forest); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: .8rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; line-height: 1.2; text-align: center; cursor: pointer; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: #4F7942; color: #fff; }  /* Fern Green – alle Buttons zur Online-Buchung */
.btn--primary:hover { background: #3F6235; color: #fff; }
.cta-band .btn--primary { border-color: rgba(255,255,255,.6); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.08); backdrop-filter: blur(3px); }
.btn--ghost:hover { background: #fff; color: var(--forest); }
.btn--outline { color: var(--forest); border-color: var(--forest); }
.btn--outline:hover { background: var(--forest); color: #fff; }
.btn--sm { padding: .55rem 1.1rem; font-size: .95rem; }
.btn--block { display: block; width: 100%; }

/* ---------- Kopf ---------- */
.topbar { background: #4F7942; color: #fff; font-size: .875rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: .25rem 1rem; padding: .35rem 0; flex-wrap: wrap; }
.topbar__right { display: flex; align-items: center; gap: .25rem 1.25rem; flex-wrap: wrap; }
.lang { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.lang a { display: block; padding: .3rem .4rem; border-radius: 6px; line-height: 0; }
.lang img { width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.4); opacity: .78; transition: opacity .2s, transform .2s; }
.lang a:hover img { opacity: 1; transform: scale(1.1); }
.lang a[aria-current="true"] { background: rgba(255,255,255,.22); }
.lang a[aria-current="true"] img { opacity: 1; box-shadow: 0 0 0 2px #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 248, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-serif); font-size: 1.65rem; font-weight: 700; color: var(--forest); }
.brand__sub { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }
.brand:hover .brand__name { color: var(--cherry); }

.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; align-items: center; gap: .25rem; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; padding: .55rem .85rem; border-radius: 8px; display: block; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--cherry-d); }
.nav a:not(.btn):hover { background: var(--cream); }
.nav a[aria-current="page"] { background: var(--cream); font-weight: 600; }
.nav .btn { color: #fff; margin-left: .5rem; }
.nav .btn:hover { color: #fff; }
.has-sub { position: relative; }
.sub { display: none; position: absolute; left: 0; top: 100%; min-width: 13rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: .4rem; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.sub a { padding: .5rem .8rem; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 2.9rem; height: 2.9rem; cursor: pointer; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 50%; width: 1.3rem; height: 2px; background: var(--forest); transform: translateX(-50%); transition: transform .2s, opacity .2s; }
.nav-toggle__bars { top: 50%; margin-top: -1px; }
.nav-toggle__bars::before { top: -7px; left: 50%; }
.nav-toggle__bars::after { top: 7px; left: 50%; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateX(-50%) translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateX(-50%) translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: .5rem 1.25rem 1.25rem; max-height: calc(100vh - 7rem); overflow-y: auto; }
  .nav.is-open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .sub { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 .25rem 1rem; background: none; }
  .nav .btn { margin: .6rem 0 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; min-height: clamp(380px, 56vw, 560px); display: flex; align-items: flex-end; background: var(--forest); }
.hero__slides, .slide, .slide img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; }
.slide { opacity: 0; transition: opacity .9s ease; z-index: -2; }
.slide.is-active { opacity: 1; }
.slide img { object-fit: cover; }
.slide figcaption { position: absolute; right: 1.25rem; bottom: 4.6rem; max-width: 16rem; text-align: right; font-size: .8rem; line-height: 1.35; text-shadow: 0 1px 6px rgba(0,0,0,.7); opacity: .9; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,25,18,.3) 0%, rgba(10,25,18,.08) 38%, rgba(10,25,18,.78) 100%); }
.hero__slides { pointer-events: none; }
.hero__content { position: relative; z-index: 2; padding: 3rem 0 5rem; }
.hero h1 { color: #fff; margin-bottom: .15em; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero__sub { font-family: var(--font-serif); font-size: clamp(1.15rem, 2.4vw, 1.6rem); margin-bottom: 1.4rem; }
.hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero__controls { position: absolute; z-index: 3; left: 0; right: 0; bottom: 1rem; display: flex; align-items: center; justify-content: center; gap: .75rem; }
.hero__btn { width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: rgba(0,0,0,.25); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.hero__btn:hover { background: #fff; color: var(--forest); }
.hero__dots { display: flex; gap: .45rem; }
.hero__dots button { width: .7rem; height: .7rem; padding: 0; border-radius: 50%; border: 1px solid #fff; background: transparent; cursor: pointer; }
.hero__dots button[aria-current="true"] { background: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--cherry); margin-bottom: .6rem; }
.eyebrow--light { color: #f4d9a8; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
@media (max-width: 640px) { .slide figcaption { display: none; } .hero__content { padding-bottom: 4.5rem; } }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tint { background: var(--cream); }
.section--slim { padding: clamp(1.75rem, 4vw, 3rem) 0; }
.section__head { max-width: 46rem; margin-bottom: 2rem; }
.page-head { background: linear-gradient(180deg, var(--cream), var(--paper)); border-bottom: 1px solid var(--line); padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2.25rem); }
.page-head h1 { margin-bottom: .25em; }
.page-head__lead { font-family: var(--font-serif); font-size: 1.3rem; color: var(--muted); margin: 0; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--cherry); }

.prose { max-width: 42rem; }
.prose--wide { max-width: 52rem; }
.prose--legal { max-width: 52rem; font-size: 1rem; }
.prose--legal h2 { font-size: 1.35rem; margin-top: 2em; }
.prose--legal ol, .prose--legal ul { padding-left: 1.4rem; }
.prose--legal li { margin-bottom: .6em; }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose .lead { font-family: var(--font-serif); font-size: 1.35rem; color: var(--forest-2); }
.prose .signature { margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .35em; }

.welcome { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .welcome { grid-template-columns: 1fr; } }

/* ---------- Karten ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.side { display: grid; gap: 1.5rem; }
.partners__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.partners__list li + li { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.partners__list a { display: flex; justify-content: center; }
.partners__list img { max-height: 152px; width: auto; max-width: 100%; object-fit: contain; }
.facts { padding: 1.6rem; }
.facts__title { font-size: 1.3rem; }
.facts__label { font-weight: 600; margin: 1.2rem 0 .4rem; color: var(--forest); }
.facts__small { font-size: .95rem; color: var(--muted); margin: 1rem 0 0; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; margin: 0 0 1rem; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 500; }

.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--apts { grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); }
.grid--spaced { margin-top: 2.5rem; }
.apt-card, .act-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.apt-card:hover, .act-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.apt-card__img, .act-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.act-card__img { aspect-ratio: 16 / 8; }
.apt-card__img img, .act-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.apt-card:hover img, .act-card:hover img { transform: scale(1.04); }
.apt-card__body, .act-card__body { display: flex; flex-direction: column; gap: .15rem; padding: 1.1rem 1.25rem 1.3rem; flex: 1; }
.apt-card__name, .act-card__title { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; color: var(--forest); }
.apt-card__meta { color: var(--muted); font-size: .95rem; }
.act-card__text { color: var(--muted); margin-bottom: .6rem; }
.apt-card__more { margin-top: auto; padding-top: .7rem; font-weight: 600; color: var(--cherry); font-size: .95rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.split__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.linkgroups h3 { font-size: 1.15rem; padding-bottom: .5rem; border-bottom: 2px solid var(--line); }
.linklist { list-style: none; margin: 0; padding: 0; }
.linklist li { border-bottom: 1px solid var(--line); }
.linklist a { display: block; padding: .55rem 0; text-decoration: none; }
.linklist a::after { content: " ↗"; color: var(--moss); font-size: .85em; }
.linklist a:hover { text-decoration: underline; }


/* ---------- Ferienwohnung ---------- */
.apt-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.apt-layout .facts { position: sticky; top: 6.5rem; }
@media (max-width: 860px) { .apt-layout { grid-template-columns: 1fr; } .apt-layout .facts { position: static; } }
.view-box { background: var(--cream); border-left: 4px solid var(--moss); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.1rem 1.4rem .2rem; margin: 1.6rem 0; }
.view-box h3 { font-size: 1.1rem; margin-bottom: .4em; }

.gallery, .plans { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.gallery { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.plans { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.gallery a, .plans a { position: relative; display: block; border-radius: 12px; overflow: hidden; background: var(--line); }
.gallery a { aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.05); }
.plans a { background: #fff; border: 1px solid var(--line); padding: .6rem; }
.plans img { width: 100%; height: auto; max-height: 340px; object-fit: contain; }
.gallery__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .9rem .6rem; font-size: .9rem; color: #fff; background: linear-gradient(0deg, rgba(10,25,18,.72), transparent); }
.gallery__cap--static { position: static; background: none; color: var(--muted); text-align: center; padding: .5rem 0 0; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { display: inline-block; padding: .55rem 1.1rem; border: 1px solid var(--line); background: #fff; border-radius: 999px; text-decoration: none; font-weight: 500; }
.chip small { color: var(--muted); margin-left: .35rem; }
.chip:hover { border-color: var(--cherry); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; }
.compare th, .compare td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--forest); color: #fff; font-weight: 600; font-size: .95rem; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody th { font-family: var(--font-serif); font-size: 1.1rem; }
.info-box { margin-top: 2.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.75rem .6rem; }
.info-box h3 { margin-bottom: .6em; }
.note { background: #fff6e0; border: 1px solid #ecd9a6; border-radius: var(--radius); padding: 1rem 1.25rem; font-weight: 500; margin-top: 1.5rem; }
.note p:last-child { margin-bottom: 0; }

.cta-band { margin-top: 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; background: var(--forest); color: #fff; border-radius: var(--radius); padding: 1.5rem 2rem; }
.cta-band p { margin: 0; font-family: var(--font-serif); font-size: 1.25rem; }

/* ---------- Fuß ---------- */
.site-footer { background: #4F7942; color: #fff; padding-top: 3.5rem; font-size: .97rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff3d6; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2rem; padding-bottom: 2.5rem; }
.footer__brand { font-family: var(--font-serif); font-size: 1.6rem; color: #fff; margin-bottom: .4rem; }
.footer__title { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; color: #fff3d6; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; padding: 1.2rem 0 1.6rem; border-top: 1px solid rgba(255,255,255,.3); font-size: .88rem; }
.footer__bottom p { margin: 0; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(8, 18, 13, .94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem; }
.lb img { max-width: min(96vw, 1400px); max-height: 78vh; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lb__cap { color: #e9efe9; margin: .9rem 0 0; text-align: center; }
.lb button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 3rem; height: 3rem; border-radius: 50%; font-size: 1.6rem; cursor: pointer; line-height: 1; }
.lb button:hover { background: rgba(255,255,255,.28); }
.lb__close { top: 1rem; right: 1rem; }
.lb__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb__next { right: 1rem; top: 50%; transform: translateY(-50%); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .site-header, .hero__controls, .cta-band, .nav-toggle { display: none; }
}
