@font-face { font-family: Fraunces; src: url(../fonts/fraunces.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Figtree; src: url(../fonts/figtree.woff2) format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --navy: #112a42;
  --navy-soft: #47607a;
  --coral: #cf2a0e;      /* Markenrot, abgedunkelt für Kontrast auf Weiß */
  --sand: #f5efe3;
  --line: #e4ddcf;
  --white: #fff;
  --radius: 22px;
  --serif: Fraunces, Georgia, serif;
  --sans: Figtree, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--sans); color: var(--navy); background: var(--white); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.dot { color: var(--coral); }
.wrap { width: min(1280px, 100% - 40px); margin-inline: auto; }
.sr, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--white); padding: 10px 16px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border: 0; border-radius: 99px; background: var(--coral); color: var(--white); font: 600 1rem var(--sans); text-decoration: none; cursor: pointer; transition: background .2s; }
.btn:hover { background: #a92009; }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--sand); }
.btn--line { background: none; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn--line:hover { background: var(--navy); color: var(--white); }

/* Kopf */
.topbar { background: var(--navy); color: var(--white); font-size: .9rem; padding: 8px 0 26px; }
.topbar__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 20px; }
.topbar a { text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar p { margin: 0; }
.site-head { position: sticky; top: 0; z-index: 20; margin-top: -18px; background: var(--white); border-radius: 18px 18px 0 0; box-shadow: 0 1px 0 var(--line); }
.site-head__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo img { width: 128px; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; gap: 4px; }
.nav li { position: relative; }
.nav a, .nav .nav-header { display: block; padding: 10px 14px; border-radius: 10px; font-weight: 500; text-decoration: none; }
.nav a:hover { background: var(--sand); }
.nav > ul > .parent > a::after { content: "▾"; margin-left: 6px; font-size: .75em; }
.nav li ul { display: none; position: absolute; top: 100%; left: 0; min-width: 270px; padding: 10px; background: var(--white); border-radius: 16px; box-shadow: 0 18px 40px rgb(17 42 66 / .16); }
.nav li:hover > ul, .nav li:focus-within > ul { display: block; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--sand); cursor: pointer; }
.nav-toggle span:first-child { display: block; width: 20px; height: 8px; margin: auto; border-block: 2px solid var(--navy); }

/* Hero */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(84vh, 800px); color: var(--white); isolation: isolate; }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(17 42 66 / .05) 15%, rgb(17 42 66 / .62) 55%, rgb(17 42 66 / .82)); }
.hero__in { padding-block: 64px 44px; }
.hero__text { max-width: 820px; }
.hero__text p { font-size: 1.2rem; }
.search { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr auto; align-items: end; gap: 10px; margin-top: 26px; padding: 14px; background: var(--white); color: var(--navy); border-radius: var(--radius); box-shadow: 0 20px 50px rgb(17 42 66 / .25); }
.search__f { display: block; min-width: 0; }
.search__f span { display: block; margin: 0 0 3px 12px; font-size: .8rem; font-weight: 600; color: var(--navy-soft); }
.search input, .search select { width: 100%; height: 50px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: inherit; font: inherit; }

/* Sektionen */
.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec--sand { background: var(--sand); }
.sec__head { max-width: 720px; margin-bottom: 36px; }
.sec__foot { margin-top: 32px; }
.eyebrow { margin-bottom: .6em; font-size: .85rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--coral); }
.lead { font-size: 1.2rem; }

.row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.row > * { scroll-snap-align: start; }
.row--4 { grid-auto-columns: minmax(250px, 1fr); }
.row--3 { grid-auto-columns: minmax(300px, 1fr); }

.card { display: block; text-decoration: none; }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); transition: transform .35s; }
.card__img { display: block; overflow: hidden; border-radius: var(--radius); margin-bottom: 14px; }
.card:hover img { transform: scale(1.04); }
.card small { display: block; font-size: .9rem; font-weight: 600; color: var(--coral); }
.card h3 { margin: 2px 0 4px; }
.card p { margin: 0; font-size: .95rem; color: var(--navy-soft); }

.tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius); color: var(--white); text-decoration: none; }
.tile img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .35s; }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgb(17 42 66 / .8)); }
.tile h3 { position: absolute; left: 20px; right: 20px; bottom: 14px; z-index: 1; margin: 0; font-size: 1.5rem; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { padding: 12px 22px; border-radius: 99px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; text-decoration: none; transition: .2s; }
.chips a:hover { background: var(--navy); color: var(--white); }

.quote { margin: 0; padding: 26px; background: var(--white); border-radius: var(--radius); }
.quote p { font-family: var(--serif); font-size: 1.1rem; line-height: 1.5; }
.quote footer { font-size: .92rem; font-weight: 600; }
.quote footer span { display: block; font-weight: 400; color: var(--navy-soft); }

.split { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; background: var(--navy); color: var(--white); border-radius: var(--radius); }
.split img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.split__txt { padding: clamp(28px, 5vw, 64px); }
.split .eyebrow { color: #ffb6a6; }
.split ul { padding-left: 1.2em; margin: 0 0 1.5em; }

.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.contact__btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Unterseiten */
.page { max-width: 820px; padding-block: 56px 88px; }
.page h2 { margin-top: 1.2em; font-size: 1.7rem; }

/* vOffice: Suche & Unterkunft */
.page:has(.vo) { max-width: none; }
.vo h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.vo-search { grid-template-columns: 1.3fr 1fr 1fr .7fr .7fr auto; margin: 0 0 18px; box-shadow: 0 10px 30px rgb(17 42 66 / .12); }
.vo-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; border: 0; }
.vo-chips label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); font-size: .95rem; cursor: pointer; }
.vo-chips label:has(:checked) { background: var(--navy); color: var(--white); box-shadow: none; }
.vo-search .vo-chips input { width: auto; height: auto; accent-color: var(--coral); }
.vo-count { margin: 0 0 22px; color: var(--navy-soft); }
.vo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 34px 24px; }
.vo-card .card__img { position: relative; }
.vo-badge { position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: 99px; background: var(--coral); color: var(--white); font-size: .8rem; font-weight: 600; }
.vo-facts { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; color: var(--navy-soft); font-size: .95rem; }
.vo-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px !important; color: var(--navy) !important; }
.vo-rating { font-weight: 600; }
.vo-rating span { font-weight: 400; color: var(--navy-soft); }
.vo-price strong { font-size: 1.1rem; }

.vo-back { margin: 0 0 18px; }
.vo-back a { text-decoration: none; font-weight: 500; }
.vo-head { margin-bottom: 22px; }
.vo-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 220px)); gap: 8px; overflow: hidden; border-radius: var(--radius); }
.vo-gallery { position: relative; }
.vo-gallery > button { padding: 0; border: 0; background: none; overflow: hidden; cursor: zoom-in; }
.vo-gallery > button:first-child { grid-row: span 2; }
.vo-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.vo-gallery > button:hover img { transform: scale(1.03); }
.vo-gallery > .vo-all { position: absolute; right: 16px; bottom: 16px; padding: 10px 18px; border-radius: 99px; background: var(--white); color: var(--navy); font: 600 .95rem var(--sans); box-shadow: 0 6px 20px rgb(17 42 66 / .2); cursor: pointer; }
.vo-lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(10 22 35 / .95); color: var(--white); }
.vo-lightbox::backdrop { background: transparent; }
.vo-lightbox figure { display: grid; place-items: center; height: 100%; margin: 0; padding: 56px 72px; }
.vo-lightbox img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 8px; }
.vo-lightbox figcaption { margin-top: 12px; font-size: .95rem; opacity: .85; }
.vo-lightbox button { position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .14); color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer; }
.vo-lightbox button:hover { background: rgb(255 255 255 / .28); }
.vo-lb-prev { left: 14px; top: 50%; translate: 0 -50%; }
.vo-lb-next { right: 14px; top: 50%; translate: 0 -50%; }
.vo-lb-close { right: 14px; top: 14px; }
.vo-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; margin-top: 40px; align-items: start; }
.vo-main h2 { margin-top: 1.4em; font-size: 1.6rem; }
.vo-main h2:first-child { margin-top: 0; }
.vo-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 20px; padding: 0; list-style: none; }
.vo-features li::before { content: "✓ "; color: var(--coral); font-weight: 700; }
.vo-legend span { display: inline-block; width: 14px; height: 14px; margin: 0 4px 0 12px; vertical-align: -2px; border-radius: 4px; }
.vo-legend span:first-child { margin-left: 0; }
.vo-cal { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.vo-cal table { width: 100%; border-collapse: separate; border-spacing: 3px; font-size: .85rem; text-align: center; }
.vo-cal caption { margin-bottom: 6px; font-weight: 600; text-align: left; }
.vo-cal th { font-weight: 500; color: var(--navy-soft); }
.vo-cal td { padding: 4px 0; border-radius: 6px; }
.is-free { background: #e3f1e6; }
.is-busy { background: #f6d9d2; color: var(--navy-soft); text-decoration: line-through; }
.vo-cal td[data-d].is-free { cursor: pointer; }
.vo-cal td[data-d].is-free:hover { box-shadow: inset 0 0 0 2px var(--navy); }
.vo-cal td.is-sel, .vo-legend .is-sel { background: var(--navy); color: var(--white); text-decoration: none; }
.vo-book { position: sticky; top: 100px; padding: 24px; border-radius: var(--radius); background: var(--sand); }
.vo-from { margin: 0 0 14px; }
.vo-from strong { font-family: var(--serif); font-size: 1.7rem; }
.vo-book form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vo-book label span { display: block; margin: 0 0 3px 4px; font-size: .8rem; font-weight: 600; color: var(--navy-soft); }
.vo-book input { width: 100%; height: 46px; padding: 0 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: inherit; font: inherit; }
.vo-book .btn, .vo-book [data-quote-out] { grid-column: 1 / -1; }
.vo-lines { width: 100%; margin-top: 6px; border-collapse: collapse; font-size: .95rem; }
.vo-lines td { padding: 5px 0; border-bottom: 1px solid var(--line); }
.vo-lines td:last-child { text-align: right; white-space: nowrap; }
.vo-total td { border: 0; padding-top: 10px; font-weight: 700; font-size: 1.1rem; }
.vo-note { margin: 10px 0 0; font-size: .88rem; color: var(--navy-soft); }
.vo-err { margin: 6px 0 0; color: var(--coral); font-weight: 600; }
.vo-actions { display: grid; gap: 8px; margin-top: 16px; }

/* Merkliste & Angebote */
.vo-cardwrap { position: relative; }
.vo-fav { display: grid; place-items: center; border: 0; cursor: pointer; color: var(--navy); }
.vo-fav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .15s; }
.vo-fav[aria-pressed="true"] svg { fill: var(--coral); stroke: var(--coral); }
.vo-fav:active svg { transform: scale(.85); }
.vo-cardwrap > .vo-fav { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%; background: var(--white); box-shadow: 0 4px 14px rgb(17 42 66 / .18); }
.vo-titlebar { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.vo-fav--inline { display: inline-flex; gap: 8px; flex: none; margin-top: .4em; padding: 10px 18px; border-radius: 99px; background: var(--sand); font: 600 .95rem var(--sans); }
.nav-toggle { order: 3; }
.fav-link { order: 2; display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 8px 14px; border-radius: 99px; background: var(--sand); font-weight: 600; text-decoration: none; }
.fav-link svg { width: 18px; height: 18px; fill: var(--coral); }
.fav-link[hidden] { display: none; }
.vo-offers { margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; background: var(--white); }
.vo-offers__title { margin: 0 0 6px; font-weight: 700; }
.vo-offers ul { margin: 0; padding: 0; list-style: none; }
.vo-offers li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.vo-offers li strong { color: var(--coral); }
.vo-offers li span { display: block; font-size: .85rem; color: var(--navy-soft); }
.vo-offers .vo-note { margin-top: 8px; }

/* vOffice: Buchung */
.vo-test { margin: 0 0 20px; padding: 12px 18px; border-radius: 12px; background: #fff3cd; color: #664d03; }
.vo-guest fieldset { margin: 0 0 18px; padding: 0; border: 0; }
.vo-guest legend { margin-bottom: 12px; font-family: var(--serif); font-size: 1.5rem; }
.vo-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.vo-guest label > span { display: block; margin: 0 0 4px 4px; font-size: .85rem; font-weight: 600; color: var(--navy-soft); }
.vo-guest input:not([type=checkbox]), .vo-guest select, .vo-guest textarea { width: 100%; min-height: 50px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: inherit; font: inherit; }
.vo-wide { display: block; margin-bottom: 18px; }
.vo-check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px; }
.vo-check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--coral); }
.vo-hp { position: absolute; left: -9999px; }
.vo-summary img { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 14px; border-radius: 14px; }
.vo-summary h2 { font-size: 1.35rem; }
.vo-summary .vo-facts { display: grid; gap: 2px; margin-bottom: 10px; }
.vo-done { max-width: 720px; padding-block: 20px; }
.vo-done .vo-summary { margin: 24px 0; }

/* Blog & Beiträge (com_content) */
.page:has(.com-content-category-blog) { max-width: 1280px; }
.blog-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 44px 24px; }
.blog-item, .blog-item .item-content { display: flex; flex-direction: column; }
.blog-item .item-content { flex: 1; }
.blog-item .item-image { margin: 0 0 14px; }
.blog-item .item-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.blog-item .item-image figcaption { display: none; }
.blog-item h2 { margin: 0 0 4px; font-size: 1.35rem; }
.blog-item h2 a { text-decoration: none; }
.blog-item h2 a:hover { color: var(--coral); }
.blog-item .item-content > p:not(.readmore) { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; font-size: .97rem; color: var(--navy-soft); }
.blog-item .item-content > p:not(.readmore) ~ p:not(.readmore) { display: none; }
.blog-item .readmore { margin-top: auto; }
.blog-item .readmore .btn { min-height: 0; padding: 8px 18px; background: none; color: var(--coral); box-shadow: inset 0 0 0 1.5px var(--coral); font-size: .9rem; }
.blog-item .readmore .btn:hover { background: var(--coral); color: var(--white); }
.readmore [class^="icon-"], .article-info [class^="icon-"], .article-info-term { display: none; }
.article-info { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 12px; font-size: .88rem; color: var(--navy-soft); }
.article-info dd { margin: 0; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin: 48px 0 0; padding: 0; list-style: none; }
.page-link { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; }
.page-item.active .page-link { background: var(--navy); color: var(--white); box-shadow: none; }
.page-item.disabled { opacity: .4; }
.item-page .item-image { margin: 0 0 28px; }
.item-page .item-image img { width: 100%; border-radius: var(--radius); }
.item-page .item-image figcaption { margin-top: 8px; font-size: .88rem; color: var(--navy-soft); }
.com-content-article__body img { border-radius: 12px; }

/* Fuß */
.site-foot { padding-block: 56px 32px; background: var(--navy); color: var(--white); }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.foot h3 { font-size: 1.1rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot img { width: 130px; margin-bottom: 14px; background: var(--white); border-radius: 60px; }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  #nav { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 90px); overflow: auto; padding: 8px 20px 20px; background: var(--white); box-shadow: 0 18px 30px rgb(17 42 66 / .15); }
  #nav.is-open { display: block; }
  .nav > ul { display: block; }
  .nav li ul { display: block; position: static; padding: 0 0 6px 14px; box-shadow: none; }
  .nav > ul > .parent > a::after { content: none; }
  .nav > ul > li > a { font-weight: 700; }
  .search { grid-template-columns: 1fr 1fr; }
  .search__f:first-child, .search .btn { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; }
  .vo-search { grid-template-columns: 1fr 1fr; }
  .vo-search .search__f:first-child, .vo-search .btn { grid-column: 1 / -1; }
  .vo-layout { grid-template-columns: 1fr; }
  .vo-book { position: static; }
  .vo-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .vo-gallery img { aspect-ratio: 4/3; }
  .vo-gallery > button:first-child { grid-column: 1 / -1; grid-row: auto; }
  .vo-lightbox figure { padding: 56px 8px 80px; }
  .vo-lb-prev, .vo-lb-next { top: auto !important; bottom: 14px; translate: none !important; }
  .split img { aspect-ratio: 16/9; min-height: 0; }
}
@media (max-width: 640px) {
  .foot { grid-template-columns: 1fr; }
  .vo-fields { grid-template-columns: 1fr; }
  .vo-fields > span:empty { display: none; }
  .vo-guest input:not([type=checkbox]), .vo-guest select, .vo-guest textarea { font-size: 16px; }
  .search input, .search select { font-size: 16px; }
  .hero__in { padding-top: 120px; }
  .row { margin-right: -20px; padding-right: 20px; }
  .row, .row--3, .row--4 { grid-auto-columns: 78%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
