/* Das Loft Apartments – Stylesheet
   Schriften lokal eingebunden (DSGVO-konform, keine Google-Server) */

@font-face { font-family: "Lora"; src: url("../fonts/Lora-Variable.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/Lora-Italic-Variable.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Light.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }

:root {
  --paper: #f6f2ec;
  --paper-2: #ece5db;
  --ink: #26221e;
  --ink-soft: #5d554c;
  --line: #d9cfc2;
  --brass: #6f7029;
  --brass-dark: #55561e;
  --night: #1f1c19;
  --white: #fffdf9;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --radius: 4px;
  --shadow: 0 18px 40px -24px rgba(38, 34, 30, .45);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: var(--brass-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
strong { font-weight: 500; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow { font-family: var(--sans); font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); margin: 0 0 1rem; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 46rem; }
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--night); color: var(--paper); }
.section--dark .lead { color: #cfc5b8; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  padding: 1em 1.7em; border-radius: var(--radius); border: 1px solid var(--brass);
  background: var(--brass); color: var(--white); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--brass-dark); border-color: var(--brass-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(246, 242, 236, .94); backdrop-filter: saturate(140%) blur(8px); -webkit-backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.logo { display: flex; align-items: center; text-decoration: none; color: var(--ink); }
.logo { gap: 14px; }
.logo img { height: 34px; width: auto; }
.logo__text { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; letter-spacing: .02em; }
.logo__text small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--brass); font-weight: 500; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav__list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav__list > li { position: relative; }
.nav__link, .nav__btn { font-family: var(--sans); font-size: .9rem; font-weight: 400; color: var(--ink); text-decoration: none; background: none; border: 0; padding: 8px 0; cursor: pointer; }
.nav__link:hover, .nav__btn:hover, .nav__link[aria-current="page"] { color: var(--brass-dark); }
.nav__link[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--brass); }
.has-sub > .nav__link::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.sub { position: absolute; top: 100%; left: -18px; min-width: 230px; list-style: none; margin: 0; padding: 10px 0; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 20px; color: var(--ink); text-decoration: none; font-size: .9rem; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--paper); color: var(--brass-dark); }
.nav .btn { padding: .8em 1.3em; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 10px; width: 24px; height: 1.5px; background: var(--ink); content: ""; transition: transform .25s, opacity .25s; }
.burger span { top: 21px; }
.burger span::before { left: 0; top: -7px; }
.burger span::after { left: 0; top: 7px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 78px 0 0 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 18px 24px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; }
  .nav-open .nav { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__link, .nav__btn { display: block; width: 100%; text-align: left; padding: 16px 0; font-size: 1.05rem; }
  .has-sub > .nav__link::after { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 12px 14px; min-width: 0; }
  .sub a { padding: 8px 0; }
  .nav .btn { margin-top: 24px; justify-content: center; }
  body.nav-open { overflow: hidden; }
}

/* Hero / Slider */
.hero { position: relative; height: min(88vh, 820px); min-height: 520px; background: var(--night); color: var(--white); overflow: hidden; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s ease-out; }
.hero__slide.is-active img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,14,.15) 0%, rgba(20,17,14,.05) 40%, rgba(20,17,14,.72) 100%); pointer-events: none; }
.hero__content { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(48px, 9vh, 96px); }
.hero__content .eyebrow { color: #cfd07a; }
.hero h1 { max-width: 15ch; margin-bottom: .4em; }
.hero p { max-width: 36rem; font-size: 1.15rem; color: #efe7dc; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__dots { position: absolute; z-index: 3; right: max(16px, calc((100% - var(--wrap)) / 2)); bottom: clamp(48px, 9vh, 96px); display: flex; gap: 10px; }
.hero__dot { width: 28px; height: 2px; padding: 10px 0; background: none; border: 0; cursor: pointer; position: relative; }
.hero__dot::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: rgba(255,255,255,.4); }
.hero__dot.is-active::before { background: var(--white); }
@media (max-width: 700px) { .hero__dots { display: none; } }

/* Intro */
.intro { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.intro__text .lead { margin-bottom: 1em; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 clamp(24px, 4vw, 52px); border-top: 1px solid var(--line); margin: 34px 0 34px; padding-top: 24px; }
.fact strong { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 500; color: var(--brass); line-height: 1.1; }
.fact span { font-size: .82rem; color: var(--ink-soft); }
.intro__media { position: relative; padding: 0 0 70px 70px; }
.intro__media figure { margin: 0; overflow: hidden; background: var(--paper-2); }
.intro__media img { width: 100%; height: 100%; object-fit: cover; }
.intro__main { aspect-ratio: 4 / 4.4; box-shadow: var(--shadow); }
.intro__small { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 10px solid var(--paper); box-shadow: var(--shadow); }
.intro__badge { position: absolute; right: -12px; bottom: 40px; background: var(--night); color: var(--white); padding: 18px 22px; max-width: 230px; box-shadow: var(--shadow); }
.intro__badge strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.intro__badge span { font-size: .82rem; color: #cfc5b8; }
@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; }
  .intro__media { padding: 0 0 50px 40px; max-width: 560px; }
  .intro__badge { right: 0; }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
  .intro__media { padding: 0; }
  .intro__small { display: none; }
  .intro__badge { position: static; margin-top: 0; max-width: none; }
}

/* Room cards */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.rooms { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; }
.room-card { grid-column: span 2; background: var(--white); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line); transition: transform .3s, box-shadow .3s; }
.room-card:nth-child(1), .room-card:nth-child(2) { grid-column: span 3; }
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.room-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.room-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.room-card:hover .room-card__img img { transform: scale(1.04); }
.room-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.room-card h3 { margin-bottom: .35em; }
.room-card__meta { display: flex; gap: 18px; font-size: .88rem; color: var(--ink-soft); margin-bottom: 14px; }
.room-card__meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--brass); border-radius: 50%; margin-right: 8px; transform: translateY(-2px); }
.room-card__more { margin-top: auto; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--brass-dark); }
@media (max-width: 980px) { .rooms { grid-template-columns: 1fr 1fr; } .room-card, .room-card:nth-child(1), .room-card:nth-child(2) { grid-column: span 1; } }
@media (max-width: 620px) { .rooms { grid-template-columns: 1fr; } }

/* Location */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__img { aspect-ratio: 4 / 5; overflow: hidden; background: #2b2723; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; }
.ticks li { padding: 12px 0 12px 30px; border-bottom: 1px solid rgba(255,255,255,.12); position: relative; }
.section:not(.section--dark) .ticks li { border-bottom-color: var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 12px; height: 6px; border-left: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: rotate(-45deg); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split__img { aspect-ratio: 16 / 10; } }

/* CTA band */
.band { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.band h2 { margin: 0; }

/* Page header */
.page-head { padding: clamp(48px, 8vw, 96px) 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.crumbs { font-size: .82rem; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--brass-dark); }
.crumbs span { margin: 0 8px; color: var(--line); }

/* Room detail */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 10px; margin-top: 40px; }
.gallery a { display: block; overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; } }
.room-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.room-box { background: var(--white); padding: 32px; box-shadow: 0 1px 0 var(--line); position: sticky; top: 104px; }
.room-box dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0 0 26px; }
.room-box dt { color: var(--ink-soft); font-size: .9rem; }
.room-box dd { margin: 0; font-weight: 400; text-align: right; }
.room-box .btn { width: 100%; justify-content: center; }
.room-box small { display: block; color: var(--ink-soft); font-size: .8rem; margin-top: 14px; line-height: 1.5; }
.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.amenities li { padding: 11px 0 11px 28px; border-bottom: 1px solid var(--line); position: relative; font-size: .97rem; }
.amenities li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 11px; height: 5px; border-left: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: rotate(-45deg); }
@media (max-width: 860px) { .room-layout { grid-template-columns: 1fr; } .room-box { position: static; } }
@media (max-width: 540px) { .amenities { grid-template-columns: 1fr; } }
.pager { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 64px; flex-wrap: wrap; }
.pager a { text-decoration: none; color: var(--ink); }
.pager a small { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-dark); }
.pager a span { font-family: var(--serif); font-size: 1.3rem; }
.pager a:last-child { text-align: right; margin-left: auto; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(18, 16, 14, .94); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 84vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); cursor: pointer; font-size: 2.2rem; line-height: 1; padding: 16px; font-family: var(--sans); font-weight: 300; }
.lightbox__close { top: 10px; right: 14px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #bfb5a8; font-size: .85rem; letter-spacing: .1em; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); }
.contact-list { list-style: none; padding: 0; margin: 0 0 30px; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list small { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-dark); font-weight: 500; }
.contact-list a { color: var(--ink); text-decoration: none; }
.form { background: var(--white); padding: clamp(24px, 4vw, 44px); box-shadow: 0 1px 0 var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .82rem; font-weight: 400; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.field input:focus, .field textarea:focus { border-color: var(--brass); outline: none; background: var(--white); }
.field textarea { min-height: 150px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); margin: 6px 0 24px; line-height: 1.55; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brass); flex: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-left: 3px solid var(--brass); background: var(--paper); margin-bottom: 22px; font-size: .95rem; }
.notice--error { border-left-color: #a33b2b; }
.notice[hidden] { display: none; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .form__row { grid-template-columns: 1fr; } }

/* Map with consent */
.map { position: relative; aspect-ratio: 16 / 7; min-height: 320px; background: var(--paper-2); border: 1px solid var(--line); margin-top: 60px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 14px; }
.map__consent p { max-width: 34rem; font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* Legal text */
.prose { max-width: 50rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1em 0 2em; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 500; background: var(--paper-2); }
.table-scroll { overflow-x: auto; }
.todo { background: #fff0b8; color: #6b4d00; padding: 0 .3em; border-radius: 2px; font-weight: 400; }

/* Modal (City-Tax) */
dialog.modal { border: 0; padding: 0; max-width: 560px; width: calc(100% - 32px); background: var(--white); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); }
dialog.modal::backdrop { background: rgba(20, 17, 14, .6); }
.modal__body { padding: 40px 36px 34px; }
.modal__close { position: absolute; top: 8px; right: 10px; background: none; border: 0; font-size: 1.8rem; cursor: pointer; color: var(--ink-soft); padding: 8px 12px; font-family: var(--sans); font-weight: 300; }
.price-tag { display: flex; align-items: baseline; gap: 12px; margin: 10px 0 18px; }
.price-tag strong { font-family: var(--serif); font-size: 2.6rem; color: var(--brass-dark); font-weight: 500; }

/* Footer */
.footer { background: var(--night); color: #cfc5b8; padding: 72px 0 28px; font-size: .95rem; }
.footer a { color: #cfc5b8; text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-family: var(--sans); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: #cfd07a; font-weight: 500; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer .logo { color: var(--white); margin-bottom: 18px; }
.footer .logo img { height: 34px; }
.footer .logo__text small { color: #cfd07a; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 56px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #9b9184; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: none; }
.linkbtn:hover { color: var(--white); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }

/* Cookie banner */
.cookie { position: fixed; z-index: 300; left: 16px; right: 16px; bottom: 16px; max-width: 560px; background: var(--white); color: var(--ink); box-shadow: 0 24px 60px -16px rgba(0,0,0,.45); padding: 26px 26px 22px; border-top: 3px solid var(--brass); }
.cookie[hidden] { display: none; }
.cookie h2 { font-size: 1.3rem; margin-bottom: .4em; }
.cookie p { font-size: .9rem; color: var(--ink-soft); line-height: 1.6; }
.cookie__opts { border-top: 1px solid var(--line); margin: 6px 0 18px; }
.cookie__opts[hidden] { display: none; }
.cookie__opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.cookie__opt input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brass); flex: none; }
.cookie__opt strong { display: block; }
.cookie__opt span { color: var(--ink-soft); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie__actions .btn { padding: .85em 1.2em; font-size: .74rem; flex: 1 1 auto; justify-content: center; }
.cookie__links { margin-top: 14px; font-size: .8rem; }
.cookie__links a { color: var(--ink-soft); margin-right: 14px; }

/* Placeholder for missing photos */
img.is-missing { object-fit: cover; background: var(--paper-2); }
.section--dark .eyebrow { color: #cfd07a; }

/* Galerie je nach Bildanzahl */
.gallery a:nth-child(n+6) { display: none; }
.gallery a.more { position: relative; }
.gallery a.more::after { content: attr(data-more); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(31, 28, 25, .55); color: #fff; font-size: .85rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.gallery.g-4 { grid-template-columns: 2fr 1fr; grid-auto-rows: 120px; }
.gallery.g-4 a:first-child { grid-column: auto; grid-row: span 3; }
.gallery.g-3 { grid-template-columns: 2fr 1fr; }
.gallery.g-3 a:first-child { grid-column: auto; }
.gallery.g-2, .gallery.g-1 { grid-template-columns: 1fr 1fr; grid-auto-rows: 320px; }
.gallery.g-2 a:first-child, .gallery.g-1 a:first-child { grid-column: auto; grid-row: auto; }
@media (max-width: 760px) {
  .gallery.g-4, .gallery.g-3 { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .gallery.g-4 a:first-child, .gallery.g-3 a:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery.g-4 a:nth-child(4) { grid-column: span 2; }
  .gallery.g-2, .gallery.g-1 { grid-auto-rows: 160px; }
}

/* Sprachumschalter */
.lang { font-size: .78rem; font-weight: 500; letter-spacing: .14em; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); padding: .55em .8em; }
.lang:hover { border-color: var(--ink); color: var(--ink); }
.lang--foot { color: #cfc5b8; border-color: rgba(255,255,255,.2); }
.lang--foot:hover { color: #fff; border-color: #fff; }
@media (max-width: 960px) { .nav .lang { align-self: flex-start; margin-top: 20px; } }
.gallery.g-1 { grid-template-columns: 1fr; grid-auto-rows: clamp(240px, 42vw, 520px); }
/* Lesbarkeit Hero-Text auf hellen Fotos */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,17,14,.55) 0%, rgba(20,17,14,.25) 45%, rgba(20,17,14,0) 70%); pointer-events: none; }
.hero__content { text-shadow: 0 1px 18px rgba(0,0,0,.35); }
.hero__content .eyebrow { color: #fff; opacity: .9; }
