/* Ferienwohnungen im Nibelungenland */
:root {
  --green: #003232;
  --green-2: #1b5551;
  --sand: #b9824e;
  --sand-l: #ead9c4;
  --cream: #f7f3ec;
  --paper: #fffdf9;
  --ink: #1e2320;
  --muted: #5e6862;
  --line: #e3dccf;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 30, 25, .06), 0 8px 24px rgba(20, 30, 25, .08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 17px/1.6 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-2); text-underline-offset: 3px; }
a:hover { color: var(--sand); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--green); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; margin-top: 1.6em; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-block; background: var(--green); color: #fff; border: 0; border-radius: 999px; padding: .8em 1.5em; font: 600 1rem var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--sand); color: #fff; transform: translateY(-1px); }
.btn-light { background: rgba(255,255,255,.92); color: var(--green); }
.btn-light:hover { background: #fff; color: var(--sand); }
.btn-ghost { background: transparent; color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.btn-ghost:hover { background: var(--green); color: #fff; }
.btn-small { padding: .5em 1.1em; font-size: .92rem; }
.btn-block { display: block; text-align: center; width: 100%; }

/* Kopf */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,253,249,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); font: 600 1.12rem/1.15 var(--serif); margin-right: auto; }
.brand img { width: 35px; height: auto; }
.logo-full { display: block; width: min(400px, 80%); height: auto; margin: 0 auto 36px; }
.mainnav { display: flex; align-items: center; gap: 18px; }
.mainnav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.mainnav li { position: relative; }
.mainnav > ul > li > a { display: block; padding: 10px 11px; text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500; border-radius: 8px; }
.mainnav > ul > li > a:hover, .mainnav > ul > li.active > a { color: var(--green); background: var(--cream); }
.sub-toggle { display: none; }
.mainnav .sub { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 10px; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.mainnav li.has-sub:hover > .sub, .mainnav li.has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.mainnav .sub a { display: block; padding: 6px 10px; text-decoration: none; color: var(--ink); border-radius: 6px; font-size: .94rem; }
.mainnav .sub a:hover { background: var(--cream); color: var(--green); }
.mainnav .sub li.group > a { font-weight: 600; color: var(--green); }
.mainnav .sub ul { list-style: none; margin: 0 0 6px; padding: 0 0 0 10px; }
.nav-extra { display: flex; align-items: center; gap: 12px; }
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--muted); padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); }
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { content: " ▾"; font-size: .8em; }
.langs[open] summary, .langs summary:hover { color: var(--green); background: var(--cream); }
.langs ul { position: absolute; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); min-width: 150px; z-index: 60; }
.langs a { display: block; padding: 6px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .94rem; }
.langs a:hover, .langs a[aria-current] { background: var(--cream); color: var(--green); }
@media (max-width: 1080px) { .langs ul { position: static; box-shadow: none; margin-top: 6px; } }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr) { display: block; height: 2px; background: var(--green); margin: 5px 0; border-radius: 2px; transition: .2s; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .mainnav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 68px); height: calc(100dvh - 68px); background: var(--paper); border-top: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 16px 20px 40px; overflow-y: auto; display: none; }
  .mainnav.open { display: flex; }
  .mainnav > ul { flex-direction: column; }
  .mainnav > ul > li > a { padding: 12px 6px; font-size: 1.08rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .mainnav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; padding: 4px 0 10px 12px; }
  .mainnav li.open > .sub { display: block; }
  .sub-toggle { display: block; position: absolute; right: 0; top: 4px; width: 44px; height: 40px; background: none; border: 0; cursor: pointer; }
  .sub-toggle::after { content: ""; display: block; width: 9px; height: 9px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); margin: 0 auto; transition: .2s; }
  .mainnav li.open > .sub-toggle::after { transform: rotate(-135deg); }
  .nav-extra { justify-content: space-between; margin-top: 18px; }
  body.nav-open { overflow: hidden; }
}

/* Hero */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--green); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,15,.05) 30%, rgba(10,20,15,.65)); }
.hero-text { position: relative; z-index: 1; padding: 120px 0 64px; }
.hero h1 { color: #fff; max-width: 820px; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero-sub { font-size: 1.2rem; max-width: 640px; opacity: .95; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-plain { min-height: 0; }
body:not(.home) .hero { min-height: min(56vh, 520px); }

/* Abschnitte */
.section { padding: 72px 0; }
.section-alt { background: var(--cream); }
.section-h { text-align: center; margin-bottom: 1.2em; }
.page-head { padding: 64px 0 24px; background: linear-gradient(var(--cream), var(--paper)); }
.page-head .lead { font-size: 1.15rem; color: var(--muted); max-width: 760px; }
.unit-head { padding-bottom: 8px; }
.crumb { margin: 0 0 .4em; font-size: .92rem; }
.crumb a { color: var(--sand); text-decoration: none; font-weight: 600; letter-spacing: .02em; }
.prose h2 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .25em 0; }
.prose.center { font-size: 1.12rem; }

/* Karten */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 26px; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(20,30,25,.06), 0 18px 40px rgba(20,30,25,.14); color: inherit; }
.card-img { aspect-ratio: 4/3; background: var(--sand-l); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin: 0 0 .4em; font-size: 1.3rem; }
.card-body p { color: var(--muted); font-size: .96rem; margin-bottom: .8em; }
.card-place { font-size: .8rem !important; text-transform: uppercase; letter-spacing: .08em; color: var(--sand) !important; font-weight: 700; margin-bottom: .3em !important; }
.card-facts { margin-top: auto !important; display: flex; flex-wrap: wrap; gap: 6px; }
.card-facts span { background: var(--cream); color: var(--green); border-radius: 999px; padding: 3px 10px; font-size: .84rem; font-weight: 600; }

.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.loc { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--green-2); color: #fff; text-decoration: none; box-shadow: var(--shadow); }
.loc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.loc:hover img { transform: scale(1.05); }
.loc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,20,15,.75)); }
.loc-text { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; display: flex; flex-direction: column; gap: 4px; }
.loc-text strong { font: 600 1.45rem/1.2 var(--serif); }
.loc-text span { font-size: .95rem; opacity: .92; }
.loc:hover { color: #fff; }
@media (max-width: 640px) { .loc { aspect-ratio: 16/10; } }
.st-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.st-head h2 a { text-decoration: none; color: inherit; }
.st-head p { color: var(--muted); margin: 0; }

.highlights { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.highlights li { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.highlights strong { font: 600 1.15rem var(--serif); color: var(--green); }
.highlights span { color: var(--muted); font-size: .96rem; }

/* Gästestimmen */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-bottom: 20px; }
.review { margin: 0; background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.review blockquote { margin: 0 0 14px; font: italic 1.05rem/1.6 var(--serif); color: var(--ink); }
.review blockquote p:last-child { margin: 0; }
.review blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: .6; color: var(--sand); margin-bottom: 8px; }
.review figcaption { margin-top: auto; font-size: .92rem; color: var(--muted); display: flex; flex-direction: column; }
.review figcaption strong { color: var(--green); }

/* Unterkunft */
.unit { padding: 28px 0 56px; }
.unit + .unit { border-top: 1px solid var(--line); padding-top: 56px; }
.unit-title { margin-bottom: .5em; }
.subnav { display: flex; gap: 10px; flex-wrap: wrap; padding: 8px 0 4px; }
.subnav a { background: var(--cream); color: var(--green); padding: 8px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.subnav a:hover { background: var(--green); color: #fff; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 8px; border-radius: var(--radius); overflow: hidden; }
.gallery .g-item { position: relative; display: block; overflow: hidden; background: var(--sand-l); }
.gallery .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery .g-item:hover img { transform: scale(1.04); }
.gallery .g-main { grid-row: span 2; }
.gallery .g-hidden { display: none; }
.gallery .g-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10,20,15,.5); color: #fff; font-weight: 700; font-size: 1.1rem; }
.gallery:has(.g-item:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; grid-template-rows: 380px; }
.gallery:has(.g-item:nth-child(2):last-child) .g-main { grid-row: auto; }
.gallery:has(.g-item:nth-child(3):last-child) { grid-template-columns: 2fr 1fr; }
.gallery:has(.g-item:nth-child(4):last-child) { grid-template-columns: 2fr 1fr 1fr; }
.gallery:has(.g-item:nth-child(4):last-child) .g-item:nth-child(4) { grid-column: span 2; }
.gallery-one { grid-template-columns: 1fr; grid-template-rows: 440px; }
.gallery-one .g-main { grid-row: auto; }
@media (max-width: 760px) {
  .gallery, .gallery:has(.g-item:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; }
  .gallery .g-main { grid-column: span 2; grid-row: auto; }
  .gallery .g-item:nth-child(n+4) { display: none; }
  .gallery-one { grid-template-columns: 1fr; grid-template-rows: 260px; }
  .gallery-one .g-main { grid-column: auto; }
}
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 6px; margin-top: 8px; }
.thumbs a { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 6px; background: var(--sand-l); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.thumbs a:hover img { opacity: .8; }
.unit-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; margin-top: 32px; }
@media (max-width: 900px) { .unit-grid { grid-template-columns: 1fr; gap: 24px; } }
.facts { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { background: var(--cream); border-radius: 10px; padding: 8px 14px; font-weight: 600; color: var(--green); font-size: .96rem; }
.feature-list { columns: 2 240px; column-gap: 32px; padding: 0; list-style: none; margin: 0; }
.feature-list li { break-inside: avoid; padding: 6px 0 6px 28px; position: relative; border-bottom: 1px dashed var(--line); }
.feature-list li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 12px; height: 7px; border: solid var(--sand); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.unit-side { position: relative; }
.side-box { position: sticky; top: 90px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.side-h { font-weight: 700; color: var(--green); margin-bottom: .3em; font-size: .86rem; text-transform: uppercase; letter-spacing: .07em; }
.side-small { font-size: .93rem; color: var(--muted); }
.booking-embed { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; overflow: visible; }
.booking-embed #avform { margin-bottom: 18px; }
.booking-embed #avform input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]), .booking-embed #avform select { font: 1rem var(--sans); padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.booking-embed #avform input[type=submit], .booking-embed #avform button, .booking-embed #avform input[type=button] { background: var(--green); color: #fff; border: 0; border-radius: 999px; padding: .6em 1.3em; font: 600 .95rem var(--sans); cursor: pointer; }
.booking-embed #avform input[type=submit]:hover, .booking-embed #avform button:hover { background: var(--sand); }
.booking-embed #igumbicalendar { overflow-x: auto; }
.booking-embed iframe { width: 100%; border: 0; min-height: 420px; }

/* Veranstaltungstipp */
.tip { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 18px 18px 20px; border-radius: var(--radius); background: linear-gradient(135deg, var(--green), var(--green-2)); color: #fff; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s; position: relative; }
.side-box + .tip { position: relative; }
.tip:hover { color: #fff; transform: translateY(-2px); }
.tip img { flex: none; width: 34px; height: auto; margin-top: 2px; }
.tip-body { display: flex; flex-direction: column; gap: 6px; }
.tip-h { font: 600 1.1rem/1.25 var(--serif); }
.tip-text { font-size: .93rem; opacity: .92; }
.tip-btn { align-self: flex-start; margin-top: 6px; background: var(--sand); color: #fff; border-radius: 999px; padding: .45em 1em; font-weight: 600; font-size: .9rem; }
.tip:hover .tip-btn { background: #fff; color: var(--green); }
.unit-side .side-box { position: static; }
.unit-side { position: sticky; top: 90px; align-self: start; }
@media (max-width: 900px) { .unit-side { position: static; } }

/* Eingebettete Seite (z. B. Veranstaltungen Schloss Auerbach) */
.unit-embed { margin-top: 40px; }
.unit-embed iframe { width: 100%; min-height: 500px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: block; }
.embed-link { margin-top: 8px; font-size: .92rem; }
@media (max-width: 640px) { .unit-embed iframe { height: 760px !important; } }

/* Veranstaltungs-Tipp mit Terminen von Schloss Auerbach */
.ev-tip { margin-top: 44px; padding: 26px 26px 22px; border-radius: var(--radius); background: linear-gradient(135deg, var(--green), var(--green-2)); color: #fff; box-shadow: var(--shadow); }
.ev-tip-head { display: flex; gap: 16px; align-items: flex-start; }
.ev-tip-head { align-items: center; gap: 24px; }
.ev-tip-head img { flex: none; width: 170px; height: auto; }
.ev-tip h3 { color: #fff; font: 600 1.45rem/1.25 var(--serif); margin: 0 0 4px; }
.ev-tip-head p { margin: 0; opacity: .92; }
.evlist { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); gap: 10px; }
.evlist a { display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; background: #fff; border-radius: 10px; color: var(--ink); text-decoration: none; height: 100%; transition: transform .15s, box-shadow .15s; }
.evlist a:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.18); color: inherit; }
.ev-date { flex: none; width: 54px; padding: 6px 0; border-radius: 8px; background: var(--sand); color: #fff; text-align: center; line-height: 1.1; }
.ev-date b { display: block; font: 600 1.4rem/1.1 var(--serif); }
.ev-date span { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.ev-body { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ev-title { font-weight: 600; color: var(--green); }
.ev-meta { font-size: .88rem; opacity: .8; }
.ev-go { flex: none; font-size: .85rem; font-weight: 600; color: var(--green-2); white-space: nowrap; }
.ev-tip-foot { margin: 18px 0 0; }
.ev-tip-btn { display: inline-block; background: var(--sand); color: #fff; border-radius: 999px; padding: .6em 1.3em; font-weight: 600; text-decoration: none; }
.ev-tip-btn:hover { background: #fff; color: var(--green); }
@media (max-width: 640px) { .evlist li:nth-child(n+5) { display: none; } }
@media (max-width: 560px) { .ev-tip-head { flex-direction: column; align-items: flex-start; gap: 12px; } .ev-tip-head img { width: 140px; } }
@media (max-width: 480px) { .ev-tip { padding: 20px 14px 18px; } .ev-tip h3 { font-size: 1.25rem; } .ev-go { display: none; } }

/* komoot */
.komoot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.komoot { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); min-height: 180px; }
.komoot-h { font: 600 1.2rem var(--serif); color: var(--green); margin-bottom: .3em; }
.komoot-note { font-size: .88rem; color: var(--muted); }
.komoot.loaded { padding: 0; overflow: hidden; }
.komoot iframe { width: 100%; height: 580px; border: 0; display: block; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font: 600 1.12rem var(--serif); color: var(--green); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 10px; font: 400 1.7rem var(--sans); color: var(--sand); transition: .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details .prose { padding: 0 0 12px; color: var(--muted); }

/* Formular */
.inquiry { background: var(--green); color: #f2efe8; padding: 72px 0; }
.inquiry h2 { color: #fff; }
.inquiry a { color: var(--sand-l); }
.form { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .92rem; font-weight: 600; }
.form input, .form select, .form textarea { font: 1rem var(--sans); padding: 12px 14px; border-radius: 10px; border: 1px solid transparent; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--sand); outline-offset: 1px; }
.form .err input, .form .err select, .form .err textarea { border-color: #ff8a7a; box-shadow: 0 0 0 2px #ff8a7a; }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
.form .check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.form .check.err span { color: #ffb4a8; }
.form .btn { align-self: flex-start; background: var(--sand); margin-top: 6px; }
.form .btn:hover { background: #fff; color: var(--green); }
.row2, .row3 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.row3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px) { .row2, .row3 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -5000px; }
.msg { padding: 14px 18px; border-radius: 10px; margin: 16px 0; font-weight: 600; }
.msg-ok { background: #e3f3e6; color: #17491f; }
.msg-err { background: #fde5e1; color: #7a1a0e; }
.msg-err a { color: #7a1a0e; }
.field-note { color: #ffb4a8; margin: -6px 0 0; font-size: .92rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* Fuß */
.site-footer { background: #002424; color: #c9d3ce; padding: 56px 0 24px; font-size: .95rem; }
.site-footer a { color: #e9e2d6; text-decoration: none; }
.site-footer a:hover { color: var(--sand); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font: 600 1.2rem var(--serif); color: #fff; }
.footer-h { color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; font-size: .8rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 4px 0; }
.footer-meta a { white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 18px; font-size: .86rem; }

/* Cookie-Hinweis */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; background: #fff; border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0,0,0,.25); padding: 20px; font-size: .94rem; }
.cookie-btns { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* Bildbetrachter */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,14,11,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 80vh; object-fit: contain; margin: 0 auto; border-radius: 6px; }
.lightbox figcaption { color: #ddd; margin-top: 10px; font-size: .95rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
