/*
Theme Name: Schützenverein Marx
Description: Individuelles Theme für den Schützenverein Marx 1928/49 e.V. – Startseite mit Terminen, Königshaus und Vereinsinfos; Texte im Customizer, Termine als eigener Inhaltstyp.
Version: 1.2.28
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: sv-marx
*/

:root {
  --g9: #0f2318;
  --g8: #163723;
  --g7: #1d4a2f;
  --g6: #28663f;
  --accent: #6cc24a;
  --gold: #c9a13b;
  --paper: #ffffff;
  --bg: #f5f6f1;
  --ink: #17201a;
  --muted: #5b675e;
  --line: #dfe3d8;
  --serif: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --icon-kalender: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M8 3v4M16 3v4M3 10h18'/%3E%3Cpath d='M12 12.6l1.1 2.2 2.4.35-1.75 1.7.4 2.4-2.15-1.13-2.15 1.13.4-2.4-1.75-1.7 2.4-.35z' fill='black' stroke-width='.8'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 800px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--g9); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* Vorschau-Hinweis */
.draft { background: var(--accent); color: var(--g9); font-size: 13px; font-weight: 600; text-align: center; padding: 6px 16px; }

/* Topbar */
.topbar { background: var(--g9); color: #c9d6cc; font-size: 14px; }
.topbar .wrap { max-width: 1320px; display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar strong { color: #fff; font-weight: 600; }
.topbar a { color: #fff; text-decoration: none; }
.topbar .links { display: flex; align-items: center; gap: 18px; }
.social-top { display: none; gap: 6px; }
.topbar .social-top a { width: 26px; height: 26px; background: rgba(255, 255, 255, .12); }
.topbar .social-top a:hover { background: var(--accent); color: var(--g9); }
.social-top svg { width: 14px; height: 14px; }

/* Header */
.site-header { background: var(--paper); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); box-shadow: 0 4px 18px rgba(15, 35, 24, .06); }
.admin-bar .site-header { top: 32px; }
.site-header .wrap { max-width: 1320px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.badge { flex: none; width: 68px; height: 68px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(15, 35, 24, .18); }
.badge img { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text small { font-size: 12px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
.brand-text strong { font-family: var(--serif); font-size: 30px; color: var(--g8); letter-spacing: .02em; }
.brand-text span { font-size: 13px; color: var(--g6); font-weight: 600; }

.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav a, .sub-toggle { display: block; padding: 10px 11px; text-decoration: none; font: 600 15px/1.6 var(--sans); color: var(--g8); border-radius: 8px; }
.nav a:hover, .sub-toggle:hover, .nav li.open > .sub-toggle { background: #edf3ea; }
.nav a[aria-current="page"], .nav .current-menu-ancestor > .sub-toggle { color: var(--g6); box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }

/* Aufklappmenü */
.nav > ul > li { position: relative; }
.sub-toggle { display: flex; align-items: center; gap: 5px; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.chevron { width: 11px; height: 11px; flex: none; transition: transform .2s ease; }
.nav li.open > .sub-toggle .chevron { transform: rotate(180deg); }
.nav .sub-menu { display: none; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; z-index: 60; min-width: 250px; padding: 8px;
  background: var(--paper); border-top: 3px solid var(--accent); border-radius: 0 0 12px 12px; box-shadow: 0 18px 40px rgba(15, 35, 24, .18); }
.nav > ul > li:nth-last-child(-n+2) > .sub-menu { left: auto; right: 0; }
.nav li.open > .sub-menu { display: flex; }
.nav .sub-menu a { font-weight: 500; white-space: nowrap; }
/* Hervorgehobener Menüpunkt „Dein Event bei uns“ */
.nav .menu-highlight > a { display: inline-flex; align-items: center; gap: 7px; background: linear-gradient(135deg, #8be064, var(--accent) 50%, #4c9e2e); color: var(--g9); font-weight: 800; border-radius: 999px; padding: 9px 18px 9px 14px; margin: 0 0 0 8px; white-space: nowrap; box-shadow: 0 6px 16px rgba(76, 158, 46, .45); animation: svm-leuchten 2.6s ease-out infinite; transition: transform .15s ease; }
.nav .menu-highlight > a::before { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--icon-kalender) center / contain no-repeat; mask: var(--icon-kalender) center / contain no-repeat; }
.nav .menu-highlight > a:hover { background: var(--g8); color: #fff; transform: translateY(-1px); }
.nav .menu-highlight > a[aria-current="page"] { border-radius: 999px; color: var(--g9); }
.nav .menu-highlight > a[aria-current="page"]:hover { color: #fff; }
@keyframes svm-leuchten { 0% { box-shadow: 0 6px 16px rgba(76, 158, 46, .45), 0 0 0 0 rgba(108, 194, 74, .75); } 70%, 100% { box-shadow: 0 6px 16px rgba(76, 158, 46, .45), 0 0 0 12px rgba(108, 194, 74, 0); } }
@media (prefers-reduced-motion: reduce) { .nav .menu-highlight > a { animation: none; } }
/* Handy/Tablet: „Dein Event bei uns“ als grüne Leiste unter der Kopfzeile (auf dem Desktop steht es als Knopf im Menü) */
.event-leiste { display: none; }
@media (max-width: 1240px) {
  .event-leiste { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; background: linear-gradient(135deg, #8be064, var(--accent) 50%, #4c9e2e); color: var(--g9); font-weight: 800; font-size: 15px; text-decoration: none; }
  .event-leiste::before { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--icon-kalender) center / contain no-repeat; mask: var(--icon-kalender) center / contain no-repeat; }
  .event-leiste span { transition: transform .15s ease; }
  .event-leiste:hover span { transform: translateX(3px); }
}
/* knappe Desktop-Breiten: Menüpunkte enger, damit der Event-Knopf in die Zeile passt */
@media (min-width: 1241px) and (max-width: 1400px) {
  .site-header .wrap { gap: 16px; }
  .nav a, .sub-toggle { padding-left: 7px; padding-right: 7px; }
}
.nav .sub-menu a[aria-current="page"] { box-shadow: none; border-radius: 8px; background: #edf3ea; font-weight: 600; }
@media (min-width: 1241px) {
  .site-header .header-actions { display: none; }
  .social-top { display: flex; }
  .nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { display: flex; }
}
.nav-toggle { display: none; background: none; border: 2px solid var(--g8); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; padding: 0; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--g8); margin: 0 auto; position: relative; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* Social-Icons */
.header-actions { display: flex; align-items: center; gap: 10px; }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--g8); color: #fff; transition: background .15s ease, color .15s ease, transform .15s ease; }
.social a:hover { background: var(--accent); color: var(--g9); transform: translateY(-1px); }
.social svg { width: 20px; height: 20px; }
.site-footer .social-footer { margin-top: 18px; }
.site-footer .social-footer a { background: rgba(255, 255, 255, .1); color: #fff; }
.site-footer .social-footer a:hover { background: var(--accent); color: var(--g9); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--g9); }
.btn-accent:hover { background: #7fd35c; }
.btn-ghost { border: 2px solid rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-dark { background: var(--g8); color: #fff; }
.btn-dark:hover { background: var(--g7); }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; padding: 84px 0 150px;
  background: radial-gradient(circle at 78% 45%, rgba(108, 194, 74, .28), transparent 42%), linear-gradient(140deg, var(--g9) 0%, var(--g8) 55%, var(--g7) 100%); }
.hero.has-photo { background: linear-gradient(90deg, rgba(8, 22, 14, .9) 0%, rgba(8, 22, 14, .68) 45%, rgba(8, 22, 14, .28) 100%), var(--hero-photo) center / cover; }
.hero.no-highlight { padding-bottom: 84px; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .06;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='white' stroke-width='1.5'%3E%3Ccircle cx='80' cy='80' r='70'/%3E%3Ccircle cx='80' cy='80' r='52'/%3E%3Ccircle cx='80' cy='80' r='34'/%3E%3C/g%3E%3Ccircle cx='80' cy='80' r='14' fill='white'/%3E%3C/svg%3E") 0 0 / 160px 160px; }
.hero.has-photo::before { display: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.hero h1 { font-size: clamp(36px, 5.6vw, 62px); margin-bottom: 18px; }
.hero p { font-size: 19px; color: #d6e2d9; max-width: 34em; margin: 0 0 30px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badge { justify-self: center; width: clamp(220px, 30vw, 380px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .14), 0 0 80px 14px rgba(108, 194, 74, .45); }
.hero-badge img { width: 100%; height: 100%; }

/* Highlight-Karte */
.highlight { margin-top: -96px; position: relative; z-index: 2; }
.highlight .card { background: var(--paper); border-radius: var(--radius); border-top: 5px solid var(--accent); box-shadow: 0 20px 44px rgba(15, 35, 24, .18);
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 28px 32px; }
.bigdate { background: var(--g8); color: #fff; border-radius: 12px; padding: 14px 20px; text-align: center; min-width: 150px; }
.bigdate b { display: block; font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.bigdate small { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #bfe3ad; }
.highlight h2 { font-size: 28px; color: var(--g8); margin-bottom: 4px; }
.highlight p { margin: 0; color: var(--muted); }

/* Sektionen */
.section { padding: 84px 0; }
.section.white { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--g6); display: block; margin-bottom: 6px; }
.section h2 { font-size: clamp(28px, 3.6vw, 40px); color: var(--g8); margin: 0; }
.more { font-weight: 700; color: var(--g6); text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; }

.ph { background: repeating-linear-gradient(45deg, #e3e8de 0 12px, #ebefe7 12px 24px); display: grid; place-items: center; color: #7b8a7f; font-size: 13px; font-weight: 600; text-align: center; padding: 12px; }

/* Beitragskarten */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; }
.post:hover { box-shadow: 0 14px 30px rgba(15, 35, 24, .12); transform: translateY(-2px); }
.post-media { display: block; aspect-ratio: 16 / 10; text-decoration: none; }
.post-media img, .post-media .ph { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.tag { background: #e6f2df; color: var(--g6); font-weight: 700; border-radius: 999px; padding: 2px 10px; font-size: 12px; }
.post h3 { font-size: 21px; color: var(--g8); margin-bottom: 8px; }
.post h3 a { text-decoration: none; }
.post p { margin: 0 0 16px; color: var(--muted); }
.post .more { margin-top: auto; }

/* Termine */
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.event { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.section:not(.white) .event { background: var(--paper); }
.event .date { background: var(--paper); border: 2px solid var(--g8); border-radius: 10px; text-align: center; line-height: 1.1; padding: 8px 0; }
.event .date b { display: block; font-family: var(--serif); font-size: 26px; color: var(--g8); }
.event .date small { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--g6); letter-spacing: .06em; }
.event h3 { font-family: var(--sans); font-size: 17px; margin: 0 0 2px; color: var(--ink); }
.event h3 a { text-decoration: none; }
.event h3 a:hover { text-decoration: underline; }
.event p { margin: 0; font-size: 14px; color: var(--muted); }
.section .event.hot { border-color: var(--accent); background: #f0f8eb; }
.empty { color: var(--muted); }

.infocard { background: var(--g8); color: #e3ece5; border-radius: var(--radius); padding: 28px; }
.infocard h3 { color: #fff; font-size: 24px; }
.infocard dl { margin: 0 0 22px; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.infocard dt { font-weight: 700; color: #fff; }
.infocard dd { margin: 0; }
.infocard hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .15); margin: 22px 0; }
.infocard address { font-style: normal; margin-bottom: 16px; }

/* Königshaus */
.band { background: linear-gradient(160deg, var(--g9), var(--g7)); color: #fff; }
.band h2 { color: #fff; }
.band .kicker, .band .more { color: var(--accent); }
.royals { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.royal { flex: 0 1 262px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 26px 20px; text-align: center; }
.royal .crown { width: 34px; height: 34px; margin: 0 auto 10px; color: var(--gold); }
.royal .avatar { width: 120px; height: 120px; margin: 0 auto 18px; border-radius: 50%; border: 3px solid var(--gold); background: rgba(255, 255, 255, .08); display: grid; place-items: center; overflow: hidden; }
.royal .avatar svg { width: 80%; color: rgba(255, 255, 255, .35); margin-top: 18%; }
.royal .avatar img { width: 100%; height: 100%; object-fit: cover; }
.royal small { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 4px; }
.royal h3 { font-size: 22px; margin: 0; }
.royal p { margin: 4px 0 0; color: #b9cbbd; font-size: 14px; }

/* Verein */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about p { color: var(--muted); font-size: 17px; }
.about-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-align: center; }
.stat b { display: block; font-family: var(--serif); font-size: 30px; color: var(--g8); line-height: 1.1; }
.stat small { color: var(--muted); font-size: 13px; }

/* Bildkacheln */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tile-big { position: relative; isolation: isolate; min-height: 400px; border-radius: var(--radius); overflow: hidden; color: #fff; padding: 100px 28px 28px; /* oben Platz für das Symbol, damit langer Text es nicht überdeckt */
  display: flex; flex-direction: column; justify-content: flex-end; background: var(--tile-photo) center / cover, var(--g7); transition: transform .2s ease, box-shadow .2s ease; }
.tile-big:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(15, 35, 24, .22); }
.tile-big::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 35, 24, .1) 15%, rgba(15, 35, 24, .9) 72%); }
.tile-big.no-photo { background: radial-gradient(circle at 80% 15%, rgba(108, 194, 74, .3), transparent 45%), linear-gradient(160deg, var(--g7), var(--g9)); }
.tile-big.no-photo::before { opacity: .07; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='white' stroke-width='1.5'%3E%3Ccircle cx='60' cy='60' r='52'/%3E%3Ccircle cx='60' cy='60' r='38'/%3E%3Ccircle cx='60' cy='60' r='24'/%3E%3C/g%3E%3Ccircle cx='60' cy='60' r='10' fill='white'/%3E%3C/svg%3E") 0 0 / 120px 120px; }
.tile-icon { position: absolute; top: 24px; left: 24px; width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: var(--g9); display: grid; place-items: center; }
.tile-icon svg { width: 28px; height: 28px; }
.tile-big h3 { font-size: 28px; color: #fff; margin-bottom: 8px; }
.tile-big p { color: #d6e2d9; margin: 0 0 18px; }
.tile-big ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tile-big ul a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .15); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.tile-big ul a:hover { background: var(--accent); color: var(--g9); }

/* Dein Event bei uns */
.section.offen { padding-top: 0; }
.event-card { display: grid; grid-template-columns: 1.15fr .85fr; background: var(--accent); color: var(--g9); border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 36px rgba(15, 35, 24, .16); }
.event-card:not(.has-photo) { grid-template-columns: 1fr; }
.event-text { padding: 40px; }
.event-card .kicker { color: var(--g8); }
.section .event-card h2 { font-size: clamp(30px, 4vw, 44px); color: var(--g9); margin: 0 0 10px; }
.event-card p { font-size: 17px; margin: 0 0 24px; max-width: 640px; }
.event-card .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.event-card .btn-ghost { border-color: var(--g9); color: var(--g9); }
.event-card .btn-ghost:hover { background: rgba(15, 35, 24, .08); }
.event-card img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }

/* Mitglied werden */
.cta { background: var(--accent); color: var(--g9); padding: 56px 0; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 6px; }
.cta p { margin: 0; font-size: 17px; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn-ghost { border-color: var(--g9); color: var(--g9); }
.cta .btn-ghost:hover { background: rgba(15, 35, 24, .08); }

/* Unterseiten */
.page-head { background: linear-gradient(140deg, var(--g9), var(--g7)); color: #fff; padding: 56px 0 48px; }
.page-head.has-photo { background: linear-gradient(90deg, rgba(8, 22, 14, .9) 0%, rgba(8, 22, 14, .55) 100%), var(--hero-photo) center 40% / cover; }
.page-head .kicker { color: var(--accent); }
.page-head h1 { font-size: clamp(30px, 4.6vw, 48px); margin: 0; }
.page-meta { color: #c9d6cc; margin: 10px 0 0; }
/* Detailseiten mit Beitragsbild: Text links, Bild rechts daneben (Klick vergrößert) */
.wrap.narrow.mit-bild { max-width: 1080px; }
.mit-bild .detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.detail-bild { position: sticky; top: 120px; }
.detail-bild .wp-block-image { margin: 0; }
.detail-bild img { width: 100%; border-radius: var(--radius); box-shadow: 0 12px 28px rgba(15, 35, 24, .16); }
/* Bilder im Text höchstens 560 px hoch, damit der Text nicht untergeht – Klick zeigt sie groß */
.entry-content > .wp-block-image.wp-lightbox-container { width: fit-content; max-width: 100%; margin-inline: auto; }
.entry-content > .wp-block-image img { max-height: 560px; width: auto; margin-inline: auto; }
/* Bild rechts bzw. links neben dem Text – der Text fließt daran vorbei (WordPress setzt die Klasse auf das innere <figure>) */
.entry-content::after { content: ""; display: table; clear: both; } /* seitliches Bild am Seitenende ragt nicht in den Footer */
.entry-content figure.alignright { float: right; clear: right; width: 300px; max-width: 42%; margin: 6px 0 20px 32px; } /* clear: mehrere Bilder untereinander */
.entry-content figure.alignleft { float: left; clear: left; width: 300px; max-width: 42%; margin: 6px 32px 20px 0; }
.entry-content figure.alignright img, .entry-content figure.alignleft img { width: 100%; max-height: none; }
.entry-content { font-size: 18px; }
.entry-content > * { margin-top: 0; margin-bottom: 1.1em; }
.entry-content h2 { font-size: 30px; color: var(--g8); margin-top: 1.6em; margin-bottom: .5em; clear: both; } /* Abstand nach unten ausdrücklich: „.section h2“ setzt ihn sonst auf 0 */
.entry-content h3 { font-size: 23px; color: var(--g8); margin-top: 1.4em; }
.entry-content a { color: var(--g6); }
.entry-content img { border-radius: 10px; }
.entry-content blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent); color: var(--muted); font-style: italic; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
/* Galerie „gleich“: alle Vorschaubilder gleich hoch (Klick zeigt das ganze Bild); „zeitung“: jeder Ausschnitt vollständig in seinem eigenen Format, Bildunterschrift darunter statt darüber */
.entry-content .wp-block-gallery.gleich figure.wp-block-image { justify-content: flex-start; }
.entry-content .wp-block-gallery.gleich figure.wp-block-image img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; flex: none; }
.entry-content .wp-block-gallery.zeitung figure.wp-block-image { justify-content: flex-start; }
.entry-content .wp-block-gallery.zeitung figure.wp-block-image img { width: 100%; height: auto; flex: none; box-shadow: 0 6px 16px rgba(15, 35, 24, .14); }
.entry-content .wp-block-gallery.zeitung figure.wp-block-image figcaption { position: static; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--muted); text-shadow: none; max-height: none; overflow: visible; padding: 8px 2px 0; font-size: 14px; line-height: 1.4; text-align: left; }
.entry-content .wp-block-gallery.zeitung figure.wp-block-image::before { display: none; }
/* Videos (Handy-Hochformat): nie höher als der Bildschirm; „video-hoch“ einzeln mittig, „video-reihe“ mehrere nebeneinander */
.entry-content .wp-block-video video { display: block; width: 100%; max-height: 80vh; background: #000; border-radius: 10px; }
.entry-content .wp-block-video.video-hoch { max-width: 340px; margin-inline: auto; }
/* klassische Themes legen um den Gruppen-Inhalt noch einen inneren Container – das Raster gilt für beide (ein einzelnes Kind füllt die volle Breite) */
.entry-content .video-reihe, .entry-content .video-reihe > .wp-block-group__inner-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.entry-content .video-reihe .wp-block-video { margin: 0; }
/* in der Reihe alle Videos gleich hoch: fester Hochformat-Kasten, abweichende Formate werden eingepasst statt beschnitten
   (!important, weil WordPress das Originalformat als style-Attribut an das Video schreibt) */
.entry-content .video-reihe .wp-block-video video { aspect-ratio: 9 / 16 !important; max-height: none; object-fit: contain; }
.entry-content .wp-block-video figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 6px; }
/* Spalten-Block „neben“: Hochkant-Video links, Text rechts daneben (auf dem Handy untereinander) */
.entry-content .wp-block-columns.neben { display: flex; flex-wrap: nowrap; gap: 40px; }
.entry-content .neben > .wp-block-column { flex: 1 1 0; min-width: 0; align-self: center; }
.entry-content .neben > .wp-block-column:first-child { flex: 0 0 300px; }
/* hervorgehobener Satz; overflow: bleibt neben einem seitlichen Bild schmal, statt darunter durchzulaufen */
.entry-content .hervorhebung { overflow: hidden; padding: 16px 20px; border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; background: #f0f8eb; color: var(--g8); }
/* Rückblicke: Übersicht als Kacheln (Shortcode [rueckblicke]); die Seite mit der Übersicht nutzt die volle Breite */
.wrap.narrow:has(.rueckblicke) { max-width: 1180px; }
.entry-content .rueckblicke { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-bottom: 40px; }
.entry-content .rueckblick { display: flex; flex-direction: column; max-width: 580px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
.entry-content .rueckblick:hover { box-shadow: 0 14px 30px rgba(15, 35, 24, .12); transform: translateY(-2px); }
.rueckblick-bild { position: relative; display: block; aspect-ratio: 16 / 10; }
.entry-content .rueckblick-bild img, .rueckblick-bild .ph { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.rueckblick-bild .jahr { position: absolute; left: 16px; bottom: 16px; padding: 4px 14px; border-radius: 999px; background: var(--g8); color: #fff; font-size: 15px; font-weight: 700; }
.rueckblick-text { display: flex; flex-direction: column; flex: 1; padding: 20px 24px 24px; }
.entry-content .rueckblick h2 { font-size: 25px; margin: 0 0 8px; }
.rueckblick-text p { margin: 0 0 16px; color: var(--muted); font-size: 16px; }
.rueckblick .more { margin-top: auto; }
/* ---- Bausteine im Seitentext: Klassen an normalen Blöcken, die Inhalte bleiben im Editor pflegbar ---- */
/* Knöpfe wie .btn; Stil „outline“ = nur umrandet */
.entry-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.entry-content .wp-block-button__link { display: inline-block; background: var(--g8); color: #fff; border-radius: 999px; padding: 13px 22px; font-size: 15px; font-weight: 700; line-height: 1.3; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.entry-content .wp-block-button__link:hover { background: var(--g7); transform: translateY(-1px); }
.entry-content .wp-block-button.is-style-outline .wp-block-button__link { background: none; border: 2px solid var(--g8); padding: 11px 20px; color: var(--g8); }
.entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover { background: rgba(15, 35, 24, .06); }
/* Spalten nebeneinander (auf dem Handy untereinander); „kasten“ = weißer Kasten */
.entry-content .wp-block-columns { display: flex; gap: 32px; }
.entry-content .wp-block-column { flex: 1 1 0; min-width: 0; }
.entry-content .wp-block-column > * { margin-top: 0; margin-bottom: 1.1em; }
.entry-content .wp-block-column > :last-child { margin-bottom: 0; }
.entry-content .wp-block-columns.kasten { padding: 24px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.entry-content .kasten > .wp-block-column, .entry-content .mittig > .wp-block-column { align-self: center; } /* „mittig“: Spalten senkrecht mittig */
.entry-content .kasten > .wp-block-column + .wp-block-column { flex: 0 0 260px; text-align: center; } /* rechte Spalte schmal, z. B. für den QR-Code */
.entry-content .kasten .wp-block-image { width: fit-content; margin-inline: auto; }
/* Karten-Liste (Klasse „karten“ an einer Liste): jeder Punkt eine Karte, <strong> am Anfang = Kopfzeile, <em> = Zusatzzeile.
   „schilder“: kleine Kopfzeile, großer Wert (Funktion und Name) · „zahlen“: mittig mit großer Zahl · nummerierte Liste: Schritte mit Nummer · „hervor“ am Punkt: dunkle Karte */
.entry-content .karten { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.entry-content .karten.zwei { grid-template-columns: repeat(2, 1fr); } /* fest zwei nebeneinander (auf dem Handy eine) */
.entry-content .karten > li { padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; font-size: 16px; line-height: 1.5; }
.entry-content .karten > li > strong:first-child { display: block; margin-bottom: 4px; font-family: var(--serif); font-size: 20px; line-height: 1.2; color: var(--g8); }
.entry-content .karten > li > em { display: block; margin-bottom: 6px; font-style: normal; font-weight: 700; color: var(--g6); }
.entry-content .karten.schilder > li { font-family: var(--serif); font-size: 19px; line-height: 1.25; color: var(--g8); }
.entry-content .karten.schilder > li > strong:first-child, .entry-content .karten.majestaeten > li > strong:first-child { margin-bottom: 6px; font-family: var(--sans); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--g6); }
.entry-content .karten > li.hervor { background: var(--g8); border-color: var(--g8); color: #fff; }
.entry-content .karten.schilder > li.hervor > strong:first-child { color: var(--accent); }
.entry-content .karten.zahlen > li { text-align: center; font-size: 14px; color: var(--muted); }
.entry-content .karten.zahlen > li > strong:first-child { font-size: 26px; }
.entry-content ol.karten { counter-reset: karte; }
.entry-content ol.karten > li { position: relative; padding-top: 60px; counter-increment: karte; }
.entry-content ol.karten > li::before { content: counter(karte); position: absolute; top: 16px; left: 20px; width: 32px; height: 32px; border-radius: 50%; background: var(--g8); color: #fff; font: 700 15px/32px var(--sans); text-align: center; }
.entry-content ol.karten.podium > li:first-child::before { background: var(--gold); color: var(--g9); }
/* „majestaeten“: Krone, Titel, Name (<em>), darunter die Begleitung; letzte Reihe mittig wie auf der Startseite */
.entry-content .karten.majestaeten { display: flex; flex-wrap: wrap; justify-content: center; }
.entry-content .karten.majestaeten > li { flex: 0 1 240px; }
.entry-content .karten.majestaeten > li { padding-top: 54px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c9a13b'%3E%3Cpath d='M3 18h18l-1.6-10.5-4.6 4.2L12 5 9.2 11.7 4.6 7.5z'/%3E%3Crect x='3' y='19.5' width='18' height='2' rx='1'/%3E%3C/svg%3E") center 16px / 30px no-repeat; text-align: center; font-size: 15px; color: var(--muted); }
.entry-content .karten.majestaeten > li > em { margin: 0 0 8px; font-family: var(--serif); font-size: 22px; color: var(--g8); }
/* Zeitleiste (Klasse „zeitleiste“ an einer Liste): Punkt „erledigt“ gefüllt, „aktuell“ leuchtend, sonst offen */
.entry-content .zeitleiste { list-style: none; padding: 0; }
.entry-content .zeitleiste > li { position: relative; padding: 0 0 20px 38px; }
.entry-content .zeitleiste > li:last-child { padding-bottom: 0; }
.entry-content .zeitleiste > li::before { content: ""; position: absolute; z-index: 1; left: 4px; top: 5px; width: 16px; height: 16px; box-sizing: border-box; border: 3px solid var(--g6); border-radius: 50%; background: var(--bg); }
.entry-content .zeitleiste > li::after { content: ""; position: absolute; left: 11px; top: 12px; bottom: -8px; width: 2px; background: var(--line); }
.entry-content .zeitleiste > li:last-child::after { display: none; }
.entry-content .zeitleiste > li.erledigt::before { background: var(--g6); }
.entry-content .zeitleiste > li.aktuell::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 5px rgba(108, 194, 74, .25); }
.entry-content .zeitleiste > li > strong:first-child { display: block; font-family: var(--serif); font-size: 20px; line-height: 1.3; color: var(--g8); }
/* aufklappbare Fragen (Details-Block) */
.entry-content .wp-block-details { margin-bottom: 10px; padding: 0 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.entry-content .wp-block-details summary { padding: 15px 0; font-weight: 700; color: var(--g8); cursor: pointer; }
.entry-content .wp-block-details[open] summary { margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.entry-content .wp-block-details > p:last-child { margin-bottom: 16px; }
/* Finanzierungsbalken: dunkler Teil = beantragte Förderung, gestreifter Teil = Lücke */
.entry-content .finanzierung { padding: 22px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.finanzierung-balken { height: 20px; border-radius: 999px; overflow: hidden; background: repeating-linear-gradient(45deg, var(--accent) 0 8px, #93d977 8px 16px); }
.finanzierung-balken span { display: block; height: 100%; background: var(--g7); }
.finanzierung ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 15px; color: var(--muted); }
.finanzierung li::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 3px; background: var(--g7); }
.finanzierung li.luecke::before { background: var(--accent); }
.finanzierung li.gesamt::before { display: none; }
.finanzierung li strong { font-size: 17px; color: var(--g8); }
/* Infokasten im Seitentext (Shortcode [infokarte]); „breit“: Schießzeiten und Anfahrt nebeneinander */
.entry-content .infocard { font-size: 16px; }
.entry-content .infocard h3 { margin-top: 0; font-size: 24px; color: #fff; }
.entry-content .infocard a { color: #fff; }
.entry-content .infocard .btn-accent { color: var(--g9); }
.infocard.breit { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.infocard.breit hr { display: none; }
/* zwei Tabellenhälften nebeneinander (Spalten-Block „tabellen“): die Seite wird dafür breiter, auf dem Handy eine durchgehende Tabelle */
.wrap.narrow:has(.tabellen) { max-width: 1080px; }
.entry-content .tabellen .wp-block-table { margin: 0; }
.back { margin-top: 40px; }

/* Belegungskalender */
.belegung { margin-bottom: 1.6em; }
.cal-nav { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cal-nav a, .cal-nav span { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 15px; font-weight: 700; text-decoration: none; }
.entry-content .cal-nav a { color: var(--g6); }
.cal-nav a:hover { border-color: var(--g6); }
.cal-nav span { color: #b5beb7; }
.cal-months { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.cal-month { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.entry-content .cal-month h3 { margin: 0 0 12px; font-size: 20px; text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-wd { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); padding-bottom: 2px; }
.cal-day { aspect-ratio: 1; display: grid; place-items: center; border: 0; border-radius: 8px; padding: 0; font: 600 15px/1 var(--sans); }
.cal-day.frei { background: #e3f1db; color: var(--g8); }
button.cal-day.frei { cursor: pointer; transition: background .15s ease; }
button.cal-day.frei:hover, .cal-day.gewaehlt { background: var(--accent); color: var(--g9); }
.cal-day.reserviert { background: repeating-linear-gradient(45deg, #f3d891 0 5px, #faebc4 5px 10px); color: #5f4600; }
.cal-day.belegt { background: #b8463c; color: #fff; }
.cal-day.vergangen { color: #b5beb7; }
.cal-day.heute { box-shadow: inset 0 0 0 2px var(--g8); }
.cal-legende { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--muted); }
.cal-legende i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; }
.cal-legende i.frei { background: #e3f1db; }
.cal-legende i.reserviert { background: repeating-linear-gradient(45deg, #f3d891 0 3px, #faebc4 3px 6px); }
.cal-legende i.belegt { background: #b8463c; }

/* Mietanfrage-Formular */
.anfrage { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; scroll-margin-top: 110px; }
.anfrage label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; color: var(--g8); }
.anfrage .voll { grid-column: 1 / -1; }
.anfrage input, .anfrage select, .anfrage textarea { width: 100%; padding: 11px 12px; border: 1px solid #c8d0c3; border-radius: 8px; background: #fff; color: var(--ink); font: 16px/1.4 var(--sans); }
.anfrage input:focus, .anfrage select:focus, .anfrage textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--g6); }
.anfrage textarea { resize: vertical; min-height: 110px; }
.form-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-aktion .btn { border: 0; cursor: pointer; }
.entry-content .form-hinweis { flex: 1 1 260px; margin: 0; font-size: 14px; color: var(--muted); }
.entry-content .form-gesendet { margin: 0; padding: 12px 14px; border-radius: 8px; background: #e3f1db; color: var(--g8); font-size: 15px; }
/* Gästebuch (Shortcode [gaestebuch]): Einträge als Karten, Antwort des Vereins abgesetzt, Formular wie die Mietanfrage */
.gaestebuch .eintrag { margin-bottom: 14px; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.eintrag-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; margin-bottom: 8px; }
.eintrag-kopf strong { font-family: var(--serif); font-size: 20px; color: var(--g8); }
.eintrag-kopf time { font-size: 14px; color: var(--muted); }
.eintrag p { margin: 0 0 .6em; font-size: 17px; overflow-wrap: anywhere; }
.eintrag p:last-child { margin-bottom: 0; }
.eintrag-antwort { margin-top: 14px; padding: 12px 16px; border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; background: #f0f8eb; }
.eintrag-antwort strong { display: block; margin-bottom: 4px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--g6); }
.gaestebuch .pagination { margin-top: 24px; }
.gaestebuch .comment-respond { margin-top: 44px; }
.gaestebuch .comment-respond h2 { margin-top: 0; }
.gaestebuch .anfrage { grid-template-columns: 1fr; }
.gaestebuch .form-gesendet { margin-bottom: 16px; }
.anfrage .haken { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--ink); }
.anfrage .haken input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; padding: 0; accent-color: var(--g8); }
.anfrage .falle { position: absolute; left: -9999px; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.page-numbers { display: inline-block; padding: 8px 14px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--g8); }
.page-numbers.current { background: var(--g8); color: #fff; border-color: var(--g8); }

/* Footer */
.site-footer { background: var(--g9); color: #b4c4b8; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 60px 0 40px; }
.site-footer h4 { font-family: var(--sans); color: #fff; font-size: 15px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .1em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; color: #b4c4b8; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; }
.foot-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.foot-brand img { width: 68px; height: 68px; border-radius: 50%; background: #fff; }
.foot-brand strong { font-family: var(--serif); font-size: 22px; color: #fff; line-height: 1.15; }
.bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 1240px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 90px); overflow-y: auto; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(15, 35, 24, .12); display: none; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; padding: 8px 20px 16px; }
  .nav a, .sub-toggle { padding: 12px 8px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 16px; }
  .sub-toggle { width: 100%; justify-content: space-between; }
  .nav a[aria-current="page"], .nav .current-menu-ancestor > .sub-toggle { box-shadow: none; }
  .nav .sub-menu { position: static; min-width: 0; padding: 4px 0 8px 14px; border: 0; border-radius: 0; box-shadow: none; }
  .nav .sub-menu a { border-bottom: 0; padding: 9px 8px; }
  .nav .menu-highlight > a { display: flex; justify-content: center; margin: 12px 0 6px; padding: 12px 16px; border-bottom: 0; }
}
@media (max-width: 1040px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero { padding: 56px 0 130px; }
  .hero.no-highlight { padding-bottom: 56px; }
  .hero.has-photo { background: linear-gradient(rgba(8, 22, 14, .72), rgba(8, 22, 14, .72)), var(--hero-photo) center / cover; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero .actions { justify-content: center; }
  .hero-badge { order: -1; width: 210px; }
  .highlight .card { grid-template-columns: 1fr; text-align: center; padding: 24px; }
  .bigdate, .highlight .btn { justify-self: center; }
  .split, .about, .tiles, .event-card, .mit-bild .detail { grid-template-columns: 1fr; }
  .mit-bild .detail { gap: 28px; }
  .detail-bild { position: static; }
  .detail-bild .wp-block-image { width: fit-content; max-width: 100%; margin-inline: auto; }
  .detail-bild img { width: auto; max-height: 420px; }
  .entry-content figure.alignright, .entry-content figure.alignleft { float: none; width: auto; max-width: 100%; margin: 0 auto 24px; }
  .entry-content figure.alignright img, .entry-content figure.alignleft img { width: auto; max-height: 420px; }
  .entry-content .wp-block-columns.neben { display: block; }
  .entry-content .neben > .wp-block-column:first-child { max-width: 340px; margin: 0 auto 24px; }
  .infocard.breit { grid-template-columns: 1fr; gap: 0; }
  .infocard.breit hr { display: block; }
  .event-text { padding: 28px; }
  .event-card img { min-height: 0; max-height: 300px; }
  .tile-big { min-height: 300px; }
}
@media (max-width: 782px) {
  .entry-content .wp-block-columns { flex-wrap: wrap; }
  .entry-content .wp-block-column, .entry-content .kasten > .wp-block-column + .wp-block-column { flex-basis: 100%; }
  .entry-content .tabellen { gap: 0; }
  .entry-content .tabellen .wp-block-column + .wp-block-column thead { display: none; }
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .admin-bar .site-header { top: 0; }
  .topbar .links { display: none; }
  .site-header .wrap { gap: 10px; }
  .brand { gap: 10px; }
  .brand-text strong { font-size: 24px; }
  .brand-text small { letter-spacing: .14em; }
  .badge { width: 54px; height: 54px; }
  .header-actions { gap: 8px; }
  .social { gap: 6px; }
  .social a { width: 36px; height: 36px; }
  .social svg { width: 18px; height: 18px; }
  .grid-3, .site-footer .cols { grid-template-columns: 1fr; }
  .royals { gap: 12px; }
  .royal { flex: 1 1 calc(50% - 6px); padding: 20px 12px; }
  .royal h3 { font-size: 19px; }
  .royal small { font-size: 11px; letter-spacing: .06em; hyphens: auto; overflow-wrap: anywhere; }
  .section { padding: 60px 0; }
  .stats { gap: 8px; }
  .stat b { font-size: 24px; }
  .entry-content { font-size: 17px; }
  .entry-content .karten.zwei { grid-template-columns: 1fr; }
  .entry-content .karten.majestaeten > li { flex: 1 1 calc(50% - 7px); min-width: 0; padding-inline: 10px; }
  .entry-content .karten.majestaeten > li > strong:first-child { font-size: 11px; letter-spacing: .06em; hyphens: auto; overflow-wrap: anywhere; }
  .entry-content .wp-block-columns.kasten { padding: 20px; }
  .anfrage { grid-template-columns: 1fr; padding: 18px; }
  .cal-month { padding: 12px; }
}
