/* Rittergut CMS – Website-Stil
   Farben, Logo-Größe usw. kommen aus „Design“ im Admin (als CSS-Variablen im <head>). */

@font-face { font-family: "EB Garamond"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/eb-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/eb-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/eb-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Madefor"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/wix-madefor-text-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Madefor"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/wix-madefor-text-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Madefor"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/wix-madefor-text-latin-600-normal.woff2") format("woff2"); }

:root {
  --bg: #fcfbf7;
  --bg-alt: #f3f2ec;
  --text: #2e2c29;
  --ink: #1f1e1c;
  --accent: #c9a24b;
  --btn: #1f1e1c;
  --btn-text: #fff;
  --dark: #2b2925;
  --header-bg: #fcfbf7;
  --header-text: #1f1e1c;
  --footer-bg: #f3f2ec;
  --footer-text: #2e2c29;
  --logo-h: 64px;
  --radius: 0px;
  --muted: color-mix(in srgb, var(--text) 68%, var(--bg));
  --line: color-mix(in srgb, var(--text) 14%, var(--bg));
  --link: color-mix(in srgb, var(--accent) 65%, #000);
  --card: color-mix(in srgb, var(--bg) 70%, #fff);
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --sans: "Madefor", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --narrow: 800px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.65 var(--sans); overflow-x: hidden;
  /* Footer immer unten – auch auf kurzen Seiten */
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
body > .site-header, body > .site-footer { flex-shrink: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 200; border-radius: 0 0 var(--radius) var(--radius); }
/* rechts oben – nicht über dem Logo */
.skip:focus { left: auto; right: 1rem; top: 0; }

.container { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }
.container--narrow { width: min(100% - 3rem, var(--narrow)); }
.container--bleed { width: 100%; }
.container--bleed > .display { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }
.align-center { text-align: center; }
.align-left { text-align: left; }
.muted { color: var(--muted); }

/* ---------------------------------------------------------------- */
/* Kopfbereich                                                       */
/* ---------------------------------------------------------------- */
.site-header { position: relative; z-index: 50; background: var(--header-bg); color: var(--header-text); }
.site-header.has-border { border-bottom: 1px solid color-mix(in srgb, var(--header-text) 14%, var(--header-bg)); }
.site-header.is-sticky { position: sticky; top: 0; }
.site-header__inner { width: min(100% - 3rem, 1600px); margin-inline: auto; min-height: calc(var(--logo-h) + 3.5rem); display: flex; align-items: center; gap: clamp(2rem, 10vw, 11rem); padding: 1rem 0; }
.hn-right .site-header__inner { justify-content: space-between; }
.hn-center .site-header__inner { flex-direction: column; gap: 1.2rem; padding: 1.6rem 0 1.2rem; }
.brand { display: flex; flex-direction: column; align-items: center; gap: .35rem; text-decoration: none; color: inherit; flex: none; }
.hl-inline .brand { flex-direction: row; gap: .9rem; }
.brand__logo { height: var(--logo-h); width: auto; }
.brand__text { font: 400 1.02rem/1.35 var(--sans); letter-spacing: .14em; text-align: center; color: inherit; }
.hl-inline .brand__text { text-align: left; font: 400 1.5rem/1.1 var(--serif); letter-spacing: .04em; }
.hl-text .brand__text, .brand:not(:has(.brand__logo)) .brand__text { font: 400 1.6rem/1.1 var(--serif); letter-spacing: .06em; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1.5rem, 4.5vw, 5rem); flex-wrap: wrap; }
.nav a { color: var(--header-text); text-decoration: none; font-size: 1.1rem; text-underline-offset: 6px; transition: opacity .2s; }
.nav-upper .nav a { font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; }
.nav a:hover { opacity: .7; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .site-header__inner, .hn-center .site-header__inner { flex-direction: row; justify-content: space-between; min-height: 84px; padding: .7rem 0; }
  .brand__logo { height: min(var(--logo-h), 46px); }
  .brand__text { font-size: .82rem; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
  .nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; display: block; width: 26px; height: 1.5px; background: var(--header-text); position: relative; transition: transform .25s var(--ease); }
  .nav-toggle__bar::before { position: absolute; left: 0; top: -8px; }
  .nav-toggle__bar::after { position: absolute; left: 0; top: 8px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-8px) rotate(-45deg); }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--header-bg); border-bottom: 1px solid var(--line); clip-path: inset(0 0 100% 0); visibility: hidden; max-height: 0; overflow: hidden; transition: clip-path .35s var(--ease), visibility .35s, max-height 0s linear .35s; }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; max-height: 100vh; overflow: auto; transition: clip-path .35s var(--ease), visibility .35s, max-height 0s; }
  .nav ul { flex-direction: column; gap: 0; padding: .5rem 1.5rem 1.5rem; }
  .nav a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); }
}

/* ---------------------------------------------------------------- */
/* Typografie                                                        */
/* ---------------------------------------------------------------- */
.display { font: 400 clamp(2.6rem, 5vw, 4.2rem)/1.1 var(--serif); color: var(--ink); margin: 0 0 .5em; }
.display--sm { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0 auto; max-width: 40em; }
.align-left .lead { margin-left: 0; }
.eyebrow { font-size: .95rem; color: var(--muted); margin: 0 0 1.2rem; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.prose { max-width: none; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font: 400 2.3rem/1.15 var(--serif); color: var(--ink); margin: 2.6rem 0 1rem; }
.prose h3 { font: 400 1.85rem/1.2 var(--serif); color: var(--ink); margin: 3rem 0 1.1rem; }
.prose > h3:first-child { margin-top: .5rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .3rem; }
.prose blockquote { margin: 1.5rem 0; padding-left: 1.2rem; border-left: 2px solid var(--accent); font: italic 1.5rem/1.5 var(--serif); color: var(--ink); }
.prose--justify p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.prose a { word-break: break-word; }

/* ---------------------------------------------------------------- */
/* Blöcke & Hintergründe                                             */
/* ---------------------------------------------------------------- */
.block { display: flow-root; padding: clamp(3rem, 7vw, 5.5rem) 0; }
.block + .block { padding-top: 0; }
.block--heading { padding-bottom: 1.5rem; }
.block--heading + .block { padding-top: 0; }
/* farbige Abschnitte brauchen wieder Innenabstand oben */
.bg-tint, .bg-dark, .bg-accent, .bg-custom { padding-top: clamp(3rem, 7vw, 5.5rem) !important; }
.bg-tint + .bg-tint, .bg-dark + .bg-dark, .bg-accent + .bg-accent { padding-top: 0 !important; }
.bg-tint { background: var(--bg-alt); }
.bg-accent { background: var(--accent); }
.bg-custom { background: var(--block-bg); }
.bg-dark:not(.bg-custom) { background: var(--dark); }
.bg-dark { --ink: #fff; --text: rgba(255,255,255,.88); --muted: rgba(255,255,255,.65); --line: rgba(255,255,255,.18); --link: #fff; --card: rgba(255,255,255,.06); --btn: #fff; --btn-text: #1f1e1c; color: var(--text); }
.bg-dark .btn--outline { color: #fff; border-color: #fff; }
.bg-accent { --ink: #1f1e1c; --text: #1f1e1c; --muted: rgba(0,0,0,.6); --link: #1f1e1c; }
.spacer--m { height: 2rem; }
.spacer--l { height: 5rem; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 1rem 0 3rem; }

/* Titelbild */
.hero { position: relative; display: grid; color: #fff; overflow: hidden; background: var(--ink); }
.hero--gross { min-height: min(88vh, 900px); }
.hero--mittel { min-height: min(62vh, 620px); }
.hero--klein { min-height: 360px; }
.hero--noimg { background: var(--bg-alt); color: var(--ink); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 14s ease-out both; }
.hero:not(.hero--noimg)::after { content: ""; position: absolute; inset: 0; background: rgba(15, 14, 12, .42); }
.hero__wrap { position: relative; z-index: 1; width: min(100% - 3rem, var(--wrap)); margin: auto; display: flex; padding: 4rem 0; }
.hero--center .hero__wrap { justify-content: center; }
.hero__inner { max-width: 1000px; text-align: center; }
.hero__inner > * { animation: rise 1.1s var(--ease) both; }
.hero__inner > :nth-child(2) { animation-delay: .25s; }
.hero__inner > :nth-child(3) { animation-delay: .45s; }
.hero__title { font: 400 clamp(3rem, 6.5vw, 5.8rem)/1.02 var(--serif); margin: 0 0 .45em; color: inherit; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.5; margin: 0 auto 2rem; max-width: 34em; }
.hero__sub:last-child { margin-bottom: 0; }
.hero + .block { padding-top: clamp(3.5rem, 8vw, 6.5rem); }
.hero.reveal { opacity: 1 !important; transform: none !important; }
@media (max-width: 700px) { .hero__inner { text-align: left; } }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Buttons */
.btn { display: inline-block; padding: 1rem 2.2rem; background: var(--btn); color: var(--btn-text); border: 1px solid var(--btn); border-radius: var(--radius); font: 400 1rem/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .2s, color .2s; }
.btn:hover { color: var(--btn-text); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--bg); }
.btn--light { background: transparent; border-color: #fff; color: #fff; }
.btn--light:hover { background: #fff; color: #1f1e1c; }
.hero--noimg .btn--light { border-color: var(--ink); color: var(--ink); }

/* Bild + Text, Einzelbild */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.side-right .split__media { order: 2; }
.split__media img { width: 100%; border-radius: var(--radius); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .side-right .split__media { order: 0; } }
.block--image figure { margin-inline: auto; margin-block: 0; }
.width-full figure { width: 100%; }
.width-full img { width: 100%; max-height: 85vh; object-fit: cover; }
figcaption { font-size: .88rem; color: var(--muted); margin-top: .7rem; text-align: center; }

.quote { margin: 0; text-align: center; }
.quote p { font: italic 400 clamp(1.7rem, 3vw, 2.5rem)/1.35 var(--serif); color: var(--ink); margin: 0 0 1rem; }
.quote cite { font-style: normal; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------------------------------------------------------------- */
/* Galerie                                                           */
/* ---------------------------------------------------------------- */
.g { --gap: .6rem; --cols: 3; margin-top: 1.5rem; }
.g--gap-none { --gap: 0px; } .g--gap-s { --gap: .6rem; } .g--gap-m { --gap: 1.2rem; } .g--gap-l { --gap: 2rem; }
.cols-1 { --cols: 1; } .cols-2 { --cols: 2; } .cols-3 { --cols: 3; } .cols-4 { --cols: 4; } .cols-5 { --cols: 5; } .cols-6 { --cols: 6; }
.g__item { margin: 0; position: relative; }
.g__link { display: block; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-alt); }
.g__link img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .6s, opacity .4s; }
.g figcaption { text-align: left; margin-top: .5rem; }

/* Raster */
.g--grid { display: grid; gap: var(--gap); grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); }
.g--grid .g__link, .g--slider .g__link { aspect-ratio: 1; }
.g--ratio-landscape .g__link { aspect-ratio: 4 / 3; }
.g--ratio-portrait .g__link { aspect-ratio: 3 / 4; }
.g--ratio-wide .g__link { aspect-ratio: 16 / 9; }
/* Mauerwerk */
.g--masonry { columns: var(--cols); column-gap: var(--gap); }
.g--masonry .g__item { break-inside: avoid; margin-bottom: var(--gap); }
.g--masonry .g__link img { height: auto; }
/* Ganzes Bild zeigen (Logos, Grafiken): einpassen statt zuschneiden, auf weißem Grund */
.g--fit-contain .g__link { background: #fff; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 6%, transparent); }
.g--fit-contain .g__link img, .mz.g--fit-contain .g__link img { object-fit: contain; padding: clamp(.8rem, 8%, 2.2rem); box-sizing: border-box; }
.g--fit-contain.g--hover-zoom .g__link:hover img { transform: scale(1.03); }
/* Collage */
.g--collage { display: grid; gap: var(--gap); grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(140px, 17vw, 240px); grid-auto-flow: dense; }
.g--collage .g__item:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
.g--collage .g__item:nth-child(7n+4) { grid-row: span 2; }
.g--collage .g__item:nth-child(7n+6) { grid-column: span 2; }
.g--collage figcaption { display: none; }
.g--collage .g__item, .g--collage .g__link { height: 100%; }
@media (max-width: 700px) {
  .g--grid:not(.cols-1), .g--masonry:not(.cols-1) { --cols: 2 !important; }
  .g--collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}
/* Slider */
.g--slider { position: relative; }
.g__track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: .2rem; }
.g__track::-webkit-scrollbar { display: none; }
.g--slider .g__item { flex: 0 0 min(78%, 820px); scroll-snap-align: center; }
.g__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #1f1e1c; font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.15); transition: transform .2s, opacity .2s; z-index: 2; }
.g__nav:hover { transform: translateY(-50%) scale(1.08); }
.g__nav[disabled] { opacity: 0; pointer-events: none; }
.g__prev { left: .8rem; } .g__next { right: .8rem; }
.g__dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; }
.g__dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .3s, transform .3s; }
.g__dots span.is-active { background: var(--ink); transform: scale(1.3); }
/* Laufband */
.g--carousel { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.g__marquee { display: flex; gap: var(--gap); width: max-content; animation: marquee calc(var(--n) * 5s) linear infinite; }
.g--carousel:hover .g__marquee { animation-play-state: paused; }
.g--carousel .g__item { width: clamp(220px, 26vw, 380px); }
.g--carousel .g__link { aspect-ratio: 4 / 5; }
.g--carousel figcaption { display: none; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }

/* Hover-Effekte */
.g--hover-zoom .g__link:hover img { transform: scale(1.07); }
.g--hover-lift .g__link { transition: transform .4s var(--ease), box-shadow .4s; }
.g--hover-lift .g__link:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.g--hover-gray .g__link img { filter: grayscale(1); }
.g--hover-gray .g__link:hover img { filter: none; transform: scale(1.03); }
.g__cap { position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem .9rem; color: #fff; font-size: .95rem; background: linear-gradient(transparent, rgba(0,0,0,.65)); transform: translateY(100%); transition: transform .45s var(--ease); }
.g--hover-caption .g__link::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .4s; }
.g--hover-caption .g__link:hover::after { background: rgba(0,0,0,.15); }
.g--hover-caption .g__link:hover .g__cap { transform: none; }
.g--hover-caption .g__cap { z-index: 1; }

/* Einflug-Animationen (werden per JavaScript beim Scrollen ausgelöst) */
.js .g:not(.g--fx-none):not(.g--carousel) .g__item { transition: opacity .9s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: calc(min(var(--i), 12) * 90ms); }
.js .g--fx-cascade:not(.is-in) .g__item { opacity: 0; transform: translateY(50px); }
.js .g--fx-zoom:not(.is-in) .g__item { opacity: 0; transform: scale(.82); }
.js .g--fx-blur:not(.is-in) .g__item { opacity: 0; filter: blur(14px); transform: scale(1.06); }
.js .g--fx-fly:not(.is-in) .g__item { opacity: 0; transform: translateX(-90px) rotate(-3deg); }
.js .g--fx-fly:not(.is-in) .g__item:nth-child(even) { transform: translateX(90px) rotate(3deg); }
.js .g--fx-flip { perspective: 1200px; }
.js .g--fx-flip:not(.is-in) .g__item { opacity: 0; transform: rotateX(-70deg); transform-origin: top center; }

/* ---------------------------------------------------------------- */
/* Blog                                                              */
/* ---------------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; }
.chips a { padding: .5rem 1.1rem; border: 1px solid var(--line); border-radius: 99px; color: var(--text); text-decoration: none; font-size: .95rem; transition: background .2s, border-color .2s; }
.chips a:hover { border-color: var(--ink); }
.chips a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.posts { display: grid; gap: 2.4rem; margin-top: 1.5rem; }
.posts--grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.posts--list { gap: 2rem; }
.posts--compact { gap: 0; }
.pc { background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.pc:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.08); }
.pc__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.pc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pc:hover .pc__media img { transform: scale(1.05); }
.pc__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--bg-alt), var(--line)); }
.pc__body { padding: 1.6rem 1.8rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.pc h3 { font: 400 1.9rem/1.2 var(--serif); margin: 1.1rem 0 .7rem; }
.pc h3 a { color: var(--ink); text-decoration: none; }
.pc h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.pc p { font-size: 1.05rem; margin: 0 0 1.2rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.pc--pinned { border-color: var(--accent); }
.cat { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--link); text-decoration: none; }
.cat:hover { text-decoration: underline; }
.more { font-size: .95rem; text-decoration: none; color: var(--ink); margin-left: auto; }
.more:hover { color: var(--link); }
/* groß */
.pc--big { display: grid; grid-template-columns: 1.4fr 1fr; margin: 1.5rem 0 2.4rem; }
.pc--big .pc__media { aspect-ratio: auto; min-height: 420px; }
.pc--big .pc__body { padding: clamp(1.8rem, 4vw, 3.2rem); justify-content: center; }
.pc--big h3 { font-size: clamp(2.1rem, 3.4vw, 3rem); }
.pc--big p { -webkit-line-clamp: 5; flex: 0 0 auto; }
/* Liste */
.pc--row { display: grid; grid-template-columns: minmax(220px, 34%) 1fr; }
.pc--row .pc__media { aspect-ratio: auto; min-height: 240px; }
/* schlicht */
.pc--compact { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; display: grid; grid-template-columns: 11rem 1fr auto; gap: 1.5rem; align-items: baseline; padding: 1.2rem 0; }
.pc--compact:hover { transform: none; box-shadow: none; }
.pc--compact h3 { font-size: 1.6rem; margin: 0; }
.pc--compact time { color: var(--muted); font-size: .92rem; }
@media (max-width: 800px) {
  .pc--big, .pc--row { grid-template-columns: 1fr; }
  .pc--big .pc__media, .pc--row .pc__media { min-height: 0; aspect-ratio: 4 / 3; }
  .pc--compact { grid-template-columns: 1fr; gap: .2rem; }
}
.meta { display: flex; align-items: center; gap: .75rem; font-size: .88rem; color: var(--muted); }
.meta__avatar { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--bg-alt); border: 1px solid var(--line); display: grid; place-items: center; font: 400 1.1rem var(--serif); color: var(--link); flex: none; }
.meta__text { display: grid; line-height: 1.35; }
.meta__author { color: var(--text); }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; margin-top: 3rem; }
.pager > :last-child { justify-self: end; }
.pager__step { color: var(--ink); text-decoration: none; font-weight: 500; white-space: nowrap; }
.pager__step:hover { color: var(--link); }
.pager__nums { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; justify-content: center; }
.pager__num { display: grid; place-items: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .5rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; transition: background .2s, color .2s; }
a.pager__num:hover { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.pager__num[aria-current] { background: var(--ink); color: var(--bg, #fff); font-weight: 600; }
.pager__gap { color: var(--muted); padding: 0 .2rem; }
@media (max-width: 600px) { .pager { grid-template-columns: 1fr 1fr; } .pager__nums { grid-column: 1 / -1; grid-row: 1; } .pager__step { grid-row: 2; } }
.posts__more { margin-top: 2.5rem; }

/* Beitrag */
.post__head { padding: clamp(3rem, 7vw, 5rem) 0 2rem; }
.post__head .display { font-size: clamp(2.6rem, 5vw, 4rem); }
.post__lead { font-size: 1.3rem; line-height: 1.55; color: var(--muted); margin: 0 0 1.6rem; }
.post__cover { margin-block: 0 1rem; max-width: 860px; }
.post__cover a { display: block; cursor: zoom-in; }
/* Titelbild immer im Querformat – Hochformat-Fotos werden mittig zugeschnitten, ein Klick zeigt das ganze Bild */
.post__cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 55vh; object-fit: cover; object-position: center 40%; border-radius: var(--radius); }
@media (max-width: 700px) { .post__cover img { aspect-ratio: 4 / 3; } }
.post__content .block:first-child { padding-top: 2.5rem; }
.post__content .block--text .container { width: min(100% - 3rem, var(--narrow)); }
.post__foot { padding: 1rem 0 4rem; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; padding: 1.4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .95rem; }
.share span { color: var(--muted); }
.share a, .linklike { color: var(--ink); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.share a:hover, .linklike:hover { text-decoration: underline; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.post-nav a { display: grid; gap: .3rem; text-decoration: none; color: var(--ink); font: 400 1.35rem/1.25 var(--serif); }
.post-nav small { font: .85rem var(--sans); color: var(--muted); }
.post-nav__next { text-align: right; }
.preview-bar { position: sticky; top: 0; z-index: 60; background: #8a6a2f; color: #fff; text-align: center; padding: .6rem 1rem; font-size: .95rem; }

/* Instagram */
.insta { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; margin: 1.5rem 0 2rem; }
.insta__item { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--bg-alt); border-radius: var(--radius); }
.insta__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .3s; }
.insta__item:hover img { transform: scale(1.06); }
.insta__badge { position: absolute; top: .4rem; right: .5rem; color: #fff; font-size: .9rem; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
@media (max-width: 900px) { .insta { grid-template-columns: repeat(3, 1fr); } }
.js .block--instagram.reveal .insta__item { transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }

/* Formular */
.form { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: .35rem; font-size: .95rem; color: var(--text); }
.form input, .form textarea { font: 400 1rem/1.5 var(--sans); color: #1f1e1c; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem .9rem; width: 100%; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.form__hint { font-size: .85rem; color: var(--muted); margin: 0; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.notice { padding: .9rem 1.1rem; border-radius: var(--radius); margin: 1rem 0 0; }
.notice--ok { background: #e7efe2; color: #36522b; }
.notice--err { background: #f6e3df; color: #7a2e21; }

/* ---------------------------------------------------------------- */
/* Fußbereich                                                        */
/* ---------------------------------------------------------------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); font-size: .88rem; --line: color-mix(in srgb, var(--footer-text) 14%, var(--footer-bg)); --muted: color-mix(in srgb, var(--footer-text) 74%, var(--footer-bg)); }
.site-footer__inner { width: min(100% - 3rem, 1600px); margin-inline: auto; }
.site-footer a { color: var(--footer-text); text-decoration: none; transition: opacity .2s, color .2s; }
.site-footer a:hover { opacity: .7; }
/* Obere Zeile: wie der Header – Logo links, Infos rechts */
.site-footer__main { display: flex; align-items: center; gap: 1rem clamp(1.5rem, 4vw, 3.5rem); padding: 1.4rem 0; }
.site-footer__brand { display: flex; align-items: center; gap: .9rem; margin-right: auto; }
.site-footer__brand:hover { opacity: 1 !important; }
.site-footer__logo { height: 46px; width: auto; }
.site-footer__name { font: 400 1.25rem/1.15 var(--serif); letter-spacing: .03em; }
.site-footer__name small { display: block; font: 400 .78rem/1.4 var(--sans); letter-spacing: 0; color: var(--muted); margin-top: .15rem; }
.site-footer__info { margin: 0; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .2rem .7rem; text-align: right; }
.site-footer__info a { color: var(--muted); }
.site-footer__info a:hover { color: var(--footer-text); opacity: 1; }
.site-footer__info i { font-style: normal; color: var(--accent); }
.site-footer__social { display: flex; gap: .4rem; }
.site-footer__social a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; }
.site-footer__social a:hover { opacity: 1; border-color: var(--accent); color: var(--accent); }
/* Untere Zeile: Copyright + Rechtliches */
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .4rem 2rem; border-top: 1px solid var(--line); padding: .8rem 0 1rem; font-size: .78rem; color: var(--muted); }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }
.site-footer__links a, .site-footer .linklike { color: var(--muted); font-size: inherit; }
.site-footer__links a:hover, .site-footer .linklike:hover { color: var(--footer-text); opacity: 1; text-decoration: none; }
@media (max-width: 800px) {
  .site-footer__main { flex-direction: column; text-align: center; gap: .8rem; padding: 1.6rem 0 1.2rem; }
  .site-footer__brand { margin: 0; flex-direction: column; gap: .5rem; }
  .site-footer__info { justify-content: center; text-align: center; }
  .site-footer__bottom { flex-direction: column-reverse; text-align: center; gap: .5rem; }
  .site-footer__links { justify-content: center; }
}


/* Fragen & Antworten */
.faq { border-top: 1px solid var(--line); margin-top: 1.4rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item > summary { list-style: none; display: flex; align-items: center; gap: 1.2rem; padding: 1.15rem 0; cursor: pointer; }
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__q { margin: 0; font: 400 clamp(1.15rem, 1.8vw, 1.35rem)/1.35 var(--serif); color: var(--ink); flex: 1; }
.faq__icon { position: relative; flex: none; width: 1.6rem; height: 1.6rem; border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); border-radius: 50%; transition: transform .3s, background .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: .62rem; height: 1px; background: var(--accent); transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.faq__item[open] .faq__icon { background: var(--accent); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: #fff; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__item > summary:hover .faq__q { color: var(--link); }
.faq__a { padding: 0 2.8rem 1.3rem 0; color: var(--text); line-height: 1.75; }
.faq__a p { margin: 0; }
.faq__item[open] .faq__a { animation: faq-in .35s ease; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
.bg-dark .faq__item[open] .faq__icon::before, .bg-dark .faq__item[open] .faq__icon::after { background: var(--dark); }


/* ---------------------------------------------------------------- */
/* Galerien (Alben) und Videos                                        */
/* ---------------------------------------------------------------- */
.albums { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(1.2rem, 2.5vw, 2.2rem); margin-top: 1.5rem; }
@media (max-width: 900px) { .albums { --cols: 2 !important; } }
@media (max-width: 560px) { .albums { --cols: 1 !important; } }
.acard__link { display: grid; gap: .9rem; text-decoration: none; color: inherit; }
.acard__img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--bg-alt); }
.acard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.acard__link:hover .acard__img img { transform: scale(1.05); }
.acard__empty { display: grid; place-items: center; height: 100%; font-size: 3rem; color: var(--muted); }
.acard__count { position: absolute; left: .8rem; bottom: .8rem; padding: .3rem .7rem; font-size: .78rem; letter-spacing: .04em; color: #fff; background: rgb(20 18 15 / .62); backdrop-filter: blur(4px); border-radius: 99px; }
.acard__body { display: grid; gap: .25rem; }
.acard__title { margin: 0; font: 400 clamp(1.35rem, 2vw, 1.65rem)/1.2 var(--serif); color: var(--ink); transition: color .2s; }
.acard__link:hover .acard__title { color: var(--link); }
.acard__date { font-size: .85rem; color: var(--muted); }
.acard__desc { font-size: .95rem; color: var(--text); line-height: 1.55; }
.album__head { padding-bottom: 1.2rem; }
.album__lead { max-width: 46em; }
.album__meta { margin: 0; color: var(--muted); font-size: .92rem; letter-spacing: .02em; }
.album__grid { padding-bottom: 1rem; }
.album__grid .g { margin-top: .5rem; }
.album__notice { margin: 1.4rem 0 0; font-size: .85rem; color: var(--muted); }

/* Video-Kacheln: Vorschaubild + Play-Knopf */
.vthumb { position: relative; display: block; overflow: hidden; color: #fff; background: #1d1b18; }
.vthumb img { transition: transform .8s var(--ease), filter .5s; }
.vthumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(0 0 0 / .45)); pointer-events: none; }
.vthumb__play { position: absolute; left: 50%; top: 50%; width: clamp(44px, 18%, 76px); aspect-ratio: 1; transform: translate(-50%, -50%); transition: transform .35s var(--ease); z-index: 1; }
.vthumb__play svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 4px 14px rgb(0 0 0 / .35)); }
.vthumb:hover .vthumb__play { transform: translate(-50%, -50%) scale(1.12); }
.vthumb:hover img { filter: brightness(.85); }
.vthumb__label { position: absolute; left: .7rem; bottom: .55rem; z-index: 1; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.vthumb__ph { display: block; width: 100%; height: 100%; min-height: 160px; background: radial-gradient(circle at 30% 20%, #4a4237, #1d1b18); }

/* Video-Block */
.vblock { margin: 0; }
.vblock__frame { aspect-ratio: var(--ratio, 16/9); border-radius: var(--radius); }
.vblock__frame img, .vblock__frame .vthumb__ph { width: 100%; height: 100%; object-fit: cover; }
.vblock--portrait .vblock__frame { max-width: 400px; margin-inline: auto; }
.vblock__frame.is-playing { background: #000; }
.vblock__frame.is-playing::after { display: none; }
.vblock__frame iframe, .vblock__frame video { width: 100%; height: 100%; border: 0; display: block; }
.vblock--own .vblock__frame video { object-fit: contain; background: #000; }
.vblock figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; margin-top: .7rem; font-size: .92rem; color: var(--muted); }
.vblock__notice { font-size: .8rem; }

/* Video in der Großansicht */
.lightbox__video { width: min(92vw, calc(76vh * (var(--ratio, 16/9)))); aspect-ratio: var(--ratio, 16/9); background: #000; border-radius: 4px; overflow: hidden; margin: 0 auto; }
.lightbox__video iframe, .lightbox__video video { width: 100%; height: 100%; border: 0; display: block; }
.lightbox.is-video img { display: none; }


/* Galerie als Titelbild: Klick öffnet alle Bilder */
.gcover { margin: 1.5rem auto 0; width: 100%; }
.gcover--s { max-width: 420px; }
.gcover--m { max-width: 760px; }
.gcover__link { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--bg-alt); color: #fff; text-decoration: none; }
.gcover--l .gcover__link { aspect-ratio: 16 / 8; }
.gcover__link img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.gcover__link:hover img { transform: scale(1.04); filter: brightness(.88); }
.gcover__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: .8rem; padding: clamp(1.2rem, 3vw, 2.2rem); background: linear-gradient(180deg, transparent 45%, rgb(15 14 12 / .62)); }
.gcover__title { font: 400 clamp(1.7rem, 3.4vw, 2.8rem)/1.1 var(--serif); text-shadow: 0 2px 18px rgb(0 0 0 / .35); }
.gcover__open { display: inline-flex; align-items: center; gap: .55rem; padding: .55rem 1.05rem; border: 1px solid rgb(255 255 255 / .7); border-radius: 99px; font-size: .88rem; letter-spacing: .03em; backdrop-filter: blur(4px); background: rgb(255 255 255 / .1); transition: background .3s, color .3s; }
.gcover__open svg { width: 16px; height: 16px; fill: currentColor; }
.gcover__link:hover .gcover__open { background: #fff; color: var(--ink); }


/* Bilderseite einer Galerie (öffnet sich über dem Inhalt) */
.gpage { position: fixed; inset: 0; z-index: 150; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); opacity: 0; transform: translateY(18px); transition: opacity .3s var(--ease), transform .4s var(--ease); }
.gpage.is-open { opacity: 1; transform: none; }
.gpage[hidden] { display: none; }
.gpage__bar { position: sticky; top: 0; z-index: 2; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.gpage__barin { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.gpage__back { border: 0; background: none; font: inherit; font-size: 1rem; color: var(--ink); cursor: pointer; padding: .6rem 0; letter-spacing: .02em; }
.gpage__back:hover { color: var(--link); }
.gpage__count { color: var(--muted); font-size: .9rem; }
.gpage__body { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem); }
.gpage__title { margin: 0 0 1.4rem; font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
html.has-gpage { overflow: hidden; }


/* Mosaik: große Kachel abwechselnd links/rechts, darum kleinere Kacheln */
.mz { display: grid; gap: var(--gap, .6rem); margin-top: 1.5rem; }
.mz .g { margin-top: 0; }
.mz__grp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: var(--gap, 10px); aspect-ratio: 2 / 1; }
.mz .g__item { min-width: 0; min-height: 0; }
.mz .g__link { height: 100%; aspect-ratio: auto !important; }
.mz .g__link img, .mz .g__link .vthumb__ph { width: 100%; height: 100%; object-fit: cover; }
.mz-x1 { grid-column-start: 1; } .mz-x2 { grid-column-start: 2; } .mz-x3 { grid-column-start: 3; } .mz-x4 { grid-column-start: 4; }
.mz-y1 { grid-row-start: 1; } .mz-y2 { grid-row-start: 2; }
.mz--b { grid-column-end: span 2; grid-row-end: span 2; }
.mz--w { grid-column-end: span 2; }
.mz--t { grid-row-end: span 2; }
.mz--p { grid-column: 1 / -1; grid-row: 1 / -1; }
.mz .g__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 1.6rem .8rem .6rem; color: #fff; font-size: .85rem; background: linear-gradient(transparent, rgb(0 0 0 / .55)); pointer-events: none; border-radius: 0 0 var(--radius) var(--radius); }
.js .g--mosaic.g--fx-fly:not(.is-in) .mz--b { transform: translateX(-90px); }
.js .g--mosaic.mz__grp--r.g--fx-fly:not(.is-in) .mz--b { transform: translateX(90px); }
@media (max-width: 700px) {
  .mz__grp { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: 42vw; grid-auto-flow: dense; aspect-ratio: auto; }
  .mz .g__item { grid-column: auto / span 1; grid-row: auto / span 1; }
  .mz .mz--b, .mz .mz--p { grid-column: 1 / -1; grid-row: auto / span 2; }
  .mz .mz--w { grid-column: 1 / -1; }
  .mz .mz--t { grid-row: auto / span 2; }
}

/* Galerien als Mosaik: Titel auf dem Bild */
.mz .acard__link { display: block; height: 100%; }
.mz .acard__img { height: 100%; aspect-ratio: auto; }
.mz .acard__body { position: absolute; inset: auto 0 0 0; padding: 2.2rem 1rem .9rem; background: linear-gradient(transparent, rgb(15 14 12 / .68)); color: #fff; border-radius: 0 0 var(--radius) var(--radius); }
.mz .acard__title { color: #fff; font-size: clamp(1.05rem, 1.6vw, 1.4rem); }
.mz .mz--b .acard__title, .mz .mz--p .acard__title { font-size: clamp(1.4rem, 2.6vw, 2.2rem); }
.mz .acard__date, .mz .acard__desc { color: rgb(255 255 255 / .85); }
.mz .acard__count { top: .8rem; bottom: auto; }
.mz .acard__link:hover .acard__title { color: #fff; }

/* Pfeil „nach oben“ */
.totop { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: calc(clamp(1rem, 3vw, 2rem) + var(--lift, 0px)); z-index: 155; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgb(0 0 0 / .18); opacity: 0; transform: translateY(16px) scale(.9); transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s, bottom .3s var(--ease); }
.totop.is-on { opacity: 1; transform: none; }
.totop[hidden] { display: none; }
.totop svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; animation: totop-bounce 2s ease-in-out infinite; }
.totop, .totop:hover, .totop:focus, .totop:active, .totop:visited { color: #fff; text-decoration: none; }
/* Hover nur bei echten Mäusen – auf dem iPhone bliebe er nach dem Antippen „hängen“ */
@media (hover: hover) and (pointer: fine) {
  .totop:hover { background: var(--ink); }
  .totop:hover svg { animation-duration: .9s; }
}
.totop:active { transform: scale(.94); }
.totop { -webkit-tap-highlight-color: transparent; }
.totop:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@keyframes totop-bounce { 0%, 100% { transform: translateY(2px); } 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .totop svg { animation: none; } }
html.has-gpage .totop { display: none; }

/* Popup (Datenschutz) */
.modal { width: min(100% - 2rem, 820px); max-height: min(86vh, 900px); padding: 0; border: 0; border-radius: max(var(--radius), 6px); background: var(--bg); color: var(--text); box-shadow: 0 30px 80px rgb(0 0 0 / .35); overflow: hidden; }
.modal[open] { display: flex; flex-direction: column; animation: modal-in .28s ease; }
.modal::backdrop { background: rgb(15 14 12 / .6); backdrop-filter: blur(3px); animation: fade-in .28s ease; }
.modal__body { overflow-y: auto; overscroll-behavior: contain; padding: clamp(1.4rem, 4vw, 2.8rem); }
.modal__body h2 { margin-top: 0; padding-right: 2.5rem; }
.modal__close { position: absolute; top: .7rem; right: .8rem; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg-alt); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; z-index: 1; }
.modal__close:hover { background: var(--accent); color: #fff; }
.modal__loading { color: var(--muted); }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } }
html:has(.modal[open]) { overflow: hidden; }

/* ---------------------------------------------------------------- */
/* Lightbox                                                          */
/* ---------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(16, 15, 13, .95); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .35s var(--ease); }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 90vh; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; margin: 0 auto; transform: scale(.94); opacity: 0; transition: transform .45s var(--ease), opacity .35s; }
.lightbox.is-open img.is-loaded { transform: none; opacity: 1; }
.lightbox figcaption { color: #e8e4da; display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; margin: .9rem auto 0; text-align: left; max-width: min(92vw, 52rem); }
.lightbox__cap { font: 400 clamp(1.05rem, 1.6vw, 1.25rem)/1.5 var(--serif); }
.lightbox figure:has(.lightbox__cap:not(:empty)) img { max-height: 72vh; }
@media (max-width: 700px) { .lightbox figcaption { flex-direction: column; gap: .3rem; padding: 0 1rem; } .lightbox figure:has(.lightbox__cap:not(:empty)) img { max-height: 64vh; } }
.lightbox__count { color: #999; white-space: nowrap; }
.lightbox__ext { color: #ddd; white-space: nowrap; font-size: .9rem; text-decoration: underline; text-underline-offset: .2em; }
.lightbox__ext:hover { color: #fff; }
.lightbox__cap { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; padding: 1rem; opacity: .75; transition: opacity .2s, transform .2s; }
.lightbox button:hover { opacity: 1; }
.lightbox__close { top: .5rem; right: .8rem; }
.lightbox__prev { left: .5rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: .5rem; top: 50%; transform: translateY(-50%); }
.lightbox__prev:hover { transform: translateY(-50%) translateX(-4px); }
.lightbox__next:hover { transform: translateY(-50%) translateX(4px); }
.lightbox.single .lightbox__prev, .lightbox.single .lightbox__next, .lightbox.single .lightbox__count { display: none; }

/* ---------------------------------------------------------------- */
/* Scroll-Animationen (nur wenn JavaScript läuft)                    */
/* ---------------------------------------------------------------- */
.js .reveal { transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .reveal:not(.is-in) { opacity: 0; }
.js .reveal--fade-up:not(.is-in) { transform: translateY(48px); }
.js .reveal--zoom:not(.is-in) { transform: scale(.94); }
.js .reveal--slide:not(.is-in), .js .reveal--slide-left:not(.is-in) { transform: translateX(-70px); }
.js .reveal--slide-right:not(.is-in) { transform: translateX(70px); }
.js .reveal--none { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .g .g__item { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* --- Text-Ausrichtung & Bilder im Text --- */
.prose { display: flow-root; }
.ta-center { text-align: center; }
.ta-right { text-align: right; }
.ta-justify { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.prose img { border-radius: var(--radius); cursor: zoom-in; }
.prose img.img-right { float: right; width: min(45%, 520px); margin: .35rem 0 1.2rem 2.2rem; }
.prose img.img-left { float: left; width: min(45%, 520px); margin: .35rem 2.2rem 1.2rem 0; }
.prose img.img-center { display: block; width: min(100%, 720px); margin: 2rem auto; }
.prose img.img-full { display: block; width: 100%; margin: 2rem 0; }
@media (max-width: 700px) { .prose img.img-right, .prose img.img-left { float: none; width: 100%; margin: 1.2rem 0; } }

/* Bild + Text: Aufteilung (Bild links: Bild ist 1. Spalte, Bild rechts: Text ist 1. Spalte) */
.side-left .split--text { grid-template-columns: 1fr 1.35fr; }
.side-left .split--image { grid-template-columns: 1.35fr 1fr; }
.side-right .split--text { grid-template-columns: 1.35fr 1fr; }
.side-right .split--image { grid-template-columns: 1fr 1.35fr; }
.split--top { align-items: start; }
.split__btn { margin-top: 2rem; }
@media (max-width: 860px) { .side-left .split--text, .side-left .split--image, .side-right .split--text, .side-right .split--image { grid-template-columns: 1fr; } }

/* --- Bildgrößen im Text (im Editor gezogen) --- */
.prose img.w-20 { width: 20%; }
.prose img.w-25 { width: 25%; }
.prose img.w-30 { width: 30%; }
.prose img.w-35 { width: 35%; }
.prose img.w-40 { width: 40%; }
.prose img.w-45 { width: 45%; }
.prose img.w-50 { width: 50%; }
.prose img.w-55 { width: 55%; }
.prose img.w-60 { width: 60%; }
.prose img.w-65 { width: 65%; }
.prose img.w-70 { width: 70%; }
.prose img.w-75 { width: 75%; }
.prose img.w-80 { width: 80%; }
.prose img.w-85 { width: 85%; }
.prose img.w-90 { width: 90%; }
.prose img.w-95 { width: 95%; }
.prose img.w-100 { width: 100%; }
.prose img.img-full { width: 100% !important; }
@media (max-width: 700px) { .prose img.img-right, .prose img.img-left { width: 100% !important; } }

/* --- Bilder erscheinen beim ersten Ansehen (wie bei Wix) --- */
.js .prose img, .js .split__media { transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
.js .prose img:not(.anim-none):not(.is-in) { opacity: 0; transform: translateY(40px); }
.js .prose img.img-right:not(.anim-none):not(.is-in) { transform: translateX(90px); }
.js .prose img.img-left:not(.anim-none):not(.is-in) { transform: translateX(-90px); }
.js .prose img.anim-zoom:not(.is-in) { transform: scale(.85) !important; }
.js .prose img.anim-fade:not(.is-in) { transform: none !important; }
.js .split__media:not(.anim-none):not(.is-in) { opacity: 0; }
.js .side-left .split__media.anim-slide:not(.is-in) { transform: translateX(-90px); }
.js .side-right .split__media.anim-slide:not(.is-in) { transform: translateX(90px); }
.js .split__media.anim-zoom:not(.is-in) { transform: scale(.88); }
.split__media { overflow: visible; }
@media (prefers-reduced-motion: reduce) { .js .prose img, .js .split__media { opacity: 1 !important; transform: none !important; } }

/* --- Ausrichtung ganzer Textblöcke & Buttons im Text --- */
.prose--center { text-align: center; }
.prose--right { text-align: right; }
.prose--justify p, .prose--justify li { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.prose--center blockquote, .prose--right blockquote { border-left: 0; padding-left: 0; }
.prose a.btn { color: var(--btn-text); text-decoration: none; margin: .4rem 0; }
.prose a.btn:hover { color: var(--btn-text); }
.prose a.btn--outline { color: var(--ink); }
.prose a.btn--outline:hover { color: var(--bg); }
.prose p:has(> a.btn:only-child) { margin-top: 1.8rem; }

/* --- Block „Bilder + Text“ --- */
.mt { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.side-left .mt--text { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.side-left .mt--half { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.side-left .mt--image { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.side-right .mt--text { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.side-right .mt--half { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.side-right .mt--image { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.side-right .mt__media { order: 2; }
.mt--center { align-items: center; }
.mt__title { font: 400 clamp(1.7rem, 2.6vw, 2.3rem)/1.15 var(--serif); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin: 0 0 1.4rem; }
.mt .g { margin-top: 0; }
.mt .g--grid { row-gap: calc(var(--gap) + 1.2rem); }
.mt__cap { font-size: .95rem; color: var(--muted); margin: 0 0 .45rem; text-align: left; }
.g__link + .mt__cap { margin: .5rem 0 0; }
.g--ratio-original .g__link { aspect-ratio: auto; }
.g--ratio-original .g__link img { height: auto; }
.mt__text > :first-child { margin-top: 0; }
.rule--section { margin: clamp(3rem, 6vw, 4.5rem) 0 0; }
@media (max-width: 860px) {
  .side-left .mt--text, .side-left .mt--half, .side-left .mt--image,
  .side-right .mt--text, .side-right .mt--half, .side-right .mt--image { grid-template-columns: 1fr; }
  .side-right .mt__media { order: 0; }
}

/* --- Akzent-Überschrift im Text (Gold, Großbuchstaben) --- */
.prose h2.hl-accent, .prose h3.hl-accent { font: 400 1.55rem/1.25 var(--serif); letter-spacing: .07em; text-transform: uppercase; color: color-mix(in srgb, var(--accent) 85%, #000); margin: 2.6rem 0 1rem; }
.prose > .hl-accent:first-child { margin-top: 0; }
.bg-dark .prose .hl-accent { color: var(--accent); }

/* --- Schriftgrößen aus dem Editor --- */
.fs-s { font-size: .85em; }
.fs-m { font-size: 1em; }
.fs-l { font-size: 1.25em; line-height: 1.45; }
.fs-xl { font-size: 1.6em; line-height: 1.35; }
.fs-xxl { font-size: 2.2em; line-height: 1.2; }

/* --- Handy: Animationen dezenter, damit Text sofort lesbar ist --- */
@media (max-width: 700px) {
  .js .reveal--fade-up:not(.is-in) { transform: translateY(20px); }
  .js .reveal--slide:not(.is-in), .js .reveal--slide-left:not(.is-in) { transform: translateX(-24px); }
  .js .reveal--slide-right:not(.is-in) { transform: translateX(24px); }
  .js .reveal { transition-duration: .7s, .8s; }
  .js .prose img.img-right:not(.anim-none):not(.is-in), .js .prose img.img-left:not(.anim-none):not(.is-in) { transform: translateY(24px); }
  .js .side-left .split__media.anim-slide:not(.is-in), .js .side-right .split__media.anim-slide:not(.is-in) { transform: translateY(24px); }
}

/* --- Titelbild auf dem Handy --- */
.hero picture { display: contents; }
@media (max-width: 700px) {
  .hero--gross { min-height: 78svh; }
  .hero--mittel { min-height: 56svh; }
  .hero__wrap { padding: 3rem 0 3.5rem; align-self: end; }
  .hero__title { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .hero__sub { font-size: 1rem; }
  /* Ganzes Bild zeigen, Text darunter */
  .hero--m-full { min-height: 0 !important; display: block; background: var(--dark); }
  .hero--m-full .hero__img { position: relative; inset: auto; height: auto; aspect-ratio: var(--hero-ratio, 3 / 2); animation: none; }
  .hero--m-full::after { display: none; }
  .hero--m-full .hero__wrap { padding: 1.8rem 0 2.4rem; }
}
@media (max-width: 700px) { .hero--has-mimg .hero__img { object-position: 50% 50% !important; } }

/* --- Cookie-Hinweis --- */
.cookie { position: fixed; z-index: 150; background: var(--card); color: var(--text); border: 1px solid var(--line); box-shadow: 0 10px 40px rgba(0,0,0,.15); display: flex; align-items: center; gap: 1rem 1.6rem; padding: 1.1rem 1.4rem; opacity: 0; transform: translateY(20px); transition: opacity .35s var(--ease), transform .35s var(--ease); font-size: .95rem; }
.cookie.is-open { opacity: 1; transform: none; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; flex: 1; }
.cookie .btn { padding: .75rem 1.5rem; white-space: nowrap; }
.cookie--bar { left: 0; right: 0; bottom: 0; border-width: 1px 0 0; padding-inline: max(1.5rem, calc((100% - var(--wrap)) / 2)); }
.cookie--box { left: 1.2rem; bottom: 1.2rem; max-width: 420px; flex-direction: column; align-items: flex-start; border-radius: var(--radius); }
@media (max-width: 700px) { .cookie--bar, .cookie--box { left: .6rem; right: .6rem; bottom: .6rem; max-width: none; flex-direction: column; align-items: stretch; border-width: 1px; } .cookie .btn { text-align: center; } }
.mt--solo { grid-template-columns: minmax(0, 1fr) !important; }

/* --- Sprungmarken: nicht unter dem Header verschwinden --- */
main [id] { scroll-margin-top: 1.5rem; }
html { scroll-behavior: auto; }
body:has(.site-header.is-sticky) main [id] { scroll-margin-top: calc(var(--logo-h) + 5rem); }

/* --- Trennlinien --- */
.divider { padding: clamp(1.5rem, 4vw, 3rem) 0; }
.divider + .block { padding-top: 0; }
.divider .container { position: relative; height: 1px; background: var(--line); }
.divider--short .container { width: 120px; }
.divider--gold .container { background: var(--accent); }
.divider--ornament .container { background: linear-gradient(90deg, transparent, var(--accent) 20%, var(--accent) 45%, transparent 45%, transparent 55%, var(--accent) 55%, var(--accent) 80%, transparent); }
.divider__orn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%); color: var(--accent); font-size: .85rem; line-height: 1; }
.block:has(+ .divider) { padding-bottom: 0; }

main > :last-child.block, main > :last-child .block:last-child { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.mz .acard, .mz .acard__link { height: 100%; position: relative; }
.prose a.imglink img, a.imglink img, .g__link--out { cursor: pointer; }
a.imglink { display: contents; }

/* Instagram – Profil-Layout */
.instap__head { text-align: center; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.instap__eyebrow { margin: 0 0 .5rem; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: color-mix(in srgb, var(--accent) 70%, #000); }
.instap__title { margin: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.instap__title em { font-style: italic; color: color-mix(in srgb, var(--accent) 75%, #000); }
.instap__profile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 1rem 2.2rem; padding: 0 0 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.instap__avatar { display: block; width: 72px; height: 72px; border-radius: 50%; padding: 3px; background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.instap__avatar img, .instap__initial { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--bg, #fff); object-fit: cover; background: var(--bg-alt); font-family: var(--serif); font-size: 2rem; color: var(--muted); }
.instap__who { display: grid; gap: .15rem; min-width: 0; }
.instap__who a { color: inherit; text-decoration: none; }
.instap__who strong { font-size: 1.05rem; font-weight: 600; }
.instap__who a:hover strong { text-decoration: underline; }
.instap__who span { color: var(--muted); font-size: .9rem; }
.instap__stats { display: flex; gap: 2rem; margin: 0; padding: 0; list-style: none; text-align: center; }
.instap__stats strong { display: block; font-size: 1.05rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.instap__stats span { font-size: .78rem; color: var(--muted); }
.instap__follow { justify-self: end; display: inline-block; padding: .6rem 1.2rem; font-size: .9rem; border-radius: 8px; background: #0095f6; color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .2s; }
.instap__follow:hover, .instap__follow:focus-visible { background: #1877f2; color: #fff; }
.instap__grid { grid-template-columns: repeat(var(--cols, 3), 1fr); gap: .6rem; margin: 0; }
.instap__grid .insta__item { border-radius: 4px; }
.insta__badge svg { display: block; width: 1.5rem; height: 1.5rem; filter: drop-shadow(0 1px 3px rgba(0,0,0,.45)); }
.instap__grid .insta__badge { top: .7rem; right: .8rem; }
@media (max-width: 900px) {
  .instap__profile { grid-template-columns: auto 1fr; }
  .instap__stats { grid-column: 1 / -1; justify-content: space-around; }
  .instap__follow { grid-column: 1 / -1; justify-self: stretch; text-align: center; }
  .instap__grid { --cols: 3 !important; gap: 3px; }
}
@media (max-width: 480px) { .instap__avatar { width: 68px; height: 68px; } .instap__stats { gap: 1rem; } }

/* Instagram – Mouseover mit Likes, Kommentaren, Text, Datum */
.insta__hover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; padding: 1.4rem; background: rgba(20, 16, 12, .62); color: #fff; text-align: center; opacity: 0; transition: opacity .25s; }
.insta__counts { display: flex; gap: 1.6rem; font-size: 1.25rem; font-weight: 700; }
.insta__counts span { display: inline-flex; align-items: center; gap: .45rem; }
.insta__counts svg { width: 1.5rem; height: 1.5rem; }
.insta__text { font-size: .9rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; max-width: 34ch; }
.insta__date { font-size: .82rem; opacity: .8; }
@media (hover: hover) { .insta__item:hover .insta__hover, .insta__item:focus-visible .insta__hover { opacity: 1; } }
@media (max-width: 900px) { .insta__hover { display: none; } }

/* Instagram – Beitragsfenster */
.igm { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 3.5rem 4.5rem; background: rgba(0, 0, 0, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .2s; }
.igm.is-open { opacity: 1; }
.igm[hidden] { display: none; }
.igm__box { --h: min(680px, 86vh); display: flex; height: var(--h); max-width: 100%; background: #fff; color: #1b1b1b; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); font-family: var(--sans, system-ui, sans-serif); }
.igm__media { position: relative; flex: none; height: 100%; aspect-ratio: var(--ratio, 1/1); max-width: min(62vw, 860px); background: #000; display: grid; place-items: center; }
.igm__media img, .igm__media video { width: 100%; height: 100%; object-fit: contain; display: block; }
.igm__media video { cursor: pointer; }
.igm__badge { position: absolute; top: .9rem; left: .9rem; padding: .3rem .65rem; border-radius: 6px; background: rgba(0, 0, 0, .65); color: #fff; font-size: .85rem; font-weight: 600; }
.igm__mute { position: absolute; right: .9rem; bottom: .9rem; display: grid; place-items: center; width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .5); color: #fff; cursor: pointer; opacity: .9; }
.igm__mute:hover { background: rgba(0, 0, 0, .75); opacity: 1; }
.igm__mute svg { width: 1rem !important; height: 1rem !important; }
.igm__vid::-webkit-media-controls, .igm__vid::-webkit-media-controls-enclosure, .igm__vid::-webkit-media-controls-overlay-play-button { display: none !important; }
.igm__mute svg, .igm__ext svg, .igm__icons svg { width: 1.4rem; height: 1.4rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.igm__play { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); padding: .6rem 1rem; border-radius: 8px; background: rgba(0, 0, 0, .7); color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; }
.igm__side { display: flex; flex-direction: column; width: 360px; min-width: 0; }
.igm__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid #ececec; }
.igm__who { display: flex; align-items: center; gap: .7rem; color: inherit; text-decoration: none; font-size: .95rem; }
.igm__who:hover strong { text-decoration: underline; }
.igm__avatar { width: 38px; height: 38px; border-radius: 50%; padding: 2px; background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); flex: none; }
.igm__avatar img { width: 100%; height: 100%; border-radius: 50%; border: 2px solid #fff; object-fit: cover; display: block; }
.igm__ext { color: #555; }
.igm__ext:hover { color: #000; }
.igm__cap { flex: 1; overflow-y: auto; padding: 1rem 1.1rem; white-space: pre-line; overflow-wrap: anywhere; font-size: .9rem; line-height: 1.55; }
.igm__cap a { color: #00376b; text-decoration: none; }
.igm__cap a:hover { text-decoration: underline; }
.igm__foot { padding: .8rem 1.2rem 1.2rem; border-top: 1px solid #ececec; display: grid; gap: .35rem; }
.igm__icons { display: flex; gap: 1rem; margin-bottom: .3rem; }
.igm__icons a { color: #1b1b1b; }
.igm__icons a:hover { color: #777; }
.igm__icons svg { width: 1.5rem; height: 1.5rem; }
.igm__save { margin-left: auto; }
.igm__likes { margin: 0; font-weight: 600; font-size: .9rem; }
.igm__likes:empty { display: none; }
.igm__comments { color: #737373; text-decoration: none; font-size: .9rem; }
.igm__comments:hover { text-decoration: underline; }
.igm__time { color: #737373; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.igm__btn { margin-top: .6rem; display: block; padding: .6rem; font-size: .9rem; border-radius: 8px; background: #0095f6; color: #fff; text-align: center; font-weight: 600; text-decoration: none; }
.igm__btn:hover, .igm__btn:focus-visible { background: #1877f2; color: #fff; }
.igm__close { position: absolute; top: 1rem; right: 1.2rem; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.igm__close:hover { background: rgba(255, 255, 255, .28); }
.igm__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 2.8rem; height: 2.8rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer; }
.igm__prev { left: 1rem; }
.igm__next { right: 1rem; }
.igm__nav:hover { background: rgba(255, 255, 255, .28); }
.igm.single .igm__nav { display: none; }
.igm button:focus-visible, .igm a:focus-visible { outline: 3px solid #0095f6; outline-offset: 2px; }
@media (max-width: 900px) {
  .igm { padding: 0; place-items: stretch; }
  .igm__box { --h: auto; flex-direction: column; height: 100%; border-radius: 0; overflow-y: auto; }
  .igm__media { width: 100%; height: 60vh; aspect-ratio: auto; max-width: none; flex: none; overflow: hidden; }
  .igm__side { width: 100%; flex: 1 0 auto; }
  .igm__cap { flex: none; overflow: visible; }
  .igm__close { z-index: 2; top: .3rem; right: .6rem; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
  .igm__nav { top: 30vh; width: 2.4rem; height: 2.4rem; font-size: 1.6rem; z-index: 2; background: rgba(0, 0, 0, .4); }
}
@media (prefers-reduced-motion: reduce) { .igm, .insta__hover { transition: none; } }

/* Videos, die nur Instagram abspielt */
.igm__extplay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem; padding: 2rem; background: rgba(0, 0, 0, .35); color: #fff; text-align: center; text-decoration: none; transition: background .2s; }
.igm__extplay:hover, .igm__extplay:focus-visible { background: rgba(0, 0, 0, .5); color: #fff; }
.igm__extplay-btn { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #111; font-size: 1.8rem; padding-left: .3rem; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); transition: transform .2s; }
.igm__extplay:hover .igm__extplay-btn { transform: scale(1.08); }
.igm__extplay-txt { font-weight: 600; font-size: 1.05rem; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.igm__extplay small { max-width: 26ch; font-size: .8rem; opacity: .9; line-height: 1.4; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
