/* BeatIt CMS – base styles of every website. Colours and fonts come from /_cms/theme.css. Mobile first. */

:root {
  --c-primary: #0e6e6a;
  --c-accent: #c2410c;
  --c-bg: #ffffff;
  --c-text: #1a1f26;
  --f-heading: system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --f-body: system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 6px;
  --header-position: sticky;

  --c-muted: color-mix(in srgb, var(--c-text) 62%, var(--c-bg));
  --c-line: color-mix(in srgb, var(--c-text) 14%, var(--c-bg));
  --c-light: color-mix(in srgb, var(--c-primary) 7%, var(--c-bg));
  --c-on-primary: #ffffff;
  --gutter: clamp(16px, 4vw, 32px);
  --w-narrow: 680px;
  --w-normal: 860px;
  --w-wide: 1180px;
  --space: clamp(40px, 7vw, 88px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--c-bg);
  color: var(--c-text);
  font: 17px/1.65 var(--f-body);
  overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

img, video { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--c-primary); text-underline-offset: 0.18em; }
a:hover { color: var(--c-accent); }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--f-heading); line-height: 1.15; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p, ul, ol, blockquote { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
blockquote { border-left: 4px solid var(--c-primary); padding: 0.2em 0 0.2em 1em; font-size: 1.12em; color: var(--c-muted); }
hr { border: 0; border-top: 1px solid var(--c-line); margin: 2em auto; }

.ta-left { text-align: left; }
.ta-center { text-align: center; }
.ta-right { text-align: right; }
.ta-justify { text-align: justify; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--c-bg); padding: 8px 12px; }
.skip-link:focus { left: 8px; }

/* ---------- Header & navigation ---------- */
.site-header {
  position: var(--header-position);
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--c-bg) 94%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner {
  max-width: var(--w-wide);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-text); font-weight: 700; font-family: var(--f-heading); font-size: 1.15rem; margin-right: auto; min-width: 0; }
.site-brand__logo { max-height: 44px; width: auto; }

.menu { list-style: none; margin: 0; padding: 0; }
.menu a { text-decoration: none; color: inherit; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--c-line); border-radius: var(--radius);
  background: transparent; color: var(--c-text); cursor: pointer;
}
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
  display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s;
}
.nav-toggle__bar::before, .nav-toggle__bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }
.nav-open .nav-toggle__bar { background: transparent; }
.nav-open .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav { display: none; flex-basis: 100%; }
.nav-open .site-nav { display: block; }
.site-nav .menu { display: flex; flex-direction: column; padding: 8px 0 12px; }
.site-nav .menu a { display: block; padding: 12px 4px; font-weight: 600; border-bottom: 1px solid var(--c-line); }
.site-nav .menu .menu { padding: 0 0 0 16px; }
.site-nav .menu .menu a { font-weight: 400; }
.site-nav .is-active > a { color: var(--c-primary); }

.lang-switch { display: flex; gap: 4px; }
.lang-switch a { text-decoration: none; font-size: 0.85rem; font-weight: 600; padding: 6px 8px; border-radius: var(--radius); color: var(--c-muted); }
.lang-switch a.is-active { color: var(--c-text); background: var(--c-light); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; flex-basis: auto; }
  .site-header__inner { flex-wrap: nowrap; }
  .site-nav .menu { flex-direction: row; gap: 4px; padding: 0; }
  .site-nav .menu a { border: 0; padding: 8px 12px; border-radius: var(--radius); }
  .site-nav .menu a:hover { background: var(--c-light); color: var(--c-text); }
  .site-nav .menu__item { position: relative; }
  .site-nav .menu .menu {
    display: none; position: absolute; top: 100%; left: 0; min-width: 220px; padding: 6px;
    background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius);
    box-shadow: 0 12px 32px rgb(0 0 0 / 0.12); flex-direction: column;
  }
  .site-nav .has-children:hover > .menu, .site-nav .has-children:focus-within > .menu { display: flex; }
}

/* ---------- Main & blocks ---------- */
.site-main { flex: 1; }
/* Page option "ohne Kopf- und Fußzeile": no header/footer, sections may fill the screen. */
.site--bare .site-main { min-height: 100vh; min-height: 100dvh; }
.blk { padding-block: calc(var(--space) / 2); }
.blk:first-child:not(.blk-hero) { padding-top: var(--space); }
.blk__inner { width: 100%; max-width: var(--w-normal); margin-inline: auto; padding-inline: var(--gutter); }
.blk__inner--narrow { max-width: var(--w-narrow); }
.blk__inner--wide { max-width: var(--w-wide); }
.cms-rt > :last-child { margin-bottom: 0; }

.bg-light { background: var(--c-light); }
.bg-primary { background: var(--c-primary); color: var(--c-on-primary); }
.bg-dark { background: color-mix(in srgb, var(--c-text) 92%, #000); color: #f2f4f7; }
.bg-primary a, .bg-dark a { color: inherit; }
.bg-light, .bg-primary, .bg-dark { padding-block: var(--space); }
.bg-dark blockquote, .bg-primary blockquote { color: inherit; border-color: currentColor; }
/* Sections with the same background in a row form one band: no double gap between them (as on most sites). The
   editor puts an insert button between sections, hence the second selector of each pair. */
:is(.bg-light:has(+ .bg-light), .bg-light:has(+ .cms-insert + .bg-light),
    .bg-primary:has(+ .bg-primary), .bg-primary:has(+ .cms-insert + .bg-primary),
    .bg-dark:has(+ .bg-dark), .bg-dark:has(+ .cms-insert + .bg-dark)) { padding-bottom: calc(var(--space) / 4); }
:is(.bg-light + .bg-light, .bg-light + .cms-insert + .bg-light,
    .bg-primary + .bg-primary, .bg-primary + .cms-insert + .bg-primary,
    .bg-dark + .bg-dark, .bg-dark + .cms-insert + .bg-dark) { padding-top: 0; }
/* Spacing chosen per section ("Abstand oben/unten") wins over the automatic one. */
.blk.sp-none { padding-block: 0; }
.blk.sp-small { padding-block: calc(var(--space) / 4); }
.blk.sp-large { padding-block: calc(var(--space) * 1.5); }

/* Hero */
.blk-hero { padding: 0; }
.hero { position: relative; display: grid; align-items: end; overflow: hidden; background: var(--c-primary); color: var(--c-on-primary); }
.hero--plain { background: linear-gradient(135deg, var(--c-primary), color-mix(in srgb, var(--c-primary) 55%, var(--c-accent))); }
.hero--small { min-height: 300px; }
.hero--medium { min-height: min(68vh, 560px); }
.hero--large { min-height: min(88vh, 780px); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero--overlay-light::after { background: linear-gradient(to top, rgb(0 0 0 / 0.55), rgb(0 0 0 / 0.1)); }
.hero--overlay-strong::after { background: rgb(0 0 0 / 0.58); }
.hero--overlay-wash { color: var(--c-text); }
.hero--overlay-wash::after { background: linear-gradient(color-mix(in srgb, var(--c-bg) 74%, transparent), color-mix(in srgb, var(--c-bg) 80%, transparent)); }
.hero--overlay-wash .hero__title { color: var(--c-primary); }
.hero__content { position: relative; z-index: 1; width: 100%; max-width: var(--w-wide); margin: 0 auto; padding: clamp(32px, 8vw, 96px) var(--gutter); }
.hero--center .hero__content { text-align: center; }
.hero--center .hero__text { margin-inline: auto; }
.hero__title { color: inherit; max-width: 18ch; }
.hero--center .hero__title { margin-inline: auto; }
.hero__text { font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 56ch; opacity: 0.95; white-space: pre-line; }
.hero__btn { margin-top: 0.5em; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 0.5em; }
.hero--center .hero__buttons { justify-content: center; }
.hero__buttons .hero__btn { margin-top: 0; }
.hero__btn--second { color: inherit; border-color: currentColor; }
.hero__kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; margin: 0 0 1em; opacity: 0.9; }
.hero__emblem { margin: 0 0 clamp(18px, 3vw, 32px); max-width: min(760px, 100%); }
.hero--center .hero__emblem { margin-inline: auto; }
.hero__emblem img { display: block; width: 100%; height: auto; }
.hero--overlay-side::after { background: linear-gradient(90deg, rgb(0 0 0 / 0.9) 0%, rgb(0 0 0 / 0.68) 48%, rgb(0 0 0 / 0.25) 100%), linear-gradient(0deg, rgb(0 0 0 / 0.55), transparent 50%); }
.hero--center.hero--overlay-side::after { background: radial-gradient(ellipse at center, rgb(0 0 0 / 0.78), rgb(0 0 0 / 0.4)); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius);
  font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--c-accent); color: #fff; }
.btn--primary:hover { color: #fff; background: color-mix(in srgb, var(--c-accent) 85%, #000); }
.btn--secondary { background: transparent; color: var(--c-primary); border-color: currentColor; }
.button-row { display: flex; }
.button-row--center { justify-content: center; }
.button-row--right { justify-content: flex-end; }

/* Image & text */
.media-text { display: grid; gap: clamp(20px, 4vw, 48px); align-items: center; max-width: var(--w-wide); }
.media-text__media { margin: 0; }
.media-text__media img { width: 100%; border-radius: var(--radius); }
@media (min-width: 760px) {
  .media-text { grid-template-columns: 1fr 1fr; }
  .media-text--right .media-text__media { order: 2; }
}

/* Image */
.figure { margin: 0 auto; }
.figure img { border-radius: var(--radius); width: 100%; }
.figure--full img { border-radius: 0; }
.figure__caption { font-size: 0.92rem; color: var(--c-muted); margin-top: 8px; }
.figure--full .figure__caption { padding-inline: var(--gutter); }
.figure--video video { width: 100%; border-radius: var(--radius); background: #000; }

/* Columns */
.columns { display: grid; gap: clamp(24px, 4vw, 48px); }
@media (min-width: 640px) {
  .columns--2, .columns--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 760px) {
  .columns--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .columns--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.columns__media { margin: 0 0 14px; }
.columns__media img { width: 100%; border-radius: var(--radius); }
.columns--cards .columns__col {
  background: var(--c-bg); color: var(--c-text); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 18px; box-shadow: 0 1px 3px rgb(0 0 0 / .06);
}
.columns--cards .columns__media { margin: -18px -18px 16px; }
.columns--cards .columns__media img { border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 16 / 10; object-fit: cover; }

/* Gallery */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) {
  .gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* Divider */
.blk-divider { padding: 0; }
.divider--small { padding-block: 12px; }
.divider--medium { padding-block: 32px; }
.divider--large { padding-block: 72px; }
.divider hr { margin: 0 auto; }

/* Menu block */
.block-menu .menu { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.block-menu--center .menu { justify-content: center; }
.block-menu .menu .menu { display: none; }
.block-menu a { font-weight: 600; }

/* Embeds */
.embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }

/* Code stage: full width, no spacing; the sandboxed document fills the frame. */
.blk-stage, .blk-stage:first-child:not(.blk-hero) { padding: 0; }
.blk__inner--full { max-width: none; padding: 0; }
.stage__frame { display: block; width: 100%; border: 0; background: #000; }
.stage--screen .stage__frame { height: 100vh; height: 100dvh; min-height: 360px; }
.stage--wide .stage__frame { aspect-ratio: 16 / 9; }
.stage--square .stage__frame { aspect-ratio: 1; max-height: 100dvh; }
.stage--banner .stage__frame { aspect-ratio: 3 / 1; min-height: 200px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: auto; }
.site-footer__bottom {
  max-width: var(--w-wide); margin: 0 auto; padding: 20px var(--gutter);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center;
  font-size: 0.9rem; color: var(--c-muted);
}
.footer-nav .menu { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-nav .menu .menu { display: none; }
.site-footer__copy { margin: 0; }

/* ---------- Popup & lightbox ---------- */
.site-popup { border: 0; padding: 0; background: transparent; max-width: min(640px, calc(100vw - 24px)); width: 100%; color: var(--c-text); }
.site-popup::backdrop { background: rgb(10 14 20 / 0.55); }
.site-popup__panel { position: relative; background: var(--c-bg); border-radius: calc(var(--radius) * 2); padding: 28px 0 8px; max-height: 85dvh; overflow: auto; }
.site-popup__title { padding: 0 var(--gutter); margin-right: 48px; }
.site-popup__title:empty { display: none; }
.site-popup .blk { padding-block: 8px 16px; }
.site-popup .blk__inner { max-width: none; }
.site-popup__close {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--c-light); color: var(--c-text); font-size: 26px; line-height: 1; cursor: pointer;
}
.site-popup.is-lightbox { max-width: min(1100px, calc(100vw - 24px)); }
.site-popup.is-lightbox .site-popup__panel { background: #000; padding: 0; }
.site-popup.is-lightbox img { max-height: 85dvh; width: auto; margin: 0 auto; }

.not-found { text-align: center; padding-block: var(--space); }
.not-found__code { font-weight: 700; color: var(--c-muted); letter-spacing: 0.1em; }

/* ---------- Cookie banner & blocked embeds ---------- */
.consent {
  position: fixed; z-index: 90; left: 12px; right: 12px; bottom: 12px; max-width: 560px; margin-left: auto;
  padding: 18px 20px; border-radius: calc(var(--radius) * 2); background: var(--c-bg); color: var(--c-text);
  border: 1px solid var(--c-line); box-shadow: 0 16px 48px rgb(0 0 0 / .22); font-size: 15px;
}
.consent__title { font-size: 1.1rem; margin: 0 0 6px; }
.consent__text { margin: 0 0 8px; color: var(--c-muted); }
.consent__link { display: inline-block; margin-bottom: 12px; font-size: 14px; }
.consent__choices { display: grid; gap: 8px; margin: 4px 0 14px; }
.consent__choice { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.consent__choice input { width: 20px; height: 20px; accent-color: var(--c-primary); }
.consent__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.consent__buttons .btn { flex: 1 1 auto; min-height: 44px; padding: 10px 16px; }
.consent-reopen { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.consent-ph {
  display: grid; place-items: center; gap: 12px; aspect-ratio: 16 / 9; padding: 20px; text-align: center;
  border-radius: var(--radius); background: var(--c-light); color: var(--c-text);
}
.consent-ph p { margin: 0; font-weight: 600; }

/* Gallery layout "Laufband": without the "Laufband" entry in Code & Bibliotheken the logos stand still in a row.
   The animation itself is not part of the base (every website starts without extras). */
.marquee { overflow: hidden; }
.marquee__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 48px; margin: 0; padding: 0; list-style: none; }
.marquee__list[aria-hidden] { display: none; }
.marquee__item img { display: block; height: 64px; width: auto; max-width: 180px; object-fit: contain; }

/* Columns as profile cards: small round portrait next to the name */
.columns--profiles .columns__col { position: relative; padding: 22px; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-bg); color: var(--c-text); box-shadow: 0 1px 3px rgb(0 0 0 / .06); }
.columns--profiles .columns__media { float: left; width: 76px; margin: 0 16px 8px 0; }
.columns--profiles .columns__media img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.columns--profiles .columns__col > :is(h2, h3, h4):first-of-type { margin-top: 6px; }
.columns--profiles .columns__col::after { content: ""; display: block; clear: both; }

/* Forms (block "Formular"): one column on phones, half-width fields side by side from 640px */
.site-form { margin-top: 12px; }
.site-form__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.site-form__field { display: grid; gap: 6px; min-width: 0; }
.site-form__field > label, .site-form__choices legend { font-weight: 600; font-size: 0.95rem; }
.site-form input:not([type="checkbox"], [type="radio"]), .site-form select, .site-form textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; font-size: 16px; color: var(--c-text);
  background: var(--c-bg); border: 1px solid color-mix(in srgb, var(--c-text) 28%, var(--c-bg)); border-radius: var(--radius);
}
.site-form textarea { min-height: 130px; resize: vertical; }
.site-form :is(input, select, textarea):focus-visible { outline: 3px solid color-mix(in srgb, var(--c-primary) 45%, transparent); outline-offset: 1px; border-color: var(--c-primary); }
.site-form [aria-invalid="true"] { border-color: #b42318; }
.site-form__choices { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-form__check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-weight: 400; }
.site-form__check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--c-primary); }
.site-form__field--consent .site-form__check { font-size: 0.9rem; color: var(--c-muted); }
.site-form__error { margin: 0; color: #b42318; font-size: 0.9rem; }
.site-form__status { margin: 14px 0 0; min-height: 1.4em; }
.site-form__status.is-error { color: #b42318; font-weight: 600; }
.site-form__actions { margin-top: 8px; }
.site-form__actions .btn { min-height: 48px; padding-inline: 28px; }
.site-form.is-sending { opacity: .7; }
.site-form__done { padding: 22px 24px; border-radius: var(--radius); background: var(--c-light); border-left: 4px solid var(--c-primary); font-size: 1.05rem; }
.site-form__done:focus { outline: none; }
/* Honeypot: off-screen for people, still in the markup for bots */
.site-form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.site-form__editnote { margin-top: 16px; padding: 10px 12px; border: 1px dashed var(--c-line); border-radius: var(--radius); font-size: 0.9rem; color: var(--c-muted); }
.site-form__editnote p { margin: 4px 0 0; }
@media (min-width: 640px) {
  .site-form__grid { grid-template-columns: 1fr 1fr; gap: 18px 20px; }
  .site-form__field--full { grid-column: 1 / -1; }
}
.form-result { max-width: 640px; margin: 12vh auto; padding: 0 var(--gutter, 20px); }

/* Preview of an AI change (only in /cms/ai/change/…/preview) */
mark.cms-ai-mark { background: #fff1a8; color: inherit; outline: 2px solid #7a3df0; outline-offset: 1px; border-radius: 2px; }

/* Testimonials ("Kundenstimmen"): intro with button + cards (band with dots, or grid) */
.testimonials { display: grid; gap: 32px; }
@media (min-width: 960px) { .testimonials--intro { grid-template-columns: minmax(220px, 1fr) minmax(0, 2.2fr); gap: 48px; align-items: center; } }
.testimonials__intro :is(h2, h3, h4) { margin-top: 0; }
.testimonials__action { margin-top: 28px; }
.testimonials__main { min-width: 0; }
.testimonials__track { display: grid; gap: 30px; }
.testimonials--grid .testimonials__track { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.testimonials--slider .testimonials__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding: 4px 4px 12px; margin: -4px -4px 0; overscroll-behavior-x: contain;
}
.testimonials--slider .testimonials__track::-webkit-scrollbar { display: none; }
.testimonials--slider .testimonial { flex: 0 0 min(92%, 1040px); scroll-snap-align: start; }
.testimonial {
  margin: 0; display: grid; align-content: space-between; gap: 32px; padding: clamp(28px, 4vw, 64px);
  background: var(--c-bg, #fff); color: var(--c-text); border: 1px solid rgb(0 0 0 / .1); border-radius: 10px;
}
.testimonial__quote { margin: 0; padding: 0; border: 0; font-size: 1.15rem; line-height: 1.85; font-style: normal; }
.testimonial__quote p { margin: 0; }
.testimonial__by { display: flex; align-items: center; gap: 24px; }
.testimonial__photo { flex: none; width: 115px; height: 115px; border-radius: 50%; overflow: hidden; box-shadow: 0 15px 37px rgb(0 0 0 / .15); }
.testimonial__photo img, .testimonial__photo picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.testimonial__who { display: grid; gap: 4px; }
.testimonial__name { font-size: 1.15rem; font-weight: 700; }
.testimonial__role { color: color-mix(in srgb, var(--c-text) 65%, transparent); font-weight: 600; font-size: .95rem; }
.testimonials__dots { display: flex; gap: 6px; margin-top: 36px; }
.testimonials__dots button { width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; display: grid; place-items: center; }
.testimonials__dots button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .35; transition: all .2s; }
.testimonials__dots button[aria-current="true"]::before { width: 12px; height: 12px; background: none; border: 2px solid currentColor; opacity: 1; box-sizing: border-box; }
@media (max-width: 639.98px) { .testimonial__by { gap: 16px; } .testimonial__photo { width: 80px; height: 80px; } .testimonial__quote { font-size: 1rem; line-height: 1.75; } }
.btn--arrow::after { content: "\2192"; margin-left: 14px; font-size: 1.2em; line-height: 1; }
/* As on most sites: on wide screens the band runs to the right edge of the window and the next card peeks in. */
@media (min-width: 960px) {
  .testimonials--slider .testimonials__main { margin-right: calc(-1 * ((100vw - min(100vw, var(--w-wide))) / 2 + var(--gutter))); }
  .testimonials--slider.testimonials--intro .testimonial { flex-basis: min(80%, 1040px); }
}
.blk-testimonials { overflow-x: clip; } /* the band may reach the window edge, never beyond */

/* Post list ("Beitragsliste"): date column, title, excerpt, read-more button; optional sidebar */
.posts { display: grid; gap: 48px; }
@media (min-width: 960px) { .posts--side { grid-template-columns: minmax(0, 2.5fr) minmax(220px, 1fr); gap: 52px; } }
.posts__list { display: grid; gap: clamp(48px, 7vw, 110px); min-width: 0; }
.post-item { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: clamp(16px, 3vw, 37px); align-items: start; }
.post-item__date { display: grid; justify-items: center; text-align: center; padding-top: 6px; }
.post-item__month { font-size: 17px; font-weight: 600; text-transform: uppercase; line-height: 1.2; }
.post-item__day { font-size: 30px; font-weight: 700; line-height: 29px; }
.post-item__title { margin: 0 0 14px; font-size: clamp(1.6rem, 2.4vw, 2.375rem); line-height: 1.26; font-weight: 500; color: var(--c-primary); }
.post-item__title a { color: inherit; text-decoration: none; }
.post-item__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.post-item__excerpt { margin: 0; line-height: 2; }
.post-item__more { display: inline-block; margin-top: 25px; padding: 8px 12px; background: #333; color: #fff; text-decoration: none; line-height: 1.5; }
.post-item__more:hover { background: var(--c-primary); color: #fff; }
.posts__side :is(h2, h3, h4) { margin-top: 0; font-size: 1.35rem; font-weight: 500; }
.posts__side ul { padding-left: 0; list-style: none; line-height: 2; }
@media (max-width: 639.98px) { .post-item { grid-template-columns: 44px minmax(0, 1fr); } .post-item__day { font-size: 24px; } }
