:root {
  --ink: #1b1f24;
  --ink-soft: #4c5356;
  --paper: #ffffff;
  --wash: #f3f4f2;
  --line: #d9dcd8;
  --t1: #8a2c78;  /* Anfänge */
  --t2: #cf1e3c;  /* Technik */
  --t3: #027bba;  /* Labor */
  --t4: #efb622;  /* Gesellschaft */
  --t5: #51b32b;  /* Tausendsassa */
  --t6: #008285;  /* Zukunft */
  --navy: #163a8e;
  --gruen: #51b32b; --rot: #cf1e3c; --blau: #027bba; --gelb: #efb622; --violett: #8a2c78; --mint: #008285;
  --grau: #4c5356;
  --wrap: min(1240px, 100% - 3rem);
  --font: "Bricolage Grotesque", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
/* Hinweis aus der Verwaltung (oben auf jeder Seite) */
.pan-hinweis { background: var(--ink); color: #fff; font-weight: 650; font-size: 1rem; line-height: 1.4; }
.pan-hinweis .wrap { display: flex; gap: .8rem; align-items: center; padding: .75rem 0; }
.pan-hinweis .wrap::before { content: ""; flex: none; width: 5px; align-self: stretch; border-radius: 2px; background: var(--gelb); }
.termine { margin-bottom: 3rem; }
.news article.ohne-link .body > :last-child { margin-top: 0; font-weight: inherit; }
.zeit-text p:last-child { margin-bottom: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0; font-family: var(--font); font-size: 1.125rem; line-height: 1.6;
  color: var(--ink); background: var(--paper);
  font-variation-settings: "opsz" 16;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.wrap { width: var(--wrap); margin-inline: auto; }
h1, h2, h3 { line-height: 1.05; margin: 0; font-variation-settings: "opsz" 96; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 750; font-stretch: 80%; }
h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 64ch; }

/* ---------- Kopf ---------- */
.top {
  position: sticky; top: 0; z-index: 20; background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.top.scrolled { border-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 750; font-size: 1.15rem; font-stretch: 85%; }
.brand-mark { display: grid; grid-template-columns: repeat(6, 5px); gap: 2px; height: 26px; }
.brand-mark i { background: var(--c); border-radius: 1px; }
.nav { display: flex; gap: 1.75rem; font-size: 1rem; }
.nav a { text-decoration: none; padding: .25rem 0; background: linear-gradient(var(--c, currentColor) 0 0) left bottom / 0 3px no-repeat; transition: background-size .25s; }
.nav a:hover { background-size: 100% 3px; }
.menu-btn { display: none; }

/* ---------- Hero: PAN als Fenster auf die Fassade ---------- */
.stage { height: 240vh; position: relative; }
.pin { position: sticky; top: 4.5rem; height: calc(100vh - 4.5rem); height: calc(100svh - 4.5rem); overflow: hidden; }
.pin > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: clamp(1.25rem, 4vh, 2.5rem); }
.hero-copy .hero-text { padding: 0; }
.hero .hero-copy h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); }
.hint { display: flex; align-items: center; gap: .6rem; margin-top: 1.25rem; font-size: .95rem; font-weight: 600; color: var(--ink-soft); }
.hint svg { width: 14px; height: 22px; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(5px); } }
.reveal-caption { position: absolute; left: 0; right: 0; bottom: 1.5rem; opacity: 0; transition: opacity .4s; pointer-events: none; }
.reveal-caption.on { opacity: 1; }
.reveal-caption span { display: inline-block; background: rgb(255 255 255 / .92); padding: .5rem .9rem; border-radius: 4px; font-size: .95rem; font-weight: 600; }
.hero-text { display: grid; grid-template-columns: 1fr auto; gap: 2rem 4rem; align-items: end; padding: 2.5rem 0 1rem; }
.hero h1 {
  font-size: clamp(3.2rem, 10.5vw, 9.5rem); font-weight: 800; font-stretch: 75%;
  letter-spacing: -0.035em; line-height: .88;
}
.hero-lead { font-size: clamp(1.15rem, 1.8vw, 1.4rem); margin: 1.5rem 0 0; max-width: 38ch; color: var(--ink-soft); }
.visit-box { min-width: 17rem; border-left: 4px solid var(--ink); padding: .25rem 0 .25rem 1.25rem; font-size: 1rem; }
.visit-box p { margin: 0; }
.status { display: inline-flex; align-items: flex-start; gap: .55rem; font-weight: 650; margin-bottom: .4rem !important; }
.status::before { content: ""; flex: none; margin-top: .48em; width: .6rem; height: .6rem; border-radius: 50%; background: var(--ink-soft); }
.status[data-open="true"]::before { background: var(--t5); box-shadow: 0 0 0 4px rgb(81 179 43 / .2); }

/* ---------- Farbkacheln (wie die Navigation der bisherigen Website) ---------- */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); }
.tile {
  --fg: #fff;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
  min-height: 11rem; padding: 1.4rem 1.4rem 1.25rem; background: var(--c); color: var(--fg);
  text-decoration: none; position: relative; overflow: hidden;
}
.tile.dark { --fg: var(--ink); }
.tile b { font-size: clamp(1.35rem, 1.9vw, 1.75rem); font-weight: 750; font-stretch: 80%; line-height: 1.05; letter-spacing: -0.01em; font-variation-settings: "opsz" 96; }
.tile span { font-size: .98rem; font-weight: 550; display: flex; justify-content: space-between; align-items: end; gap: .5rem; }
.tile span::after { content: ""; width: .7rem; height: .7rem; flex: none; border: solid var(--fg); border-width: 2px 2px 0 0; transform: rotate(135deg) translate(-2px, 2px); transition: transform .25s; }
.tile::before { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .12); transform: translateY(101%); transition: transform .35s cubic-bezier(.6, 0, .2, 1); }
.tile:hover::before, .tile:focus-visible::before { transform: none; }
.tile:hover span::after { transform: rotate(135deg) translate(-5px, 5px); }
.tile > * { position: relative; }
.tile:focus-visible { outline: 3px solid var(--ink); outline-offset: -6px; }

/* ---------- Auswahl: Museum, Tagungsraum, Villa (wie auf der bisherigen Startseite) ---------- */
.choose { padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.choose-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem 3rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
.choose-head h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
.choose-head p { margin: 0; color: var(--ink-soft); max-width: 34ch; }
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.75rem, 1.5vw, 1.25rem); margin: 0; padding: 0; list-style: none; }
.door {
  --fg: var(--ink);
  display: flex; flex-direction: column; height: 100%; background: var(--c); color: var(--fg);
  text-decoration: none; border-radius: 6px; overflow: hidden; position: relative;
  transition: transform .45s cubic-bezier(.6, 0, .2, 1);
}
.door.light { --fg: #fff; }
.door-pic { aspect-ratio: 510 / 422; overflow: hidden; border-bottom: 2px solid var(--ink); }
.door-pic img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.door-text { display: grid; gap: .35rem; padding: 1.3rem 1.4rem 1.4rem; flex: 1; }
.door-text small { font-size: .9rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.door-text b { font-size: clamp(1.6rem, 2.4vw, 2.15rem); font-weight: 780; font-stretch: 78%; line-height: 1; letter-spacing: -0.015em; font-variation-settings: "opsz" 96; }
.door-text span { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .9rem; font-weight: 600; }
.door-text span::after { content: ""; flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 2px solid var(--fg);
  background: linear-gradient(var(--fg) 0 0) center / .9rem 2px no-repeat, linear-gradient(var(--fg) 0 0) center / 2px .9rem no-repeat;
  transition: transform .45s cubic-bezier(.6, 0, .2, 1), background-color .3s; }
@media (hover: hover) {
  .door:hover { transform: translateY(-6px); }
  .door:hover .door-pic img { transform: scale(1.06); }
  .door:hover .door-text span::after { transform: rotate(90deg); }
}
.door:focus-visible { transform: translateY(-6px); }
.door:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.doors.armed li { opacity: 0; transform: translateY(2.5rem); transition: opacity .7s, transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--n) * 120ms); }
.doors.armed.in li { opacity: 1; transform: none; }
@media (max-width: 980px) {
  .doors { grid-template-columns: 1fr; }
  .door { flex-direction: row; }
  .door-pic { flex: 0 0 42%; aspect-ratio: auto; border-bottom: 0; border-right: 2px solid var(--ink); }
}
@media (max-width: 560px) {
  .door { flex-direction: column; }
  .door-pic { flex: none; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 2px solid var(--ink); }
}

/* ---------- Abschnitte ---------- */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2rem 4rem; align-items: end; margin-bottom: 3rem; }
.section-head p { color: var(--ink-soft); margin: 0; }
h2.mark::before { content: ""; display: block; width: 3.5rem; height: 8px; background: var(--c); margin-bottom: 1.25rem; border-radius: 1px; }
.on-color { background: var(--c); color: var(--fg, #fff); }
.on-color.dark { --fg: var(--ink); }
.on-color a { color: inherit; }
.on-color .btn { color: #fff; }
.on-color .btn.light { color: var(--ink); }
.on-color .btn.light:hover { color: #fff; }

.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 3rem 4rem; align-items: start; }
.intro-text p { max-width: 60ch; }
.questions { list-style: none; margin: 0 0 2rem; padding: 1.75rem 2rem; border-radius: 6px; font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 700; line-height: 1.2; font-stretch: 85%; letter-spacing: -0.015em; }
.questions li { padding: .7rem 0; border-bottom: 2px solid rgb(27 31 36 / .18); }
.questions li:last-child { border-bottom: 0; }
.facts { display: flex; gap: 2.5rem; margin-top: 2.5rem; flex-wrap: wrap; }
.facts div { font-size: 1rem; color: var(--ink-soft); border-top: 6px solid var(--c); padding-top: .75rem; }
.facts strong { display: block; font-size: 2.6rem; line-height: 1; color: var(--ink); font-weight: 750; font-stretch: 80%; font-variation-settings: "opsz" 96; }
.lead-strong { font-size: 1.25rem; font-weight: 650; }

/* ---------- Themenwelten ---------- */
.worlds { display: flex; gap: 6px; height: 560px; }
.world {
  --pad: 1.5rem;
  flex: 1 1 0; min-width: 0; position: relative; overflow: hidden; border-radius: 6px;
  background: var(--c); color: #fff; transition: flex-grow .6s cubic-bezier(.6, 0, .2, 1);
}
.world.light { color: var(--ink); }
.world[data-open="true"] { flex-grow: 5; }
.world-btn {
  all: unset; box-sizing: border-box; cursor: pointer; position: absolute; inset: 0; padding: var(--pad);
  display: flex; flex-direction: column; justify-content: space-between;
}
.world-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: -6px; }
.world-num { font-size: 1rem; font-weight: 600; }
.world-title {
  font-size: 1.5rem; font-weight: 750; font-stretch: 80%; line-height: 1.05; letter-spacing: -0.01em;
  writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; transition: opacity .2s;
}
.world[data-open="true"] .world-title { opacity: 0; }
.world-body {
  position: absolute; left: var(--pad); right: var(--pad); bottom: var(--pad); max-width: 36rem;
  opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .4s; pointer-events: none;
}
.world[data-open="true"] .world-body { opacity: 1; transform: none; transition-delay: .35s; pointer-events: auto; }
.world-body h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; font-stretch: 78%; margin-bottom: 1rem; }
.world-body p { margin: 0; font-size: 1.05rem; line-height: 1.55; }

/* ---------- Geschichte ---------- */
.history { background: var(--wash); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin: 3rem 0 0; padding: 0; }
.timeline li { list-style: none; background: #fff; border-top: 8px solid var(--c); border-radius: 0 0 6px 6px; padding: 1.25rem 1.25rem 1.4rem; }
.year { font-size: 3.2rem; font-weight: 800; font-stretch: 75%; line-height: 1; font-variation-settings: "opsz" 96; letter-spacing: -0.03em; color: var(--c); }
.year.dark { color: #b8860b; }
.year.green { color: #3a8f1f; }
.timeline p { font-size: 1rem; margin: .75rem 0 0; color: var(--ink-soft); }
.history-pics { display: grid; grid-template-columns: 3fr 2fr; gap: 1.5rem; margin-top: 4rem; align-items: start; }
.history-pics figure { margin: 0; }
.history-pics img { border-radius: 6px; width: 100%; }
figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: .6rem; }

/* ---------- Besuch ---------- */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, .85fr); gap: 1.25rem; }
.panel { border-radius: 6px; padding: 2rem; scroll-margin-top: 6rem; }
.panel.plain { border: 2px solid var(--line); }
.panel h3 { margin-bottom: 1.25rem; }
.panel p { font-size: 1rem; }
.big-time { font-size: 2.8rem; font-weight: 800; font-stretch: 78%; line-height: 1; margin-bottom: 1rem; font-variation-settings: "opsz" 96; }
.prices { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prices td { padding: .55rem 0; border-bottom: 1px solid rgb(27 31 36 / .2); vertical-align: top; }
.prices td:last-child { text-align: right; font-weight: 750; white-space: nowrap; padding-left: 1rem; font-size: 1.15rem; }
.prices tr.group td { padding: 1.1rem 0 .3rem; font-weight: 750; border-bottom: 0; text-align: left; font-size: 1rem; white-space: normal; }
.prices tr.group:first-child td { padding-top: 0; }
.prices td.sub { padding-left: 1rem; }
.panel .phone { font-weight: 750; text-decoration: none; font-size: 1.3rem; }
.map-row { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 1.25rem; margin-top: 1.25rem; }
.map-row img { border-radius: 6px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.how { list-style: none; padding: 0; margin: 0; font-size: 1rem; }
.how li { padding: .7rem 0; border-bottom: 1px solid rgb(255 255 255 / .3); }
.btn {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.25rem; padding: .85rem 1.3rem;
  background: var(--navy); color: #fff; text-decoration: none; border-radius: 4px; font-weight: 650; font-size: 1rem;
}
.btn:hover { background: var(--ink); }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: var(--ink); color: #fff; }
.btn.ink { background: var(--ink); }
.btn.ink:hover { background: var(--navy); }

/* ---------- Neues ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.news article { display: flex; flex-direction: column; border-radius: 6px; overflow: hidden; }
.news img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: #fff; }
.news .body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.news .kind { font-size: .95rem; font-weight: 650; margin: 0 0 .35rem; }
.news h3 { margin-bottom: .75rem; }
.news p { font-size: 1rem; }
.news .body > :last-child { margin-top: auto; padding-top: .5rem; font-weight: 700; }
.link-btn { all: unset; cursor: pointer; font-weight: 700; text-decoration: underline; text-underline-offset: .25em; font-size: 1rem; }
.link-btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
dialog {
  max-width: min(720px, 92vw); max-height: 86vh; border: 0; border-radius: 8px; padding: 0;
  box-shadow: 0 30px 80px rgb(0 0 0 / .3);
}
dialog::backdrop { background: rgb(27 31 36 / .55); }
dialog[open] { animation: pop .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes pop { from { opacity: 0; transform: translateY(16px); } }
.dlg-inner { padding: 2.5rem; }
.dlg-inner h3 { font-size: 2rem; margin-bottom: .5rem; }
.dlg-inner h4 { font-size: 1.15rem; margin: 1.75rem 0 .5rem; }
.dlg-inner p { font-size: 1rem; }
.dlg-close { position: sticky; top: 0; float: right; margin: 1rem; padding: .5rem .9rem; border: 1px solid var(--line); background: #fff; border-radius: 4px; font: inherit; font-size: .95rem; cursor: pointer; }

/* ---------- Tagungsraum ---------- */
.tagung-teaser { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2rem 4rem; align-items: start; padding: clamp(2rem, 4vw, 3rem); border-radius: 6px; margin-bottom: 4rem; }
.tagung-teaser h2 { color: #fff; }
.tagung-teaser .sub { margin: 1rem 0 0; font-size: 1.2rem; font-weight: 600; }
.tagung-teaser ul { list-style: none; margin: 0; padding: 0; font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; font-stretch: 85%; line-height: 1.2; }
.tagung-teaser li { padding: .65rem 0; border-bottom: 2px solid rgb(255 255 255 / .3); }
.tagung-teaser p.flair { margin: 1.25rem 0 0; font-size: 1.1rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 4rem; align-items: start; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.gallery img { border-radius: 6px; width: 100%; aspect-ratio: 791 / 450; object-fit: cover; }
.gallery img:first-child { grid-column: 1 / -1; }
.terms h3 { margin: 2rem 0 .25rem; }
.terms .label { font-size: .95rem; color: var(--ink-soft); margin: 0 0 .75rem; }
.rates { display: flex; gap: 1rem; margin: 0 0 .75rem; flex-wrap: wrap; }
.rate { flex: 1 1 12rem; border-radius: 6px; padding: 1.25rem; }
.rate strong { display: block; font-size: 2.4rem; line-height: 1.1; font-stretch: 80%; font-weight: 800; }
.rate span { font-size: .98rem; font-weight: 550; }
.small { font-size: .95rem; color: var(--ink-soft); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 4rem; }
.features h3 { padding-bottom: .9rem; border-bottom: 6px solid var(--c); margin-bottom: .25rem; }
.features ul { padding: 0; margin: 0; list-style: none; font-size: 1rem; }
.features li { padding: .65rem 0 .65rem 1.4rem; border-bottom: 1px solid var(--line); position: relative; }
.features li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: .55rem; height: .55rem; background: var(--c, var(--ink)); border-radius: 1px; }
.features li ul { margin-top: .35rem; }
.features li li { border: 0; padding: .1rem 0 .1rem 1rem; color: var(--ink-soft); }
.features li li::before { width: .4rem; height: 2px; top: .85rem; background: var(--ink-soft); }
.signoff { margin-top: 3rem; padding: 2rem 2.25rem; border-radius: 6px; font-size: 1.1rem; }
.signoff p { max-width: 70ch; }
.signoff p:last-child { margin: 0; font-weight: 750; }

/* ---------- Villa ---------- */
.villa .split { align-items: center; }
.villa img { border-radius: 6px; background: #fff; padding: .75rem; box-shadow: 0 1px 0 rgb(0 0 0 / .08); }
.villa .sub { font-size: 1.25rem; font-weight: 650; margin: .75rem 0 1.5rem; }
.villa .ask { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 700; font-stretch: 85%; line-height: 1.25; }

/* ---------- Kontakt + Fuß ---------- */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.25rem; align-items: stretch; }
.contact-card { border-radius: 6px; padding: clamp(2rem, 4vw, 3rem); font-size: 1.1rem; }
.contact-card h2 { margin-bottom: 1.5rem; color: #fff; }
.contact address { font-style: normal; font-size: 1.3rem; line-height: 1.45; margin-bottom: 1.75rem; font-weight: 600; }
.contact dl { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.5rem; margin: 0; }
.contact dt { font-weight: 650; }
.contact dd { margin: 0; }
.contact dd a { font-weight: 700; }
.contact-card .small { color: inherit; margin: 1.75rem 0 0; }
.contact-pic { border-radius: 6px; overflow: hidden; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; }
.contact-pic img { width: 100%; height: 100%; object-fit: cover; }
footer { background: var(--grau); color: #fff; }
.foot { padding: 3.5rem 0 2rem; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.foot h4 { margin: 0 0 .75rem; font-size: 1rem; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: .35rem; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot p.small { color: rgb(255 255 255 / .85); }
.foot-bar { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .25); color: rgb(255 255 255 / .85); }
.foot-bar nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.foot :focus-visible { outline-color: #fff; }
.colorbar { display: grid; grid-template-columns: repeat(6, 1fr); height: 10px; }
.colorbar i { background: var(--c); }

/* ---------- Responsiv ---------- */
@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: 4.5rem; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 1.5rem 1.5rem; }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); background: none; }
  .menu-btn { display: block; font: inherit; font-weight: 650; background: none; border: 1px solid var(--ink); border-radius: 4px; padding: .45rem .9rem; cursor: pointer; }
  .hero-text { gap: 1.25rem; }
  .hero-text, .section-head, .intro, .split, .contact, .features { grid-template-columns: 1fr; }
  .visit-grid, .news { grid-template-columns: minmax(0, 1fr); }
  .map-row { grid-template-columns: 1fr 1fr; }
  .map-row > :last-child { grid-column: 1 / -1; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .tagung-teaser, .contact { grid-template-columns: 1fr; }
  .contact-pic { max-height: 22rem; }
  .history-pics { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .worlds { flex-direction: column; height: auto; }
  .world { flex: none; min-height: 4.5rem; transition: none; }
  .world-btn { position: relative; flex-direction: row; align-items: center; justify-content: flex-start; gap: 1rem; }
  .world-title { writing-mode: horizontal-tb; transform: none; white-space: normal; }
  .world[data-open="true"] .world-title { opacity: 1; }
  .world-body { position: static; display: none; padding: 0 var(--pad) var(--pad); opacity: 1; transform: none; }
  .world-body h3 { display: none; }
  .world[data-open="true"] .world-body { display: block; }
}
@media (max-width: 560px) {
  :root { --wrap: calc(100% - 2rem); }
  .hero-copy .visit-box p:not(.status) { display: none; }
  .hero-copy .hero-lead { font-size: 1.05rem; margin-top: .9rem; }
  .hint { margin-top: .9rem; }
  .map-row { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile { min-height: 8.5rem; gap: 1.5rem; padding: 1.1rem; }
  .timeline { grid-template-columns: 1fr; }
  .panel { padding: 1.5rem; }
  .foot-grid { grid-template-columns: 1fr; }
  .dlg-inner { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .stage { height: auto; }
  .pin { position: relative; top: 0; }
}
@media (max-height: 560px) and (orientation: landscape) {
  .hero-text { grid-template-columns: 1fr auto; gap: .75rem 2rem; }
  .hero .hero-copy h1 { font-size: clamp(1.8rem, 10vh, 2.6rem); }
  .hero-copy .hero-lead { font-size: 1rem; margin-top: .5rem; }
  .hint, .hero-copy .visit-box p:not(.status) { display: none; }
  .visit-box { min-width: 0; font-size: .95rem; }
  .doors .door { flex-direction: row; }
}
@media (max-width: 380px) {
  .brand { font-size: 1rem; white-space: nowrap; }
  .top .wrap { gap: 1rem; }
}
#oeffnungszeiten, #eintrittspreise, #anfahrt { scroll-margin-top: 6rem; }
.map-link { display: block; }
.map-link img { width: 100%; }

/* ---------- Hilfen ---------- */
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 4px; text-decoration: none; font-weight: 650; }
.skip:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nav a[aria-current="page"] { background-size: 100% 3px; font-weight: 650; }

/* ---------- Platzhalter für Inhalte, die das Museum noch liefert ---------- */
.offen {
  position: relative; margin: 0; border: 2px dashed #9aa19d; border-radius: 6px; background:
  repeating-linear-gradient(-45deg, rgb(27 31 36 / .035) 0 12px, transparent 12px 24px), #fafbf9; color: var(--ink);
}
.offen-label {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--ink); color: #fff; padding: .2rem .55rem; border-radius: 3px;
}
.offen-inline { display: inline-block; border: 2px dashed #9aa19d; border-radius: 4px; padding: .35rem .7rem; background: #fafbf9; font-size: .98rem; }
.offen-inline::before { content: "Wird ergänzt · "; font-weight: 700; }
.hinweis { padding: 1.1rem 1.25rem; margin: 0 0 2.5rem; }
.hinweis p { margin: .6rem 0 0; font-size: 1rem; }

/* ---------- Einblicke (Ausstellung, Villa) ---------- */
.einblick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 13rem; gap: .9rem; }
.einblick-grid figure { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 1rem; }
.einblick-grid figure.gross { grid-column: span 2; grid-row: span 2; }
.einblick-grid figcaption { margin: 0; font-size: .95rem; color: var(--ink-soft); max-width: 30ch; }
.villa-galerie { margin-top: 3rem; }

.barriere { margin-top: 1.25rem; padding: 1.5rem 2rem; }
.barriere h3 { margin: .75rem 0 .5rem; }
.barriere p { margin: 0; max-width: 70ch; }

/* ---------- Neues ---------- */
.news-sub { font-size: 1.25rem; margin: 0 0 1.25rem; color: var(--ink-soft); font-weight: 700; }

/* ---------- Tagen und übernachten (Startseite) ---------- */
.mehr h2 { margin-bottom: 2.25rem; }
.mehr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.mehr-card { display: grid; grid-template-columns: 1fr 1fr; border-radius: 6px; overflow: hidden; text-decoration: none; min-height: 15rem; transition: transform .45s cubic-bezier(.6, 0, .2, 1); }
.mehr-card img { width: 100%; height: 100%; object-fit: cover; }
.mehr-text { display: flex; flex-direction: column; gap: .4rem; padding: 1.4rem 1.5rem; }
.mehr-text small { font-size: .85rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.mehr-text b { font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 780; font-stretch: 78%; line-height: 1; font-variation-settings: "opsz" 96; }
.mehr-text span { margin-top: auto; font-size: 1rem; }
@media (hover: hover) { .mehr-card:hover { transform: translateY(-5px); } }
.mehr-card:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

/* ---------- Unterseiten ---------- */
.page-start { padding-top: clamp(2.5rem, 5vw, 4rem); }
.page-start h1, .legal h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 780; font-stretch: 78%; line-height: 1; letter-spacing: -0.025em; font-variation-settings: "opsz" 96; }
.tagung-teaser h1 { color: #fff; }

/* Anfrageformular Tagungsraum */
.anfrage { margin-top: 4.5rem; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 2rem 4rem; align-items: start; scroll-margin-top: 6rem; }
.anfrage-head p { color: var(--ink-soft); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.feld { display: flex; flex-direction: column; gap: .35rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.feld.weit { grid-column: 1 / -1; }
.feld label, .feld legend { font-size: .98rem; font-weight: 650; padding: 0; }
.feld input, .feld select, .feld textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 2px solid #8b928e; border-radius: 4px; padding: .65rem .75rem; min-height: 2.9rem; width: 100%;
}
.feld input:focus-visible, .feld select:focus-visible, .feld textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.feld [aria-invalid="true"] { border-color: var(--rot); }
.feld .fehler { color: #b3172f; font-size: .92rem; font-weight: 600; margin: 0; }
fieldset.feld { gap: .5rem; }
.wahl { display: flex; align-items: center; gap: .6rem; font-weight: 500 !important; min-height: 2rem; cursor: pointer; }
.wahl input { width: 1.25rem; height: 1.25rem; min-height: 0; accent-color: var(--navy); flex: none; }
.form-fuss .btn { align-self: flex-start; border: 0; cursor: pointer; font: inherit; font-weight: 650; }
.form-fuss .small { margin: 0; }
.form-meldung { margin: 0; font-weight: 650; }

/* Villa-Seite */
.villa-bilder { position: relative; padding-bottom: 18%; }
.villa .villa-bilder img { padding: 0; box-shadow: none; border-radius: 6px; }
.villa-bilder .haus { width: 88%; }
.villa-bilder .pool { position: absolute; right: 0; bottom: 0; width: 46%; border: 6px solid var(--gelb); border-radius: 8px; }
.villa-facts { margin: 0; }
.villa-facts strong { font-size: 2.2rem; hyphens: manual; }
.kombi { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; flex-wrap: wrap; margin-top: 3rem; padding: 2rem 2.25rem; border-radius: 6px; }
.kombi h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; margin-bottom: .5rem; }
.kombi p { margin: 0; }
.kombi .btn { margin: 0; }

/* Impressum, Datenschutz */
.legal { max-width: 52rem; }
.legal h1 { margin-bottom: 2rem; }
.legal h2 { font-size: 1.35rem; font-stretch: 90%; margin: 2.25rem 0 .6rem; letter-spacing: -0.01em; }
.legal p, .legal li { font-size: 1.05rem; }
.legal ul { padding-left: 1.2rem; }

/* ---------- Schnellaktionen am Handy ---------- */
.actionbar { display: none; }
@media (max-width: 760px) {
  .actionbar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: .6rem; right: .6rem;
    bottom: calc(.6rem + env(safe-area-inset-bottom)); z-index: 30; background: var(--ink); border-radius: 10px;
    box-shadow: 0 8px 30px rgb(0 0 0 / .25); transform: translateY(calc(100% + 1.5rem)); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  }
  .actionbar.zeigen { transform: none; }
  .actionbar a { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .6rem .25rem .55rem; color: #fff; text-decoration: none; font-size: .82rem; font-weight: 650; min-height: 3.4rem; }
  .actionbar a + a { border-left: 1px solid rgb(255 255 255 / .18); }
  .actionbar svg { width: 1.3rem; height: 1.3rem; fill: currentColor; }
  .actionbar a:focus-visible { outline: 3px solid #fff; outline-offset: -4px; }
  footer { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
}

@media (max-width: 980px) {
  .einblick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 10rem; }
  .mehr-grid, .anfrage { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .einblick-grid figure.gross { grid-column: 1 / -1; grid-row: span 1; }
  .mehr-card { grid-template-columns: 1fr; }
  .mehr-card img { aspect-ratio: 16 / 9; height: auto; }
  .form { grid-template-columns: 1fr; }
  .barriere { padding: 1.25rem 1.5rem; }
  .kombi { padding: 1.5rem; }
}
.mehr { padding-bottom: 0; }
.einblick-grid figcaption { hyphens: auto; overflow-wrap: anywhere; }
