@charset "UTF-8";
/* --------------------------------------------------------------------------
   1. Basic - Grundlagen, Variablen und Hilfsklassen
   -------------------------------------------------------------------------- */
/**
 * _variables.scss
 *
 * Globales Design‑Token‑Set für das gesamte Theme.
 * Enthält alle Light‑ und Dark‑Mode‑Variablen für:
 *
 * - Layout & Struktur
 * - Typografie & Schriftgrößen
 * - Spacing‑System
 * - UI‑Tokens (Radius, Schatten, Linien)
 * - Farben & Statusfarben
 * - Komponenten‑Tokens (Blog, Shot, Kommentare)
 *
 * Struktur:
 * 1) :root        → Light Mode Tokens
 * 2) :root.dark   → Dark Mode Tokens
 * 3) Font‑Utilities
 * 4) Logo‑Filter
 *
 * Hinweis:
 * Alle Tokens sind global und werden in Modulen (Formular, Kommentar,
 * Suche, Navigation, Cards, Buttons) nur verwendet oder überschrieben.
 *
 * @package core/base
 */
/* ==========================================================================
   Design Tokens: Layout, Typo, Farben (Light + Dark)
   ========================================================================== */
/* ==========================================================================
   LIGHT MODE TOKENS
   ========================================================================== */
:root {
  /* Layout */
  --header-height: 90px;
  --header-height-small: 60px;
  --logo-height: 45px;
  --logo-height-small: 35px;
  --shrink-range-desktop: 20px;
  --shrink-range-mobile: 10px;
  --header-width: 1920px;
  --content-width: 1080px;
  --content-full-width: 1600px;
  --footer-width: 1920px;
  --sidebar-width: 340px;
  --outside-desktop: 24px;
  --outside-mobile: 12px;
  --toc-offset: 65px;
  --adminbar-small: 32px;
  --adminbar-height: 46px;
  /* Motion */
  --ease: 220ms cubic-bezier(0.2, 0.9, 0.2, 1);
  --transition: 0.3s ease;
  /* Typography */
  --font-headings:
    Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --heading-color: #111;
  --heading-line-height: 1.2;
  --heading-margin-bottom: 0.2em;
  --h1-size: 2.3rem;
  --h2-size: 1.9rem;
  --h3-size: 1.6rem;
  --h4-size: 1.4rem;
  --h5-size: 1.2rem;
  --h6-size: 1rem;
  --font-size: 1rem;
  --font-line-height: 1.6;
  --heading-scale: 1;
  /* Spacing */
  --space-s: 4px;
  --space-m: 6px;
  --space-l: 10px;
  --space-xl: 14px;
  --space-xxl: 20px;
  --gap: 3rem;
  --sectionspacing: 5% 0;
  --spacer-bottom: 2.5rem;
  /* UI Tokens */
  --radius: 8px;
  --letterspacing: 3px;
  --card-shadow-rgb: 59 130 246;
  --border: #d0d7e2;
  --shadow: rgba(15, 23, 42, 0.08);
  --shadow-strong: rgba(15, 23, 42, 0.18);
  --focus-ring: rgba(59, 130, 246, 0.18);
  /* Backgrounds */
  --bg: #f3f6fb;
  --surface: #ffffff;
  --surface-alt: #eef2f7;
  --headerschrink: 243, 246, 251;
  --headerschrink-alpha: 0.75;
  /* Text */
  --text: #0f172a;
  --text-muted: #64748b;
  /* Accent */
  --accent: #3b82f6;
  --accent-strong: #1d00dc;
  --accent-soft: #dbeafe;
  /* Status */
  --standard: #3b82f6;
  --code: #8b5cf6;
  --tip: #10b981;
  --info: #0ea5e9;
  --warning: #f59e0b;
  --danger: #ef4444;
  /* Footer */
  --footer-heading: #b4b4b4;
  --footer-bg: #1d1d1d;
  --footer-text: #ffffff;
  --card-bg: #0c0f14;
  --footer-border: #444444;
  /* Blog Details */
  --blog-detail-primary: #0b2545;
  --blog-detail-accent: #00b894;
  --blog-detail-bg: #fbfdff;
  --blog-detail-border: #e6eef8;
  /* Shot Details */
  --shot-primary: #0a7a74;
  --shot-accent: #0664ff;
  --shot-bg: #f6fffb;
  --shot-border: #dff3f0;
  --shot-muted: #94a3b8;
  --shot-icon-lab: rgba(255, 255, 255, 1);
  --shot-heart: rgb(233, 18, 18);
  /* Comments */
  /* Einrückung je Tiefe (harmonisch, overflow-sicher) */
  /* Light Mode – leicht heller, harmonisch */
  --depth-1-bg: #f0eaff;
  --depth-2-bg: #e8f7ff;
  --depth-3-bg: #edfff1;
  --depth-4-bg: #fff0e4;
  --depth-5-bg: #ffe8f0;
  --depth-6-bg: #eef1ff;
}

/* ==========================================================================
   DARK MODE TOKENS
   ========================================================================== */
:root.dark {
  /* Typography */
  --heading-color: #e2e2e2;
  /* Backgrounds */
  --bg: #0b0f19;
  --surface: #141a26;
  --surface-alt: #1c2433;
  --headerschrink: 28, 36, 51;
  --headerschrink-alpha: 0.75;
  /* Text */
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  /* UI Tokens */
  --border: #e2e8f0;
  --shadow: rgba(0, 0, 0, 0.45);
  --shadow-strong: rgba(0, 0, 0, 0.65);
  /* Accent */
  --accent: #60a5fa;
  --accent-strong: #3b82f6;
  --accent-soft: rgba(96, 165, 250, 0.12);
  /* Status */
  --standard: #3b82f6;
  --code: #8b5cf6;
  --tip: #10b981;
  --info: #0ea5e9;
  --warning: #f59e0b;
  --danger: #ef4444;
  /* Focus */
  --focus-ring: rgba(96, 165, 250, 0.18);
  /* Footer */
  --footer-heading: #f0f0f0;
  --footer-bg: #020307;
  --footer-text: #ffffff;
  --card-bg: #1c2433;
  --footer-border: #333333;
  /* Blog Details */
  --blog-detail-primary: #cfe6ff;
  /* Shot Details */
  --shot-primary: #1f8f88;
  --shot-accent: #00ffff;
  --shot-icon-lab: rgba(0, 0, 0, 0.9);
  --shot-heart: #00ffff;
  /* Dark Mode – leicht heller, klarer */
  --depth-1-bg: #5a4a85;
  --depth-2-bg: #3b5a78;
  --depth-3-bg: #3a6b48;
  --depth-4-bg: #6b4a38;
  --depth-5-bg: #6b384c;
  --depth-6-bg: #4a5070;
}

/* ---------------------------
   Font size utility classes
   --------------------------- */
:root.font-small {
  --font-size: 0.9rem;
  --heading-scale: 0.9;
}

:root.font-medium {
  --font-size: 1rem;
  --heading-scale: 1;
}

:root.font-large {
  --font-size: 1.1rem;
  --heading-scale: 1.1;
}

:root.font-xlarge {
  --font-size: 1.2rem;
  --heading-scale: 1.2;
}

.site-logo-img {
  filter: invert(0) hue-rotate(30deg) saturate(1) brightness(1) contrast(3) drop-shadow(15px -4px 2px rgba(100, 100, 100, 0.5));
}

:root.dark .site-logo-img {
  filter: invert(1) hue-rotate(140deg) saturate(3) brightness(2) contrast(1);
}

/* ------------------------------------------
   Ab 1080px → 100% Breite + dynamische Indents
-------------------------------------------*/
@media (min-width: 1080px) {
  /* Dynamische Einrückung */
  :root {
    --depth-1-indent: -60px;
    --depth-2-indent: 120px;
    --depth-3-indent: -240px;
    --depth-4-indent: -60px;
    --depth-5-indent: 120px;
    --depth-6-indent: -240px;
  }
}
/**
 * _fonts.scss
 *
 * Font‑Einbindung und Schriftdefinitionen.
 * Lädt lokale oder externe Fonts und definiert
 * die typografische Grundstruktur des Themes.
 *
 * Features:
 * - @font-face Definitionen
 * - Primäre & sekundäre Schriftfamilien
 * - Fallback‑Stacks
 *
 * @package core/base
 */
@font-face {
  font-display: swap;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/roboto-v32-latin-regular.woff2") format("woff2"), url("../fonts/roboto-v32-latin-regular.ttf") format("truetype");
}
/**
 * _typography.scss
 *
 * Zentrale Typografie‑Regeln für das Theme.
 * Definiert Schriftgrößen, Zeilenhöhen, Überschriften‑Skala
 * und typografische Rhythmik.
 *
 * Features:
 * - Heading‑Skala (h1–h6)
 * - Absatz‑Typografie
 * - Listen, Zitate, Inline‑Elemente
 *
 * @package core/base
 */
/* -------------------------------------------------------
   HEADINGS (h1–h6) – komplett variabel
------------------------------------------------------- */
h1,
.entry-content h1,
.wp-block-heading h1,
.wp-block-post-title h1 {
  font-size: calc(var(--h1-size) * var(--heading-scale));
}

h2,
.entry-content h2,
.wp-block-heading h2 {
  font-size: calc(var(--h2-size) * var(--heading-scale));
}

h3,
.entry-content h3,
.wp-block-heading h3 {
  font-size: calc(var(--h3-size) * var(--heading-scale));
}

h4,
.entry-content h4,
.wp-block-heading h4 {
  font-size: calc(var(--h4-size) * var(--heading-scale));
}

h5,
.entry-content h5,
.wp-block-heading h5 {
  font-size: calc(var(--h5-size) * var(--heading-scale));
}

h6,
.entry-content h6,
.wp-block-heading h6 {
  font-size: calc(var(--h6-size) * var(--heading-scale));
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
  font-weight: 400;
  line-height: var(--heading-line-height);
  margin: 0 0 var(--heading-margin-bottom);
  color: var(--heading-color);
  text-transform: uppercase;
  letter-spacing: 0.075em;
}

h1,
h2,
h3,
h4,
h5,
h6,
a {
  text-decoration: none;
  color: var(--heading-color);
}

/* -------------------------------------------------------
   TEXTFORMATIERUNGEN
------------------------------------------------------- */
/* Absätze */
p {
  margin: 0 0 clamp(1.5rem, 2vw, 1.6rem);
}

p,
a {
  font-size: var(--font-size);
  line-height: var(--font-line-height);
}

/* Fett */
strong,
b {
  font-weight: 700;
}

/* Kursiv */
em,
i {
  font-style: italic;
}

/* Unterstrichen */
u {
  text-decoration: underline;
}

/* Durchgestrichen */
s,
del,
strike {
  text-decoration: line-through;
}

/* Hochgestellt */
sup {
  font-size: 0.75em;
  vertical-align: super;
  line-height: 0;
}

/* Tiefgestellt */
sub {
  font-size: 0.75em;
  vertical-align: sub;
  line-height: 0;
}

/* Markiert */
mark {
  background: #fff3a3;
  padding: 0 0.2em;
}

/* Code / Monospace */
code,
kbd,
tt {
  font-family: Consolas, Monaco, "Courier New", monospace;
  background: rgba(0, 0, 0, 0.05);
  padding: 0.1em 0.3em;
  border-radius: var(--radius);
}

pre {
  font-family: Consolas, Monaco, "Courier New", monospace;
  background: #f5f5f5;
  padding: 1rem;
  overflow-x: auto;
  border-radius: var(--radius);
  margin: 0 0 1.5rem;
}

/* -------------------------------------------------------
   TEXTAUSRICHTUNG (WordPress Core)
------------------------------------------------------- */
.has-text-align-left {
  text-align: left;
}

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

.has-text-align-right {
  text-align: right;
}

/* -------------------------------------------------------
   LISTEN
------------------------------------------------------- */
.widget ul,
.footer-widget ul {
  margin: 0 0 1rem 1.2rem;
  padding: 0;
}

.widget ul li,
.footer-widget ul li {
  list-style: disc;
  margin: 0 0 0.4rem;
}

/* -------------------------------------------------------
   LINKS
------------------------------------------------------- */
.footer-widget a {
  color: inherit;
  text-decoration: underline;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-widget a:hover {
  opacity: 1;
}

/* -------------------------------------------------------
   BLOCKQUOTE
------------------------------------------------------- */
.widget blockquote,
.footer-widget blockquote {
  border-left: 4px solid #ccc;
  padding-left: 1rem;
  margin: 1rem 0;
  font-style: italic;
  color: #555;
}

/**
 * _svg_sprite.scss
 *
 * @package core/base
 */
/* -------------------------------------------------------
   Bereich Footer
------------------------------------------------------- */
/* Basis-Icon-Setup */
.footer-icon-item .icon.footer {
  width: 2.2rem; /* feste Breite */
  height: 2.2rem; /* feste Höhe */
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: var(--transition);
  color: var(--shot-accent);
}

.statics-item-icon.calendar {
  stroke: currentColor;
  fill: none;
}

.footer-icon-item .icon.footer:hover {
  color: var(--border);
}

.statics-item-icon.icon.sonic {
  stroke: var(--shot-accent);
  fill: none;
  transform: scaleX(-1);
  opacity: 0.75;
}

.statics-item-icon.sonic {
  width: 128px;
  height: 125px;
}

.footer-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.footer-card .gamertag {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-bottom: 0;
  transform: translateX(-50%);
  height: 70px;
  width: 100%; /* wichtig, damit Flexbox zentrieren kann */
  display: flex;
  align-items: center; /* vertikal zentriert */
  justify-content: center; /* horizontal zentriert */
  text-align: center;
  font-size: calc(var(--font-size) * 1.35);
  color: var(--footer-heading);
  opacity: 0.5;
}

/**
 * basic.scss
 *
 * Grundlegende Basis‑Stile für das gesamte Theme.
 * Definiert Reset‑Regeln, Standard‑Abstände, globale Box‑Model‑Einstellungen
 * und grundlegende HTML‑Element‑Stile.
 *
 * Features:
 * - CSS‑Reset / Normalize
 * - Einheitliches Box‑Sizing
 * - Grundtypografie für HTML‑Elemente
 *
 * @package core/base
 */
/* -------------------------------------------------------
   RESET & BASE
------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* verhindert Dark-Mode-Flackern */
html.no-transition * {
  transition: none !important;
}

html {
  overflow-y: scroll;
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  min-width: 420px;
  font-family: var(--font-headings);
  color: var(--text);
  line-height: 1.5;
  background: var(--surface-alt) url("../icons/background.svg") no-repeat center center fixed;
  background-size: cover;
  /* Automatische Silbentrennung */
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: break-word;
}

body {
  display: flex;
  flex-direction: column;
  padding-top: 90px;
}

@media (max-width: 1150px) {
  body {
    padding-top: 60px;
  }
}
/**
 * _helper.scss
 *
 * Utility‑Klassen und Hilfsfunktionen für schnelle Layout‑Anpassungen.
 * Enthält Margin‑/Padding‑Utilities, Flex‑Shortcuts und visuelle Helfer.
 *
 * Features:
 * - Spacing‑Utilities
 * - Flex‑Utilities
 * - Visibility‑Klassen
 *
 * @package core/base
 */
.archive-subtitle {
  margin: 0;
  padding: 0;
}

#metis-img-pixel {
  display: none;
}

/* --------------------------------------------------------------------------
   2. Layout - Struktur und Container
   -------------------------------------------------------------------------- */
/**
 * _header.scss
 *
 * Universeller Header mit Shrink‑Effekt.
 * Logo links, Navigation rechts, Toggle links.
 *
 * @package core/layout
 */
/* -------------------------------------------------------
   FIXED HEADER BASIS
------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  z-index: 9999;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
  z-index: -999; /* Blur hinter den Header legen */
}

@media (max-width: 782px) {
  .site-header {
    height: var(--header-height-small);
  }
}
/* Shrink-Zustand */
.site-header.shrink {
  height: 60px;
  background: rgba(var(--headerschrink), var(--headerschrink-alpha));
  box-shadow: 10px 50px 150px 100px var(--shadow), inset 0 0 300px 0px var(--shadow), inset 0 0 60px 0px rgba(0, 0, 0, 0.05);
}

/* -------------------------------------------------------
   HEADER CONTAINER
   Logo links – Navigation + Controls rechts
------------------------------------------------------- */
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* WICHTIG: Logo links, Navi rechts */
  width: 100%;
  max-width: var(--header-width);
  margin: 0 auto;
  padding: var(--outside-desktop);
  gap: 1rem;
  height: 100%;
  box-sizing: border-box;
  transition: var(--transition);
}

/* -------------------------------------------------------
   MOBILE TOGGLE (links)
------------------------------------------------------- */
.menu-toggle {
  position: relative; /* NICHT absolute! */
  display: flex;
  align-items: center;
  z-index: 10000;
}

/* -------------------------------------------------------
   LOGO (links)
------------------------------------------------------- */
.site-logo-img,
.site-icon-img {
  max-height: 45px;
  transition: var(--transition);
}

.site-header.shrink .site-logo-img,
.site-header.shrink .site-icon-img {
  max-height: 35px;
}

/* -------------------------------------------------------
   NAVIGATION + CONTROLS (rechts)
------------------------------------------------------- */
.nav-wrapper {
  display: flex;
  align-items: center;
  margin-left: auto; /* Schiebt alles nach rechts */
  z-index: 99999;
}

.nav-wrapper nav {
  display: flex;
}

/* Controls (Dark/Light, Font, Search) */
.header-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* -------------------------------------------------------
   BODY-PADDING (verhindert Layout-Sprünge)
------------------------------------------------------- */
body {
  padding-top: var(--header-height);
}

.site-header.shrink ~ body {
  padding-top: var(--header-height-small);
}

/* -------------------------------------------------------
   RESPONSIVE
------------------------------------------------------- */
@media (max-width: 1150px) {
  .site-header .container {
    padding: 0.5rem var(--outside-mobile);
  }
  .site-logo-img,
  .site-icon-img {
    max-height: var(--logo-height-small);
  }
  body {
    padding-top: var(--header-height-small);
  }
  .site-header:not(.shrink):has(.nav-wrapper.open) {
    background: var(--surface);
  }
}
/**
 * _grid.scss
 *
 * Zentrales Grid‑System für den Fotostream.
 * Steuert die Masonry‑ähnliche Darstellung der Bilder,
 * inklusive Abständen, Spalten und responsiven Breakpoints.
 *
 * Features:
 * - Flexibles Grid‑Layout
 * - Dynamische Spaltenanzahl
 * - Optimiert für Bildgalerien
 *
 * @package core/layout
 */
/* -------------------------------------------------------
   MAIN CONTENT
------------------------------------------------------- */
/* Hauptinhalt: flexibel, kann schrumpfen und wachsen */
.site-main {
  flex: 1 1 0;
  /* flex-grow:1, flex-shrink:1, flex-basis:0 */
  min-width: 0;
  /* wichtig: verhindert Overflow bei langen Inhalten */
  padding: var(--outside-desktop);
}

@media (max-width: 1150px) {
  .site-main {
    flex-basis: 100%;
    /* volle Breite */
    order: 1;
    /* zuerst anzeigen */
    padding: 0.5rem var(--outside-mobile);
  }
}
/* -------------------------------------------------------
   LAYOUT WRAPPER
------------------------------------------------------- */
/*
.layout {
  display: flex;
  flex: 1;
  width: 100%;
  max-width: var(--content-full-width);
  margin: 0 auto;
  flex-wrap: wrap;
  padding: var(--outside-desktop);
}

*/
.layout {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  max-width: var(--content-full-width);
  margin: 0 auto;
  padding: 2% var(--outside-desktop);
}

@media (max-width: 1150px) {
  .layout {
    padding: var(--outside-mobile);
  }
}
/* Sidebar rechts */
body.sidebar-right .layout {
  flex-direction: row;
}

/* Sidebar links */
body.sidebar-left .layout {
  flex-direction: row-reverse;
}

.article {
  margin-bottom: 1.5rem;
}

.article:last-child {
  margin-bottom: 0;
}

.entry-header,
.entry-content,
.entry-footer {
  max-width: var(--content-width);
  margin: 0 auto;
}

/**
 * _sidebar.scss
 *
 * Layout‑Struktur für die Sidebar.
 * Wird auf Single‑Posts und statischen Seiten verwendet
 * und enthält Meta‑Informationen, Boxen und Widgets.
 *
 * Features:
 * - Sticky‑Positionierung
 * - Harmonische Abstände
 * - Einheitliche Box‑Typografie
 *
 * @package core/layout
 */
/* -------------------------------------------------------
   SIDEBAR
------------------------------------------------------- */
/*
.sidebar {
  flex: 0 0 var(--sidebar-width);
  Display: none !important;
}


@media (max-width: 1023px) {
  .sidebar {
    flex-basis: 100%;

    order: 2;

  }
}
*/
/**
 * _footer.scss
 *
 * Footer‑Layout für das gesamte Theme.
 * Definiert Struktur, Spalten, Abstände und Typografie
 * für den unteren Seitenbereich.
 *
 * Features:
 * - Mehrspaltiges Layout
 * - Dezente Trennlinien
 * - Responsive Reduktion auf Einspaltigkeit
 *
 * @package core/layout
 */
/* =========================================================
   FOOTER – Grundlayout
========================================================= */
.site-footer {
  width: 100%;
  background: var(--footer-bg);
  color: var(--footer-text);
  margin: 0 auto;
  padding: 0 var(--outside-desktop);
}

/* =========================================================
   FOOTER GRID – Kartenbereich
========================================================= */
.site-footer .footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 0;
  max-width: var(--footer-width);
  margin: 0 auto;
  box-sizing: border-box;
}

/* =========================================================
   FOOTER CARDS – Basis
========================================================= */
.footer-card {
  flex: 0 1 320px;
  color: var(--footer-text);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--footer-border);
  box-sizing: border-box;
}

/* Titel */
.footer-card .card-title {
  color: var(--footer-heading);
  text-transform: uppercase;
  letter-spacing: var(--letterspacing);
  font-size: calc(var(--font-size) * 1.1);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Listenelemente */
.footer-card .androva-list li {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.3rem 0;
  text-transform: uppercase;
  letter-spacing: var(--letterspacing);
}

/* ---------------------------------------------
   Footer-Links (Basis)
--------------------------------------------- */
.footer-card .androva-list a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 200px;
  padding: 0.5rem 0;
  color: var(--footer-text);
  font-size: calc(var(--font-size) * 0.9);
  border-radius: var(--radius);
  border-inline: 2px solid transparent;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

/* ---------------------------------------------
   Hover-Effekt
--------------------------------------------- */
.footer-card .androva-list a:hover {
  border-inline: 2px solid var(--accent);
  background: rgb(var(--card-shadow-rgb)/0.125);
  color: var(--accent-color);
}

/* ---------------------------------------------
   ACTIVE – nur die tatsächliche Seite
--------------------------------------------- */
.footer-card .androva-list .current-menu-item > a {
  border-inline: 2px solid var(--accent);
  background: rgb(var(--card-shadow-rgb)/0.05);
  color: var(--footer-text);
}

/* ---------------------------------------------
   Dark Mode via :root.dark
--------------------------------------------- */
:root.dark .footer-card .androva-list a {
  color: var(--footer-text);
}

:root.dark .footer-card .androva-list .current-menu-item > a {
  color: var(--footer-text);
  border-inline: 2px solid var(--accent);
  background: rgb(var(--card-shadow-rgb)/0.125);
}

/* =========================================================
   FOOTER CARDS – Individuelle Größen
========================================================= */
.footer-card:nth-child(1) {
  width: 250px;
  min-height: 260px;
  flex: 0 0 250px;
}

.footer-card:nth-child(2),
.footer-card:nth-child(3) {
  min-width: 200px;
  flex: 1 1 200px;
}

.footer-card:nth-child(4) {
  min-width: 300px;
  flex: 1 1 380px;
}

.footer-card.split {
  display: flex;
  flex-direction: column;
  align-items: center; /* zentriert .top und .bottom */
  gap: 1rem;
}

.footer-card.split .top,
.footer-card.split .bottom {
  flex: 1;
  min-height: 0;
  display: flex;
  min-width: 310px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-follow-icon-items {
  display: flex;
  flex: 1 auto;
  justify-content: center; /* horizontal zentrieren */
  align-items: center; /* vertikal zentrieren */
  gap: 1rem; /* Abstand zwischen Icons */
}

.footer-icon-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-card.image {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  box-sizing: border-box;
}

/* Bild */
.footer-card.image img {
  width: 100%;
  max-width: 280px; /* oder was du willst */
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  display: block;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.footer-card.split .bottom {
  justify-content: center;
  align-items: center;
}

.footer-card .uberblog a {
  padding: 0.5rem 1.25rem;
  color: var(--footer-text);
  font-size: calc(var(--font-size) * 0.9);
  border-radius: var(--radius);
  border-inline: 2px solid transparent;
  transition: border-color var(--transition), background var(--transition);
  letter-spacing: var(--letterspacing);
  outline: 0;
  background: var(--footer-border);
}

.footer-card.split .uberblog a:focus-visible,
.uberblog a:hover {
  border-inline: 2px solid var(--accent);
  background: rgb(var(--card-shadow-rgb)/0.125);
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 600px) {
  .footer-card {
    min-width: 100%;
  }
}
/* =========================================================
   FOOTER BOTTOM – Abschlusszeile
========================================================= */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  color: var(--footer-text);
  font-size: calc(var(--font-size) * 0.8);
  line-height: 2;
  border-top: 1px solid #374151;
  max-width: var(--footer-width);
  padding-top: 0.5rem;
  padding-bottom: 0.25rem;
  margin: 0 auto;
}

/* --- Child 1 --- */
.footer-bottom > div:nth-child(1) {
  flex: 0 1 auto;
}

/* --- Child 2 (rechts auf Desktop) --- */
.footer-bottom > div:nth-child(2) {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 3px;
}

/* --- Child 3 (volle Breite + zentriert) --- */
.footer-bottom > div:nth-child(3) {
  flex: 1 1 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.25;
}

@media (max-width: 480px) {
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
  .footer-bottom > div {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 0;
  }
  /* Child 2 explizit zentrieren */
  .footer-bottom > div:nth-child(1) {
    order: 3;
  }
  .footer-bottom > div:nth-child(2) {
    order: 2;
    justify-content: center;
  }
  .footer-bottom > div:nth-child(3) {
    order: 1;
  }
}
.mwl-heart {
  display: inline-block;
  vertical-align: middle;
  /* in Textfluss zentrieren */
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
  color: var(--shot-heart);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12));
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform;
  animation: 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite mwl-pulse;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* sanfter, natürlicher Puls */
@keyframes mwl-pulse {
  0%, 20%, 100% {
    transform: scale(1);
  }
  10% {
    transform: scale(1.28);
  }
  30% {
    transform: scale(1.12);
  }
}
/* responsive Anpassungen */
@media (max-width: 768px) {
  .mwl-heart {
    width: 1.5rem;
    height: 1.5rem;
  }
}
@media (max-width: 420px) {
  .mwl-heart {
    width: 1.35rem;
    height: 1.35rem;
  }
}
/* reduced motion: Animation abschalten für Nutzerwunsch */
@media (prefers-reduced-motion: reduce) {
  .mwl-heart {
    animation: none;
    transition: transform 0.2s ease;
  }
}
/* ============================================
   404 – Grundlayout
   ============================================ */
.error-404 {
  max-width: 1200px;
  margin: 0 auto;
}

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

.error-404 hr {
  margin: 10px 0;
}

.error-404 .page-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent);
  text-align: center;
}

.error-404 .page-subtitle {
  font-size: 1.2rem;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Ähnliche Beiträge
   ============================================ */
.error-404 .similar-posts {
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   3. Sections - Content
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   3. Sections - Content
   -------------------------------------------------------------------------- */
:root {
  --hero-img-max-height: 420px;
  --hero-img-min-height: 120px;
}

/* Wrapper */
.front-hero {
  margin: var(--sectionspacing);
}

/* Desktop: Grid */
.hero-inner {
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: var(--gap);
  align-items: center;
  /* statt flex-end */
}

/* Linke Spalte */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: calc(var(--gap) / 6);
  color: var(--text);
}

/* Titel */
.hero-content h1 {
  font-size: calc(var(--h1-size) * var(--heading-scale));
  color: var(--text);
}

/* Rechte Spalte: Thumbnail */
.hero-thumb {
  position: relative;
  width: 100%;
  height: auto;
  padding: 10px;
  right: 20px;
  /* Rahmen-Abstand */
  aspect-ratio: 16/9;
  max-height: var(--hero-img-max-height);
  overflow: visible;
  z-index: 0;
}

.hero-meta {
  font-size: calc(var(--font-size) * 0.9);
}

.hero-thumb::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 40px;
  right: -20px;
  bottom: 40px;
  pointer-events: none;
  z-index: -1;
  border: 6px solid transparent;
  border-image: linear-gradient(180deg, var(--accent) 0%, var(--accent-soft) 50%, var(--accent-strong) 100%) 1;
}

/* Bild */
.hero-img,
.hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16/9;
  max-height: var(--hero-img-max-height);
  min-height: var(--hero-img-min-height);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22), 0 8px 16px rgba(0, 0, 0, 0.18), 0 4px 8px rgba(0, 0, 0, 0.12);
}

.hero-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

@media (max-width: 1200px) {
  .hero-excerpt {
    -webkit-line-clamp: 2;
  }
}
@media (max-width: 1200px) {
  .hero-excerpt {
    -webkit-line-clamp: 4;
  }
}
/* ----------------------------------------------
   MOBILE: Bild 100%, Rahmen sichtbar, kein Limit
---------------------------------------------- */
@media (max-width: 960px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: var(--adminbar-small);
  }
  /* Bild zuerst */
  .hero-thumb {
    order: -1;
    width: 100%;
    /* WICHTIG: Rahmen braucht Platz */
    padding: 0px;
    right: 0;
    /* WICHTIG: Container darf nicht schrumpfen */
    height: auto;
    max-height: none;
    aspect-ratio: 21/9;
    position: relative;
    /* Rahmen fixiert */
  }
  /* Rahmen neu ausrichten */
  .hero-thumb::before {
    top: 0;
    left: 20px;
    right: 0;
    bottom: 20px;
  }
  /* Bild wirklich 100% */
  .hero-image,
  .hero-img {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 21/9;
    object-fit: cover;
  }
  .hero-content {
    width: 100%;
  }
  .front-hero {
    margin-top: 0;
  }
  .hero-thumb::before {
    content: none;
    display: none;
  }
}
.hero-items .meta-item {
  position: relative;
  padding-right: 3px;
  margin-right: 3px;
}

.hero-items .meta-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  background: currentColor;
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
}

@media (max-width: 783px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: calc(20px - var(--adminbar));
  }
}
/**
 * _section_stats.scss
 *
 * Logo‑ und Branding‑Stile.
 * Unterstützt SVG‑Logos und Dark‑Mode‑Varianten.
 *
 * @package core/components.
 */
.front-stats {
  margin-bottom: 3%;
}

.statics .container {
  display: flex;
  flex-direction: column;
}

.statics-items-outer {
  overflow: hidden;
}

/* -------------------------------------------------------
   NUR LINIE ZWISCHEN DEN ITEMS (Outline-Grid)
------------------------------------------------------- */
.statics-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: -1px;
  gap: 0; /* wichtig */
}

.statics-item {
  display: block;
  flex: 1 0 33.3333333333%;
  text-decoration: none;
  /* erzeugt die Linien zwischen den Items */
  outline: 1px solid var(--border);
  outline-offset: -1px;
  /* echte Border komplett entfernen */
  border: none;
}

/* Hover bleibt erhalten */
.statics-item:hover {
  background-color: var(--color-border);
  transition: var(--transition-slow);
}

/* -------------------------------------------------------
   LABELS
------------------------------------------------------- */
.statics-item.blog .statics-item-label,
.statics-item.shot .statics-item-label {
  position: relative;
}

.statics-item.blog .statics-item-label::before,
.statics-item.shot .statics-item-label::before {
  position: absolute;
  top: 50%;
  transform: translateY(-165%);
  margin-left: 15px;
  padding: 2px 8px;
  border-radius: 4px;
  box-sizing: border-box;
  white-space: nowrap;
  font-size: calc(var(--font-size) * 0.8);
  pointer-events: none;
}

/* Farben */
.statics-item.blog .statics-item-label::before {
  content: "Blog";
  background: var(--shot-accent);
  color: var(--shot-icon-lab);
}

.statics-item.shot .statics-item-label::before {
  content: "Shot";
  background: var(--shot-accent);
  color: var(--shot-icon-lab);
}

/* -------------------------------------------------------
   ICONS
------------------------------------------------------- */
.statics-item-icon-container {
  width: 100px;
  height: 100px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  border-radius: var(--radius);
  background-color: var(--accent-strong);
  display: flex;
  justify-content: center;
  align-items: center;
  stroke: currentColor;
  fill: none;
}

.statics-item-icon {
  display: block;
  width: 80px;
  height: 80px;
  margin-left: auto;
  margin-right: auto;
  color: var(--footer-text);
}

/* -------------------------------------------------------
   HEADINGS
------------------------------------------------------- */
.statics-item-heading {
  display: inline-block;
  position: relative;
  margin: 0;
  font-size: calc(var(--font-size) * 1.5);
  font-weight: 700;
  color: var(--text);
}

.statics-item-heading::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 1px;
  height: 3rem;
  margin-left: 1rem;
  background: var(--shot-accent);
  transform: rotate(35deg);
}

.statics-item-count {
  padding: 1.5rem 0;
  text-align: center;
}

.statics-item-label {
  margin-left: 0.5rem;
  font-size: var(--font-size);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 2px;
  vertical-align: bottom;
}

/* -------------------------------------------------------
   Mobile (1 Feld pro Zeile)
------------------------------------------------------- */
@media (max-width: 1080px) {
  .statics-item {
    flex: 1 0 50%;
  }
  .statics-item-icon-container {
    width: 70px;
    height: 70px;
  }
  .statics-item-icon {
    width: 50px;
    height: 50px;
  }
  .statics-item-label {
    font-size: calc(var(--font-size) * 0.8);
  }
}
@media (max-width: 560px) {
  .statics-item {
    flex: 1 0 100%;
  }
  .statics-item-icon-container {
    width: 100px;
    height: 100px;
  }
  .statics-item-icon {
    width: 80px;
    height: 80px;
  }
  .statics-item-heading {
    display: inline-block;
    position: relative;
    margin: 0;
    font-size: calc(var(--font-size) * 1.3);
    font-weight: 700;
    color: var(--text);
  }
  .statics-item.blog .statics-item-label::before,
  .statics-item.shot .statics-item-label::before {
    font-size: calc(var(--font-size) * 1);
  }
  .statics-item-label {
    font-size: calc(var(--font-size) * 1.1);
  }
}
/* --------------------------------------------------------------------------
   4. Components - UI-Komponenten
   -------------------------------------------------------------------------- */
/* ============================================================
   ANDROVA – FLEXBASIERTE FIGURE-ALIGNMENTS
   Ersetzt alle float-basierten WordPress-Alignments
   Unterstützt: left, right, center, start, end, top, middle, bottom
   ============================================================ */
/* Basis: Alle figure-Alignments werden Flex-Container */
figure[class*=align] {
  display: flex;
  flex-direction: column;
  max-width: max-content;
  box-sizing: border-box;
}

/* ---------------------------------------------
   HORIZONTALE AUSRICHTUNG
   --------------------------------------------- */
/* Links ausrichten */
figure.alignleft {
  margin-right: 1.5em;
  margin-bottom: 1em;
  align-items: flex-start;
  margin-left: 0;
}

/* Rechts ausrichten */
figure.alignright {
  margin-left: 1.5em;
  margin-bottom: 1em;
  margin-left: auto; /* schiebt das Element nach rechts */
  align-items: flex-end;
}

/* Zentriert */
figure.aligncenter {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-items: center;
}

/* Inline-Start (für RTL geeignet) */
figure.alignstart {
  margin-right: auto;
  align-items: flex-start;
}

/* Inline-End (für RTL geeignet) */
figure.alignend {
  margin-left: auto;
  align-items: flex-end;
}

/* ---------------------------------------------
   VERTIKALE AUSRICHTUNG
   --------------------------------------------- */
figure.aligntop {
  align-items: flex-start;
}

figure.alignmiddle {
  align-items: center;
}

figure.alignbottom {
  align-items: flex-end;
}

/* ---------------------------------------------
   BILDVERHALTEN
   --------------------------------------------- */
figure[class*=align] img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---------------------------------------------
   RESPONSIVE VERHALTEN
   --------------------------------------------- */
@media (max-width: 781px) {
  figure[class*=align] {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1.5em;
    align-items: center; /* mobile immer zentriert */
  }
}
/* ============================================================
   ANDROVA – EINHEITLICHER BUTTON
   Minimal, modern, 100% basierend auf deinen Design Tokens
   ============================================================ */
button,
[type=button],
[type=submit],
[type=reset] {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  margin: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  line-height: normal;
  text-align: inherit;
  cursor: pointer;
  /* Entfernt Firefox-Fokusrahmen */
  outline: none;
  /* Entfernt Safari/Chrome Button-Style */
  border-radius: 0;
  /* Entfernt iOS Button-Highlight */
  -webkit-tap-highlight-color: transparent;
}

.btn,
.wp-block-button {
  /* Layout */
  display: inline-flex;
  align-items: center; /* vertikal zentriert */
  justify-content: center; /* horizontal zentriert */
  /* Größe */
  height: 42px; /* feste Höhe → perfekte Zentrierung */
  width: fit-content;
  padding: 0 1.75em; /* horizontales Padding */
  /* Box-Modell */
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-sizing: border-box;
  /* Typografie */
  font: inherit;
  font-size: calc(var(--font-size) * 0.9);
  line-height: 42px; /* exakt gleiche Höhe wie Button */
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  text-align: center;
  /* Interaktion */
  cursor: pointer;
  /* Effekte */
  box-shadow: 0 1px 18px var(--shadow);
  transition: var(--transition);
}

.hero-content .btn {
  margin-top: 10px;
}

/* Hover */
.btn:hover,
.wp-block-button:hover {
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border-color: var(--accent);
  color: var(--text);
  transition: var(--transition);
}

/* Active */
.btn:active,
.wp-block-button:active {
  box-shadow: 0 4px 10px var(--shadow);
}

/* Focus */
.btn:focus-visible .wp-block-button:focus-visible {
  outline: 2px solid transparent;
  box-shadow: 0 0 0 1px var(--surface), 0 0 0 3px var(--focus-ring);
}

/* Disabled */
.btn[disabled],
.wp-block-button[disabled],
.btn.is-disabled,
.wp-block-button.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/**
 * _single_photo.scss
 *
 * @package core/layout
 */
/* ===========================
   hr.divider — Accent Divider
   =========================== */
hr.divider {
  border: 0;
  height: 6px;
  width: 125px;
  margin: 0;
  max-width: 200px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--accent) 0%, color-mix(in srgb, var(--accent-strong) 60%, var(--accent) 40%) 50%, var(--accent) 100%);
  box-shadow: var(--shadow);
  display: block;
}

hr.divider-med {
  border: 0;
  height: 3px;
  width: 50%;
  margin: 0;
  max-width: 50%;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--accent) 0%, color-mix(in srgb, var(--accent-strong) 60%, var(--accent) 40%) 50%, var(--accent) 100%);
  box-shadow: var(--shadow);
  display: block;
}

hr.divider-max {
  border: 0;
  height: 3px;
  width: 100%;
  margin: 0;
  max-width: 100%;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--accent) 0%, color-mix(in srgb, var(--accent-strong) 60%, var(--accent) 40%) 50%, var(--accent) 100%);
  box-shadow: var(--shadow);
  display: block;
}

hr.divider-max-s {
  border: 0;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, color-mix(in srgb, var(--accent-strong) 60%, var(--accent) 40%) 50%, var(--accent) 100%);
  box-shadow: var(--shadow);
  margin-bottom: var(--space-xl);
}

@media (max-width: 900px) {
  hr.divider {
    height: 3px;
  }
  hr.divider {
    width: 80px;
  }
}
.content-divider {
  display: flex;
  flex-direction: column;
  margin-top: 15%;
  margin-bottom: 4%;
  gap: 1rem;
  width: 100%;
  align-items: center; /* horizontal zentrieren */
  justify-content: center; /* vertikal zentrieren */
}

/**
 * _logo.scss
 *
 * Logo‑ und Branding‑Stile.
 * Unterstützt SVG‑Logos und Dark‑Mode‑Varianten.
 *
 * @package core/components
 */
.site-branding {
  display: flex;
  justify-items: flex-end;
  align-items: flex-end;
  text-decoration: none;
}

.menu-toggle .icon {
  display: flex;
  width: 48px;
  height: 32px;
  stroke: currentColor;
  fill: none;
  pointer-events: none;
  border: 1px solid var(--border);
}

.branding-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo-img {
  height: var(--logo-height);
  width: auto;
  display: block;
}

/* -------------------------------------------------------
   NAVIGATION (Desktop)
------------------------------------------------------- */
.site-header .nav-wrapper {
  display: flex;
  align-items: end;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  height: var(--logo-height);
}

.site-header nav {
  display: flex;
  margin-right: 1.5rem;
  align-items: center;
  height: 100%;
}

.site-header nav a {
  text-decoration: none;
  color: var(--text);
  font-size: var(--font-size);
  text-transform: uppercase;
  letter-spacing: var(--letterspacing);
}

.site-header nav ul {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-header nav li {
  display: flex;
}

/* -------------------------------------------------------
   MOBILE NAVIGATION
------------------------------------------------------- */
/* Standard: Toggle auf Desktop verbergen */
.site-header .menu-toggle {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 1150px) {
  .main-nav {
    display: block;
  }
  .site-header::before {
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
  }
  /* Menü-Button sichtbar */
  .site-header .menu-toggle {
    display: inline-flex !important;
    visibility: visible;
    pointer-events: auto;
    align-items: center;
    justify-content: center;
  }
  /* NAV als Overlay über dem Content */
  .site-header .nav-wrapper {
    position: fixed;
    /* fixed statt absolute */
    /* top: calc(var(--header-height-small) + var(--adminbar-height)); */
    top: var(--header-height);
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px var(--shadow-strong);
    display: flex;
    flex-direction: column;
    padding: 2rem 1rem 1rem 1rem;
    gap: 1rem;
    z-index: 99999;
    /* sehr hoch, damit es über allem liegt */
    opacity: 0;
    transform: translateY(0px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    overflow-y: auto;
    /* bei vielen Links scrollen */
    -webkit-overflow-scrolling: touch;
  }
  /* Standard: offen */
  .site-header .nav-wrapper.open {
    opacity: 1;
    pointer-events: auto;
    padding-bottom: 0;
    transition: var(--transition);
  }
  /* Wenn Header shrink hat → weiter runter */
  .site-header.shrink .nav-wrapper.open {
    top: var(--header-height-small);
    transition: var(--transition);
  }
  .site-header {
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
  }
}
@media (max-width: 1150px) and (max-width: 782px) {
  .site-header .nav-wrapper.open {
    top: var(--header-height-small);
  }
}
@media (max-width: 1150px) {
  /* Optionaler halbtransparenter Backdrop */
  .site-header .nav-backdrop {
    position: fixed;
    inset: 0;
    top: var(--header-height);
    background: rgba(0, 0, 0, 0.35);
    z-index: 99990;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  .nav-backdrop.visible {
    opacity: 1;
    pointer-events: auto;
  }
  /* Navigation intern */
  .site-header nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
    margin: 0;
  }
  .site-header nav a {
    width: 100%;
    padding: 0.7rem;
    border-radius: var(--radius);
    background: var(--surface-alt);
  }
  .site-header nav ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .site-header .header-controls {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
  }
  .site-header nav a::before {
    background: none !important;
  }
}
/* -------------------------------------------------------
   HEADER CONTROL BUTTONS
------------------------------------------------------- */
.header-controls button {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: var(--transition);
}

/* Hover-Effekt */
.header-controls button:hover {
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border-color: var(--accent);
}

/* Dark Mode Buttons */
:root.dark .header-controls button {
  background: var(--surface-alt);
  color: var(--text);
}

:root.dark .header-controls button.active {
  background: var(--accent);
  color: var(--text);
}

:root.dark .header-controls button:hover {
  background: var(--accent-soft);
  color: var(--text);
}

/* ============================================
   HEADER CONTROLS – Buttons & Icons (clean)
============================================ */
.header-controls {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 0.6rem;
}

/* Buttons */
.header-controls button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 35px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

/* Hover */
.header-controls button:hover {
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border-color: var(--accent);
  color: var(--accent);
}

/* Active */
.header-controls button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* SVG Icons */
.header-controls .icon {
  width: 20px;
  height: 35px;
  fill: currentColor;
  pointer-events: none;
}

/* Font Toggle */
#font-toggle {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
}

/* Wrapper der Pagination */
.pagination {
  display: flex;
  justify-content: center; /* horizontal zentriert */
  align-items: center; /* vertikal zentriert */
  gap: 0.5rem;
  margin: 2rem 0;
}

/* Einzelne Seitenlinks */
.pagination a,
.pagination span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 2.75rem;
  height: 2.3rem;
  padding: 0 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.pagination span {
  border: none;
  background: none;
}

.pagination .page-numbers:hover {
  border: 1px solid var(--shot-accent);
  background: none;
}

.pagination .page-numbers:hover .icon {
  color: var(--shot-accent);
}

/* Hover */
.pagination a:hover {
  background: var(--accent-soft);
  color: var(--shot-accent);
}

/* Aktive Seite */
.pagination .current {
  background: var(--accent);
  color: white !important;
  border: none;
}

/* WICHTIG: .current soll NICHT auf Hover reagieren */
.pagination .page-numbers.current:hover {
  background: var(--accent);
  border: none;
  cursor: default;
}

/* -------------------------------------------------------
   LIGHTBOX OVERLAY (Scrollbalken wird überdeckt!)
------------------------------------------------------- */
.androva-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  /* WICHTIG: Breite + Höhe absolut setzen */
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  /* WICHTIG: Scrollbar überdecken */
  overflow: hidden;
  z-index: -1;
}

.androva-lightbox.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 999999999999;
}

/* -------------------------------------------------------
   LIGHTBOX IMAGE WRAPPER
------------------------------------------------------- */
.lightbox-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.androva-lightbox.active .lightbox-inner {
  pointer-events: auto;
}

/* -------------------------------------------------------
   LIGHTBOX IMAGE (zentriert + animiert)
------------------------------------------------------- */
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  transform: scale(0.94);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.androva-lightbox.active .lightbox-img {
  transform: scale(1);
  opacity: 1;
}

/* -------------------------------------------------------
   CLOSE BUTTON
------------------------------------------------------- */
/* -------------------------------------------------------
   CLOSE BUTTON
------------------------------------------------------- */
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  height: 60px;
  width: 60px;
  line-height: 60px;
  display: flex;
  align-items: center; /* vertikal zentriert */
  justify-content: center; /* horizontal zentriert */
  background: black;
  color: #fff;
  font-size: 50px;
  cursor: pointer;
  opacity: 0.5;
  border: 3px solid var(--shot-accent);
  border-radius: 50%;
  transition: opacity 0.2s ease;
  pointer-events: auto;
  z-index: 999;
}

.lightbox-close:hover {
  opacity: 1;
}

/* -------------------------------------------------------
   CURSOR FÜR BILDER IM CONTENT
------------------------------------------------------- */
.photo-img {
  cursor: zoom-in;
}

/* =========================================================
   ENTRY HEADER
   ========================================================= */
.entry-header {
  margin-bottom: calc(var(--space-xxl) + 3%);
  border-bottom: 1px solid var(--border);
}

/* =========================================================
   ENTRY CONTENT
   ========================================================= */
.entry-content-page {
  max-width: 900px;
  margin: 5% auto;
}

.entry-footer-page,
.entry-header-page {
  max-width: 1200px;
  margin: 0 auto;
}

.entry-header-single,
.entry-content-single,
.entry-footer-single {
  max-width: 900px;
  margin: 0 auto;
}

.entry-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: var(--font-size);
  line-height: 1.75;
  color: var(--text);
  border-radius: var(--radius);
  transition: box-shadow var(--transition), transform var(--transition);
}

.entry-content p {
  margin-bottom: calc(var(--space-xxl) * 2);
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin-top: var(--space-xxl);
  margin-bottom: var(--space-s);
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--accent-strong);
}

/* =========================================================
   ENTRY FOOTER
   ========================================================= */
.entry-footer {
  margin-top: var(--space-xxl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
  text-align: center;
}

.entry-footer-single {
  margin-top: var(--space-xxl);
  padding-top: var(--space-xl);
  text-align: center;
}

/* =========================================================
   TAGS
   ========================================================= */
.hero-tags a {
  padding: 0.125rem 1rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: calc(var(--font-size) * 0.85);
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.hero-tags a:hover {
  background: var(--accent-soft);
  box-shadow: 0 4px 12px var(--shadow-soft);
  color: var(--text);
}

/* -------------------------------------------------------
   SEARCH TOGGLE – ANDROVA VERSION (clean, modern, animated)
------------------------------------------------------- */
/* Container */
.site-search {
  position: relative;
}

/* Geschlossener Zustand */
.js .search-form {
  display: none;
  position: absolute;
  right: 0;
  top: 8px;
  padding: 1rem 1rem 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 4px 16px var(--shadow);
  visibility: hidden;
  z-index: 999;
}

/* Geöffneter Zustand */
.js .search-form.is-open {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* Mobile Optimierung */
@media (max-width: 1150px) {
  .js .search-form {
    position: relative;
    min-width: calc(100vw - 50px);
    margin-bottom: var(--space-xl);
    right: 0;
    top: 0;
  }
}
/* Toggle Button */
.search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 40px;
  height: 34px;
  color: var(--text);
  transition: background var(--transition), color var(--transition), border var(--transition);
}

.search-toggle:hover {
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border-color: var(--accent);
  color: var(--accent);
}

/* Input + Row */
.search-form .row {
  display: flex;
  align-items: center;
  gap: 0;
}

.search-input {
  flex: 1 1 auto;
  height: 40px;
  padding: 0 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: var(--font-size);
  color: var(--text);
  letter-spacing: var(--letterspacing);
  text-transform: uppercase;
  background: var(--surface-alt);
  transition: background var(--transition), border var(--transition);
}

/* SVG Icons */
.search-form .icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  pointer-events: none;
}

.search-input:hover,
.search-input:focus {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-color: var(--accent);
}

/* Submit Button */
.search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 40px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
}

.search-submit:hover {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-color: var(--accent);
}

/* Meta Text */
.search-form .meta {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Screenreader Text */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .search-form,
  .search-form.is-open {
    transition: none;
    transform: none;
  }
}
/**
 * _underline_hover.scss
 * @package core/components
 *
 * Unterstrichene Links mit Hover‑Effekt (Center → Außen).
 * Verwendet in: Footer-Links, Textlinks, Inline-Navigation, Header-Menü.
 *
 * Voraussetzungen:
 * - Variablen: --accent, --accent-strong, --accent-color, --accent-color-dark,
 *              --footer-text, --text-color, --text-color-dark, --transition
 */
/* ---------------------------------------------
   Basisstil für Links (Header + Footer)
--------------------------------------------- */
.site-header nav a,
.footer-card .widget p a {
  display: inline-block;
  position: relative;
  white-space: nowrap;
  color: var(--text-color);
  transition: var(--transition);
  line-height: clac(var(--font-size)2px);
}

/* ---------------------------------------------
   Unterstreichung (Start: Mitte)
--------------------------------------------- */
.site-header nav a::before,
.footer-card .widget p a::before {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-strong);
  transform: scaleX(0);
  transform-origin: center;
  transition: var(--transition);
}

/* Navigation stärker */
.site-header nav a::before {
  background-color: var(--accent-strong);
}

/* ---------------------------------------------
   Hover-Effekt
--------------------------------------------- */
.site-header nav a:hover::before,
.footer-card .widget p a:hover::before {
  transform: scaleX(1);
}

.site-header nav a:hover,
.footer-card .widget p a:hover {
  color: var(--accent-strong);
}

/* ---------------------------------------------
   ACTIVE MENÜPUNKTE – WordPress Klassen
--------------------------------------------- */
.site-header nav .current-menu-item > a,
.site-header nav .current-menu-parent > a,
.site-header nav .current-menu-ancestor > a,
.site-header nav .current_page_item > a,
.site-header nav .current_page_parent > a,
.site-header nav .current_page_ancestor > a {
  font-weight: 600;
}

.site-header nav .current-menu-item > a::before,
.site-header nav .current-menu-parent > a::before,
.site-header nav .current-menu-ancestor > a::before,
.site-header nav .current_page_item > a::before,
.site-header nav .current_page_parent > a::before,
.site-header nav .current_page_ancestor > a::before {
  transform: scaleX(1);
  background-color: var(--shot-accent);
}

/* ---------------------------------------------
   Dark Mode via :root.dark
--------------------------------------------- */
:root.dark .site-header nav a,
:root.dark .footer-card .widget p a {
  color: var(--text-color-dark);
}

:root.dark .site-header nav .current-menu-item > a,
:root.dark .site-header nav .current-menu-parent > a,
:root.dark .site-header nav .current-menu-ancestor > a,
:root.dark .site-header nav .current_page_item > a,
:root.dark .site-header nav .current_page_parent > a,
:root.dark .site-header nav .current_page_ancestor > a {
  color: var(--accent-color-dark);
}

/* ---------------------------------------------
   Letter-Spacing Fix
--------------------------------------------- */
.site-header nav a::after,
.footer-card .widget p a::after {
  content: attr(data-last);
  letter-spacing: 0;
  margin-left: -3px;
  visibility: hidden;
}

/* ============================================================
   WordPress Core Columns – Auto-Wrap Variante
   Basis: Core-CSS, angepasst für flexibles Umbrechen
   ============================================================ */
/* Base container */
.wp-block-columns {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--wp--style--block-gap, 2rem);
  align-items: normal;
  box-sizing: border-box;
}

/* Individual column */
.wp-block-column {
  flex: 1 1 0;
  min-width: 0;
  word-break: break-word;
  box-sizing: border-box;
}

/* First element spacing fix */
.wp-block-column > *:first-child {
  margin-top: 0;
}

/* Vertical alignment (container) */
.wp-block-columns.are-vertically-aligned-top {
  align-items: flex-start;
}

.wp-block-columns.are-vertically-aligned-center {
  align-items: center;
}

.wp-block-columns.are-vertically-aligned-bottom {
  align-items: flex-end;
}

/* Vertical alignment (individual column) */
.wp-block-column.is-vertically-aligned-top {
  align-self: flex-start;
}

.wp-block-column.is-vertically-aligned-center {
  align-self: center;
}

.wp-block-column.is-vertically-aligned-bottom {
  align-self: flex-end;
}

/* Horizontal justification */
.wp-block-columns.is-content-justification-left {
  justify-content: flex-start;
}

.wp-block-columns.is-content-justification-center {
  justify-content: center;
}

.wp-block-columns.is-content-justification-right {
  justify-content: flex-end;
}

.wp-block-columns.is-content-justification-space-between {
  justify-content: space-between;
}

/* Column count presets */
.wp-block-columns.has-2-columns > .wp-block-column {
  flex-basis: calc(50% - var(--wp--style--block-gap, 2rem) / 2);
}

.wp-block-columns.has-3-columns > .wp-block-column {
  flex-basis: calc(33.333% - var(--wp--style--block-gap, 2rem) * 2 / 3);
}

.wp-block-columns.has-4-columns > .wp-block-column {
  flex-basis: calc(25% - var(--wp--style--block-gap, 2rem) * 3 / 4);
}

/* Inline flex-basis override */
.wp-block-column[style*=flex-basis] {
  flex-grow: 0;
}

/* Full width */
.wp-block-columns.alignfull {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Wide width */
.wp-block-columns.alignwide {
  max-width: var(--wp--style--global--wide-size, 1200px);
  margin-left: auto;
  margin-right: auto;
}

/* Mobile stacking */
@media (max-width: 781px) {
  .wp-block-columns:not(.is-not-stacked-on-mobile) {
    flex-wrap: wrap;
  }
  .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: 100% !important;
  }
}
/* Prevent stacking */
.wp-block-columns.is-not-stacked-on-mobile {
  flex-wrap: nowrap;
}

/* -------------------------------------------------------
   RESPONSIVE FLEX GALLERY – 16:9 • proportional • modern
------------------------------------------------------- */
/* Galerie-Wrapper */
.wp-block-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0;
  justify-content: center;
  margin-bottom: var(--spacer-bottom);
}

/* Galerie-Item */
.wp-block-gallery .wp-block-image {
  margin: 0;
  padding: 0;
  overflow: hidden;
  /* responsive Breite */
  flex: 1 1 calc(33.333% - 1rem);
  /* funktionierendes Seitenverhältnis */
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (max-width: 600px) {
  .wp-block-gallery .wp-block-image {
    aspect-ratio: 21/9;
  }
}
/* Hover */
.wp-block-gallery .wp-block-image:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 32px -12px var(--shot-accent);
}

/* Bilder – proportional */
.wp-block-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain; /* nichts wird abgeschnitten */
  border-radius: 10px;
}

/* Letztes Bild an erster Stelle + 100% Breite + 16:9 */
.wp-block-gallery .wp-block-image:last-child {
  order: -1;
  flex: 1 1 100%;
  aspect-ratio: 16/9;
}

/* Caption im Bild unten + Fade-In */
.wp-block-gallery .wp-block-image {
  position: relative; /* wichtig für absolute Caption */
}

.wp-block-gallery .wp-block-image figcaption {
  position: absolute;
  left: 0;
  right: 0;
  padding: 0.3em;
  font-size: calc(var(--font-size) * 0.8);
  text-align: center;
  color: #fff;
  z-index: 2;
  border-radius: 0 0 10px 10px;
  opacity: 0; /* unsichtbar */
  transform: translateY(10px); /* leicht nach unten versetzt */
  transition: var(--transition);
  pointer-events: none; /* verhindert Klickblockade */
  background: linear-gradient(to top, rgb(0, 0, 0) 10%, rgba(0, 0, 0, 0) 100%);
}

/* Fade-In bei Hover */
.wp-block-gallery .wp-block-image:hover figcaption {
  opacity: 1;
}

/* Gradient-Overlay für bessere Lesbarkeit */
.wp-block-gallery .wp-block-image {
  position: relative;
  overflow: hidden;
}

/* Overlay: unsichtbar im Normalzustand */
.wp-block-gallery .wp-block-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
  opacity: 0; /* unsichtbar */
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1; /* unter der Caption */
}

/* Overlay wird erst bei Hover sichtbar */
.wp-block-gallery .wp-block-image:hover::after {
  opacity: 1;
}

/* -------------------------------------------------------
   RESPONSIVE BREAKPOINTS
------------------------------------------------------- */
/* Tablet */
@media (max-width: 900px) {
  .wp-block-gallery .wp-block-image {
    flex: 1 1 calc(50% - 1rem);
  }
}
/* Handy */
@media (max-width: 600px) {
  .wp-block-gallery .wp-block-image {
    flex: 1 1 100%;
  }
}
/* Darkmode */
@media (prefers-color-scheme: dark) {
  .wp-block-gallery .wp-block-image {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  }
  .wp-block-gallery .wp-block-image:hover {
    box-shadow: 0 0 32px -12px var(--shot-accent);
  }
  .wp-block-gallery .wp-block-image figcaption {
    background: rgba(0, 0, 0, 0.65);
    color: #eaeaea;
  }
}
.entry-content img, .wp-block-image img, .wp-block-cover__image-background, .wp-block-cover img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 0;
  background: none;
  transition: none;
}

.wp-block-image {
  margin-bottom: var(--spacer-bottom);
  text-align: center;
  position: relative;
}

.wp-block-image img {
  border-radius: var(--radius);
  transition: var(--transition);
}

.wp-block-image img:hover {
  transform: translateY(0px);
  box-shadow: 0 0 32px -12px var(--shot-accent);
}

.wp-block-image figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6em;
  font-size: calc(var(--font-size) * 0.8);
  text-align: center;
  color: #fff;
  z-index: 2;
  border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0;
  transform: translateY(0);
  transition: var(--transition);
  pointer-events: none;
  background: linear-gradient(to top, rgb(0, 0, 0) 10%, rgba(0, 0, 0, 0) 100%);
}

.wp-block-image:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.wp-block-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
  z-index: 1;
  border-radius: 0 0 var(--radius) var(--radius);
}

.wp-block-image:hover::after {
  opacity: 1;
}

.wp-block-cover {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  margin: 2rem 0;
}

.wp-block-cover__image-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.photo-img {
  cursor: zoom-in;
}

@media (prefers-color-scheme: dark) {
  .wp-block-image figcaption {
    color: #eaeaea;
  }
}
/* ============================================================
   WordPress Block: Quote
   Vollständige CSS-Implementierung (neu geschrieben)
   ============================================================ */
/* ------------------------------------------------------------
   Grundlayout des Quote-Blocks
   ------------------------------------------------------------ */
.wp-block-quote {
  margin-bottom: var(--spacer-bottom);
  padding-left: 1em;
  border-left: 4px solid var(--shot-accent);
  box-sizing: border-box;
  margin-left: 1rem;
}

/* Absatz im Zitat */
.wp-block-quote p {
  margin: 1em 0;
  font-style: italic;
}

/* Quelle / Footer */
.wp-block-quote cite,
.wp-block-quote footer {
  display: block;
  margin-top: 0.5em;
  font-size: 0.875em;
  color: #555;
  font-style: normal;
}

/* ------------------------------------------------------------
   Alignment-Varianten
   ------------------------------------------------------------ */
/* Rechts ausgerichtetes Zitat */
.wp-block-quote.has-text-align-right {
  border-left: none;
  border-right: 4px solid #ccc;
  padding-left: 0;
  padding-right: 1em;
}

/* Zentriertes Zitat */
.wp-block-quote.has-text-align-center {
  border-left: none;
  padding-left: 0;
  padding-right: 0;
}

/* ------------------------------------------------------------
   Layout Flow (Gutenberg Layout Engine)
   ------------------------------------------------------------ */
.is-layout-flow,
.wp-block-quote-is-layout-flow {
  display: block;
}

/* ------------------------------------------------------------
   Block Gap Support
   ------------------------------------------------------------ */
.wp-block-quote > * + * {
  margin-top: var(--wp--style--block-gap, 1.5rem);
}

/* ------------------------------------------------------------
   Edge Case: Verschachtelte Quotes
   ------------------------------------------------------------ */
.wp-block-quote .wp-block-quote {
  margin-top: 1.5em;
  border-color: #ddd;
}

/* ------------------------------------------------------------
   Edge Case: Quote in Full/Wide Align Containern
   ------------------------------------------------------------ */
.wp-block-quote.alignwide,
.wp-block-quote.alignfull {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* ============================================================
   WordPress Block: Social Links
   Vollständige Original-CSS-Implementierung (Core)
   ============================================================ */
/* Social Links wrapper */
.wp-block-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  padding-left: 0;
  list-style: none;
}

/* Layout engine (Gutenberg) */
.wp-block-social-links.is-layout-flex,
.wp-block-social-links.wp-block-social-links-is-layout-flex {
  display: flex;
  padding: 0;
  margin: 0;
}

/* Individual icon item */
.wp-block-social-links .wp-social-link {
  display: flex;
  width: 2.25em;
  height: 2.25em;
  text-decoration: none;
  transition: transform 0.1s ease;
}

/* Icon SVG */
.wp-block-social-links .wp-social-link svg {
  width: 2.25em;
  height: 2.25em;
  fill: currentColor;
}

/* Hover effect */
.wp-block-social-links .wp-social-link:hover {
  transform: scale(1.1);
}

/* Default icon color */
.wp-block-social-links .wp-social-link {
  color: #fff;
}

/* Default background color */
/* Brand colors (WordPress Core) */
.wp-social-link-facebook {
  background-color: #1877f2;
}

.wp-social-link-twitter {
  background-color: #1da1f2;
}

.wp-social-link-instagram {
  background-color: #e4405f;
}

.wp-social-link-youtube {
  background-color: #ff0000;
}

.wp-social-link-linkedin {
  background-color: #0077b5;
}

.wp-social-link-pinterest {
  background-color: #bd081c;
}

.wp-social-link-tiktok {
  background-color: #000000;
}

.wp-social-link-reddit {
  background-color: #ff4500;
}

.wp-social-link-github {
  background-color: #333;
}

.wp-social-link-wordpress {
  background-color: #21759b;
}

/* Icon color override for light backgrounds */
.wp-block-social-links .wp-social-link.has-background {
  color: inherit;
  border: 1px solid red;
}

/* Spacing for vertical lists */
.wp-block-social-links.is-style-logos-only .wp-social-link {
  background: none;
  width: auto;
  height: auto;
  padding: 0;
  border: 1px solid red;
}

.wp-block-social-links.is-style-logos-only .wp-social-link svg {
  width: 1.5em;
  height: 1.5em;
}

/* Pill style */
.wp-block-social-links.is-style-pill-shape .wp-social-link {
  padding: 0.5em 1em;
  width: auto;
  height: auto;
}

/* Justification */
.wp-block-social-links.is-content-justification-left {
  justify-content: flex-start;
}

.wp-block-social-links.is-content-justification-center {
  justify-content: center;
}

.wp-block-social-links.is-content-justification-right {
  justify-content: flex-end;
}

.wp-block-social-links.is-content-justification-space-between {
  justify-content: space-between;
}

/* -------------------------------------------------------
   Grundstruktur
------------------------------------------------------- */
.wp-block-table {
  width: 100%;
  padding: var(--space-xl) 0;
  margin: 0 auto;
  margin-bottom: var(--spacer-bottom);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.wp-block-table table {
  width: 100%;
  min-width: calc(100% - 15px);
  border-collapse: collapse;
  table-layout: auto;
}

/* -------------------------------------------------------
   THEAD
------------------------------------------------------- */
.wp-block-table thead {
  background-color: var(--surface);
  border-bottom: 3px solid var(--shot-accent);
}

.wp-block-table thead th {
  font-weight: 700;
  color: var(--text);
  text-align: left;
}

/* -------------------------------------------------------
   TFOOT
------------------------------------------------------- */
.wp-block-table tfoot td,
.wp-block-table tfoot th {
  font-weight: 600;
  color: var(--text);
}

.wp-block-table tfoot td {
  background-color: var(--bg);
}

.wp-block-table tfoot:last-child {
  border-bottom: 2px solid var(--shot-accent);
}

/* -------------------------------------------------------
   ZELLEN
------------------------------------------------------- */
.wp-block-table td,
.wp-block-table th {
  padding: var(--space-m) var(--space-xxl);
  text-align: left;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.wp-block-table td:first-child,
.wp-block-table th:first-child {
  white-space: nowrap;
  padding-right: 20px;
}

/* -------------------------------------------------------
   ZEBRA-STREIFEN
------------------------------------------------------- */
.wp-block-table tbody tr:nth-child(odd) {
  background-color: color-mix(in srgb, var(--surface-alt) 60%, transparent);
}

.wp-block-table tbody tr:nth-child(even) {
  background-color: color-mix(in srgb, var(--surface) 70%, transparent);
}

/* -------------------------------------------------------
   HOVER (Transition rein + raus)
------------------------------------------------------- */
.wp-block-table tbody tr {
  transition: background-color var(--transition), color var(--transition);
}

.wp-block-table tbody tr:hover {
  background-color: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--text);
}

/* -------------------------------------------------------
   LETZTE ZEILE (nur ohne tfoot)
------------------------------------------------------- */
.wp-block-table:not(:has(tfoot)) tbody tr:last-child td {
  border-bottom: 2px solid var(--shot-accent);
}

/* -------------------------------------------------------
   CAPTION
------------------------------------------------------- */
.wp-block-table .wp-element-caption {
  display: block;
  padding: var(--space-s) 0;
  font-size: calc(var(--font-size) * 0.8);
  color: var(--text-muted);
  text-align: right;
}

/* -------------------------------------------------------
   Moderne WordPress Listen – alle Tiefen berücksichtigt
------------------------------------------------------- */
/* Grundstruktur für UL & OL */
.entry-content ul,
.entry-content ol {
  margin-left: 3rem;
  margin-bottom: var(--spacer-bottom);
  padding: 0;
  line-height: 1.6;
}

/* UL Marker */
.entry-content ul {
  list-style-type: disc;
}

/* OL Marker */
.entry-content ol {
  list-style-type: decimal;
}

/* Listenelemente */
.entry-content li {
  margin: 0.2rem 0;
  padding-left: 0.2rem;
}

/* Verschachtelte Listen – alle Tiefen */
.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul {
  margin: 0.4rem 0 0.4rem 1.2rem; /* kleiner Innenabstand */
  padding: 0;
}

/* Verschachtelte UL Marker */
.entry-content ul ul {
  list-style-type: circle;
}

.entry-content ul ul ul {
  list-style-type: square;
}

/* Verschachtelte OL Marker */
.entry-content ol ol {
  list-style-type: lower-alpha;
}

.entry-content ol ol ol {
  list-style-type: lower-roman;
}

/* Marker-Styling */
.entry-content ul li::marker {
  color: var(--shot-accent);
  font-size: 1.1em;
}

.entry-content ol li::marker {
  color: var(--shot-accent);
  font-weight: 600;
}

/* Tiefe Marker-Farben */
.entry-content ul ul li::marker,
.entry-content ol ol li::marker {
  color: var(--shot-accent);
}

.entry-content ul ul ul li::marker,
.entry-content ol ol ol li::marker {
  color: var(--shot-accent);
}

/* -------------------------------------------------------
   WP Details Block – modern, clean, smooth
------------------------------------------------------- */
.wp-block-details {
  margin-bottom: var(--spacer-bottom);
  padding: 0;
  border-radius: var(--radius);
  background: var(--bg-soft, #f7f7f7);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

/* Summary */
.wp-block-details summary {
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

/* Pfeil */
.wp-block-details summary::after {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid var(--shot-accent);
  border-bottom: 2px solid var(--shot-accent);
  transform: rotate(45deg);
  transition: var(--transition);
  margin-left: auto;
}

/* Pfeil rotiert bei open */
.wp-block-details[open] summary::after {
  transform: rotate(225deg);
}

/* Inhalt */
.wp-block-details > div,
.wp-block-details > p,
.wp-block-details > *:not(summary) {
  padding: 1rem 1.2rem;
  font-size: var(--font-size);
  line-height: 1.6;
  color: var(--text-color, #333);
  animation: detailsFade 0.3s ease;
}

/* Animation */
@keyframes detailsFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Hover-Effekt */
.wp-block-details summary:hover {
  background: var(--bg);
}

.wp-block-details > p {
  padding: 1.2rem;
  margin: 0;
}

/* Darkmode */
@media (prefers-color-scheme: dark) {
  .wp-block-details {
    background: #222;
    border-color: #444;
  }
  .wp-block-details summary {
    color: #ddd;
  }
  .wp-block-details summary::after {
    border-color: #ddd;
  }
  .wp-block-details > *:not(summary) {
    color: #ccc;
  }
}
/* -------------------------------------------------
   1) Kommentar-Container & Grundlayout
---------------------------------------------------*/
.avd-comment {
  display: block;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

.avd-comment-card {
  width: 100%;
}

/* -------------------------------------------------
   2) Formularfelder (Input, Textarea, Label)
---------------------------------------------------*/
.avd-comment-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin-bottom: var(--space-xxl);
}

/* FLEXIBLE, aber gleich groß */
.avd-comment-field input {
  max-height: 60px;
  height: auto;
}

.avd-comment-field textarea {
  height: 200px;
  max-height: 200px;
  resize: vertical;
}

/* Overflow-sicher */
.avd-comment-field input,
.avd-comment-field textarea {
  width: 100%;
  padding: var(--space-xxl);
  border-radius: var(--radius);
  background-color: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-strong);
  transition: var(--transition);
  margin-bottom: 0;
  font-size: var(--font-size);
  color: var(--text);
  box-sizing: border-box;
}

/* Floating Label */
.avd-comment-field input:focus,
.avd-comment-field input:not(:placeholder-shown) {
  padding-top: calc(var(--space-xxl) + 15px);
}

.avd-comment-field textarea:focus,
.avd-comment-field textarea:not(:placeholder-shown) {
  padding-top: calc(var(--space-xxl) + 5px);
}

.avd-comment-field label {
  position: absolute;
  left: var(--space-xxl);
  top: calc(var(--space-xxl) - 2px);
  pointer-events: none;
  transition: var(--transition);
}

.avd-comment-field input:focus + label,
.avd-comment-field textarea:focus + label,
.avd-comment-field input:not(:placeholder-shown) + label,
.avd-comment-field textarea:not(:placeholder-shown) + label {
  top: calc(var(--space-s) * 1.2);
  font-size: calc(var(--font-size) * 0.8);
  color: var(--shot-accent);
  opacity: 1;
}

/* Hover + Focus */
.avd-comment-field input:hover,
.avd-comment-field textarea:hover {
  border: 1px solid var(--accent);
  cursor: text;
}

.avd-comment-field input:focus,
.avd-comment-field textarea:focus,
.avd-comment-field input:active,
.avd-comment-field textarea:active {
  border-color: var(--accent);
  outline: none;
}

/* -------------------------------------------------
   3) Formular-Layout (Name, Multi, Submit)
---------------------------------------------------*/
.avd-comment-row {
  display: flex;
  gap: 1rem;
}

.avd-comment-row--name .avd-comment-field {
  flex: 1;
}

.avd-comment-submit {
  margin-top: 15px;
}

@media (max-width: 560px) {
  .avd-comment-row {
    flex-direction: column;
    gap: 0;
  }
}
.avd-comment-row--multi {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.avd-comment-row--multi .avd-comment-field {
  flex: 1;
}

@media (max-width: 768px) {
  .avd-comment-row--multi {
    flex-direction: column;
    gap: 0;
  }
}
/* -------------------------------------------------
   4) Datenschutz-Block
---------------------------------------------------*/
.avd-comment-privacy {
  cursor: pointer;
  transition: var(--transition);
}

.avd-comment-privacy summary {
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  outline: none;
  margin-left: 5px;
}

.avd-comment-privacy[open] summary {
  color: var(--accent);
}

.avd-comment-privacy p {
  margin-bottom: var(--space-xl);
  line-height: 1.6;
  color: var(--text);
}

.avd-comment-privacy a {
  color: var(--accent);
  text-decoration: none;
}

.avd-comment-privacy a:hover {
  opacity: 0.8;
}

/* -------------------------------------------------
   5) Kommentar-Header
---------------------------------------------------*/
.avd-comment-header {
  margin: calc(var(--space-xxl) * 2) 0 calc(var(--space-xxl) * 2);
  padding-bottom: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.avd-comment-title {
  font-family: var(--font-headings);
  font-size: calc(var(--font-size) * 1.4);
  font-weight: 600;
  color: var(--accent-strong);
  letter-spacing: 0.5px;
  margin: 0 auto;
  padding: 0;
  display: inline-block;
  position: relative;
}

.avd-comment-title::after {
  content: "";
  display: block;
  width: 75px;
  height: 3px;
  background: var(--accent);
  margin-top: var(--space-l);
  border-radius: var(--radius);
}

/* -------------------------------------------------
   6) Kommentar-Liste (LI neutralisieren + Layout)
---------------------------------------------------*/
.avd-comment-list > li,
.avd-comment-list li {
  margin: 0;
  padding: 0;
  list-style: none;
  display: block;
}

.avd-comment-inner {
  margin: 10px 0;
}

.avd-comment-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* -------------------------------------------------
   7) Kommentar-Inhalt (Avatar, Name, Zeit, Text)
---------------------------------------------------*/
.avd-comment-author {
  display: flex;
  align-items: center;
  gap: var(--space-l);
  margin-bottom: var(--space-xl);
}

.avd-comment-avatar {
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--accent);
}

.avd-comment-author-name {
  color: var(--text);
}

.avd-comment-time {
  font-size: var(--font-size);
  color: var(--text-muted);
  margin-bottom: var(--space-m);
}

.avd-comment-content {
  font-size: var(--font-size);
  line-height: 1.6;
  color: var(--text);
  margin-bottom: var(--space-l);
}

.avd-comment-actions {
  display: flex;
  gap: var(--space-l);
}

.avd-comment-actions a {
  font-size: calc(var(--font-size) * 0.9);
  color: var(--accent);
  text-decoration: none;
  transition: opacity var(--transition);
}

.avd-comment-actions a:hover {
  opacity: 0.7;
}

/* -------------------------------------------------
   8) Meta-Row & Reply-Info
---------------------------------------------------*/
.avd-comment-meta-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: calc(var(--font-size) * 0.9);
  color: var(--text);
  margin-bottom: var(--space-m);
  border-bottom: 1px solid var(--shot-accent);
}

.avd-reply-info {
  background: var(--accent-soft);
  padding: 10px 14px;
  border-left: 3px solid var(--accent);
  margin: var(--space-l) 0;
  font-size: var(--font-size);
  border-radius: var(--radius);
}

.avd-reply-btn {
  display: inline-flex;
  padding: 0.25em 0.75em;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.avd-reply-btn:hover {
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border-color: var(--accent);
  color: var(--text);
  transition: var(--transition);
}

.avd-comment .avd-comment-card {
  margin: 20px 0;
}

/* -------------------------------------------------
   9) Topnote
---------------------------------------------------*/
.avd-topnote {
  position: fixed;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: 90%;
  padding: 16px 28px;
  z-index: 9999999999;
  background: rgba(160, 230, 185, 0.95);
  color: #1f3f1f;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  font-size: var(--font-size);
  line-height: 1.45;
  text-align: center;
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: top 0.55s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.55s ease-out;
}

.avd-topnote--show {
  top: 50px;
  opacity: 1;
}

/* -------------------------------------------------
   10) Thread-Einrückung (transform)
---------------------------------------------------*/
.depth-1 .avd-comment-item {
  transform: translateX(var(--depth-1-indent));
}

.depth-2 .avd-comment-item {
  transform: translateX(var(--depth-2-indent));
}

.depth-3 .avd-comment-item {
  transform: translateX(var(--depth-3-indent));
}

.depth-4 .avd-comment-item {
  transform: translateX(var(--depth-4-indent));
}

.depth-5 .avd-comment-item {
  transform: translateX(var(--depth-5-indent));
}

.depth-6 .avd-comment-item {
  transform: translateX(var(--depth-6-indent));
}

/* -------------------------------------------------
   11) Thread-Farben (Hintergrund je Tiefe)
---------------------------------------------------*/
.depth-1 .avd-comment-inner {
  background: var(--depth-1-bg);
}

.depth-2 .avd-comment-inner {
  background: var(--depth-2-bg);
}

.depth-3 .avd-comment-inner {
  background: var(--depth-3-bg);
}

.depth-4 .avd-comment-inner {
  background: var(--depth-4-bg);
}

.depth-5 .avd-comment-inner {
  background: var(--depth-5-bg);
}

.depth-6 .avd-comment-inner {
  background: var(--depth-6-bg);
}

/* -------------------------------------------------
   12) Kommentar-Karte (Box)
---------------------------------------------------*/
.avd-comment-item {
  width: 100%;
}

.depth-1 .avd-comment-inner,
.depth-2 .avd-comment-inner,
.depth-3 .avd-comment-inner,
.depth-4 .avd-comment-inner,
.depth-5 .avd-comment-inner,
.depth-6 .avd-comment-inner {
  padding: var(--space-xxl);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.avd-comment-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin: 2.5rem 0;
  flex-wrap: wrap;
}

/*
.avd-page-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: calc(var(--font-size) * 0.9);
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  transition:
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.avd-page-btn:hover {
  background: var(--accent-soft);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.avd-page-info {
  font-size: calc(var(--font-size) * 0.9);
  opacity: 0.7;
  padding: 0 0.4rem;
}

.avd-page-prev,
.avd-page-next {
  font-size: calc(var(--font-size) * 1.1);
}

*/
/* -------------------------------------------------------
   Related Post
------------------------------------------------------- */
.relatad-posts {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  padding: var(--space-xxl) 0;
}

.relatad-posts__heading {
  margin: 0 0 4px var(--space-s);
  font-weight: 700;
  line-height: 1.15;
}

.relatad-posts__grid {
  display: grid;
  align-items: stretch;
  gap: 32px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: var(--space-xl);
}

.relatad-posts__item {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), var(--rp-bg));
  transition: transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 220ms ease, border-color 160ms ease;
}

.relatad-posts__link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.relatad-posts__thumb {
  flex-shrink: 0;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.relatad-posts__thumb--img {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.relatad-posts__thumb--img .relatad-posts__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.relatad-posts__thumb--placeholder {
  background-color: #efefef;
  background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.02) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.02) 50%);
  background-size: 14px 14px;
}

.relatad-posts__meta {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 0.9rem;
  gap: 0.4rem;
}

@media (max-width: 1080px) {
  .relatad-posts__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .relatad-posts__item {
    min-height: 240px;
  }
}
@media (max-width: 560px) {
  .relatad-posts__grid {
    grid-template-columns: 1fr;
  }
  .relatad-posts__thumb {
    padding-bottom: 62%;
  }
  .relatad-posts__meta {
    padding: 0.85rem;
  }
  .relatad-posts__title {
    -webkit-line-clamp: 2;
  }
}
.relatad-posts__img,
.relatad-posts__thumb,
.relatad-posts__thumb--img,
.relatad-posts__thumb--placeholder {
  display: block !important;
  min-height: 56px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@media (prefers-reduced-motion: reduce) {
  .relatad-posts__item,
  .relatad-posts__link {
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
  }
}
/* -------------------------------------------------------
   Image Cards
------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.card {
  display: flex;
  flex-direction: column;
  flex: 0 1 auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  box-shadow: 0 0 18px 0 var(--shadow-strong);
}

.card-thumb {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-bottom: 3px solid var(--accent);
  box-shadow: var(--shadow);
}

.card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -o-object-fit: cover;
}

.card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: var(--space-xl);
}

.card-title {
  font-size: calc(var(--font-size) * 1.2);
}

.card-title a {
  text-decoration: none;
}

.card-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 5px;
  margin-bottom: 15px;
  font-size: calc(var(--font-size) * 0.9);
  line-height: 1.5;
  color: var(--text);
}

.card-content p {
  margin: 0;
  padding: 0;
}

.card-content h2 {
  margin: 0;
  padding: 0;
}

.card-content h4 {
  margin: 0;
  padding: 0;
}

.card-content .btn {
  margin-top: auto;
}

@media (max-width: 1280px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .card {
    border-radius: 0;
  }
  .cards {
    grid-template-columns: 1fr;
  }
}
/* --- Grundlayout --- */
.post-nav {
  margin: 5rem 0;
}

.post-nav__content {
  display: flex;
  gap: 1rem;
}

.post-nav__item {
  flex: 1 1 0;
}

/* --- Linkbox --- */
.post-nav__link {
  display: flex;
  width: 100%;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  background: var(--bg);
  transition: transform var(--transition), box-shadow var(--transition);
}

/* Prev bleibt links */
.post-nav__item--prev .post-nav__link {
  justify-content: flex-start;
  text-align: left;
}

/* Next bleibt rechts */
.post-nav__item--next .post-nav__link {
  justify-content: flex-end;
  text-align: right;
}

/* --- Inhalt (keycap + text) --- */
.post-nav__content {
  display: flex;
  align-items: center;
  width: 100%;
}

/* --- Keycap (Pfeil) --- */
.keycap_side {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 100%;
  transition: var(--transition);
}

.keycap_side.prev {
  border-right: 1px solid var(--border);
  border-radius: var(--radius) 0 0 var(--radius);
}

.keycap_side.next {
  border-left: 1px solid var(--border);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.keycap {
  font-family: monospace;
  font-size: 2em;
  transition: var(--transition);
}

/* --- Text --- */
.post-nav__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 1.5rem 0.25em;
}

.post-nav__label {
  font-size: 0.8em;
  color: var(--text-muted);
}

.post-nav__title {
  font-weight: 600;
  color: var(--text);
  margin-top: 0.125em;
}

/* --- Hover / Focus --- */
.post-nav__link:hover,
.post-nav__link:focus {
  box-shadow: 15px 25px 50px var(--shadow-strong);
  outline: 0;
}

.post-nav__link:hover .keycap_side,
.post-nav__link:focus .keycap_side {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 768px) {
  /* Prev / Next untereinander */
  .post-nav > .post-nav__content {
    flex-direction: column;
    gap: 10px;
  }
  /* Beide Items sollen 100% Breite haben */
  .post-nav__item {
    width: 100%;
  }
  /* Linkboxen bleiben horizontal wie Desktop */
  .post-nav__link {
    flex-direction: row;
    width: 100%;
  }
  /* Inneres Layout bleibt horizontal → Keycap links/rechts */
  .post-nav__link .post-nav__content {
    flex-direction: row;
  }
  /* Text kompakter */
  .post-nav__text {
    padding: 0.75em 0.25em; /* kompakter als vorher */
  }
  .post-nav__label {
    font-size: 0.75em; /* etwas kleiner */
  }
  .post-nav__title {
    font-size: 0.95em; /* kompakter, aber gut lesbar */
    margin-top: 0.3em; /* weniger Abstand */
  }
}
/* --------------------------------------------------------------------------
   Post Meta – Kategorien & Meta-Icons
   --------------------------------------------------------------------------
   Struktur:
   - Icons: Einheitliche Größe & vertikale Ausrichtung
   - Category Wrapper: Flex-Layout für Kategorienliste
   - Category Links: Interaktive Badges mit Border, Radius & Transition
   - Hover: Akzentuierte Hervorhebung bei Interaktion
   - Mobile: Reduzierte Abstände, vertikale Meta-Ausrichtung
   - Reduced Motion: Deaktivierte Transition für Nutzerwunsch
   --------------------------------------------------------------------------
   Features:
   - Flexibles, responsives Kategorien-Layout
   - Sanfte Hover-Transitions via var(--transition)
   - Einheitliche Icon-Darstellung (16px)
   - Barrierefreie Motion-Reduktion
   -------------------------------------------------------------------------- */
/* ---------------------------------------------
   ICONS
--------------------------------------------- */
.meta-item .icon {
  width: 16px;
  height: 16px;
  vertical-align: -0.175rem;
  fill: currentColor;
}

/* ---------------------------------------------
   CATEGORY WRAPPER
--------------------------------------------- */
.post-categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

/* ---------------------------------------------
   CATEGORY LINKS
--------------------------------------------- */
.post-categories a {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.5rem;
  margin: 5px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: calc(var(--font-size) * 0.85);
  text-decoration: none;
  color: var(--text-muted);
  background: var(--bg);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

/* ---------------------------------------------
   HOVER
--------------------------------------------- */
.post-categories a:hover {
  background: var(--accent-soft);
  color: var(--text);
}

/* ---------------------------------------------
   MOBILE
--------------------------------------------- */
@media (max-width: 420px) {
  .post-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .post-categories {
    gap: 0.375rem;
  }
  .post-meta .meta-item + .meta-item::before {
    display: none;
  }
}
/* ---------------------------------------------
   REDUCED MOTION
--------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .post-categories a,
  .post-meta .meta-item {
    transition: none !important;
  }
}
/* ---------------------------------------------------------
   Accordion Container (rechts, 50%, mobil 100%)
--------------------------------------------------------- */
.ima-accordion {
  width: calc(50% - 10px);
  margin-left: auto;
  margin-right: 0;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: var(--font-size);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
}

@media (max-width: 960px) {
  .ima-accordion {
    width: 100%;
  }
}
/* ---------------------------------------------------------
   DETAILS – Höhenanimation (sichtbar + smooth)
--------------------------------------------------------- */
.ima-item {
  overflow: hidden;
  max-height: 3.4rem; /* Höhe des summary */
  transition: max-height 0.35s ease;
}

details[open].ima-item {
  max-height: 500px; /* ausreichend groß */
}

/* ---------------------------------------------------------
   Toggle (Titel + Icon)
--------------------------------------------------------- */
.ima-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  list-style: none;
  border-bottom: 1px solid var(--border);
}

.ima-toggle::-webkit-details-marker {
  display: none;
}

.ima-toggle::after {
  content: "+";
  transition: transform var(--transition);
}

details[open] .ima-toggle::after {
  content: "–";
  transform: rotate(180deg);
}

/* ---------------------------------------------------------
   Inhalt – Fade + Slide Animation
--------------------------------------------------------- */
@keyframes imaContentOpen {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes imaContentClose {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-6px);
  }
}
.ima-content {
  padding: 0.5rem;
  display: block;
  opacity: 0;
  transform: translateY(-6px);
  animation: imaContentClose 0.25s ease forwards;
  will-change: opacity, transform;
}

details[open] .ima-content {
  animation: imaContentOpen 0.35s ease forwards;
}

/* ---------------------------------------------------------
   Links
--------------------------------------------------------- */
.ima-content a {
  display: block;
  color: var(--text);
  text-decoration: none;
  line-height: 1.7;
  transition: var(--transition);
  border-radius: var(--radius);
}

.ima-content a:hover {
  color: var(--footer-text);
  background: var(--blog-detail-primary);
}

/* ---------------------------------------------------------
   Einrückungen
--------------------------------------------------------- */
.ima-content .toc-level-1 {
  padding-left: 0;
}

.ima-content .toc-level-2 {
  padding-left: 0.75rem;
}

.ima-content .toc-level-3 {
  padding-left: 1.5rem;
}

.ima-content .toc-level-4 {
  padding-left: 2.25rem;
}

.ima-content .toc-level-5 {
  padding-left: 3rem;
}

.ima-content .toc-level-6 {
  padding-left: 3.75rem;
}

.to-top {
  position: fixed;
  right: 50px;
  bottom: 75px;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: var(--card-bg);
  color: var(--footer-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(var(--font-size) * 1.1);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 999;
  box-shadow: 0 4px 18px var(--shadow);
}

.to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.to-top:hover {
  transform: translateY(-3px);
}

/* Progress-Ring */
.to-top::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: conic-gradient(var(--shot-accent) var(--progress, 0%), color-mix(in srgb, var(--accent) 20%, transparent) 0%);
  /* Ring-Maske: schneidet die Mitte raus, lässt nur den Rand */
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 2px));
}

@media (max-width: 1920px) {
  .to-top {
    right: 40px;
    bottom: 80px;
    width: 45px;
    height: 45px;
    font-size: calc(var(--font-size) * 0.8);
  }
}
@media (max-width: 1024px) {
  .to-top {
    display: none;
  }
}
.avd-form {
  display: block;
  max-width: 100%;
  width: 100%;
  margin: 15% auto;
}

.avd-form-card {
  width: 100%;
}

.avd-form-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin-bottom: var(--space-xxl);
}

.avd-form-qa-question {
  font-weight: 100;
}

.avd-form-field:has(.avd-form-qa-row) {
  margin-bottom: 5px;
}

.avd-form-field input {
  height: auto;
  max-height: 60px;
}

.avd-form-field textarea {
  height: 200px;
  max-height: 200px;
  resize: vertical;
}

.avd-form-field input,
.avd-form-field textarea {
  width: 100%;
  padding: var(--space-xxl);
  border-radius: var(--radius);
  background-color: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-strong);
  transition: var(--transition);
  margin-bottom: 0;
  font-size: var(--font-size);
  color: var(--text);
  box-sizing: border-box;
}

.avd-form-field input:focus,
.avd-form-field input:not(:placeholder-shown) {
  padding-top: calc(var(--space-xxl) + 15px);
}

.avd-form-field textarea:focus,
.avd-form-field textarea:not(:placeholder-shown) {
  padding-top: calc(var(--space-xxl) + 5px);
}

.avd-form-field label {
  position: absolute;
  left: var(--space-xxl);
  top: calc(var(--space-xxl) - 2px);
  pointer-events: none;
  transition: var(--transition);
}

.avd-form-field input:focus + label,
.avd-form-field textarea:focus + label,
.avd-form-field input:not(:placeholder-shown) + label,
.avd-form-field textarea:not(:placeholder-shown) + label {
  top: calc(var(--space-s) * 1.2);
  font-size: calc(var(--font-size) * 0.8);
  color: var(--shot-accent);
  opacity: 1;
}

.avd-form-field input:hover,
.avd-form-field textarea:hover {
  border: 1px solid var(--accent);
  cursor: text;
}

.avd-form-field input:focus,
.avd-form-field textarea:focus,
.avd-form-field input:active,
.avd-form-field textarea:active {
  border-color: var(--accent);
  outline: none;
}

.avd-form-row {
  display: flex;
  gap: 1rem;
}

.avd-form-row--name .avd-form-field {
  flex: 1;
}

.avd-form-qa-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.avd-form-honeypot {
  display: none;
}

.avd-form-space {
  margin: 0 5px 0;
}

.avd-form-submit {
  margin-top: 20px;
}

@media (max-width: 560px) {
  .avd-form-row {
    flex-direction: column;
    gap: 0;
  }
  .avd-form {
    margin: 0 auto;
  }
}
.avd-form-success,
.avd-form-error {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.avd-form-success {
  background: var(--tip);
  color: #fff;
}

.avd-form-error {
  background: var(--danger);
  color: #fff;
}

input[type=checkbox] {
  accent-color: var(--shot-accent);
}

:root {
  --code-bg: rgba(111,111,111,0.25);
  --code-border: rgb(111,111,111);
  --code-bg-standard: rgba(255,255,255,0.5);
  --code-border-standard: rgb(255,255,255);
  --code-bg-tipp: rgba(0,204,102,0.25);
  --code-border-tipp: rgb(0,204,102);
  --code-bg-hinweis: rgba(50,153,255,0.25);
  --code-border-hinweis: rgb(50,153,255);
  --code-bg-warnung: rgba(255,153,0,0.25);
  --code-border-warnung: rgb(255,153,0);
  --code-bg-achtung: rgba(204,51,0,0.25);
  --code-border-achtung: rgb(204,51,0);
  --code-line-even: rgba(255,255,255,0.6);
  --code-line-odd: rgba(255,255,255,0.8);
}

:root.dark {
  --code-bg: rgba(255,255,255,0);
  --code-border: rgb(180,180,180);
  --code-bg-standard: rgba(255,255,255,0.12);
  --code-border-standard: rgb(220,220,220);
  --code-bg-tipp: rgba(0,204,102,0.22);
  --code-border-tipp: rgb(0,204,102);
  --code-bg-hinweis: rgba(50,153,255,0.22);
  --code-border-hinweis: rgb(50,153,255);
  --code-bg-warnung: rgba(255,153,0,0.22);
  --code-border-warnung: rgb(255,153,0);
  --code-bg-achtung: rgba(204,51,0,0.22);
  --code-border-achtung: rgb(204,51,0);
  --code-line-even: rgba(255,255,255,0.3);
  --code-line-odd: rgba(255,255,255,0.1);
}

code {
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: var(--font-size);
  line-height: 1.6;
  background: 0;
  padding: 0;
}

pre.wp-block-code[title] {
  line-height: 1.6;
  margin-bottom: var(--spacer-bottom);
}

pre.wp-block-code {
  background-color: var(--code-bg);
  border-left: 3px solid var(--code-border);
  overflow: hidden;
  white-space: normal;
  word-break: break-word;
  border-radius: 0;
  margin: 15px 0px;
  position: relative;
  padding: 48px 16px 16px 16px;
}

pre.wp-block-code[title] {
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: break-word;
  overflow-x: auto;
  padding: 48px 16px 16px 16px;
  font-size: 1em;
  line-height: 1.6;
  font-family: Consolas, Monaco, "Courier New", monospace;
}

pre.wp-block-code.with-line-numbers code {
  display: block;
}

pre.wp-block-code.with-line-numbers .line-number {
  font-family: Consolas, Monaco, "Courier New", monospace;
  width: max-content;
  padding-left: 0.5rem;
  padding-right: 1em;
  color: var(--shot-accent);
}

pre.wp-block-code.with-line-numbers .line {
  display: grid;
  grid-template-columns: max-content auto;
}

pre.wp-block-code.with-line-numbers .line-code {
  white-space: pre;
}

pre.wp-block-code.with-line-numbers .line:nth-child(even) {
  background-color: var(--code-line-even);
}

pre.wp-block-code.with-line-numbers .line:nth-child(odd) {
  background-color: var(--code-line-odd);
}

pre.wp-block-code[title]::before {
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px 16px;
  font-weight: bold;
  font-size: var(--font-size);
  color: var(--text);
  background-color: var(--bg);
}

pre.wp-block-code[title=Quellcode]::before {
  content: "Quellcode";
  border-right: 10px solid var(--code-border);
}

pre.wp-block-code[title=Quellcode] {
  overflow-x: auto;
  white-space: pre;
  word-break: normal;
  padding: 48px 0 0 0;
  font-size: var(--font-size);
}

pre.wp-block-code[title=Standard]::before {
  content: "Standard";
  border-right: 10px solid var(--code-border-standard);
}

pre.wp-block-code[title=Standard] {
  background-color: var(--code-bg-standard);
}

pre.wp-block-code[title=Tipp]::before {
  content: "Tipp";
  border-right: 10px solid var(--code-border-tipp);
}

pre.wp-block-code[title=Tipp] {
  background-color: var(--code-bg-tipp);
}

pre.wp-block-code[title=Hinweis]::before {
  content: "Hinweis";
  border-right: 10px solid var(--code-border-hinweis);
}

pre.wp-block-code[title=Hinweis] {
  background-color: var(--code-bg-hinweis);
}

pre.wp-block-code[title=Warnung]::before {
  content: "Warnung";
  border-right: 10px solid var(--code-border-warnung);
}

pre.wp-block-code[title=Warnung] {
  background-color: var(--code-bg-warnung);
}

pre.wp-block-code[title=Achtung]::before {
  content: "Achtung";
  border-right: 10px solid var(--code-border-achtung);
}

pre.wp-block-code[title=Achtung] {
  background-color: var(--code-bg-achtung);
}

.copy-code-wrapper {
  text-align: right;
  margin-bottom: var(--space-xxl);
}