/* Übernachten im Schloss – gemeinsames Stylesheet */
:root {
  --bg: #faf7f2; --paper: #ffffff; --ink: #2b2622; --muted: #6b625a;
  --accent: #7a2e1f; --accent-dark: #5c2116; --gold: #b08d57; --line: #e6dfd4;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
h1, h2, h3, .brand { font-family: Georgia, "Times New Roman", serif; line-height: 1.25; }
a { color: var(--accent); }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 20px; }

/* Kopf */
header.site { background: var(--paper); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { font-size: 22px; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.brand img { width: 28px; height: 28px; }
.brand span { color: var(--gold); }
.langs { display: flex; gap: 4px; font-size: 14px; }
.langs a, .langs strong { padding: 3px 8px; border-radius: 4px; text-decoration: none; color: var(--muted); }
.langs strong { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.langs a:hover { background: var(--bg); color: var(--ink); }

/* Inhalt */
.crumbs { font-size: 14px; color: var(--muted); margin: 18px 0 6px; }
.crumbs a { color: var(--muted); }
h1 { font-size: clamp(28px, 4.5vw, 40px); margin: 6px 0 14px; }
.lead { font-size: 19px; color: #3d3630; }
h2 { font-size: 27px; margin: 42px 0 12px; }
h3 { font-size: 20px; margin: 24px 0 8px; }
figure { margin: 22px 0; }
figure img { width: 100%; height: auto; display: block; border-radius: 6px; }
figure.hero img { aspect-ratio: 16 / 9; object-fit: cover; object-position: center 35%; }
figcaption { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

.facts { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 6px; padding: 18px 22px; margin: 26px 0; }
.facts h2 { font-size: 20px; margin: 0 0 10px; }
.facts dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 16px; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; }

.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; padding: 12px 22px; border-radius: 6px; font-weight: 600; }
.btn:hover { background: var(--accent-dark); }
.btn-note { display: block; font-size: 12.5px; color: var(--muted); margin-top: 8px; }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--gold); }
.timeline li { padding: 0 0 14px 18px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.timeline b { color: var(--accent); }

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 6px 28px; }
.cols ul { margin: 0 0 8px; padding-left: 20px; }

table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
td { padding: 9px 14px; border-bottom: 1px solid var(--line); }
td:last-child { text-align: right; white-space: nowrap; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
.map { width: 100%; height: 340px; border: 1px solid var(--line); border-radius: 6px; margin: 16px 0 6px; }

.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px; }
.card h3 { margin-top: 0; }

/* Ausflugsziele */
.trips { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 16px; }
.trip { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.trip img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.trip div { padding: 12px 16px 14px; }
.trip h3 { margin: 0 0 2px; font-size: 19px; }
.trip .dist { font-size: 13.5px; color: var(--gold); font-weight: 600; margin: 0 0 6px; }
.trip p { margin: 0; font-size: 15.5px; }
.trip .credit { font-size: 12px; color: var(--muted); margin-top: 8px; }

/* Fotogalerie (wird aus /fotos/<slug>/fotos.json geladen) */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 14px; }
.galerie figure { margin: 0; }
.galerie img { aspect-ratio: 4 / 3; object-fit: cover; }

details { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 12px 16px; margin: 10px 0; }
summary { font-weight: 600; cursor: pointer; }
.cta-box { text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 26px 20px; margin: 40px 0; }
.cta-box p { margin: 0 0 14px; }
.small { font-size: 13.5px; color: var(--muted); }

/* Startseite */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin: 26px 0; }
.castle { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; text-decoration: none; color: var(--ink); }
.castle img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 35%; display: block; }
.castle div { padding: 14px 18px 18px; }
.castle h2 { font-size: 22px; margin: 0 0 4px; color: var(--accent); }
.castle p { margin: 0; color: var(--muted); font-size: 15px; }

footer.site { margin-top: 50px; background: #2b2622; color: #d9d1c6; font-size: 14px; }
footer.site .wrap { padding-top: 24px; padding-bottom: 28px; }
footer.site a { color: #f0e4cf; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .facts dl { grid-template-columns: 1fr; gap: 0; }
  .facts dd { margin-bottom: 8px; }
}
