/* Pension Söhrehof. One hand-written stylesheet, no build step. */

@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans"; src: url("../fonts/source-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans"; src: url("../fonts/source-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
	--blue: #0a6e9c;
	--blue-deep: #084661;
	--blue-pale: #dcebf2;
	--ochre: #d2901f;
	--ochre-deep: #8f5b08;
	--forest: #1d3f31;
	--forest-pale: #dde8e2;
	--ground: #f1f4f3;
	--paper: #fff;
	--ink: #13242c;
	--muted: #47585f;
	--line: #c8d2d2;
	--display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	--text: "Source Sans", "Segoe UI", Arial, sans-serif;
	--wrap: 1240px;
	--gutter: clamp(1rem, 4vw, 3rem);
	--ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--blue) var(--ground); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1.0625rem/1.55 var(--text); font-variant-numeric: lining-nums; overflow-wrap: break-word; }
::selection { background: var(--ochre); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--blue-deep); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus, var(--ochre-deep)); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.05; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); color: var(--blue-deep); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); color: var(--blue-deep); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
address { font-style: normal; }
.lead { font-size: 1.2rem; max-width: 62ch; }

.skip { position: absolute; left: -999px; background: var(--paper); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }
.notice { margin: 0; padding: .6rem var(--gutter); background: var(--ochre); color: var(--ink); text-align: center; font-weight: 600; }

/* Header */
.site-head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2rem; padding: .6rem max(var(--gutter), calc((100% - var(--wrap)) / 2)); background: var(--paper); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 190px; height: auto; }
.brand__line { font: 600 1.15rem/1 var(--display); color: var(--blue-deep); white-space: nowrap; }
.site-head ul { display: flex; gap: clamp(.9rem, 2vw, 1.8rem); list-style: none; margin: 0; padding: 0; }
.site-head nav a { display: block; padding: .55rem 0; font: 600 1.25rem/1.2 var(--display); text-decoration: none; color: var(--ink); border-bottom: 3px solid transparent; }
.site-head nav a:hover { color: var(--blue); border-color: var(--blue); }
.site-head nav a[aria-current] { border-color: var(--ochre-deep); }
.site-head__tel { display: inline-flex; align-items: center; min-height: 44px; font: 600 1.25rem/1 var(--display); color: var(--blue-deep); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) {
	.brand img { width: 150px; }
	.brand__line { font-size: 1rem; }
	.site-head nav { order: 3; width: 100%; }
	.site-head ul { justify-content: space-between; }
	.site-head nav a { font-size: 1.15rem; padding: .6rem 0; min-height: 44px; }
	.site-head__tel { font-size: 1.15rem; }
}
@media (max-width: 480px) {
	.brand { flex-direction: column; align-items: flex-start; gap: .1rem; }
}

/* Buttons: a printed sign, square shoulders */
.btn { display: inline-block; padding: .7rem 1.3rem; min-height: 44px; border: 2px solid var(--blue); border-radius: 3px; background: var(--blue); color: #fff; font: 600 1.25rem/1.2 var(--display); text-decoration: none; cursor: pointer; transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease); }
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.btn--primary { background: var(--blue); }
.btn--key { background: var(--ochre); border-color: var(--ochre); color: var(--ink); }
.btn--key:hover { background: #e7a634; border-color: #e7a634; color: var(--ink); }
.btn--quiet { background: transparent; color: var(--blue-deep); border-color: var(--blue); }
.btn--quiet:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn--line { background: transparent; border-color: #fff; color: #fff; font-variant-numeric: tabular-nums; }
.btn--line:hover { background: #fff; border-color: #fff; color: var(--blue-deep); }

/* Key tag */
.fob { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; width: 100%; aspect-ratio: 5 / 7; padding: 27% .2rem .4rem; background: var(--ochre); color: var(--ink); border-radius: 46% 46% 12px 12px / 26% 26% 8% 8%; text-decoration: none; box-shadow: 0 3px 6px rgb(0 20 30 / .32); transform-origin: 50% 8%; transition: transform .5s var(--ease); }
.fob::before { content: ""; position: absolute; top: 8%; left: 50%; width: 11%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: var(--fob-hole, var(--blue-deep)); box-shadow: inset 0 1px 2px rgb(0 0 0 / .5); }
.fob__label { font: 600 .82rem/1 var(--display); letter-spacing: .02em; }
.fob__no { margin-block: auto; font: 600 clamp(2rem, 4.2vw, 3.1rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.fob__price { font: 400 .82rem/1.1 var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fob--apt { background: var(--forest); color: #fff; }
a.fob:hover, a.fob:focus-visible { color: var(--ink); transform: rotate(-5deg); }
a.fob--apt:hover, a.fob--apt:focus-visible { color: #fff; }

/* Home: first viewport. Text on the left, a changing wall of four room photos on the right. */
.tpl-home { --ground: #fff; }
.close, .site-foot { --focus: #fff; }
.quick { --focus: var(--ochre-deep); }
.house { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--paper); }
.house__text { align-self: center; padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 4rem) clamp(2rem, 5vw, 4rem) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.house h1 { font-size: clamp(2.6rem, 4.8vw, 4.4rem); margin-bottom: .3em; }
.house__from { margin: 0 0 .7rem; font: 600 clamp(1.5rem, 2.5vw, 2.1rem)/1.1 var(--display); color: var(--ochre-deep); font-variant-numeric: lining-nums; }
.house__intro { font-size: 1.2rem; max-width: 48ch; }
.house .quick { background: var(--blue-pale); }
.house .btn--key { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.house .btn--key:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.house__tel { margin: 1rem 0 0; }
.house__tel a { font-weight: 600; font-variant-numeric: tabular-nums; }
.house__photos { position: relative; min-height: 640px; background: var(--blue-deep); }
.photo-set { position: absolute; inset: 0; pointer-events: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 4px; }
.photo-set__cell { --d: 0s; position: relative; display: block; overflow: hidden; opacity: 0; visibility: hidden; color: var(--ink); text-decoration: none; transition: opacity .8s var(--ease) var(--d), visibility 0s linear calc(.8s + var(--d)); }
.photo-set.is-active { pointer-events: auto; }
.photo-set.is-active .photo-set__cell { opacity: 1; visibility: visible; transition: opacity .8s var(--ease) var(--d), visibility 0s linear var(--d); }
.photo-set__cell:nth-child(2) { --d: .12s; }
.photo-set__cell:nth-child(3) { --d: .24s; }
.photo-set__cell:nth-child(4) { --d: .36s; }
.photo-set__cell picture { position: absolute; inset: 0; }
.photo-set__cell img { width: 100%; height: 100%; object-fit: cover; }
.photo-set__cell:hover .tag { background: #e7a634; }
.photo-set__cell:hover .tag--apt { background: #2a5a46; }
.sets__pause { position: absolute; right: .75rem; bottom: .75rem; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: rgb(8 40 56 / .92); border: 0; border-radius: 3px; color: #fff; cursor: pointer; --focus: #fff; }
.sets__pause[hidden] { display: none; }
.sets__pause .icon-play, .sets__pause[aria-pressed="true"] .icon-pause { display: none; }
.sets__pause[aria-pressed="true"] .icon-play { display: block; }
/* Small luggage tag on a photo: room name and price */
.tag { position: absolute; left: .5rem; bottom: .5rem; display: flex; flex-direction: column; padding: .28rem .65rem .3rem 1.35rem; background: var(--ochre); color: var(--ink); border-radius: 15px 3px 3px 15px; font-size: .88rem; line-height: 1.2; font-variant-numeric: tabular-nums; box-shadow: 0 2px 6px rgb(0 20 30 / .4); transition: background .18s var(--ease); }
.tag::before { content: ""; position: absolute; left: .5rem; top: 50%; width: .42rem; height: .42rem; transform: translateY(-50%); border-radius: 50%; background: #fff; }
.tag strong { font: 600 1.1rem/1.1 var(--display); }
.tag--apt { background: var(--forest); color: #fff; }
@media (max-width: 900px) {
	.house { grid-template-columns: minmax(0, 1fr); }
	.house__photos { order: -1; min-height: 0; aspect-ratio: 1 / 1; }
	.house__text { padding: 1.5rem var(--gutter) 2rem; }
	.sets__pause { top: .5rem; right: .5rem; bottom: auto; }
}
.quick { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem; margin-top: 1.5rem; padding: 1rem; background: var(--paper); color: var(--ink); border-radius: 4px; }
.quick__field { flex: 1 1 8.5rem; }
.quick__field--small { flex: 0 1 5.5rem; }
.quick label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .2rem; }
.quick input { width: 100%; min-height: 44px; padding: .4rem .5rem; border: 1px solid var(--muted); border-radius: 3px; background: #fff; font: inherit; color: var(--ink); }
.quick .btn { flex: 1 1 100%; }

/* Row of all rooms */
.roomrow { --focus: #fff; padding: clamp(1.75rem, 4vw, 3rem) 0 clamp(1.75rem, 4vw, 3rem); background: var(--blue-deep); color: #fff; }
.roomrow__head, .roomrow__foot { padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2)); }
.roomrow__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.roomrow h2 { color: #fff; margin: 0; }
.roomrow__arrows { display: flex; gap: .4rem; }
.roomrow__arrows[hidden] { display: none; }
.roomrow__arrows button { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: var(--ochre); border: 0; border-radius: 3px; color: var(--ink); cursor: pointer; transition: background .18s var(--ease); }
.roomrow__arrows button:hover:not(:disabled) { background: #e7a634; }
.roomrow__arrows button:disabled { background: rgb(255 255 255 / .16); color: rgb(255 255 255 / .55); cursor: default; }
.roomrow__list { display: flex; gap: clamp(.6rem, 1.2vw, 1rem); list-style: none; margin: 0; padding: .25rem max(var(--gutter), calc((100% - var(--wrap)) / 2)) .75rem; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2)); scrollbar-color: var(--ochre) transparent; scrollbar-width: thin; }
.roomrow__list li { flex: 0 0 clamp(200px, 21vw, 260px); scroll-snap-align: start; }
.roomrow__list a { display: block; color: #fff; text-decoration: none; }
.roomrow__list img { width: 100%; border-radius: 3px; }
.roomrow__list .stand-in { aspect-ratio: 1 / 1.3; padding: 1.5rem .5rem .5rem; background: var(--blue); --fob-hole: var(--blue); }
.roomrow__list .stand-in .fob { width: 62%; }
.roomrow__list .stand-in .fob__no { font-size: clamp(2.6rem, 5vw, 3.6rem); }
.roomrow__title { display: block; margin-top: .55rem; font: 600 1.45rem/1.15 var(--display); }
.roomrow__list a:hover .roomrow__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .14em; }
.roomrow__price { display: block; font-variant-numeric: tabular-nums; }
.roomrow__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .9rem 1.5rem; margin-top: .9rem; }
.roomrow__note { margin: 0; font-size: 1rem; }
.btn.roomrow__all { padding: 1rem 2.25rem; font-size: 1.6rem; }
@media (max-width: 860px), (hover: none) {
	.roomrow__arrows { display: none; }
	.roomrow__list li { flex-basis: 62vw; max-width: 260px; }
}
@media (max-width: 520px) {
	.btn.roomrow__all { flex: 1 1 100%; text-align: center; }
}

/* Home: sections */
.audience, .included, .location, .prose-wrap, .page-head, .tarif, .unit, .form-page, .places { padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2)); }
.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2.5rem, 6vw, 5rem); }
.audience > div { border-top: 3px solid var(--ochre); padding-top: .9rem; }
.audience p:last-child { margin-bottom: 0; }
/* What every room includes: a receipt from the reception next to photos of those things */
.included { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1rem, 2vw, 1.5rem); align-items: stretch; padding-block: clamp(2.75rem, 6vw, 5rem); background: var(--forest); }
.receipt { --tooth: 9px; padding: clamp(1.4rem, 2.8vw, 2.25rem) clamp(1.25rem, 2.6vw, 2rem) calc(clamp(1.4rem, 2.8vw, 2.25rem) + var(--tooth)); background: var(--paper); color: var(--ink); -webkit-mask: radial-gradient(circle at var(--tooth) 100%, transparent 6px, #000 6.5px) 0 0 / calc(var(--tooth) * 2) 100% repeat-x; mask: radial-gradient(circle at var(--tooth) 100%, transparent 6px, #000 6.5px) 0 0 / calc(var(--tooth) * 2) 100% repeat-x; }
.receipt h2 { margin-bottom: .75rem; }
.receipt__rows { margin: 0; font: 600 clamp(1.14rem, 1.9vw, 1.5rem)/1.2 var(--display); font-variant-numeric: lining-nums tabular-nums; }
.receipt__rows div { display: flex; align-items: baseline; gap: .5rem; padding: .5rem 0; }
.receipt__rows dt { display: flex; flex: 1; align-items: baseline; gap: .5rem; min-width: 0; }
.receipt__rows div + div { border-top: 1px solid var(--blue-pale); }
.receipt__rows dt::after { content: ""; flex: 1; min-width: 1rem; border-bottom: 2px dotted var(--muted); }
.receipt__rows dd { margin: 0; color: var(--forest); white-space: nowrap; }
.receipt__text { margin-top: 1.1rem; }
.receipt__text p:last-child { margin-bottom: 0; }
.included__photos { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(.4rem, 1vw, .75rem); }
.included__photos figure { position: relative; margin: 0; min-height: 420px; overflow: hidden; border-radius: 3px; }
.included__photos picture { position: absolute; inset: 0; }
.included__photos img { width: 100%; height: 100%; object-fit: cover; }
.included__photos figure:nth-child(2) img { object-position: 100% 50%; }
.included__photos figure:nth-child(3) img { object-position: 0 50%; }
.included__photos .tag { padding-right: .7rem; }
.included__photos .tag strong { font-size: 1rem; }
.location { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem); background: var(--forest-pale); }
.close { padding: clamp(2.5rem, 6vw, 4.5rem) max(var(--gutter), calc((100% - var(--wrap)) / 2)); background: var(--forest); color: #fff; }
.tpl-home .close { background: var(--blue); }
.tpl-home .close .btn--key { background: #fff; border-color: #fff; }
.tpl-home .location { background: var(--ground); }
.close h2 { color: #fff; }
.close__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
@media (max-width: 860px) {
	.audience, .included, .location { grid-template-columns: minmax(0, 1fr); }
	.included__photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.included__photos figure { min-height: 0; aspect-ratio: 3 / 4; }
	.included__photos figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}

/* Map */
.map { margin: 0; }
.map img { width: 100%; border-radius: 4px; background: var(--paper); }
.map figcaption { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .6rem; align-items: baseline; }
.map small { flex-basis: 100%; color: var(--muted); font-size: .85rem; }

/* Page heads and prose */
.page-head { padding-block: clamp(2rem, 5vw, 4rem) 1.5rem; }
.prose-wrap { padding-block: 1.5rem clamp(2.5rem, 6vw, 4rem); }
.block { max-width: 70ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.block--media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 3rem); max-width: none; align-items: start; }
.block__text { max-width: 68ch; }
.block__media { display: grid; gap: .75rem; }
.faq { max-width: 70ch; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: .8rem 0; min-height: 44px; font-weight: 600; cursor: pointer; }
.faq summary:hover { color: var(--blue); }
.faq p { margin: 0 0 1rem; }
@media (max-width: 760px) { .block--media { grid-template-columns: minmax(0, 1fr); } }

/* Tarif: the price list as a set page */
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.tarif__caption { margin: -.25rem 0 1rem; color: var(--muted); }
.tarif__note { margin: 0 0 1rem; color: var(--muted); }
.tarif-card + .tarif__note { margin-top: .6rem; }
.jump a { display: block; padding: .5rem .85rem; min-height: 44px; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; font: 600 1.15rem/1.3 var(--display); text-decoration: none; color: var(--blue-deep); }
.jump a:hover { border-color: var(--blue); }
.jump span { color: var(--ochre-deep); font-variant-numeric: tabular-nums; }
.tarif { padding-block: 1rem clamp(2rem, 5vw, 3rem); }
.tarif__group { margin-bottom: clamp(2rem, 5vw, 3.5rem); scroll-margin-top: 1rem; }
.tarif__table { width: 100%; border-collapse: collapse; background: var(--paper); font-variant-numeric: tabular-nums; }
.tarif__table thead th { padding: .55rem .7rem; background: var(--blue-deep); color: #fff; font: 600 1.05rem/1.15 var(--display); text-align: right; vertical-align: bottom; }
.tarif__table thead th:nth-child(-n+2) { text-align: left; }
.tarif__table td, .tarif__table tbody th { padding: .7rem; border-bottom: 1px solid var(--line); vertical-align: middle; text-align: right; font-weight: 400; white-space: nowrap; }
.tarif__table td:not(.tarif__spec) { font: 600 1.45rem/1 var(--display); color: var(--blue-deep); }
.tarif__table td[data-label^="Monat"] { background: rgb(220 235 242 / .35); }
.tarif__table .tarif__spec { text-align: left; white-space: normal; min-width: 16rem; }
.tarif__row { display: flex; align-items: center; gap: .8rem; }
.tarif__thumb { flex: 0 0 64px; width: 64px; }
.tarif__mini { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; background: var(--blue-deep); color: #fff; border-radius: 3px; font: 600 1.5rem/1 var(--display); }
.tarif__table--apt .tarif__mini { background: var(--forest); }
.tarif__more { display: block; margin-top: .15rem; font-weight: 600; }
.tarif__table tbody th.tarif__no { text-align: left; }
.tarif__no a { display: flex; align-items: baseline; gap: .4rem; text-decoration: none; }
.tarif__tag { font: 600 2.6rem/1 var(--display); color: var(--blue-deep); min-width: 2ch; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; }
.tarif__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.tarif__table tbody tr:hover { background: var(--blue-pale); }
.tarif__table--apt .tarif__tag { color: var(--forest); }
@media (max-width: 860px) {
	.tarif__table, .tarif__table tbody, .tarif__table tr, .tarif__table td, .tarif__table tbody th { display: block; width: 100%; }
	.tarif__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.tarif__table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; margin-bottom: .9rem; padding: .8rem 1rem; background: var(--paper); border-radius: 4px; border: 1px solid var(--line); }
	.tarif__table .tarif__no, .tarif__table .tarif__spec { grid-column: 1 / -1; }
	.tarif__table td, .tarif__table tbody th { padding: 0; border: 0; white-space: normal; }
	.tarif__name { position: static; width: auto; height: auto; clip-path: none; font: 600 1.6rem/1.1 var(--display); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; }
	.tarif__tag { display: none; }
	.tarif__table .tarif__spec { padding: .3rem 0 .7rem; min-width: 0; }
	.tarif__table td[data-label] { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; padding: .4rem 0; border-top: 1px solid var(--line); text-align: left; background: none; }
	.tarif__table td[data-label]::before { content: attr(data-label); font: 400 .95rem/1.2 var(--text); color: var(--muted); }
}

/* Room page */
.unit { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(2.5rem, 5vw, 4rem); }
.unit__head { display: grid; grid-template-columns: clamp(92px, 12vw, 136px) minmax(0, 1fr); gap: clamp(1rem, 3vw, 2rem); align-items: center; margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.unit__head .fob { --fob-hole: var(--ground); }
.unit__head .fob__no { font-size: clamp(2.6rem, 6vw, 4.2rem); }
.unit__head--plain { grid-template-columns: minmax(0, 1fr); }
.unit__head h1 { margin-bottom: .15em; }
.unit__spec { margin: 0; font-size: 1.15rem; color: var(--muted); }
.unit__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.unit__facts h2 { font-size: 1.6rem; margin-top: 1.75rem; }
@media (min-width: 861px) { .unit__facts { position: sticky; top: 1rem; } }
.unit__amenities { padding-left: 1.1em; }
.unit__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0 0; }
.tarif-card { margin: 1.25rem 0 0; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: .2rem 1rem; font-variant-numeric: tabular-nums; }
.tarif-card div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.tarif-card div:last-child { border-bottom: 0; }
.tarif-card dd { margin: 0; font: 600 1.6rem/1 var(--display); color: var(--blue-deep); white-space: nowrap; }
.unit__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; align-items: start; }
.unit__photo { display: block; cursor: zoom-in; }
.unit__photo--lead { grid-column: 1 / -1; }
.unit__photo--lead img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.unit__photos--none { display: block; }
.unit__actions--end { grid-column: 1 / -1; }
.unit__pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1rem; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .unit__grid { grid-template-columns: minmax(0, 1fr); } }

/* Lightbox */
.viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(6 28 38 / .96); color: #fff; }
.viewer[open] { display: flex; align-items: center; justify-content: center; }
.viewer img { max-width: 100vw; max-height: 100dvh; width: auto; height: auto; object-fit: contain; }
.viewer button { position: absolute; min-width: 48px; min-height: 48px; padding: .4rem .9rem; background: var(--blue-deep); color: #fff; border: 1px solid rgb(255 255 255 / .5); border-radius: 3px; font: 600 1.15rem/1 var(--display); cursor: pointer; }
.viewer button:hover { background: var(--blue); }
.viewer__count { position: absolute; left: 50%; bottom: 1.1rem; margin: 0; transform: translateX(-50%); font: 600 1.15rem/1 var(--display); }
.viewer__close { top: .75rem; right: .75rem; }
.viewer__prev { left: .75rem; bottom: .75rem; }
.viewer__next { right: .75rem; bottom: .75rem; }

/* Stand-ins for missing photos */
.stand-in { position: relative; display: flex; justify-content: center; align-items: center; aspect-ratio: 4 / 3; padding: 2.5rem 1rem 1.5rem; background: var(--blue-deep); border-radius: 4px; --fob-hole: var(--blue-deep); }
.stand-in .fob { padding-top: clamp(2.6rem, 5vw, 3.7rem); width: min(42%, 220px); box-shadow: 0 8px 18px rgb(0 15 25 / .4); }
.stand-in .fob__label { font-size: clamp(.9rem, 2vw, 1.3rem); }
.stand-in .fob__no { font-size: clamp(4rem, 10vw, 7.5rem); }
.stand-in__hook { position: absolute; top: 0; left: 50%; width: 8px; height: 30%; transform: translateX(-50%); background: #e8eef0; border-radius: 0 0 4px 4px; z-index: 1; }
.stand-in--apt { background: var(--forest); --fob-hole: var(--forest); }
.stand-in--apt .fob--apt { background: var(--ochre); color: var(--ink); }
.stand-in--place { aspect-ratio: auto; height: clamp(140px, 18vw, 240px); align-items: flex-end; justify-content: flex-start; padding: clamp(1rem, 3vw, 2rem); background: var(--forest) url("../img/karte-hell.svg") center / cover no-repeat; }
.stand-in--place span { font: 600 clamp(2rem, 6vw, 4.5rem)/1 var(--display); color: #fff; }

/* Forms */
.form-page { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(1.5rem, 4vw, 4rem); padding-block: .5rem clamp(2.5rem, 6vw, 4rem); align-items: start; }
.form-page aside h2 { font-size: 1.6rem; }
.enquiry { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: clamp(1rem, 3vw, 1.75rem); background: var(--paper); border: 1px solid var(--line); border-radius: 4px; }
.enquiry__full { grid-column: 1 / -1; }
.enquiry label { display: block; margin-bottom: .2rem; font-weight: 600; }
.enquiry label small { font-weight: 400; color: var(--muted); font-size: .95rem; }
.enquiry input, .enquiry select, .enquiry textarea { width: 100%; min-height: 44px; padding: .5rem .6rem; border: 1px solid var(--muted); border-radius: 3px; background: #fff; color: var(--ink); font: inherit; }
.enquiry [aria-invalid="true"] { border: 2px solid #a32c1c; }
.enquiry__error { margin: .25rem 0 0; color: #a32c1c; font-weight: 600; font-size: 1rem; }
.enquiry__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry__privacy { color: var(--muted); font-size: 1rem; margin: 0; }
.message { margin: 0 0 1.25rem; padding: 1rem 1.25rem; border-radius: 4px; background: var(--forest-pale); color: var(--forest); font-weight: 600; }
.message--error { background: #f8e2de; color: #7f2013; }
.booking-slot { margin-bottom: 2rem; padding: clamp(1rem, 3vw, 1.75rem); background: var(--blue-pale); border-radius: 4px; }
.booking-slot iframe { display: block; width: 100%; min-height: 720px; border: 0; background: #fff; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { padding: .4rem 0; border-bottom: 1px solid var(--line); }
.contact-list a { display: inline-block; padding-block: .6rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.unit__pager a { display: inline-block; padding-block: .6rem; }
@media (max-width: 860px) {
	.form-page { grid-template-columns: minmax(0, 1fr); }
	.tpl-kontakt .form-page aside { order: -1; }
}
@media (max-width: 520px) { .enquiry { grid-template-columns: minmax(0, 1fr); } }

/* Umgebung and Verpachtung lists */
.places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: .5rem clamp(2.5rem, 6vw, 4rem); }
.places h2 { border-top: 3px solid var(--forest); padding-top: .7rem; color: var(--forest); }
.places .block { margin: 0; }
.place-hero { padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2)); margin-bottom: 1.5rem; }
.premises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); list-style: none; margin: 0 0 2.5rem; padding: 0; }
.premises h2 { border-top: 3px solid var(--blue-deep); padding-top: .7rem; }
@media (max-width: 760px) { .places, .premises { grid-template-columns: minmax(0, 1fr); } }

/* Error page */
body { min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1; }

/* Footer */
.site-foot { padding: clamp(2rem, 4vw, 3rem) max(var(--gutter), calc((100% - var(--wrap)) / 2)); background: var(--ink); color: #eaf0f1; }
.site-foot a { color: #fff; }
.site-foot__inner { display: flex; flex-wrap: wrap; gap: 1.5rem clamp(2rem, 7vw, 6rem); }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li a { display: inline-block; padding-block: .6rem; }
.site-foot__contact a { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
	a.fob:hover, a.fob:focus-visible { transform: none; }
}
@media print {
	.site-head nav, .quick, .close, .unit__pager, .sets__pause, .roomrow__arrows { display: none; }
	body { background: #fff; }
}

.aside-gap { margin-top: 1.5rem; }
