/* ==========================================================================
   Adam’s Bautenschutz – Theme
   Contao 5.7 · Layout „page/layout/adams“

   Gestaltung: kräftig und modern. Überschriften als schmale Plakatschrift
   (Archivo), ein Drohnenvideo über die volle Bildschirmfläche, klare
   Farbflächen und ein Klinker-Muster als Bezug zum Handwerk. Buttons,
   Karten und Bilder tragen einen harten, versetzten Schatten – wie die
   Buchstaben im Logo.
   Mobil zuerst: Grundregeln gelten für Smartphones, größere Bildschirme
   werden per min-width ergänzt.

     01 Schrift & Farben
     02 Grundlagen
     03 Abschnitte & Raster
     04 Kopfbereich & Navigation
     05 Buttons
     06 Startseite
     07 Seitenkopf der Unterseiten
     08 Bausteine
     09 Medien
     10 Termine, Presse, Kontakt, Formular
     11 Fußbereich & Kontaktleiste
     12 Cookie-Banner
     13 Bewegung & Druck
   ========================================================================== */

/* 01 Schrift & Farben ====================================================== */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-variable.woff2") format("woff2-variations"), url("../fonts/archivo-variable.woff2") format("woff2");
}

:root {
  --red: #d90421;
  --red-dark: #b0021b;
  --red-light: #ff5c70;
  --ink: #131417;
  --ink-2: #1f2125;
  --text: #24272c;
  --muted: #5d6168;
  --paper: #f3f1ed;
  --concrete: #e4e1dc;
  --line: #d6d2cb;
  --line-dark: rgba(255, 255, 255, .16);
  --white: #fff;
  --gold: #f2b01e;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: 20px;
  --section: 64px;
  --radius: 6px;
  --header-h: 68px;

  /* Harter Schatten wie im Logo */
  --shadow: 5px 5px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);
  --shadow-red: 8px 8px 0 var(--red);

  /* Klinker im Läuferverband */
  --brick-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='28' viewBox='0 0 56 28'%3E%3Cpath d='M0 .5h56M0 14.5h56M28 0v14M14 14v14M42 14v14' fill='none' stroke='%23000' stroke-opacity='.13'/%3E%3C/svg%3E");
  --brick-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='28' viewBox='0 0 56 28'%3E%3Cpath d='M0 .5h56M0 14.5h56M28 0v14M14 14v14M42 14v14' fill='none' stroke='%23fff' stroke-opacity='.06'/%3E%3C/svg%3E");

  --i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E");
  --i-whatsapp: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2a9.9 9.9 0 0 0-8.5 15l-1.4 5 5.13-1.35A9.9 9.9 0 1 0 12.04 2zm0 18.1a8.2 8.2 0 0 1-4.2-1.15l-.3-.18-3.04.8.82-2.97-.2-.31a8.2 8.2 0 1 1 6.92 3.8zm4.5-6.14c-.25-.12-1.46-.72-1.69-.8-.23-.08-.39-.12-.55.12-.16.25-.63.8-.78.97-.14.16-.29.18-.53.06a6.7 6.7 0 0 1-3.34-2.92c-.25-.43.25-.4.72-1.34.08-.16.04-.3-.02-.42-.06-.12-.55-1.33-.76-1.82-.2-.48-.4-.41-.55-.42h-.47a.9.9 0 0 0-.65.3 2.74 2.74 0 0 0-.86 2.04 4.76 4.76 0 0 0 1 2.53 10.9 10.9 0 0 0 4.17 3.68c1.55.67 2.16.73 2.94.61.47-.07 1.46-.6 1.66-1.17.2-.58.2-1.07.15-1.17-.06-.1-.22-.16-.47-.28z'/%3E%3C/svg%3E");
  --i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='1'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
  --i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
  --i-form: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E");
  --i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-facebook: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 21v-7.5h2.5l.4-3h-2.9V8.6c0-.87.25-1.46 1.5-1.46H16.6V4.46A21 21 0 0 0 14.3 4.3c-2.3 0-3.8 1.4-3.8 3.95v2.25H8v3h2.5V21z'/%3E%3C/svg%3E");
  --i-instagram: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='%23000'/%3E%3C/svg%3E");
  --i-youtube: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.6 7.2a2.5 2.5 0 0 0-1.77-1.77C18.27 5 12 5 12 5s-6.27 0-7.83.43A2.5 2.5 0 0 0 2.4 7.2 26 26 0 0 0 2 12a26 26 0 0 0 .4 4.8 2.5 2.5 0 0 0 1.77 1.77C5.73 19 12 19 12 19s6.27 0 7.83-.43a2.5 2.5 0 0 0 1.77-1.77A26 26 0 0 0 22 12a26 26 0 0 0-.4-4.8zM10 15V9l5.2 3z'/%3E%3C/svg%3E");
}

@media (min-width: 700px) {
  :root { --gutter: 32px; --section: 88px; }
}
@media (min-width: 1100px) {
  :root { --gutter: 40px; --section: 112px; --header-h: 84px; }
}

/* 02 Grundlagen ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
@media (min-width: 1100px) { body { font-size: 1.125rem; } }
body.nav-open { overflow: hidden; }

img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  font-family: var(--font);
  color: var(--ink);
  text-wrap: balance;
  overflow-wrap: break-word;
  -webkit-hyphens: manual;
  hyphens: manual;
}
/* Plakat-Überschriften: schmal, fett, in Großbuchstaben */
h1, h2 {
  font-weight: 800;
  font-stretch: 75%;
  line-height: .95;
  letter-spacing: .005em;
  text-transform: uppercase;
}
/* Große Überschriften werden nicht getrennt: Die Schriftgröße richtet sich
   nach der verfügbaren Breite (cqi), damit auch lange Wörter wie
   „Injektionsverfahren“ in eine Zeile passen. */
h1 { font-size: min(clamp(2.3rem, 11.5vw, 3.4rem), 100cqi / 9.4); }
h2 { font-size: min(clamp(2rem, 9.4vw, 2.6rem), 100cqi / 10.5); }
h3 { font-size: 1.35rem; font-weight: 750; font-stretch: 88%; line-height: 1.15; letter-spacing: -.005em; }
h4 { font-size: 1.12rem; font-weight: 700; line-height: 1.3; }
h5, h6 { font-size: 1rem; font-weight: 700; line-height: 1.35; }
@media (min-width: 700px) {
  h1 { font-size: min(4.6rem, 100cqi / 9.4); }
  h2 { font-size: min(3.4rem, 100cqi / 10.5); }
  h3 { font-size: 1.55rem; }
}
@media (min-width: 1100px) {
  h1 { font-size: min(6rem, 100cqi / 9.4); }
  h2 { font-size: min(4.1rem, 100cqi / 10.5); }
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--red-dark); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { color: var(--red); }

strong, b { font-weight: 700; color: var(--ink); }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li + li { margin-top: .3em; }

blockquote {
  margin: 1.5em 0;
  padding: 1.25rem 1.4rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-red);
  font-size: 1.2rem;
  font-weight: 650;
  font-stretch: 92%;
  line-height: 1.38;
  color: var(--ink);
}
blockquote p { margin: 0; }
@media (min-width: 1100px) { blockquote { padding: 1.6rem 1.8rem; font-size: 1.45rem; } }

hr { height: 1px; margin: 2rem 0; border: 0; background: var(--line); }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.invisible, .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 1000;
  padding: .6rem 1rem;
  background: var(--red);
  color: #fff;
  font-weight: 700;
}
.skip-link:focus { top: 8px; color: #fff; }

.text-center { text-align: center; }

/* 03 Abschnitte & Raster =================================================== */

.mod_article {
  --bg: var(--white);
  position: relative;
  padding: var(--section) var(--gutter);
  background: var(--bg);
  overflow-x: clip;
  isolation: isolate;
}
.mod_article > * { max-width: var(--container); min-width: 0; margin-inline: auto; }
/* Bezugsbreite für die Überschriftengrößen */
.mod_article > *, .grid-2 > *, .grid-3 > *, .cards > .content-text, .press-list > .content-text { container-type: inline-size; }
.mod_article > * + * { margin-top: 2.25rem; }
@media (min-width: 1100px) { .mod_article > * + * { margin-top: 3.5rem; } }

.bg-cream { --bg: var(--paper); }
.bg-dark { --bg: var(--ink); color: #c4c7cd; }
.bg-red { --bg: var(--red); color: rgba(255, 255, 255, .92); }
.bg-dark::before, .bg-red::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--brick-light);
  pointer-events: none;
}
.bg-red::before { background-image: var(--brick-dark); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark strong,
.bg-red h1, .bg-red h2, .bg-red h3, .bg-red h4, .bg-red strong { color: #fff; }
.bg-dark .rte a:not([class]), .bg-red .rte a:not([class]) { color: #fff; }

.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.mod_article.narrow > * { max-width: 860px; }

/* Abschnittskopf: Rubrik mit rotem Quadrat, große Überschrift, Einleitung */
.section-head { display: grid; }
.section-head > * { margin: 0 !important; }
.section-head > .kicker { margin-bottom: .9rem !important; }
.section-head > .lead { margin-top: 1.1rem !important; max-width: 60ch; color: var(--muted); }
.bg-dark .section-head > .lead, .bg-red .section-head > .lead { color: inherit; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1fr 1fr; column-gap: 4rem; align-items: end; }
  .section-head--split > .kicker, .section-head--split > .section-title { grid-column: 1; }
  .section-head--split > .lead { grid-column: 2; grid-row: 1 / span 2; margin-top: 0 !important; }
}
.section-head--center { justify-items: center; text-align: center; }

.kicker p {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}
.kicker p::before { content: ""; flex: 0 0 auto; width: 10px; height: 10px; background: var(--red); }
.bg-dark .kicker p, .bg-red .kicker p { color: #fff; }
.bg-red .kicker p::before { background: var(--ink); }

.lead, .lead p { font-size: 1.15rem; line-height: 1.55; }
@media (min-width: 1100px) { .lead, .lead p { font-size: 1.3rem; } }

.grid-2, .grid-3 { display: grid; gap: 2.25rem; align-items: start; }
.grid-2 > *, .grid-3 > * { min-width: 0; margin: 0 !important; }
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .grid-2--wide-left { grid-template-columns: 7fr 5fr; }
  .grid-2--wide-right { grid-template-columns: 5fr 7fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.align-center { align-items: center; }
:where(.content-element-group) > * + * { margin-top: 1.4rem; }

/* Fließtext */
.rte > :first-child { margin-top: 0; }
.rte h3, .rte h4 { margin-top: 1.4em; }
.rte h3:first-child, .rte h4:first-child { margin-top: 0; }
.rte ul { list-style: none; padding: 0; }
.rte ul li { position: relative; padding-left: 1.3em; }
.rte ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  background: var(--red);
}
.bg-red .rte ul li::before, .panel--dark .rte ul li::before { background: #fff; }
.rte ol { padding-left: 1.3em; }
.rte ol li::marker { font-weight: 700; color: var(--red-dark); }

/* Textlink mit Pfeil */
.more-link a, .cards .rte p:last-child a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 750;
  font-stretch: 80%;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.more-link a::after, .cards .rte p:last-child a::after {
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  background: var(--red);
  -webkit-mask: var(--i-arrow) center / contain no-repeat;
  mask: var(--i-arrow) center / contain no-repeat;
  transition: transform .2s;
}
.more-link a:hover, .cards .rte p:last-child a:hover { color: var(--red-dark); }
.more-link a:hover::after, .cards .rte p:last-child a:hover::after { transform: translateX(4px); }
.bg-dark .more-link a, .bg-red .more-link a { color: #fff; }
.bg-red .more-link a::after { background: #fff; }

/* Bild mit Rahmen und hartem Schatten */
.media-frame img, .media-frame video { width: 100%; border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.bg-dark .media-frame img { border-color: #000; box-shadow: var(--shadow-red); }
.content-image figcaption, .content-text figcaption, .content-player figcaption {
  margin-top: .7rem;
  font-size: .9rem;
  color: var(--muted);
}

/* 04 Kopfbereich & Navigation ============================================== */

.topbar { display: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 var(--gutter);
  background: var(--ink);
  color: #fff;
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--container);
  height: var(--header-h);
  margin: 0 auto;
}
.site-header__logo { flex: 0 0 auto; }
.site-header__logo > * { margin: 0; }
.site-header__logo a { display: block; }
.site-header__logo img { width: auto; height: 52px; }
@media (min-width: 1100px) { .site-header__logo img { height: 66px; } }

.site-header__actions { display: none; }
.site-header__actions > * { margin: 0; }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 0;
  border: 2px solid #000;
  border-radius: var(--radius);
  background: var(--red);
  box-shadow: 3px 3px 0 #000;
  color: #fff;
  cursor: pointer;
}
.nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.nav-toggle__icon { display: grid; gap: 5px; width: 22px; }
.nav-toggle__icon span { display: block; height: 2.5px; background: currentColor; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li { margin: 0; }

/* Smartphone/Tablet: Vollbild-Menü */
@media (max-width: 1099.98px) {
  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--nav-top, 68px);
    bottom: 0;
    z-index: 99;
    display: none;
    padding: 1rem var(--gutter) 6rem;
    overflow-y: auto;
    background: var(--ink) var(--brick-light);
  }
  .nav-open .site-nav { display: block; }
  .site-nav .level_1 > li { border-bottom: 1px solid var(--line-dark); }
  .site-nav .level_1 > li > a, .site-nav .level_1 > li > strong {
    display: block;
    padding: .9rem 0;
    font-size: 2.2rem;
    font-weight: 800;
    font-stretch: 75%;
    line-height: 1;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
  }
  .site-nav .level_1 > li.active > strong, .site-nav .level_1 > li.trail > a { color: var(--red-light); }
  .site-nav .level_2 { display: grid; gap: .1rem; margin: -.3rem 0 1rem; }
  .site-nav .level_2 a, .site-nav .level_2 strong {
    display: block;
    padding: .45rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #c4c7cd;
    text-decoration: none;
  }
  .site-nav .level_2 strong { font-weight: 700; color: var(--red-light); }
  .site-nav__extra { display: grid; gap: .75rem; margin-top: 1.75rem; }
  .site-nav__extra .btn > a { width: 100%; }
}

@media (min-width: 1100px) {
  .nav-toggle, .site-nav__extra { display: none; }
  .site-nav { margin-left: auto; }
  .site-nav .level_1 { display: flex; align-items: center; gap: .1rem; }
  .site-nav .level_1 > li { position: relative; }
  .site-nav .level_1 > li > a, .site-nav .level_1 > li > strong {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .8rem;
    font-size: 1.12rem;
    font-weight: 750;
    font-stretch: 80%;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
  }
  .site-nav .level_1 > li > a:hover { color: var(--red-light); }
  .site-nav .level_1 > li.active > strong, .site-nav .level_1 > li.trail > a { color: var(--red-light); }
  .site-nav .level_1 > li.submenu > a::after, .site-nav .level_1 > li.submenu > strong::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
  }
  .site-nav .level_2 {
    position: absolute;
    left: .4rem;
    top: calc(100% + 10px);
    z-index: 10;
    min-width: 250px;
    padding: .5rem;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-red);
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .15s, transform .15s, visibility 0s .15s;
  }
  .site-nav .level_2::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .site-nav li.submenu:hover > .level_2, .site-nav li.submenu:focus-within > .level_2 { visibility: visible; opacity: 1; transform: none; transition: opacity .15s, transform .15s; }
  .site-nav .level_2 a, .site-nav .level_2 strong {
    display: block;
    padding: .6rem .8rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
  }
  .site-nav .level_2 a:hover { background: var(--paper); color: var(--red); }
  .site-nav .level_2 strong { color: var(--red); }

  .site-header__actions { display: flex; margin-left: 1.25rem; }
}

/* Brotkrumen */
.mod_breadcrumb ul { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; font-size: .9rem; font-weight: 500; }
.mod_breadcrumb li { margin: 0; }
.mod_breadcrumb li + li::before { content: "/"; margin: 0 .55em; opacity: .5; }
.mod_breadcrumb a { color: inherit; text-decoration: none; opacity: .8; }
.mod_breadcrumb a:hover { opacity: 1; text-decoration: underline; }

/* 05 Buttons =============================================================== */

.btn > a, a.btn, .formbody .widget-submit button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 52px;
  padding: .7rem 1.45rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--red);
  box-shadow: var(--shadow);
  font: 800 1.1rem/1.1 var(--font);
  font-stretch: 82%;
  letter-spacing: .05em;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.btn > a:hover, a.btn:hover, .formbody .widget-submit button:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); color: #fff; }
.btn > a:active, a.btn:active, .formbody .widget-submit button:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn--dark > a { background: var(--ink); box-shadow: 5px 5px 0 var(--red); }
.btn--dark > a:hover { box-shadow: 7px 7px 0 var(--red); }
.btn--outline > a, .btn--light > a { background: var(--white); color: var(--ink); }
.btn--outline > a:hover, .btn--light > a:hover { color: var(--ink); }
.btn--ghost > a { border-color: #fff; background: transparent; box-shadow: none; color: #fff; }
.btn--ghost > a:hover { background: #fff; color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.bg-dark .btn--ghost > a:hover { box-shadow: 5px 5px 0 var(--red); }
.bg-dark .btn--primary > a, .bg-dark .btn--light > a, .bg-dark .btn--outline > a { border-color: #000; box-shadow: 5px 5px 0 #000; }
.bg-dark .btn--primary > a:hover { box-shadow: 7px 7px 0 var(--red-dark); }
.btn--small > a { min-height: 44px; padding: .5rem 1rem; font-size: 1rem; }

.btn--phone > a::before, .btn--whatsapp > a::before, .btn--mail > a::before {
  content: "";
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  background: currentColor;
  -webkit-mask: var(--i-phone) center / contain no-repeat;
  mask: var(--i-phone) center / contain no-repeat;
}
.btn--whatsapp > a::before { width: 1.2rem; height: 1.2rem; -webkit-mask-image: var(--i-whatsapp); mask-image: var(--i-whatsapp); }
.btn--mail > a::before { -webkit-mask-image: var(--i-mail); mask-image: var(--i-mail); }

/* Buttons im dunklen Kopfbereich */
.site-header .btn > a, .site-nav__extra .btn > a { border-color: #000; box-shadow: 4px 4px 0 #000; }
.site-header .btn > a:hover { box-shadow: 6px 6px 0 #000; }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-row > * { margin: 0 !important; }
.btn-row--center { justify-content: center; }
@media (max-width: 559.98px) {
  .btn-row > *, .btn-row .btn > a { width: 100%; }
  .mod_article > .content-hyperlink.btn > a, .team-cta .btn > a { width: 100%; }
}

/* 06 Startseite ============================================================ */

/* Einstieg: Drohnenvideo über die ganze Fläche, Text unten links */
.hero-home {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: end;
  min-height: calc(100svh - var(--header-h) - 62px);
  padding-top: 6rem;
  padding-bottom: 2.25rem;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero-home > * { width: 100%; }
.hero-home > * + * { margin-top: 1.4rem; }
.hero-home__video { position: absolute !important; inset: 0; z-index: -2; max-width: none !important; margin: 0 !important; }
.hero-home__video figure, .hero-home__video video { width: 100%; height: 100%; }
.hero-home__video video { object-fit: cover; }
.hero-home__video figcaption { display: none; }
.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(12, 13, 15, .94) 0%, rgba(12, 13, 15, .62) 50%, rgba(12, 13, 15, .2) 100%);
}
.hero-home .kicker p { color: #fff; }
.hero-home__content h1 { margin-bottom: .35em; font-size: min(clamp(2.6rem, 12.5vw, 3.6rem), 100cqi / 6); color: #fff; }
.hero-home__content h1 .accent { color: var(--red); }
.hero-home__content .rte h2 {
  max-width: 34ch;
  margin-bottom: 1.1rem;
  font-size: 1.15rem;
  font-weight: 450;
  font-stretch: 100%;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 255, 255, .9);
}
.hero-home__content .rte ul { display: grid; gap: .25rem; margin: 0; font-weight: 600; color: #fff; }
.hero-home__content .rte ul li { margin: 0; }
.hero-home .btn--outline > a { border-color: #fff; background: transparent; box-shadow: none; color: #fff; }
.hero-home .btn--outline > a:hover { background: #fff; color: var(--ink); box-shadow: 5px 5px 0 var(--red); }
.hero-home .btn--primary > a { border-color: #000; box-shadow: 5px 5px 0 #000; }

/* Bewertung und Zertifikat unter den Buttons */
.hero-home__proof { padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .22); }
.hero-home__proof .rte { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; font-size: .95rem; font-weight: 600; color: rgba(255, 255, 255, .92); }
.hero-home__proof .rte p { display: flex; align-items: center; gap: .5rem; margin: 0; }
.hero-home__proof .rte p::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  background: var(--red);
}
.hero-home__proof .rte p:has(.stars)::before { display: none; }
.hero-home__proof .stars { font-size: 1.05rem; letter-spacing: .1em; color: var(--gold); }

@media (min-width: 700px) {
  .hero-home { min-height: calc(100svh - var(--header-h)); padding-top: 8rem; padding-bottom: 3.5rem; }
  .hero-home__content h1 { font-size: min(5.6rem, 100cqi / 6); }
  .hero-home__content .rte ul { display: flex; flex-wrap: wrap; gap: .4rem 1.75rem; }
}
@media (min-width: 1100px) {
  .hero-home { min-height: min(calc(100svh - var(--header-h)), 980px); padding-bottom: 4rem; }
  .hero-home > * + * { margin-top: 1.9rem; }
  .hero-home__content h1 { max-width: 13ch; font-size: min(7.2rem, 100cqi / 6); }
  .hero-home__content .rte h2 { font-size: 1.4rem; }
  .hero-home__proof { margin-top: 3rem !important; }
}

/* Nächste Messe als Eintrittskarte mit rotem Datumsfeld und perforierter
   Kante (Modul „Startseite – nächste Messe“, Template „event_ticket“).
   Steht zweimal auf der Startseite: „event-ticket--desktop“ im Einstieg
   rechts neben der Überschrift (ab 1100 px), „event-ticket--mobile“ unter
   dem Werbefilm (Smartphone und Tablet). Ohne kommenden Termin wird nichts
   angezeigt. */
.event-ticket:has(> .empty) { display: none; }
@media (max-width: 1099.98px) { .mod_article > .event-ticket--desktop { display: none; } }
.mod_article > .event-ticket { --tilt: -1.5deg; max-width: 30rem; margin-inline: 0; padding-top: .9rem; }
.event-ticket__link {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  border: 2px solid #000;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--red);
  color: var(--ink);
  text-decoration: none;
  transform: rotate(var(--tilt, 0deg));
  transition: transform .2s, box-shadow .2s;
}
.event-ticket__link:hover { transform: rotate(var(--tilt, 0deg)) translate(-3px, -3px); box-shadow: 9px 9px 0 var(--red); color: var(--ink); }
.event-ticket__label {
  position: absolute;
  left: .9rem;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem .7rem;
  background: var(--ink);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  transform: translateY(-60%);
}
.event-ticket__label::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; background: var(--red); }
/* auf Anthrazit hebt sich das Schild hell ab */
.bg-dark .event-ticket__label { border: 2px solid #000; background: #fff; color: var(--ink); }
.event-ticket__date {
  display: grid;
  align-content: center;
  justify-items: center;
  min-width: 5.5rem;
  padding: 1.2rem .9rem .9rem;
  border-right: 3px dashed #000;
  border-radius: calc(var(--radius) - 2px) 0 0 calc(var(--radius) - 2px);
  background: var(--red) var(--brick-dark);
  color: #fff;
  line-height: .9;
  text-align: center;
  text-transform: uppercase;
}
.event-ticket__date b { font-size: 2.3rem; font-weight: 800; font-stretch: 75%; letter-spacing: -.01em; white-space: nowrap; color: #fff; }
.event-ticket__date span { margin-top: .2rem; font-size: 1.15rem; font-weight: 800; font-stretch: 75%; letter-spacing: .08em; }
.event-ticket__date small { margin-top: .35rem; font-size: .72rem; font-weight: 700; letter-spacing: .16em; opacity: .85; }
.event-ticket__body { display: grid; align-content: center; justify-items: start; gap: .3rem; padding: 1.1rem 1.1rem 1rem 1.2rem; }
.event-ticket__title { font-size: 1.55rem; font-weight: 800; font-stretch: 75%; line-height: .95; text-transform: uppercase; text-wrap: balance; color: var(--ink); }
.event-ticket__place { display: flex; align-items: center; gap: .35rem; font-size: .95rem; font-weight: 600; line-height: 1.3; color: var(--muted); }
.event-ticket__place::before {
  content: "";
  flex: 0 0 auto;
  width: .95rem;
  height: .95rem;
  background: var(--red);
  -webkit-mask: var(--i-pin) center / contain no-repeat;
  mask: var(--i-pin) center / contain no-repeat;
}
.event-ticket__more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .3rem;
  font-size: .9rem;
  font-weight: 750;
  font-stretch: 80%;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.event-ticket__more::after {
  content: "";
  width: 1rem;
  height: 1rem;
  background: var(--red);
  -webkit-mask: var(--i-arrow) center / contain no-repeat;
  mask: var(--i-arrow) center / contain no-repeat;
  transition: transform .2s;
}
.event-ticket__link:hover .event-ticket__more { color: var(--red-dark); }
.event-ticket__link:hover .event-ticket__more::after { transform: translateX(4px); }

@media (min-width: 1100px) {
  .mod_article > .event-ticket--mobile { display: none; }
  .hero-home:has(> .event-ticket .event-ticket__link) {
    grid-template-columns: minmax(0, 1fr) clamp(22rem, 30vw, 28rem);
    column-gap: clamp(2.5rem, 5vw, 5rem);
    padding-inline: max(var(--gutter), (100% - var(--container)) / 2);
  }
  /* Video ausgenommen: mit fester Spalte würde es erst an der Spalte beginnen statt am Rand */
  .hero-home:has(> .event-ticket .event-ticket__link) > :not(.hero-home__video) { grid-column: 1; }
  .hero-home:has(> .event-ticket .event-ticket__link) > .hero-home__proof { grid-column: 1 / -1; }
  .hero-home:has(> .event-ticket .event-ticket__link) > .event-ticket { --tilt: -2deg; grid-column: 2; grid-row: 1 / span 3; align-self: end; max-width: none; margin: 0 0 .5rem; }
  .event-ticket__link { box-shadow: 8px 8px 0 var(--red); }
  .event-ticket__link:hover { box-shadow: 11px 11px 0 var(--red); }
  .event-ticket__label { left: 1.25rem; padding: .4rem .85rem; font-size: .8rem; }
  .event-ticket__date { min-width: 6.5rem; padding: 1.75rem clamp(.8rem, 1vw, 1.1rem) 1.4rem; border-right-width: 4px; }
  .event-ticket__date b { font-size: clamp(2.6rem, 3.4vw, 3.6rem); }
  .event-ticket__date span { font-size: 1.6rem; }
  .event-ticket__date small { font-size: .8rem; }
  .event-ticket__body { gap: .45rem; padding: 1.6rem clamp(1.1rem, 1.6vw, 1.5rem) 1.4rem clamp(1.2rem, 1.7vw, 1.6rem); }
  .event-ticket__title { font-size: clamp(1.9rem, 2.4vw, 2.3rem); }
  .event-ticket__place { font-size: 1rem; }
  .event-ticket__more { margin-top: .5rem; font-size: .95rem; }
}

/* Kennzahlen-Band */
.facts-band { padding-top: 2.25rem !important; padding-bottom: 2.25rem !important; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 1rem; }
.stats > * { margin: 0 !important; }
.stats > .content-text { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stats .rte p {
  margin: 0 0 .25rem;
  font-size: 3rem;
  font-weight: 800;
  font-stretch: 75%;
  line-height: .95;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stats h3 { margin: 0; font-size: .95rem; font-weight: 600; font-stretch: 100%; line-height: 1.3; letter-spacing: 0; color: var(--muted); }
.bg-red .stats .rte p, .bg-dark .stats .rte p { color: #fff; }
.bg-red .stats h3 { color: rgba(255, 255, 255, .92); }
.bg-dark .stats h3 { color: #aeb2b9; }
@media (min-width: 900px) {
  .facts-band { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  .stats { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .stats > .content-text + .content-text { padding-left: 2rem; border-left: 2px solid rgba(0, 0, 0, .22); }
  .bg-dark .stats > .content-text + .content-text { border-color: var(--line-dark); }
  .stats .rte p { font-size: 4.4rem; }
}

/* Leistungen: Karten mit Rahmen und hartem Schatten */
.cards { display: grid; gap: 2rem; }
.cards > * { margin: 0 !important; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (min-width: 1100px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.cards > .content-text {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transition: transform .2s, box-shadow .2s;
}
.cards > .content-text > figure { order: -2; overflow: hidden; border-bottom: 2px solid var(--ink); background: var(--concrete); }
.cards > .content-text > figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s ease; }
.cards > .content-text > h3 {
  order: -1;
  margin: 1.25rem 1.4rem .5rem;
  font-size: min(2rem, (100cqi - 2.8rem) / 9.3);
  font-weight: 800;
  font-stretch: 75%;
  line-height: 1;
  text-transform: uppercase;
}
.cards > .content-text .rte { display: flex; flex: 1; flex-direction: column; padding: 0 1.4rem 1.5rem; color: var(--muted); }
.cards > .content-text .rte p:last-child { margin-top: auto; padding-top: 1.1rem; }
.cards > .content-text .rte p:last-child a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.cards > .content-text:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--red); }
.cards > .content-text:hover > figure img { transform: scale(1.05); }
@media (min-width: 1100px) {
  .cards > .content-text > h3 { margin-inline: 1.75rem; font-size: min(2.5rem, (100cqi - 3.5rem) / 9.3); }
  .cards > .content-text .rte { padding-inline: 1.75rem; }
}

/* Geschäftsführer */
.founder { display: grid; gap: 1.75rem; }
.founder > figure { max-width: 520px; }
.founder > figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 12px 12px 0 var(--red); }
.founder > h2 { margin: 0; }
.founder .rte h3 { margin: 0 0 1rem; font-size: 1.2rem; font-weight: 600; font-stretch: 100%; color: var(--muted); }
.founder .rte h3 + p {
  display: inline-block;
  padding: .35rem .75rem;
  border-radius: 4px;
  background: var(--ink);
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
}
@media (min-width: 900px) {
  .founder { grid-template-columns: 5fr 7fr; grid-template-rows: auto 1fr; grid-template-areas: "img head" "img text"; column-gap: 5rem; row-gap: 1.25rem; align-items: start; }
  .founder > figure { grid-area: img; transform: rotate(-1.5deg); }
  .founder > h2 { grid-area: head; }
  .founder > .rte { grid-area: text; }
}

/* Ablauf in nummerierten Schritten */
.steps { display: grid; counter-reset: step; }
.steps > * { margin: 0 !important; }
.steps > .content-text {
  position: relative;
  counter-increment: step;
  padding: 1.3rem 0 1.3rem 4.4rem;
  border-top: 2px solid var(--ink);
}
.steps > .content-text::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1rem;
  font-size: 3rem;
  font-weight: 800;
  font-stretch: 75%;
  line-height: 1;
  color: var(--red);
}
.steps > .content-text > figure { display: none; }
.steps > .content-text > h3 { margin: 0 0 .35rem; }
.steps > .content-text .rte { color: var(--muted); }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 0 2rem; }
  .steps > .content-text { padding: 1.4rem 0 0; }
  .steps > .content-text::before { position: static; display: block; margin-bottom: 1.25rem; font-size: 4.4rem; }
}
.bg-dark .steps > .content-text { border-color: #fff; }
.bg-dark .steps .rte { color: #aeb2b9; }
.bg-red .steps > .content-text { border-color: #fff; }
.bg-red .steps > .content-text::before { color: #fff; }
.bg-red .steps .rte { color: inherit; }

/* Kundenstimmen – mobil zum Wischen */
.quotes {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 1.1rem;
  margin-right: calc(var(--gutter) * -1) !important;
  padding: 0 var(--gutter) 12px 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: none;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.quotes::-webkit-scrollbar { display: none; }
.quotes > * { margin: 0 !important; }
.quotes > .content-text {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
  scroll-snap-align: start;
}
.quotes .rte { display: flex; flex: 1; flex-direction: column; }
.quotes .rte p:first-child { margin-bottom: 1rem; font-size: 1.1rem; letter-spacing: .12em; color: var(--gold); }
.quotes .rte p:nth-child(2) { font-size: 1.15rem; font-weight: 550; line-height: 1.5; color: var(--ink); }
.quotes .rte p:last-child { margin-top: auto; padding-top: 1.25rem; font-weight: 800; font-stretch: 80%; letter-spacing: .05em; text-transform: uppercase; color: var(--red-dark); }
@media (min-width: 900px) {
  .quotes { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-right: auto !important; padding: 0 8px 8px 0; overflow: visible; }
  .quotes > .content-text { padding: 2rem; }
}
/* Bildleiste ist auf dem Smartphone zu klein – dort stehen die Angaben im Einstieg */
.trust-badge { display: none; justify-content: center; }
@media (min-width: 700px) { .trust-badge { display: flex; } }
.trust-badge img { width: 100%; max-width: 760px; }

/* Leitsatz mit Kontakt (rote Fläche) */
.statement { display: grid; gap: 1.75rem; }
.statement > * { margin: 0 !important; }
.statement > h2 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
.statement .rte p + p { margin-top: 1rem; }
@media (min-width: 900px) {
  .statement { grid-template-columns: 6fr 5fr; column-gap: 4rem; align-items: end; }
  .statement > h2 { grid-row: span 2; align-self: start; font-size: 5rem; }
  .statement > .btn-row { grid-column: 2; }
}

/* Team-Bild mit Button */
.team-cta { display: grid; gap: 1.75rem; }
.team-cta > * { margin: 0 !important; }
.team-cta img { width: 100%; border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.team-cta > .content-hyperlink { justify-self: start; }

/* 07 Seitenkopf der Unterseiten =========================================== */

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: end;
  min-height: clamp(340px, 58vh, 580px);
  padding-top: 5rem;
  padding-bottom: 2.25rem;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.page-hero > * { width: 100%; min-width: 0; }
.page-hero > * + * { margin-top: .9rem; }
.page-hero__bg { position: absolute !important; inset: 0; z-index: -2; max-width: none !important; margin: 0 !important; }
.page-hero__bg figure, .page-hero__bg picture, .page-hero__bg img { width: 100%; height: 100%; }
.page-hero__bg img { object-fit: cover; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(12, 13, 15, .92) 0%, rgba(12, 13, 15, .55) 55%, rgba(12, 13, 15, .25) 100%);
}
.page-hero h1 { margin: 0; color: #fff; }
.page-hero__content .rte { margin-top: .8rem; font-size: 1.15rem; font-weight: 500; color: rgba(255, 255, 255, .9); }
.page-hero__content .rte p { margin: 0; }
.page-hero__content .rte p::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: .6rem; background: var(--red); }
@media (min-width: 1100px) {
  .page-hero { padding-bottom: 3.5rem; }
  .page-hero__content .rte { font-size: 1.35rem; }
}
.page-hero--compact { min-height: 0; padding-top: 3rem; }
.page-hero--compact::before { background: var(--brick-light); }

/* 08 Bausteine ============================================================= */

.panel { padding: 1.5rem; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-lg); }
.panel--dark { background: var(--ink); color: #c4c7cd; box-shadow: var(--shadow-red); }
.panel--dark h3, .panel--dark h4, .panel--dark h5, .panel--dark strong { color: #fff; }
.panel > h3 { font-size: 2rem; font-weight: 800; font-stretch: 75%; text-transform: uppercase; }
.panel .rte h4 { font-size: 1.15rem; }
.panel .rte h5 { margin-top: 1.25em; color: var(--red-dark); }
.panel--dark .rte h5 { color: var(--red-light); }
@media (min-width: 700px) { .panel { padding: 2.25rem; } }

.note-box { padding: 1.5rem; border: 2px solid #fff; border-radius: var(--radius); }
.note-box h3 { font-size: 1.7rem; font-weight: 800; font-stretch: 75%; text-transform: uppercase; }
:not(.bg-dark):not(.bg-red) > .note-box { border-color: var(--ink); box-shadow: var(--shadow-lg); }
@media (min-width: 700px) { .note-box { padding: 2.25rem; } }

/* Merkmale */
.features { display: grid; gap: 1rem; }
.features > * { margin: 0 !important; }
.features > .content-text { padding: 1.4rem 1.4rem 1.5rem; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.features h3 { display: flex; align-items: center; gap: .6rem; margin: 0 0 .4rem; font-size: 1.3rem; }
.features h3::before { content: ""; flex: 0 0 auto; width: 10px; height: 10px; background: var(--red); }
.features .rte { color: var(--muted); }
@media (min-width: 700px) { .features { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
@media (min-width: 1100px) { .features:has(> :nth-child(5)) { grid-template-columns: repeat(3, 1fr); } }
.bg-dark .features > .content-text { border-color: rgba(255, 255, 255, .3); background: var(--ink-2); }
.bg-dark .features .rte { color: #aeb2b9; }

/* „Auf einen Blick“ */
.facts { padding: 1.5rem; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-red); }
.facts h2 { margin-bottom: 1rem; font-size: 2rem; }
.facts dl { display: grid; margin: 0; }
.facts dt { margin-top: .9rem; font-weight: 700; color: var(--ink); }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: .1rem 0 0; color: var(--muted); }
@media (min-width: 700px) {
  .facts { padding: 2.25rem; }
  .facts h2 { font-size: 2.6rem; }
  .facts dl { grid-template-columns: 12rem 1fr; }
  .facts dt, .facts dd { margin: 0; padding: .7rem 0; border-top: 1px solid var(--line); }
  .facts dt:first-of-type, .facts dd:first-of-type { border-top: 0; }
}

/* Häufige Fragen (Beschreibungsliste mit Template „faq“, Artikel mit Klasse „narrow“) */
.faq__list { display: grid; gap: .9rem; }
.faq__item { border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.faq__item[open] { box-shadow: 5px 5px 0 var(--red); }
.faq__question { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after { content: "+"; flex: 0 0 auto; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--red); color: #fff; font-size: 1.25rem; line-height: 1; }
.faq__item[open] > .faq__question::after { content: "–"; }
.faq__question:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.faq__answer { padding: 0 1.25rem 1.2rem; color: var(--muted); }
.faq__answer p { margin: 0; }
@media (min-width: 700px) {
  .faq__question { padding: 1.25rem 1.6rem; font-size: 1.1rem; }
  .faq__answer { padding: 0 1.6rem 1.4rem; }
}

.media-stack { display: grid; gap: 1.5rem; }
.media-stack > * { margin: 0 !important; }

/* 09 Medien ================================================================ */

.video-loop video, .video-portrait video { width: 100%; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--concrete); box-shadow: var(--shadow-lg); }
.video-loop video { aspect-ratio: 16 / 9; object-fit: cover; }
.video-portrait { max-width: 400px !important; }
.video-portrait video { aspect-ratio: 9 / 16; object-fit: cover; }
.bg-dark .video-loop video, .bg-dark .video-portrait video { border-color: #000; box-shadow: var(--shadow-red); }

.aspect { position: relative; }
.aspect--16\:9 { aspect-ratio: 16 / 9; }
.aspect iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame figure { overflow: hidden; border: 2px solid #000; border-radius: var(--radius); background: var(--ink); box-shadow: var(--shadow-red); }

.content-gallery ul { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) {
  .content-gallery ul { gap: 14px; }
  .content-gallery--cols-3 ul { grid-template-columns: repeat(3, 1fr); }
  .content-gallery--cols-4 ul { grid-template-columns: repeat(4, 1fr); }
}
.content-gallery li { margin: 0; }
.content-gallery figure { overflow: hidden; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--concrete); }
.content-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.content-gallery a:hover img { transform: scale(1.05); }
.gallery-portrait img { aspect-ratio: 3 / 4; }
.gallery-portrait ul { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 900px) {
  .gallery-feature li:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery-feature li:first-child figure, .gallery-feature li:first-child a, .gallery-feature li:first-child img { height: 100%; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 3.5rem .75rem 4.5rem;
  background: rgba(12, 13, 15, .95);
}
.lightbox[hidden] { display: none; }
.lightbox__figure { display: grid; gap: .6rem; justify-items: center; max-height: 100%; }
.lightbox__figure img { max-width: 100%; max-height: calc(100svh - 9rem); border-radius: var(--radius); }
.lightbox__figure figcaption { font-size: .95rem; color: #c4c7cd; text-align: center; }
.lightbox__close, .lightbox__nav {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 2px solid #000;
  border-radius: var(--radius);
  background: var(--red);
  font: 400 1.7rem/1 var(--font);
  color: #fff;
  cursor: pointer;
}
.lightbox__close { right: .75rem; top: .75rem; }
.lightbox__nav { bottom: .75rem; }
.lightbox__nav--prev { left: calc(50% - 56px); }
.lightbox__nav--next { left: calc(50% + 8px); }
@media (min-width: 900px) {
  .lightbox { padding: 4rem 5rem; }
  .lightbox__nav { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lightbox__nav--prev { left: 1rem; }
  .lightbox__nav--next { left: auto; right: 1rem; }
}

/* Vorher / Nachher */
.before-after { display: grid; gap: 1.25rem; }
.before-after > * { margin: 0 !important; }
@media (min-width: 700px) { .before-after { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.before-after > .content-text { padding: 1.4rem 1.5rem; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.before-after > .content-text > figure img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.before-after > .content-text > h3 { margin: 0 0 .5rem; font-size: 2rem; font-weight: 800; font-stretch: 75%; text-transform: uppercase; }
.before-after.has-compare > .content-text > figure { display: none; }

.compare {
  position: relative;
  grid-column: 1 / -1;
  width: 100%;
  margin: 0 0 1rem !important;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-red);
  user-select: none;
  touch-action: pan-y;
  --pos: 50%;
}
@media (min-width: 700px) { .compare { aspect-ratio: 16 / 9; } }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__after { clip-path: inset(0 0 0 var(--pos)); }
.compare__label { position: absolute; top: .75rem; z-index: 2; padding: .35rem .7rem; border-radius: 4px; background: var(--ink); font-size: .95rem; font-weight: 800; font-stretch: 80%; letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.compare__label--before { left: .75rem; }
.compare__label--after { right: .75rem; background: var(--red); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 3px; margin-left: -1.5px; background: #fff; }
.compare__handle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23131417' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-50%, -50%);
}
.compare input[type="range"] { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }

/* Eingebettete Inhalte (Karte, Instagram) */
.embed-frame { overflow: hidden; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--concrete); box-shadow: var(--shadow-lg); }
.embed-frame iframe { width: 100%; border: 0; }
.embed-frame--map iframe { height: 360px; }
@media (min-width: 900px) { .embed-frame--map iframe { height: 480px; } }
.embed-frame--instagram { width: 100%; max-width: 480px !important; container-type: inline-size; justify-self: center; }
/* Höhe = Profilkopf + zwei Reihen quadratischer Beiträge (je 1/3 der Breite).
   Unter ca. 384 px Breite bricht der Firmenname im Kopf auf zwei Zeilen um. */
.embed-frame--instagram iframe { height: calc(147px + 66.67cqw); background: #fff; }
@container (max-width: 383px) { .embed-frame--instagram iframe { height: calc(164px + 66.67cqw); } }
.location .rte p:first-child { font-size: 1.15rem; line-height: 1.5; }
@media (min-width: 1100px) { .location .rte p:first-child { font-size: 1.3rem; } }
.instagram-intro .rte a { font-weight: 700; }

/* 10 Termine, Presse, Kontakt, Formular ==================================== */

.mod_eventlist { display: grid; gap: 2rem; }
.mod_eventlist .empty { padding: 1.5rem; border: 2px solid var(--ink); border-radius: var(--radius); }
.event-card { display: grid; overflow: hidden; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-lg); }
@media (min-width: 800px) { .event-card { grid-template-columns: 320px 1fr; } }
.event-card__media { position: relative; min-height: 240px; border-bottom: 2px solid var(--ink); background: var(--concrete); }
@media (min-width: 800px) { .event-card__media { border-right: 2px solid var(--ink); border-bottom: 0; } }
.event-card__media figure, .event-card__media picture, .event-card__media img { width: 100%; height: 100%; }
.event-card__media img { position: absolute; inset: 0; object-fit: cover; }
.event-card__date {
  position: absolute;
  left: .75rem;
  top: .75rem;
  z-index: 1;
  display: grid;
  min-width: 5rem;
  margin: 0;
  padding: .55rem .8rem .65rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--red);
  box-shadow: 3px 3px 0 var(--ink);
  color: #fff;
  line-height: 1;
}
.event-card__date b { font-size: 2rem; font-weight: 800; font-stretch: 75%; color: #fff; }
.event-card__date span { margin-top: .25rem; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.event-card__body { padding: 1.5rem; }
@media (min-width: 800px) { .event-card__body { padding: 2rem 2.25rem; } }
.event-card__body h3 { margin-bottom: .6rem; font-size: 2rem; font-weight: 800; font-stretch: 75%; line-height: 1; text-transform: uppercase; }
.event-card__body h3 a { color: var(--ink); text-decoration: none; }
.event-card__meta { margin: 0 0 1.1rem; padding: 0; list-style: none; font-weight: 600; color: var(--ink); }
.event-card__meta li { margin: 0; }
.event-card__teaser { color: var(--muted); }
.event-card__teaser h4 { margin: 1rem 0 .2rem; }
.event-card__more { margin-top: 1.5rem; }

.press-list { display: grid; gap: 3.5rem; }
.press-list > * { margin: 0 !important; }
.press-list > .content-text { display: grid; gap: 1.25rem; }
.press-list > .content-text > figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.press-list > .content-text > h3 { margin: 0; font-size: min(2.2rem, 100cqi / 9.3); font-weight: 800; font-stretch: 75%; line-height: 1; text-transform: uppercase; }
.press-list .rte { color: var(--muted); }
@media (min-width: 900px) {
  .press-list { gap: 6rem; }
  .press-list > .content-text { grid-template-columns: 6fr 6fr; grid-template-rows: auto 1fr; grid-template-areas: "img head" "img text"; column-gap: 4rem; row-gap: 1rem; align-items: start; }
  .press-list > .content-text:nth-child(even) { grid-template-areas: "head img" "text img"; }
  .press-list > .content-text > figure { grid-area: img; }
  .press-list > .content-text > h3 { grid-area: head; font-size: min(3rem, (100cqi - 4rem) / 2 / 9.3); }
  .press-list > .content-text > .rte { grid-area: text; }
}

/* Kontakt */
.contact-card { padding: 1.5rem; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-red); }
@media (min-width: 700px) { .contact-card { padding: 2.5rem; } }
.contact-card h2 { font-size: clamp(2rem, 9vw, 2.4rem); }
@media (min-width: 1100px) { .contact-card h2 { font-size: 3rem; } }

.contact-info { display: grid; gap: .9rem; }
.contact-info > * { margin: 0 !important; }
.contact-info > .content-text { position: relative; padding: 1.1rem 1.2rem 1.1rem 3.6rem; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); }
.contact-info > .content-text::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 1.25rem;
  width: 1.4rem;
  height: 1.4rem;
  background: var(--red);
  -webkit-mask: var(--i-pin) center / contain no-repeat;
  mask: var(--i-pin) center / contain no-repeat;
}
.contact-info > .info--phone::before { -webkit-mask-image: var(--i-phone); mask-image: var(--i-phone); }
.contact-info > .info--mail::before { -webkit-mask-image: var(--i-mail); mask-image: var(--i-mail); }
.contact-info > .info--whatsapp::before { -webkit-mask-image: var(--i-whatsapp); mask-image: var(--i-whatsapp); background: #1c9e4b; }
.contact-info h3 { margin: 0 0 .15rem; font-size: 1.15rem; font-weight: 800; font-stretch: 80%; letter-spacing: .04em; text-transform: uppercase; }
.contact-info .rte a { font-weight: 600; color: var(--ink); }

/* Formular */
.formbody { display: grid; gap: 1rem; }
.formbody > * { margin: 0; }
.formbody fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.formbody fieldset > legend { margin-bottom: 1rem; padding: 0; font-size: 1.6rem; font-weight: 800; font-stretch: 78%; line-height: 1.05; text-transform: uppercase; color: var(--ink); }
.formbody fieldset > .widget + .widget { margin-top: 1rem; }
.formbody label, .formbody .widget > legend { display: block; margin-bottom: .3rem; font-weight: 650; color: var(--ink); }
.formbody label span.mandatory, .formbody legend span.mandatory { color: var(--red); }
.formbody input[type="text"], .formbody input[type="email"], .formbody input[type="tel"], .formbody input[type="number"], .formbody textarea, .formbody select {
  width: 100%;
  min-height: 52px;
  padding: .75rem .9rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  font: inherit;
  font-size: 1.05rem;
  color: var(--ink);
}
.formbody textarea { min-height: 130px; resize: vertical; }
/* Zahlenfelder (PLZ) ohne Pfeiltasten */
.formbody input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.formbody input[type="number"]::-webkit-inner-spin-button, .formbody input[type="number"]::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.formbody input:focus, .formbody textarea:focus, .formbody select:focus { outline: 0; box-shadow: 4px 4px 0 var(--red); }

.formbody .radio_container, .formbody .checkbox_container { min-width: 0; margin: 0; padding: 0; border: 0; }
.formbody .radio_container { display: grid; gap: .7rem; }
@media (min-width: 560px) { .formbody .radio_container { grid-template-columns: 1fr 1fr; } }
.formbody .radio_container > legend { grid-column: 1 / -1; }
.formbody .radio_container > span { display: block; }
.formbody .radio_container input { position: absolute; opacity: 0; }
.formbody .radio_container label {
  display: flex;
  align-items: center;
  gap: .75rem;
  height: 100%;
  margin: 0;
  padding: .95rem 1rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 650;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.formbody .radio_container label::before {
  content: "";
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #fff;
}
.formbody .radio_container label:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.formbody .radio_container input:checked + label { background: var(--red); color: #fff; box-shadow: 4px 4px 0 var(--ink); }
.formbody .radio_container input:checked + label::before { border: 5px solid #fff; background: var(--ink); }
.formbody .radio_container input:focus-visible + label { outline: 3px solid var(--red); outline-offset: 2px; }

.formbody .checkbox_container span { display: flex; align-items: flex-start; gap: .65rem; }
.formbody .checkbox_container input { flex: 0 0 auto; width: 1.25rem; height: 1.25rem; margin-top: .2rem; accent-color: var(--red); }
.formbody .checkbox_container label { margin: 0; font-size: .98rem; font-weight: 400; color: var(--muted); }
.formbody .checkbox_container legend { display: none; }
.formbody p.error { margin: .3rem 0 0; font-size: .95rem; font-weight: 700; color: var(--red-dark); }
.formbody input.error, .formbody textarea.error { border-color: var(--red); }
.formbody .widget-submit button { min-height: 54px; }

.form-steps__progress { margin-bottom: 1.4rem; }
.form-steps__label { margin: 0 0 .5rem; font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.form-steps__bar { height: 10px; overflow: hidden; border: 2px solid var(--ink); border-radius: 4px; background: var(--white); }
.form-steps__bar span { display: block; width: var(--progress, 25%); height: 100%; background: var(--red); transition: width .3s; }
.js .form-steps fieldset.step { display: none; }
.js .form-steps fieldset.step.is-current { display: block; }
.form-steps fieldset.step .radio_container > legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.form-steps__nav { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.75rem; }
.form-steps__nav button:not(.submit) {
  min-height: 52px;
  padding: .6rem 1.35rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: 5px 5px 0 var(--red);
  font: 800 1.1rem var(--font);
  font-stretch: 82%;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
}
.form-steps__nav button[hidden] { display: none; }
.form-steps__nav [data-step-prev] { background: #fff; box-shadow: none; color: var(--ink); }
.form-steps__nav [data-step-next] { margin-left: auto; }
.form-steps__hint { margin: .75rem 0 0; font-weight: 700; color: var(--red-dark); }
.js .form-steps .widget-submit { display: none; }
.js .form-steps.is-last .widget-submit { display: block; margin-left: auto; }
@media (max-width: 559.98px) {
  .form-steps__nav > *, .form-steps__nav .widget-submit button { flex: 1 1 100%; width: 100%; }
  .form-steps__nav [data-step-next] { order: -1; }
  .js .form-steps.is-last .widget-submit { order: -1; }
}

/* Rechtstexte */
.legal { max-width: 860px !important; }
.legal .rte { overflow-wrap: anywhere; }
.legal .rte h2 { font-size: min(2.2rem, 100cqi / 11.8); }
.legal .rte h3 { margin-top: 1.75em; font-size: 1.25rem; }
.legal .rte img, .legal figure img { max-width: 160px; margin-top: 1rem; }

/* 11 Fußbereich & Kontaktleiste =========================================== */

.site-footer { position: relative; padding: 56px var(--gutter) 0; background: var(--ink) var(--brick-light); color: #aeb2b9; text-align: center; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--red); }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--red-light); }
.site-footer__grid { display: grid; gap: 2.5rem; max-width: var(--container); margin: 0 auto; padding-bottom: 3rem; }
.site-footer__grid > * { margin: 0; }
.site-footer h3 { margin: 0 0 .8rem; font-size: 1.1rem; font-weight: 800; font-stretch: 80%; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.site-footer .rte p { margin: 0 0 .5rem; }
.footer-slogan { padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-dark); }
.footer-slogan .rte p {
  margin: 0;
  font-size: clamp(2.4rem, 11vw, 3.2rem);
  font-weight: 800;
  font-stretch: 75%;
  line-height: .95;
  text-transform: uppercase;
  color: #fff;
  text-wrap: balance;
}
.footer-slogan .rte strong { color: var(--red); }
.footer-brand > figure { display: flex; justify-content: center; margin-bottom: 1.1rem; }
.footer-brand > figure img { width: auto; max-height: 84px; }
.footer-brand .rte p { max-width: 36ch; margin-inline: auto; }
.footer-contact .rte a, .footer-links .rte a { text-decoration: none; }
.footer-contact .rte a:hover, .footer-links .rte a:hover { text-decoration: underline; }
.footer-contact .rte strong a { font-size: 2.3rem; font-weight: 800; font-stretch: 75%; letter-spacing: .01em; }
.footer-links .rte a { font-weight: 600; }

.social-links .rte ul { display: flex; justify-content: center; gap: .6rem; margin: 1.4rem 0 0; padding: 0; }
.social-links .rte ul li { margin: 0; padding: 0; }
.social-links .rte ul li::before { display: none; }
.social-links .rte a {
  position: relative;
  display: block;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: var(--radius);
  font-size: 0;
  color: transparent;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.social-links .rte a::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  margin: auto;
  background: #fff;
  -webkit-mask: var(--i-facebook) center / contain no-repeat;
  mask: var(--i-facebook) center / contain no-repeat;
}
.social-links .rte a[href*="instagram"]::before { -webkit-mask-image: var(--i-instagram); mask-image: var(--i-instagram); }
.social-links .rte a[href*="youtube"]::before { -webkit-mask-image: var(--i-youtube); mask-image: var(--i-youtube); }
.social-links .rte a:hover { background: var(--red); box-shadow: 4px 4px 0 #000; transform: translate(-2px, -2px); }

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.5rem 0 calc(1.5rem + 64px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-dark);
  font-size: .92rem;
}
.site-footer__bottom > * { margin: 0; }
.footer-member { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.footer-member > figure img { width: 52px; height: 52px; padding: 3px; border-radius: 50%; background: #fff; }
.footer-member .rte { max-width: 30ch; font-size: .88rem; line-height: 1.4; }

@media (min-width: 800px) {
  .site-footer { padding-top: 80px; text-align: left; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; padding-bottom: 4rem; }
  .footer-slogan { grid-column: 1 / -1; }
  .footer-slogan .rte p { font-size: 4.6rem; }
  .footer-brand > figure { justify-content: flex-start; }
  .footer-brand .rte p { margin-inline: 0; }
  .social-links .rte ul { justify-content: flex-start; }
  .site-footer__bottom { flex-direction: row; flex-wrap: wrap; justify-content: space-between; padding-bottom: 1.5rem; }
  .footer-member { flex-direction: row; }
  .footer-member .rte { max-width: none; }
}
@media (min-width: 1100px) { .footer-slogan .rte p { font-size: 6rem; } }

/* Kontaktleiste unten (Smartphone/Tablet) */
.actionbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 2px solid var(--ink);
  background: var(--white);
}
.actionbar > * { margin: 0; }
.actionbar .content-hyperlink + .content-hyperlink { border-left: 2px solid var(--ink); }
.actionbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  min-height: 60px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}
.actionbar a::before {
  content: "";
  width: 1.3rem;
  height: 1.3rem;
  background: currentColor;
  -webkit-mask: var(--i-form) center / contain no-repeat;
  mask: var(--i-form) center / contain no-repeat;
}
.actionbar .action--phone a { background: var(--red); color: #fff; }
.actionbar .action--phone a::before { -webkit-mask-image: var(--i-phone); mask-image: var(--i-phone); }
.actionbar .action--whatsapp a::before { background: #1c9e4b; -webkit-mask-image: var(--i-whatsapp); mask-image: var(--i-whatsapp); }
@media (min-width: 1100px) { .actionbar { display: none; } }
@media (max-width: 1099.98px) { .contao-cookiebar { bottom: calc(62px + env(safe-area-inset-bottom)) !important; } }

/* 12 Cookie-Banner ========================================================= */

.contao-cookiebar { font-family: var(--font) !important; }
.contao-cookiebar .cc-inner { border: 2px solid var(--ink) !important; border-radius: var(--radius) !important; box-shadow: var(--shadow-red) !important; }
.contao-cookiebar .cc-head h3 { margin: 0 0 .4rem; font-size: 1.9rem; font-weight: 800; font-stretch: 75%; text-transform: uppercase; color: var(--ink); }
.contao-cookiebar .cc-head p { font-size: 1rem; color: var(--muted); }
.contao-cookiebar .cc-btn {
  border: 2px solid var(--ink) !important;
  border-radius: var(--radius) !important;
  background: #fff !important;
  font-family: var(--font) !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  font-stretch: 82%;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink) !important;
}
.contao-cookiebar .cc-btn.success { background: var(--red) !important; box-shadow: 3px 3px 0 var(--ink); color: #fff !important; }
.contao-cookiebar .cc-detail-btn, .contao-cookiebar .cc-info a { color: var(--red-dark) !important; }

/* 13 Bewegung & Druck ====================================================== */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .actionbar, .site-nav, .hero-home__video, .lightbox { display: none !important; }
  .mod_article { padding: 1rem 0; }
}
