/* ==========================================================================
   iappear.at – components.css
   Navigation, Buttons, Cards, Footer, Formular, Phone-Mockups, Platzhalter
   ========================================================================== */

/* --- Top Navigation (fixiert) ---------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(6px);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-2) var(--sp-3);
  max-width: var(--maxw); margin: 0 auto;
}
.nav__brand { display: inline-flex; align-items: center; line-height: 0; }
.nav__brand img { height: 32px; width: auto; display: block; }
.nav__links {
  display: none; gap: var(--sp-3); font-size: .75rem;
  letter-spacing: .01em;
  font-weight: 300;
}
.nav__links a { opacity: .85; }
.nav__links a:hover { opacity: 1; border-bottom: 1px solid var(--c-text); }

@media (min-width: 720px) { .nav__links { display: flex; } }

.nav__burger {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: var(--radius);
  background: var(--glass-bg);
  box-shadow:
    inset 0 2px 6px var(--glass-shadow-top),
    inset 0 -2px 4px var(--glass-shadow-bottom),
    inset 0 1px 0 var(--glass-highlight),
    0 0 20px var(--glass-glow);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  cursor: pointer;
  transition: all .3s var(--ease);
}
.nav__burger:hover {
  background: var(--glass-bg-hover);
  box-shadow:
    inset 0 2px 8px var(--glass-shadow-top-hover),
    inset 0 -2px 5px var(--glass-shadow-bottom-hover),
    inset 0 1px 0 var(--glass-highlight-hover),
    0 0 30px var(--glass-glow-hover);
}
.nav__burger span, .nav__burger span::before, .nav__burger span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--c-text); position: relative;
  border-radius: 1px;
}
.nav__burger span::before { position: absolute; top: -6px; left: 0; }
.nav__burger span::after  { position: absolute; top:  6px; left: 0; }

/* Overlay Menu — kompakt, rechtsbuendig */
.menu {
  /* z-index: 9999 (statt 60) damit das Menue ueber Leaflet-Karten liegt
     — Leaflet-tile-panes haben default z-index 200, Controls bis 1000+,
     Popups 700. Ohne diesen Wert lag die Karte ueber dem Menue-Overlay. */
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.97);
  display: none;
  /* padding oben und unten gleich, damit justify-content: center wirklich mittig zentriert.
     Top-padding behaelt 60px Schutzraum fuer den absolute-X-Button. */
  padding: calc(var(--sp-3) + 60px) var(--sp-3);
  flex-direction: column;
  justify-content: center;  /* Menu-Inhalt vertikal mittig */
  align-items: flex-end;  /* Groups rechts ausgerichtet (cross-axis) */
  overflow-y: auto;
}
.menu.is-open { display: flex; }
.menu__close {
  position: absolute; top: var(--sp-2); right: var(--sp-3);
  border: 0; border-radius: var(--radius);
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; line-height: 1; color: var(--c-text);
  background: var(--glass-bg);
  box-shadow:
    inset 0 2px 6px var(--glass-shadow-top),
    inset 0 -2px 4px var(--glass-shadow-bottom),
    inset 0 1px 0 var(--glass-highlight),
    0 0 20px var(--glass-glow);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  cursor: pointer;
  transition: all .3s var(--ease);
}
.menu__close:hover {
  background: var(--glass-bg-hover);
  box-shadow:
    inset 0 2px 8px var(--glass-shadow-top-hover),
    inset 0 -2px 5px var(--glass-shadow-bottom-hover),
    inset 0 1px 0 var(--glass-highlight-hover),
    0 0 30px var(--glass-glow-hover);
}
/* Gruppen rechtsbuendig + schmaler */
.menu__group {
  width: 100%;
  max-width: 320px;
  /* Subtiler Gap zwischen den 3 Bloecken (Plattform / Stadtrundgaenge /
     Backstage) — atmet ohne dass das Menue scrollen muss. */
  margin: var(--sp-2) 0 0;
}
.menu__heading {
  font-family: var(--f-serif); font-size: .95rem;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--c-text);
  margin: 0 0 .25rem;
}
/* Liste eingerueckt damit die Ueberschrift visuell "drueber" sitzt */
.menu__list { display: grid; gap: 0; list-style: none; padding: 0 0 0 1.2rem; margin: 0; }
.menu__list a {
  font-family: var(--f-sans); font-size: .85rem;
  color: rgba(255,255,255,.75);
  padding: .2rem 0;
  background-image: linear-gradient(to right,
    rgba(255,255,255,.25) 0%,
    rgba(255,255,255,.05) 60%,
    transparent 100%);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: bottom left;
  display: block; line-height: 1.2;
}
/* Akzent-Farben fuer die 3 Kategorie-Links bleiben erhalten — die hier
   noetige hoehere Specificity ueberschreibt die generische Link-Farbe. */
.menu__list a.c-history { color: var(--c-history); }
.menu__list a.c-dentity { color: var(--c-dentity); }
.menu__list a.c-grow    { color: var(--c-grow); }
@media (min-width: 720px) {
  .menu { padding-right: var(--sp-4); }
  .menu__close { right: var(--sp-4); }
  .menu__group { max-width: 340px; }
}

/* --- Buttons — Glassy Apple-Style ------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .85em 1.6em;
  border: 0;
  border-radius: var(--radius);
  font-size: .9rem; letter-spacing: .1em; text-transform: uppercase;
  background: var(--glass-bg);
  color: var(--c-text);
  box-shadow:
    inset 0 2px 6px var(--glass-shadow-top),
    inset 0 -2px 4px var(--glass-shadow-bottom),
    inset 0 1px 0 var(--glass-highlight),
    0 0 20px var(--glass-glow);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: all .3s var(--ease);
}
.btn:hover {
  background: var(--glass-bg-hover);
  box-shadow:
    inset 0 2px 8px var(--glass-shadow-top-hover),
    inset 0 -2px 5px var(--glass-shadow-bottom-hover),
    inset 0 1px 0 var(--glass-highlight-hover),
    0 0 30px var(--glass-glow-hover);
  color: #fff;
  transform: translateY(-1px);
}
/* Kategorie-Varianten: Hintergrund-Tint in Kategorie-Farbe (kein Stroke) */
.btn--history {
  color: var(--c-history);
  background: rgba(211,165,74,.06);
}
.btn--history:hover {
  background: rgba(211,165,74,.14);
  color: var(--c-history);
}
.btn--dentity {
  color: var(--c-dentity);
  background: rgba(118,156,162,.06);
}
.btn--dentity:hover {
  background: rgba(118,156,162,.14);
  color: var(--c-dentity);
}
.btn--grow {
  color: var(--c-grow);
  background: rgba(142,159,106,.06);
}
.btn--grow:hover {
  background: rgba(142,159,106,.14);
  color: var(--c-grow);
}

/* --- Kategorie-Links im Hero ---------------------------------------------- */
.cat-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-2) 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
  font-family: var(--f-serif); font-size: 1.2rem;
}
.cat-link__arrow { font-size: 1.4rem; }
.cat-link__target { width: 1.4rem; height: auto; flex-shrink: 0; align-self: flex-start; margin-top: .15em; }

/* Im Hero (nur Landingpage) kompakter: kleinere Schrift, kein Padding,
   ohne Trennlinien. Fixe Breite damit alle 3 Pfeile auf einer Linie
   rechts buendig stehen. Subtitel (ZEITREISEN etc.) leicht versetzt
   direkt unter dem Titel. */
.hero .cat-link {
  padding: 0;
  font-size: 1rem;
  border-bottom: 0;
  justify-content: flex-start;     /* Target links, Text direkt daneben */
  gap: .6rem;
  align-items: center;
  width: 210px;                    /* alle gleich breit -> Texte alignen */
  align-self: flex-start;
  line-height: 1.15;
}
.hero .cat-link small {
  display: inline-block;
  font-size: .68rem;
  letter-spacing: .1em;
  margin-top: 2px;
  padding-left: .8em;              /* leicht versetzt zum Titel */
  opacity: .85;
}
.hero .cat-link__arrow {
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}
/* Eyebrow-Labels: kleine, gespreizte Uppercase-Headline.
   Mobile (siehe Mobile-Media-Query unten): linksbuendig zur Page-Container-
   Kante, mit Lichtstreifen drueber als Sektions-Trenner.
   Desktop: nur .network-viz-label sichtbar als Caption UNTER der Viz. */
.hero__cats-label,
.network-viz-label { display: none; }

/* Desktop: Network-Viz-Label als zentrierte Caption unter der Visualisierung.
   Wrapper ist Flex-Column-Reverse, sodass Label im HTML vor der Viz steht
   (fuer Mobile-Reihenfolge), aber visuell unter ihr landet. */
@media (min-width: 720px) {
  .network-viz-wrap {
    display: flex;
    flex-direction: column-reverse;
  }
  .network-viz-label {
    display: block;
    text-align: center;
    margin-top: var(--sp-3);
    font-size: .72rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
  }
}

/* --- Cards ---------------------------------------------------------------- */
.card {
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-card);
  padding: var(--sp-3);
  display: flex; flex-direction: column; gap: var(--sp-2);
}
/* Cards in einem Grid auf gleiche Hoehe strecken (Buttons unten gleich hoch).
   Nur fuer DIRECT-Children eines .grid Containers — andere Cards bleiben
   auto-height (z.B. workflow.html wo Cards in einer DIV-Spalte gestapelt sind). */
.grid > .card { height: 100%; }
.card > .btn { margin-top: auto; }
/* Wenn statt einem reinen Button eine Action-Row (Button + Doclinks) am
   Card-Ende sitzt, gilt margin-top: auto fuer den Wrapper. */
.card > .card__actions { margin-top: auto; }
.card__title { font-family: var(--f-serif); }

/* Komplett klickbare Cards: Card als <a> statt <article>. Reset
   Anchor-Default, dezenter Lift + Heller-Border + Headline-Underline beim Hover. */
a.card {
  text-decoration: none;
  color: inherit;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
a.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.35);
}
a.card:hover h3 { text-decoration: underline; }

/* Glassy-Modifier — gleiche Optik wie .contact-form (--glass-* Vars,
   Backdrop-Blur, Inset-Highlights + weicher Glow). Auf einzelne .card-
   Items setzbar wo der ruhige glassy Look passt (workflow Steps,
   options-diagram Boxes, So-funktioniert-Cards usw). */
.card--glass {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    inset 0 -1px 0 var(--glass-shadow-bottom),
    0 8px 28px var(--glass-glow);
}

.vitrine-card {
  display: flex; flex-direction: column; gap: var(--sp-1);
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.vitrine-card:focus-visible {
  outline: 2px solid rgba(255,255,255,.6);
  outline-offset: 4px;
  border-radius: var(--radius-card);
}
.vitrine-card__thumb {
  position: relative;
  aspect-ratio: 1/1;
  background-color: #0a0a0a;
  border-radius: var(--radius-card);
  border: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
}
.vitrine-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vitrine-card .ph.vitrine-card__thumb {
  background-color: transparent;
}
.vitrine-card__title {
  font-family: var(--f-serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  margin: var(--sp-1) 0 0;
  color: var(--c-text);
  /* Lange Wortketten (z.B. "askd:Magazin") duerfen umbrechen, sonst druecken
     sie auf Mobile die Grid-Spalte breiter und das Layout wird ungleich. */
  overflow-wrap: break-word;
}
.vitrine-card__text {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .78rem; line-height: 1.5;
  color: var(--c-text-muted);
}
.vitrine-card__link {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .8rem;
  opacity: .7;
  margin-top: auto;
  padding-top: var(--sp-1);
  align-self: flex-start;
}
.vitrine-card:hover .vitrine-card__link { opacity: 1; text-decoration: underline; }

/* Hover-Effekt: Card hebt sich an + Bild zoomt dezent + heller Border-Glow */
.vitrine-card {
  transition: transform .25s cubic-bezier(.4, 0, .2, 1);
}
.vitrine-card__thumb {
  transition: border-color .25s ease, box-shadow .25s ease;
}
.vitrine-card__thumb img {
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.vitrine-card:hover { transform: translateY(-3px); }
.vitrine-card:hover .vitrine-card__thumb {
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 12px 28px rgba(0,0,0,.45);
}
.vitrine-card:hover .vitrine-card__thumb img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .vitrine-card, .vitrine-card__thumb, .vitrine-card__thumb img { transition: none; }
  .vitrine-card:hover { transform: none; }
  .vitrine-card:hover .vitrine-card__thumb img { transform: none; }
}

/* --- Kategorie-Cards (Startseite) ---------------------------------------- */
.card--kategorie {
  text-align: center;
  align-items: center;
  border: none;
  padding: var(--sp-3) var(--sp-2);
  height: 100%;
}
.card--kategorie .card__icon {
  width: 56px; height: 56px;
  margin: 0 auto var(--sp-1);
}
.card--kategorie .card__badge {
  width: 140px; height: auto;
  margin: 0 auto var(--sp-2);
  display: block;
}
.card--kategorie h3 {
  font-family: var(--f-serif);
  font-size: 2rem;
}
.card--kategorie .eyebrow {
  text-transform: none;
  letter-spacing: 0;
  font-style: italic;
}
.card--kategorie .btn {
  align-self: center;
  margin-top: auto;
  padding-top: var(--sp-2);
  border-radius: 999px;
}

/* --- Phone-Mockup (CSS-only, modern) --------------------------------------
   Selbst gebautes Smartphone-Mockup in reinem CSS. Wird ueberall eingesetzt
   wo ein Smartphone+Screen gezeigt werden soll (Hero, Features, User Guide,
   Kategorie-Seiten). Innen kommt ein <video>, <img> oder Platzhaltertext
   mit object-fit: cover.

   Design-Idee:
   - Kein dicker weisser Border mehr (wirkte cartoonig)
   - Schwarzer Rahmen mit subtilem Highlight-Inset-Shadow (Metallkante)
   - Stark abgerundete Ecken (36px aussen / 28px innen) — moderner Look
   - Dynamic-Island-Style Notch (schwebende Pille statt alter Kerbe)
   - Weicher Drop-Shadow fuer Tiefe
   - Feste Aspect-Ratio 9/19, Screen fuellt kompletten Innenraum. */
.phone {
  width: clamp(110px, 16vw, 140px);
  aspect-ratio: 9/19;
  border-radius: 36px;
  padding: 5px;
  background:
    linear-gradient(145deg, #1a1a1a 0%, #050505 50%, #1a1a1a 100%);
  position: relative;
  flex: 0 0 auto;
  /* Smooth Rotation fuer den Landscape-Switch (z.B. Interaktive Karten). */
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .08),            /* feine aeussere Linie */
    inset 0 0 0 1px rgba(255, 255, 255, .12),      /* polierte Innenkante */
    0 20px 40px -15px rgba(0, 0, 0, .9),           /* Drop-Shadow */
    0 4px 12px -2px rgba(0, 0, 0, .6);
}
/* Dynamic-Island-Notch entfernt (Session 16, 30.04.2026) — sie sass mittig
   ueber dem Screen und hat Video-Inhalt verdeckt (z.B. Titel im hist.appear-
   Video). Der notch-lose Look ist Standard in modernen App-Marketing-Mockups
   und wirkt cleaner. Falls die Notch zurueck soll: alten Block aus der Git-
   History (Commit vor f341558) wieder einfuegen. */
/*
.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 42%;
  max-width: 56px;
  height: 12px;
  background: #000;
  border-radius: 99px;
  z-index: 3;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .05);
}
*/
.phone__screen {
  width: 100%; height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: repeating-linear-gradient(
    45deg, rgba(255,255,255,.04) 0 10px, rgba(255,255,255,.08) 10px 20px
  );
  display: grid; place-items: center; color: var(--c-text-muted); font-size: .8rem; text-align: center;
  position: relative;
}
/* Wenn ein Video oder Bild im Screen liegt: voll fuellen, ohne Verzerrung. */
.phone__screen > video,
.phone__screen > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Landscape-Variante: Phone dreht sich um -90° (Hover auf "Interaktive
   Karten"). Das Video drin ist Querformat — mit cover fuellt es nach der
   Rotation visuell den breiten Screen aus. Smooth durch transition oben. */
.phone--landscape {
  transform: rotate(-90deg);
}

/* --- Platzhalter (Bilder/Videos/SVGs) ------------------------------------- */
.ph {
  background: repeating-linear-gradient(
    45deg, rgba(255,255,255,.04) 0 14px, rgba(255,255,255,.09) 14px 28px
  );
  border: 1px dashed rgba(255,255,255,.25);
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--c-text-muted);
  font-size: .85rem;
  padding: var(--sp-2);
  text-align: center;
  min-height: 140px;
}
.ph--square { aspect-ratio: 1/1; }
.ph--wide   { aspect-ratio: 16/9; }
.ph--tall   { aspect-ratio: 3/4; }
/* "Coming soon" Variante: schwarz statt Streifen, dezenter Hinweistext */
.ph--soon {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.45);
  font-family: var(--ff-serif, serif);
  font-style: italic;
  font-size: 1rem;
  letter-spacing: .02em;
}

/* --- Mini-Rundgang-Karten (Leaflet) -------------------------------------- */
/* Werden auf den Kategorie-Seiten (i-history/i-dentity/i-grow) via
   js/rundgang-map.js gerendert. Markup:
   <div class="rundgang-map" data-rundgang="..." data-kategorie="..."></div> */
.rundgang-map {
  aspect-ratio: 16/9;
  background: rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.rundgang-map__leaflet { width: 100%; height: 100%; }
.rundgang-map__leaflet .leaflet-container { background: #1a1a1a; }
.rundgang-map__marker {
  filter: drop-shadow(0 0 3px rgba(0,0,0,.7)) drop-shadow(0 0 4px rgba(255,255,255,.18));
}
/* Tile-Naht-Fix: Tiles minimal vergroessern damit keine Hairlines
   zwischen den Kacheln sichtbar werden (subpixel-rounding-Bug). */
.rundgang-map .leaflet-tile {
  width: 257px !important;
  height: 257px !important;
}

/* --- Feature-Liste -------------------------------------------------------- */
.feature-list li {
  display: flex; align-items: center; gap: .8em;
  padding: .6em 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  cursor: pointer;
  opacity: .6;
  transition: opacity .2s var(--ease), padding-left .2s var(--ease);
}
.feature-list li.is-active,
.feature-list li:hover { opacity: 1; padding-left: .4em; }
.feature-list li.is-active { border-left: 2px solid var(--c-text); padding-left: .6em; }
.feature-list__icon {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  display: inline-block;
  opacity: .85;
}
img.feature-list__icon { object-fit: contain; }
span.feature-list__icon {
  border: 1px dashed rgba(255,255,255,.25);
  border-radius: 50%;
}

/* --- Teaser-Karten auf der Startseite (Features / Stadtrundgaenge / Vitrine)
   Einheitlicher Kartenrahmen fuer die 3 "4er-Zeilen" Teaser. Jede Sektion hat
   eine andere Bildsprache oben (Phone-Video / Target-Icon / Foto), aber der
   Kartenkoerper bleibt konsistent. */
.card--teaser {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
}
a.card--teaser:hover h3 {
  text-decoration: underline;
}
.card--teaser h3 {
  margin-top: var(--sp-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.card--teaser p.muted {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Rotator: sanftes Cross-Fade beim Wechsel einer Kachel.
   Nur der INHALT (Bild, Titel, Subtitle) fadet, der Kartenrahmen bleibt stehen. */
.vitrine-slot > * {
  transition: opacity .6s cubic-bezier(.4, 0, .2, 1);
}
.vitrine-slot.is-swapping > * { opacity: 0; }

/* Mini-Phone fuer die Features-Karten: kleinerer Mockup mit proportional
   angepassten Radien und kleinerer Notch, gleiche 9:19 Aspect-Ratio. */
.phone--mini {
  max-width: 110px;
  width: 40%;
  min-width: 90px;
  margin: 0 auto var(--sp-1);
  border-radius: 26px;
  padding: 4px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .08),
    inset 0 0 0 1px rgba(255, 255, 255, .12),
    0 12px 24px -10px rgba(0, 0, 0, .85),
    0 2px 6px -1px rgba(0, 0, 0, .5);
}
/* Mini-Notch ebenfalls deaktiviert (siehe oben) */
/*
.phone--mini::before {
  top: 7px;
  height: 8px;
  max-width: 38px;
}
*/
.phone--mini .phone__screen {
  border-radius: 22px;
}

/* Target-Icon(s) fuer die Stadtrundgaenge-Karten */
.card__targets {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--sp-1);
  min-height: 56px;
}
.card__targets img {
  width: 48px;
  height: 48px;
  display: block;
}
.card__targets--trio img {
  width: 34px;
  height: 34px;
}

/* Vitrine-Teaser: fixer quadratischer Bildrahmen. Alle Bilder werden
   gleich gross dargestellt und ggf. zentriert zugeschnitten (cover).
   Damit wirkt der Teaser unabhaengig davon welches Bild gerade drin ist
   immer konsistent. */
.card--teaser .card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: var(--sp-2);
  background: transparent;
}
.card--teaser .card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Kategorie-Karten: kleines Farb-Logo ueber dem Titel ----------------- */
.card--kategorie .card__logo {
  width: 28px;
  height: auto;
  display: block;
  margin: 0 auto var(--sp-1);
}

/* --- Hero ----------------------------------------------------------------- */
/* Glow-Signal-Layer: duenne gestrichelte Leitungen mit wandernden
   Signal-Punkten. Liegt hinter dem Hero-Inhalt. Rekonstruiert aus
   Readymag Widget "glow-pure". */
.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: .6;
}
.hero__glow svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hero > * { position: relative; z-index: 1; }

.hero__glow-sig { opacity: 0; }
.hero__glow-sig.sig-root {
  offset-path: path('M500,50 V250');
  animation: heroGlowRoot 5s ease-in-out infinite;
}
.hero__glow-sig.sig-left {
  offset-path: path('M500,250 H250 V400');
  animation: heroGlowBranch 5s ease-in-out infinite;
}
.hero__glow-sig.sig-right {
  offset-path: path('M500,250 H750 V400');
  animation: heroGlowBranch 5s ease-in-out infinite;
}
@keyframes heroGlowRoot {
  0%        { offset-distance: 0%;   opacity: 0; }
  5%        { opacity: 1; }
  35%       { offset-distance: 100%; opacity: 1; }
  36%, 100% { offset-distance: 100%; opacity: 0; }
}
@keyframes heroGlowBranch {
  0%, 35%   { offset-distance: 0%;   opacity: 0; }
  36%       { opacity: 1; }
  70%       { offset-distance: 100%; opacity: 1; }
  75%, 100% { offset-distance: 100%; opacity: 0; }
}
.hero__glow-wires path {
  animation: heroGlowDash 20s linear infinite;
}
@keyframes heroGlowDash {
  to { stroke-dashoffset: -100; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__glow-sig,
  .hero__glow-wires path { animation: none; }
}

.hero__claim {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.3;
  letter-spacing: -.005em;
  opacity: .92;
  text-transform: none;
  /* Gleiche Breite wie .hero__stage, mittig in der Grid-Cell —
     so steht der Claim direkt ueber dem Kranz, links/rechts buendig. */
  width: 100%;
  max-width: 220px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  justify-self: center;
  /* Drift-Animation aus Readymag rekonstruiert (header-anim-container):
     Jede Zeile ist ein eigener Block, beim Hover driften sie leicht
     unterschiedlich weit auseinander. */
  cursor: default;
  display: block;
}
.hero__claim .line {
  display: block;
  transition: transform .25s ease-out, opacity .25s ease-out;
  will-change: transform, opacity;
}
.hero__claim:hover .line-1 { transform: translate(4px, -1px); opacity: .85; }
.hero__claim:hover .line-2 { transform: translate(-2px, 2px); }
.hero__brand {
  display: flex; flex-direction: column; align-items: center;
  gap: .2em;
}
.hero__target {
  width: 38px; height: 38px;
  display: block;
}
.hero__title {
  font-family: var(--f-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: .02em;
  margin: 0;
  line-height: 1;
}
.hero__logo {
  width: clamp(110px, 14vw, 190px);
  height: auto;
  display: block;
  margin: 0 auto;
}
.hero__subtitle {
  font-family: var(--f-serif);
  font-size: 1rem;
  letter-spacing: .15em;
  opacity: .75;
  margin: 0;
}
/* Kranz-Stage: Lorbeerkranz + rotierende Awards.
   Jetzt in der linken Spalte, kleiner dargestellt. */
.hero__stage {
  position: relative;
  width: 100%;
  max-width: 220px;
  margin: var(--sp-2) auto 0;
}
.hero__laurel {
  position: relative;
  width: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero__laurel-svg {
  width: 100%;
  height: auto;
  display: block;
}
/* Mobile: Kranz kleiner, aber Awards-Text-Groesse bleibt (kommt aus clamp()).
   Claim "Die Plattform fuer digitale Erlebnisse" auf Mobile ausgeblendet,
   damit Hero oben kompakter wird. Cat-Links zentriert, Social rechts. */
@media (max-width: 719px) {
  /* Mobile: Lorbeerkranz + Awards-Rotator komplett ausblenden — die Awards-Labels
     uebereinander mit dem kleineren Kranz wirkten gestaucht, Hero ist
     ohne Stage kompakter und fokussierter auf Phones + CTA. */
  .hero__stage     { display: none; }
  .eyebrow.hero__claim { display: none; }

  /* Kategorie-Links: optisch mittig unter dem CTA. Trick:
     - hero__right per width: max-content auf das groesste Item schrumpfen
     - Items per width: auto + align-self: stretch auf Container-Breite ziehen
     Dadurch sind alle Items gleich breit (= laengstes Item), Targets in
     einer Spalte aligned, und der ganze Block sitzt per margin: 0 auto
     mittig in der Page. Die Desktop-fixe 210 px-Item-Breite waere hier
     zu breit (rechts viel Whitespace) und der Inhalt wirkte nach links
     versetzt. */
  .hero .cat-link {
    width: auto;
    align-self: stretch;
  }
  .hero .hero__right {
    gap: .4rem;
    margin-top: .4rem;
    /* Plus hero padding-bottom (var(--sp-1) = 8 px) ergibt 24 px zwischen
       letztem Cat-Link und dem Sektions-Trenner der naechsten Section,
       gleich gross wie der Abstand vom oberen Lichtstreifen zu KATEGORIEN. */
    margin-bottom: var(--sp-2);
    width: max-content;
    max-width: 100%;
  }
  /* Eyebrow-Labels: linksbuendig zur Page-Container-Kante. Sitzen im HTML
     als Geschwister VOR ihrem Inhalt (eigene Grid-Row), nehmen die volle
     Container-Breite, text-align: left → linke Page-Container-Kante. */
  .hero__cats-label,
  .network-viz-label {
    display: block;
    position: relative;
    padding-top: var(--sp-3);
    text-align: left;
    font-size: .68rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
  }
  /* Margin-top nur auf hero (Luft zum CTA drueber). Network-Viz hat schon
     .network { gap: var(--sp-4) } durch das Grid drueber. */
  .hero__cats-label { margin-top: var(--sp-3); }
  /* Lichtstreifen oberhalb der Labels — gleiches Rezept wie .footer::before,
     mit eigener fester Breite, mittig zur Page (translateX -50%). */
  .hero__cats-label::before,
  .network-viz-label::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(280px, 90vw);
    height: 1px;
    background: linear-gradient(
      to right,
      transparent 0%,
      rgba(255,255,255,.18) 50%,
      transparent 100%
    );
    pointer-events: none;
  }
}
/* Awards-Rotator: absolut positioniert, mittig im Kranz */
.hero__awards-rotator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 55%;
  height: 35%;
  pointer-events: none;
  z-index: 2;
}
/* Phones direkt unter dem Logo, kein grosser Abstand. */
.hero__phones {
  margin-top: .5rem;
  justify-content: center;
  flex-wrap: nowrap;
  gap: var(--sp-1);
}
/* CTA-Button im Hero — erbt Glassy-Look von .btn, nur Form-Overrides.
   Ueberschreibt uppercase + weites letter-spacing aus .btn, damit der
   Mixed-Case-Text "Rundgang starten" natuerlich wirkt. */
.hero__cta {
  margin-top: var(--sp-1);
  text-transform: none;
  letter-spacing: .02em;
  font-size: 1rem;
  border-radius: 999px;
  padding: .85em 2.4em;
}
/* === Social Pills im Footer (Glassy + Brand-Color Hover) =================
   3 Pills (Instagram, LinkedIn, Facebook) sitzen im Footer direkt VOR der
   .footer__bottom Zeile. Glasrezept uebernommen vom .nav__burger fuer
   Konsistenz mit dem restlichen Designsystem (alle glassy Komponenten
   nutzen die selben --glass-* Variablen aus global.css).
   Hover: BG wechselt auf die jeweilige Marken-Farbe + Glow drumherum.
   Insta = Original-Verlauf, LinkedIn + Facebook = Brand-Blau.
   Groesse: 36px (kompakt). Aenderungen am Look hier zentral. */
.social-pills {
  display: flex;
  justify-content: center;
  gap: .6rem;
  margin: var(--sp-2) 0;
}
.social-pill {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%;
  background: var(--glass-bg);
  box-shadow:
    inset 0 2px 6px var(--glass-shadow-top),
    inset 0 -2px 4px var(--glass-shadow-bottom),
    inset 0 1px 0 var(--glass-highlight),
    0 0 20px var(--glass-glow);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  color: rgba(255,255,255,.7);
  cursor: pointer;
  transition: all .3s var(--ease);
  text-decoration: none;
}
.social-pill svg {
  width: 17px; height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social-pill:hover { color: #fff; }
.social-pill[data-net="ig"]:hover {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 0 22px rgba(228,64,95,.55);
}
.social-pill[data-net="li"]:hover {
  background: #0A66C2;
  box-shadow: 0 0 22px rgba(10,102,194,.55);
}
.social-pill[data-net="fb"]:hover {
  background: #1877F2;
  box-shadow: 0 0 22px rgba(24,119,242,.55);
}

/* --- Netzwerk-Visualisierung (v2) ----------------------------------------
   Stations-Netzwerk: zeigt wie Rundgaenge sich Stationen teilen.
   Touren links/rechts/unten (nach Kategorie), Stationen in der Mitte,
   Verbindungslinien als Bezier-Kurven. Interaktiv per Hover/Touch.
   Daten: js/data/netzwerk.js, Logik: js/network.js
   ------------------------------------------------------------------------ */
.network-viz {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 700;
  margin: 0 auto;
}
/* Mobile: Hochkant-Ellipse — fuellt schmalen Screen vertikal.
   JS (network.js) wechselt dabei auch die Koordinaten auf Ellipsen-Layout.
   viewBox ist 820x1200 (mit Rand-Padding fuer lange Labels). */
@media (max-width: 719px) {
  .network-viz { aspect-ratio: 900 / 1300; max-width: 500px; }
}

.nw-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* --- Verbindungslinien --------------------------------------------------- */
.nw-line {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  transition: opacity .3s, stroke-width .3s;
}
.network-viz.is-animating .nw-line {
  opacity: .25;
  animation: nw-draw 1.8s ease-out forwards;
}

/* --- Verlinkungen (textuelle Verweise, gestrichelt) -----------------------
   Bewusst gestrichelt + dezent, klar unterscheidbar von durchgezogenen
   Tour-Stations-Linien. is-tour-link nutzt Tour-Farbe, is-station-link
   eine neutrale weisse Linie. */
.nw-verlinkung {
  fill: none;
  stroke-width: 1;
  stroke-dasharray: 4 4;
  stroke-linecap: round;
  opacity: 0;
  transition: opacity .4s ease-out;
  pointer-events: none;
}
.nw-verlinkung.is-station-link { stroke: rgba(255,255,255,.45); }
.network-viz.is-animating .nw-verlinkung {
  opacity: .55;
  transition-delay: 1.4s;
}
.nw-verlinkung.is-tour-link { opacity: 0; }
.network-viz.is-animating .nw-verlinkung.is-tour-link { opacity: .45; }
.network-viz.has-hover .nw-verlinkung { opacity: .12; }
.network-viz.has-hover .nw-verlinkung.is-active { opacity: .9; stroke-width: 1.5; }

/* --- Stationen (Kreise + Labels) ----------------------------------------- */
.nw-station {
  opacity: 0;
  transition: opacity .5s ease-out;
}
.nw-station.is-visible {
  opacity: 1;
}
.nw-dot {
  fill: rgba(255,255,255,.7);
  transition: fill .3s, r .3s;
}
.nw-station.is-shared .nw-dot {
  fill: #fff;
}
.nw-ring {
  fill: none;
  stroke-width: 2.5;
  opacity: .5;
  transition: opacity .3s;
}
.nw-station.is-shared .nw-ring {
  animation: nw-pulse 3.5s ease-in-out infinite;
}
.nw-station-name {
  fill: rgba(255,255,255,.55);
  font-size: 14px;
  font-family: var(--f-sans, 'Roboto', sans-serif);
  text-anchor: middle;
  transition: fill .3s;
}
.nw-station-name.is-shared {
  fill: rgba(255,255,255,.8);
}
.nw-station-count {
  fill: rgba(255,255,255,0);
  font-size: 11px;
  font-family: var(--f-sans, 'Roboto', sans-serif);
  text-anchor: middle;
  transition: fill .3s;
}

/* --- Tour-Labels --------------------------------------------------------- */
.nw-tour {
  opacity: 0;
  transition: opacity .5s ease-out;
}
.nw-tour.is-visible {
  opacity: 1;
}
.nw-tour.is-visible.is-soon {
  opacity: .45;
}
.nw-tour-name {
  font-family: var(--f-serif, Georgia, serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .02em;
}
.nw-tour-dot {
  transition: r .3s;
}
.nw-tour-tag {
  fill: rgba(255,255,255,.45);
  font-size: 10px;
  font-family: var(--f-sans, 'Roboto', sans-serif);
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* Mobile (Portrait-Ellipse): Schriften groesser, weil viewBox 820x1200
   nur auf ~420px breite skaliert — sonst sind Labels zu klein. */
@media (max-width: 719px) {
  .nw-tour-name    { font-size: 28px; }
  .nw-station-name { font-size: 22px; }
  .nw-station-count{ font-size: 14px; }
  .nw-tour-tag     { font-size: 13px; }
}

/* --- Hover: Alles dimmen, Aktives hervorheben ---------------------------- */
.network-viz.has-hover .nw-line                     { opacity: .04 !important; }
.network-viz.has-hover .nw-line.is-active            { opacity: .7 !important; stroke-width: 2.5; }
.network-viz.has-hover .nw-line.is-related           { opacity: .3 !important; stroke-dasharray: 6 4; }

.network-viz.has-hover .nw-station.is-visible        { opacity: .12; }
.network-viz.has-hover .nw-station.is-visible.is-active {
  opacity: 1;
}
.network-viz.has-hover .nw-station.is-active .nw-dot {
  filter: url(#nw-glow);
}
.network-viz.has-hover .nw-station.is-active .nw-station-name {
  fill: #fff;
}
.network-viz.has-hover .nw-station.is-active .nw-station-count {
  fill: rgba(255,255,255,.65);
}
.network-viz.has-hover .nw-station.is-active .nw-ring {
  opacity: .9;
  animation: none;
}

.network-viz.has-hover .nw-tour.is-visible           { opacity: .15; }
.network-viz.has-hover .nw-tour.is-visible.is-active { opacity: 1; }
.network-viz.has-hover .nw-tour.is-visible.is-related { opacity: .55; }

/* --- Keyframes ----------------------------------------------------------- */
@keyframes nw-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes nw-pulse {
  0%, 100% { opacity: .35; }
  50%      { opacity: .75; }
}

/* --- Reduced Motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .nw-line { stroke-dashoffset: 0 !important; opacity: .25 !important; animation: none !important; }
  .nw-station, .nw-tour { opacity: 1 !important; transition: none !important; }
  .nw-tour.is-soon { opacity: .45 !important; }
  .nw-ring { animation: none !important; opacity: .5 !important; }
}

/* --- Team / Ueber uns ----------------------------------------------------- */
.ueber__team { display: flex; flex-direction: column; gap: var(--sp-4); }
.team-member {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
  align-items: start;
}
@media (min-width: 540px) {
  .team-member { grid-template-columns: 140px 1fr; gap: var(--sp-3); }
}
.team-member__photo {
  width: 140px; aspect-ratio: 1/1; min-height: 0;
  object-fit: cover;
  border-radius: var(--radius-card);
}
.team-member h3 {
  font-family: var(--f-serif); font-size: 1.4rem;
  margin-bottom: var(--sp-1);
}
.team-member p { font-size: .9rem; line-height: 1.55; }

/* Kompakter Team-Teaser fuer die Landingpage:
   Zwei Personen nebeneinander mit Foto + Name. Kein Bio-Text — der Klick
   auf "Ueber uns" liefert Details. Auf Mobile bleiben die zwei Personen
   nebeneinander (kleinere Bilder), nur sehr schmale Viewports stapeln. */
.team-teaser {
  display: flex;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-3);
  flex-wrap: wrap;
}
.team-teaser__person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  text-decoration: none;
  color: inherit;
  transition: transform .25s cubic-bezier(.4, 0, .2, 1);
}
.team-teaser__person:hover { transform: translateY(-3px); }
.team-teaser__photo {
  width: clamp(96px, 14vw, 130px);
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.team-teaser__person:hover .team-teaser__photo {
  border-color: rgba(255, 255, 255, .28);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}
.team-teaser__name {
  font-family: var(--f-serif);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--c-text);
}
@media (prefers-reduced-motion: reduce) {
  .team-teaser__person, .team-teaser__photo { transition: none; }
  .team-teaser__person:hover { transform: none; }
}

.ueber__kontakt { display: flex; flex-direction: column; gap: var(--sp-2); }
.kontakt-mail { font-size: 1rem; }
.kontakt-mail a { text-decoration: underline; }

/* --- Footer --------------------------------------------------------------- */
.footer {
  padding-top: var(--sp-5);
  padding-bottom: var(--sp-4);
  font-size: .85rem;
  position: relative;
}
/* Zarter Lichtstreifen statt harter Trennlinie zwischen letzter Sektion
   und Footer. */
.footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: min(720px, 85%);
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255,255,255,.18) 50%,
    transparent 100%
  );
  pointer-events: none;
}
.footer h4 {
  font-family: var(--f-serif);
  font-size: 1.1rem;
  letter-spacing: .05em;
  margin-bottom: var(--sp-2);
  text-transform: none;
}
/* Footer Quicklinks wurden entfernt (Session 8.2) — das Burger-Menue oben
   rechts enthaelt alle Links, der Footer-Block war reine Dopplung.
   Stattdessen gibt's eine schlanke .footer__legal Leiste am Ende. */

/* --- Einheitlicher Basis-Footer (alle Seiten) ----------------------------
   Aufbau schlank: Social Pills (.social-pills) -> Bottom-Zeile
   (.footer__bottom mit Copyright + Legal-Nav + nach oben).
   Adresse, Telefon, Mail stehen im Impressum + auf der Kontakt-Seite, der
   Brand-Name steckt schon im Logo oben + Copyright unten — frueherer
   .footer__brand- und .footer__contact-Block wurde deshalb entfernt.
   Auf index.html sitzt zusaetzlich der Partner-Block (.footer__partner)
   VOR diesen Ebenen, mit Lichtstreifen-Trenner danach. */

.footer__partner {
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-3);
  position: relative;
}
/* Lichtstreifen-Trenner unter dem Partner-Grid (gleiches Rezept wie
   .footer::before und .partner-uniwien::after). */
.footer__partner::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(720px, 85%);
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255,255,255,.18) 50%,
    transparent 100%
  );
  pointer-events: none;
}
.partner-grid {
  display: grid; gap: var(--sp-2);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .partner-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1080px) { .partner-grid { grid-template-columns: repeat(6, 1fr); } }
.partner-logo {
  aspect-ratio: 16/9; min-height: 70px;
  font-size: .7rem;
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-1);
}
.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1); /* SVGs auf Weiss umfaerben (falls sie schwarz sind) */
  opacity: .85;
  transition: opacity .2s var(--ease);
}
.partner-logo img:hover { opacity: 1; }
/* Opt-out vom Weiss-Filter fuer Logos die ihre eigenen Farben mitbringen
   (z.B. vorarlberg-wort.svg mit weissem Wappen + schwarzem V) */
.partner-logo--raw img { filter: none; }
/* --- Hauptfoerderer-Block: Universitaet Wien -------------------------------
   Eigener Block UEBER dem Partner-Grid. CD-Manual Vorgaben:
   - Logo weiss auf dunklem Grund (✓ schwarzer Footer)
   - Schutzzone H/3 rundherum: bei ~80px Logohoehe sind das ~27px Padding.
     Wir nehmen var(--sp-3) ≈ 24-32px je nach Token, das passt.
   - Logo bringt eigene Farben mit -> .partner-logo--raw filter: none
   - Nicht verzerren: object-fit: contain
   - Mindestgroesse 9mm (~34px) deutlich uebererfuellt mit 80px+
   - Visuell klar als Hauptfoerderer abgesetzt durch Trennlinie nach unten. */
.partner-uniwien {
  display: grid; gap: var(--sp-3);
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  text-align: center;
  margin-bottom: var(--sp-4);
  padding: var(--sp-3) var(--sp-3) var(--sp-4);
  position: relative;
}
/* Zarter Lichtstreifen statt harter Trennlinie nach unten. */
.partner-uniwien::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(720px, 85%);
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255,255,255,.18) 50%,
    transparent 100%
  );
  pointer-events: none;
}
.partner-uniwien .partner-logo {
  aspect-ratio: auto;
  width: 100%;
  max-width: 280px;
  min-height: 90px;
  padding: 0;
}
.partner-uniwien .partner-logo img {
  max-height: 90px;
  opacity: 1;
  /* Optischer Zentrierungs-Fix: das uni-wien-weiss.svg hat eine viewBox
     mit ~16px Whitespace links und ~105px rechts, der Logo-Inhalt sitzt
     also weit links in der Bounding-Box. Wir lassen das Original-SVG
     (CD-konform) unangetastet und schieben das Bild visuell ~15% nach
     rechts, damit Siegel + Schriftzug mittig im Container sitzen. */
  transform: translateX(15%);
}
.partner-uniwien p {
  margin: 0;
  font-size: .85rem;
  letter-spacing: .02em;
  max-width: 360px;
}
/* Auf Desktop bleibt der Uni-Block zentriert (einspaltig) — Logo oben,
   Text drunter. Logo darf etwas groesser werden als auf Mobile. */
@media (min-width: 720px) {
  .partner-uniwien .partner-logo {
    max-width: 320px;
    min-height: 110px;
  }
  .partner-uniwien .partner-logo img {
    max-height: 110px;
  }
}

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: var(--sp-4); padding-top: var(--sp-3);
  border-top: 1px solid rgba(255,255,255,.1);
  color: var(--c-text-muted);
  flex-wrap: wrap; gap: var(--sp-2) var(--sp-3);
}
/* Schlanke Legal-Leiste in der Mitte des Footer-Bottoms.
   Ersetzt den frueheren breiten Quicklinks-Block. */
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-3);
  justify-content: center;
  flex: 1 1 auto;
}
.footer__legal a {
  font-size: .75rem;
  font-weight: 300;
  letter-spacing: .01em;
  opacity: .75;
  white-space: nowrap;
}
.footer__legal a:hover { opacity: 1; text-decoration: underline; }
.back-up-inline {
  font-size: .75rem;
  font-weight: 300;
  letter-spacing: .01em;
  opacity: .75;
  white-space: nowrap;
}
.back-up-inline:hover { opacity: 1; text-decoration: underline; }

/* Mobile-Footer: Quicklinks oben, Copyright drunter, "nach oben"-Inline-Link
   weg (der floating Pfeil rechts unten reicht). Plus enger row-gap zwischen
   den Quicklink-Zeilen (waren default sp-2 = 16px, jetzt 5px). */
@media (max-width: 720px) {
  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--sp-2);
  }
  .footer__bottom small { order: 2; }
  .footer__legal { order: 1; row-gap: .3rem; }
  .back-up-inline { display: none; }
}

/* .back-up Definition steht unten bei den Breadcrumbs - hier nur Placeholder */

/* --- Formular ------------------------------------------------------------- */
.form {
  display: grid; gap: var(--sp-2);
  max-width: 520px;
}
.form label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.form input, .form textarea {
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  color: var(--c-text);
  padding: .9em 1em;
  border-radius: 8px;
  font: inherit;
}
.form input:focus, .form textarea:focus { outline: 1px solid var(--c-text); }
.form textarea { min-height: 140px; resize: vertical; }

/* --- Tables / Listen ------------------------------------------------------ */
.info-card {
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-card);
  padding: var(--sp-3);
  font-size: .95rem;
}

/* --- Kontakt-Seite: 2-Spalter mit Anliegen-Cards links und Glassy-Form rechts.
   Drunter zentriert die Info-Card als "Visitenkarten"-Anker. Form-Spalte
   schmaler als Anliegen-Spalte, damit die Form nicht uebermaechtig wirkt.
   Layout entstanden in Session 17 (2026-05-01). */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 408px) minmax(0, 408px);
  justify-content: space-between;
  gap: var(--sp-3);
  align-items: stretch;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.contact-anliegen {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.anliegen-card {
  border-left: 2px solid rgba(255,255,255,.18);
  padding: var(--sp-1) 0 var(--sp-1) var(--sp-2);
  transition: border-color .25s var(--ease);
}
.anliegen-card:hover {
  border-left-color: rgba(255,255,255,.45);
}
.anliegen-card h3 {
  margin: 0 0 .25em;
  font-family: var(--f-serif, Georgia, serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
}
.anliegen-card p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--c-text-muted);
}
.anliegen-card a {
  color: var(--c-text);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.3);
  text-underline-offset: 2px;
}
.anliegen-card a:hover {
  text-decoration-color: var(--c-text);
}

/* Form als Glassy-Card. Inputs bekommen ebenfalls Glas-Look statt
   ehemaligem 1px-Stroke, damit sie ins Designsystem passen. */
.contact-form {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: var(--sp-2);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    inset 0 -1px 0 var(--glass-shadow-bottom),
    0 8px 28px var(--glass-glow);
  max-width: none;
  gap: var(--sp-1);
}
.contact-form__title {
  margin: 0 0 .2em;
  font-family: var(--f-serif, Georgia, serif);
  font-size: 1.15rem;
  font-weight: 600;
}
.contact-form__direct {
  margin: 0 0 var(--sp-1);
  font-size: .85rem;
  color: var(--c-text-muted);
}
.contact-form__direct a {
  color: var(--c-text);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.4);
  text-underline-offset: 2px;
}
.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: .65em .85em;
  font-size: .9rem;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.28);
  outline: none;
}
.contact-form textarea {
  min-height: 100px;
}
.contact-form .btn {
  margin-top: var(--sp-2);
  justify-self: start;
}

/* Card-Actions: Primary-Button + dezente Begleitmaterial-Doclinks in einer
   Reihe (z.B. i.grow Cards mit PDF-Downloads). Wrapt auf Mobile unter den
   Button. */
.card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-1) var(--sp-3);
  margin-top: var(--sp-2);
}
.card-doclink {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-size: .85rem;
  color: var(--c-text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.card-doclink:hover,
.card-doclink:focus-visible {
  color: var(--c-text);
  border-bottom-color: rgba(255,255,255,.45);
}
.card-doclink__icon {
  flex: none;
  width: 14px;
  height: 14px;
  opacity: .85;
}

/* Mobile: 2-Spalter zu Stapel */
@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }
}

/* --- FAQ Accordion (details + summary)
   Layout-Quelle: _doku/recon/widgets/widget-69a99be150.html
   Wir nutzen native <details>/<summary> und imitieren den Readymag-Look:
   Uppercase-Question mit Plus, unterer Border als Trennlinie, Rotation
   beim Oeffnen. -------------------------------------------------------- */
details.info-card {
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.1);
  border-radius: 0;
  padding: var(--sp-2) 0;
  margin: 0 0 var(--sp-1) !important;
  font-size: .95rem;
}
details.info-card > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  padding: .6rem 0;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #c2c2c2;
  opacity: .7;
  transition: opacity .25s ease;
  -webkit-tap-highlight-color: transparent;
}
details.info-card > summary::-webkit-details-marker { display: none; }
details.info-card > summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: transform .3s ease;
  color: inherit;
}
details.info-card[open] > summary,
details.info-card > summary:hover { opacity: 1; }
details.info-card[open] > summary::after { transform: rotate(45deg); }
details.info-card[open] > *:not(summary) {
  animation: faq-slide-down .3s ease-out;
  padding-top: .4rem;
  padding-bottom: .6rem;
  color: #c2c2c2;
  line-height: 1.5;
}
@keyframes faq-slide-down {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Category-Gruppen: die h2 in faqs.html wird als Section-Title gestylt */
.section h2 + details.info-card,
.section h2 + details.info-card { margin-top: var(--sp-1); }

/* --- User-Guide interaktive Demo ------------------------------------------
   Port aus _doku/recon/widgets/ia-guide-container-*.html
   Toggle (Rundgaenge/Naehe) + Phone-Mockup + 4 Schritte-Navigation.
   ------------------------------------------------------------------------ */
/* Netzwerk-Caption: Vorarlberg / Dornbirn Schriftzuege unter der Viz */
.network-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin: var(--sp-3) 0 .3rem;
  opacity: .9;
}
.network-caption__region {
  height: 34px;
  width: auto;
}
.network-caption__city {
  height: 22px;
  width: auto;
}
.network-caption__sep {
  opacity: .3;
  font-size: 1.4rem;
  font-weight: 200;
}

.ia-demo {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-card);
  padding: var(--sp-4);
  background: rgba(255,255,255,.02);
}
.ia-demo__toggle {
  display: inline-flex;
  background: rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  margin-bottom: var(--sp-4);
  backdrop-filter: blur(4px);
}
.ia-demo__toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .6em 1.1em;
  border: none;
  background: transparent;
  color: #c2c2c2;
  border-radius: 999px;
  font: inherit;
  font-size: .85rem;
  letter-spacing: .05em;
  cursor: pointer;
  transition: background .3s ease, color .3s ease;
}
.ia-demo__toggle-btn.is-active {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.ia-demo__toggle-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
.ia-demo__stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  align-items: center;
}
@media (min-width: 720px) {
  .ia-demo__stage { grid-template-columns: auto 1fr; gap: var(--sp-5); }
}
.ia-demo__phone {
  justify-self: center;
  width: 200px;
  height: 400px;
  flex-shrink: 0;
}
.ia-demo__screen {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3);
  text-align: center;
  transition: opacity .3s ease;
}
.ia-demo__label {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: .5;
}
.ia-demo__icon-large {
  font-size: 3.5rem;
  line-height: 1;
  opacity: .85;
}
.ia-demo__screen-title {
  font-size: 1rem;
  letter-spacing: .03em;
}
.ia-demo__info h3 { margin: .2em 0 .5em; }
.ia-demo__info p:not(.eyebrow) { opacity: .9; }
.ia-demo__nav {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
}
.ia-demo__nav .btn--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  padding: .5em 1.2em;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background .2s ease;
}
.ia-demo__nav .btn--ghost:hover { background: rgba(255,255,255,.08); }

/* Award-Liste */
.awards { display: grid; gap: var(--sp-1); font-size: .85rem; }
.awards li { opacity: .85; }

/* Page-Header (Unterseiten) */
.page-header {
  padding-top: var(--sp-4);
  padding-bottom: var(--sp-4);
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* --- Page-Header Variante "Kategorie" -----------------------------------
   Wird auf den 3 Kategorie-Seiten (i-history, i-dentity, i-grow) verwendet:
   - Target-Icon oben in Kategorie-Farbe
   - h1 = Brand-Wort (i.history etc.) gross in Kategorie-Farbe
   - kurzer Subtitle in Serif darunter
   - laenger SEO-Lead in muted darunter (bleibt fuer Crawler indexiert)
*/
/* 2-Spalten-Layout: links Brand-Block (Logo + h1 + Subtitle + SEO-Lead),
   rechts Story-Block (erzaehlerische Headline + Body-Text).
   Mobile <860px: stapelt untereinander. */
.page-header--category {
  padding-top: var(--sp-3);
  padding-bottom: var(--sp-3);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: var(--sp-4);
  align-items: start;
  text-align: left;            /* ueberschreibt center vom generischen .page-header */
}
@media (max-width: 860px) {
  .page-header--category {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }
}
.page-header--category .page-header__icon {
  width: clamp(44px, 6vw, 64px);
  height: auto;
  display: block;
  margin-bottom: var(--sp-1);
}
.page-header--category h1 {
  margin: 0;
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 900;            /* Roboto Black */
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.page-header--category .page-header__subtitle {
  margin: .2em 0 0;
  font-family: var(--f-serif, Georgia, serif);
  font-style: italic;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  opacity: .9;
}
.page-header--category .page-header__lead {
  margin-top: var(--sp-2);
  max-width: 32ch;
  font-size: .85rem;
  opacity: .6;
  line-height: 1.5;
}
/* Brand-Block links (Logo + h1 + Subtitle + SEO-Lead, vertikal gestapelt,
   alles zentriert auf das Wort h1 ausgerichtet) */
.page-header--category .page-header__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* Story-Block rechts (Headline + Body-Text) */
.page-header--category .page-header__story {
  margin: 0;
  align-self: center;
  max-width: 56ch;
}
.page-header--category .page-header__story-headline {
  margin: 0 0 var(--sp-2) 0;
  font-family: var(--f-serif, Georgia, serif);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.15;
  color: var(--c-text);
  opacity: .95;
}
.page-header--category .page-header__story-body {
  margin: 0;
  font-size: .98rem;
  line-height: 1.6;
  opacity: .8;
}
@media (max-width: 860px) {
  .page-header--category .page-header__story-headline {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
  }
  .page-header--category .page-header__story-body {
    font-size: .9rem;
  }
}

/* --- Page-Header Variante "Hub" -----------------------------------------
   Verwendet auf den Stadtrundgang-Unterseiten (Dornbirn, Feldkirch, Hard,
   Au). Ziel: kompakter Hero-Block, damit die ersten Rundgang-Karten
   direkt oben reinpeeken. Header und Intro-Text sind EINE Box, linksbuendig,
   max-width 720px, deutlich weniger Vertikal-Raum als der zentrierte
   Default-Header mit eigener Intro-Section darunter.
*/
.page-header--hub {
  text-align: left;
  max-width: 720px;
  margin-left: 0;   /* linksbuendig im Container statt zentriert */
  margin-right: auto;
  padding-top: 0;
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.page-header--hub .eyebrow {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .7;
  margin: 0;
}
.page-header--hub h1 {
  margin: 0;
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4.2vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -.015em;
}
.page-header--hub .page-header__subtitle {
  margin: 0;
  font-family: var(--f-serif, Georgia, serif);
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  opacity: .85;
}
/* Subtitle + Sprungmarke in einer Zeile (z.B. Vitrine: Subtitle links,
   "Zum Blog" Chip rechts). Bricht auf schmalen Schirmen sauber um. */
.page-header--hub .page-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.page-header--hub .page-header__row .hub-jumpnav {
  margin: 0;
}
.page-header--hub .page-header__intro {
  margin: var(--sp-2) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.page-header--hub .page-header__intro p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.55;
  color: var(--c-text-muted);
}
/* Sektion direkt nach dem Hub-Header naeher ranziehen */
.page-header--hub + .section {
  padding-top: var(--sp-3);
}


/* --- Hub Jump-Nav (Kategorie-Chips auf Stadtrundgang-Unterseiten) --------
   Kleine Chip-Leiste im Hub-Header mit klickbaren Ankerlinks auf die
   Kategorie-Sektionen der Seite. Zeigt auf einen Blick, welche
   Kategorien es auf dieser Stadt-Seite gibt.
*/
.hub-jumpnav {
  list-style: none;
  margin: var(--sp-2) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
}
/* Innerhalb der Stadtrundgang-Teaser-Karten auf der Landingpage: Block fuer
   3 vertikal gestackte Chips reservieren UND ans untere Karten-Ende ankoppeln
   (margin-top: auto). So sitzen einzelne Chips bei Karten mit 1 Tag exakt
   auf der Hoehe der mittleren Chip bei Dornbirn (3 Tags), unabhaengig vom
   Inhalt darueber. */
.card--teaser .hub-jumpnav {
  min-height: calc(3 * 1.45rem + 2 * var(--sp-1));
  align-content: center;
  margin-top: auto;
}
.hub-jumpnav__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .35em .8em;
  min-width: 9.5em;
  border: 0;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  line-height: 1;
  background: color-mix(in srgb, currentColor 6%, transparent);
  box-shadow:
    inset 0 2px 6px var(--glass-shadow-top),
    inset 0 -2px 4px var(--glass-shadow-bottom),
    inset 0 1px 0 var(--glass-highlight),
    0 0 12px color-mix(in srgb, currentColor 4%, transparent);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: all .25s var(--ease);
}
.hub-jumpnav__chip::before {
  content: "";
  width: .55em;
  height: .55em;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.hub-jumpnav__chip:hover,
.hub-jumpnav__chip:focus-visible {
  background: color-mix(in srgb, currentColor 14%, transparent);
  box-shadow:
    inset 0 2px 8px var(--glass-shadow-top-hover),
    inset 0 -2px 5px var(--glass-shadow-bottom-hover),
    inset 0 1px 0 var(--glass-highlight-hover),
    0 0 20px color-mix(in srgb, currentColor 8%, transparent);
  transform: translateY(-1px);
}
.hub-jumpnav__chip--history { color: var(--c-history); }
.hub-jumpnav__chip--dentity { color: var(--c-dentity); }
.hub-jumpnav__chip--grow    { color: var(--c-grow); }

/* CTA-Chip am Ende des Page-Header Story-Blocks — rechts ausgerichtet,
   mit Abstand nach oben zum Body-Text. */
.page-header__story-cta {
  margin-top: var(--sp-3);
  display: flex;
  justify-content: flex-end;
}
.hub-jumpnav__chip--neutral { color: rgba(255,255,255,.75); }
.hub-jumpnav__chip--soon    { color: rgba(255,255,255,.45); font-style: italic; }
.hub-jumpnav__count {
  opacity: .7;
  font-weight: 400;
}

/* Scroll-Anker: fixe Nav (~60px) einrechnen, damit Sprungziel nicht
   unter der Nav verschwindet */
.section[id],
.ort-card[id] { scroll-margin-top: 80px; }

/* --- Breadcrumbs --------------------------------------------------------- */
.breadcrumb {
  padding-top: calc(var(--sp-3) + 60px);
  padding-bottom: var(--sp-2);
  font-size: .8rem;
  letter-spacing: .05em;
  opacity: .7;
}
.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4em;
}
.breadcrumb li + li::before {
  content: '/';
  margin-right: .4em;
  opacity: .5;
}
.breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb [aria-current="page"] { opacity: 1; }

/* --- Back-to-top Button (floating, rund) --------------------------------- */
.back-up {
  position: fixed;
  right: var(--sp-3);
  bottom: var(--sp-3);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  background: var(--glass-bg);
  box-shadow:
    inset 0 2px 6px var(--glass-shadow-top),
    inset 0 -2px 4px var(--glass-shadow-bottom),
    inset 0 1px 0 var(--glass-highlight),
    0 0 20px var(--glass-glow);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, background .3s var(--ease), box-shadow .3s var(--ease);
  z-index: 40;
}
.back-up.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-up:hover {
  background: var(--glass-bg-hover);
  box-shadow:
    inset 0 2px 8px var(--glass-shadow-top-hover),
    inset 0 -2px 5px var(--glass-shadow-bottom-hover),
    inset 0 1px 0 var(--glass-highlight-hover),
    0 0 30px var(--glass-glow-hover);
}

/* --- Blog ----------------------------------------------------------------- */
/* Artikel-Uebersicht */
.blog-grid { display: grid; gap: var(--sp-3); }
.blog-card {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-card);
  padding: var(--sp-3); transition: border-color .25s, background .25s;
}
.blog-card:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.04); }
.blog-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-1); margin-bottom: var(--sp-1); font-size: .85rem; }
.blog-card__date { color: var(--c-text-muted); }
.blog-card h2 { font-size: 1.3rem; font-weight: 500; margin-bottom: var(--sp-1); line-height: 1.3; }
.blog-card p { color: var(--c-text-muted); font-size: .95rem; line-height: 1.5; }

/* Kategorie-Tags */
.cat-tag {
  display: inline-block; padding: 2px 10px; border-radius: var(--radius);
  font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em;
}
.cat-tag--history { color: var(--c-history); border: 1px solid rgba(211,165,74,.35); background: rgba(211,165,74,.1); }
.cat-tag--dentity { color: var(--c-dentity); border: 1px solid rgba(118,156,162,.35); background: rgba(118,156,162,.1); }
.cat-tag--grow    { color: var(--c-grow);    border: 1px solid rgba(142,159,106,.35); background: rgba(142,159,106,.1); }
.cat-tag--allgemein { color: var(--c-text-muted); border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); }

/* Einzelner Artikel */
.article { max-width: 720px; margin: 0 auto; }
.article__meta { display: flex; flex-wrap: wrap; gap: var(--sp-2); color: var(--c-text-muted); font-size: .9rem; margin-bottom: var(--sp-4); }
.article__body { font-size: 1.05rem; line-height: 1.85; }
.article__body h2 { font-size: 1.5rem; font-weight: 500; margin: var(--sp-5) 0 var(--sp-2); letter-spacing: -.02em; }
.article__body h3 { font-size: 1.2rem; font-weight: 500; margin: var(--sp-4) 0 var(--sp-1); }
.article__body p { margin-bottom: var(--sp-2); }
.article__body ul, .article__body ol { padding-left: 1.5em; margin-bottom: var(--sp-2); }
.article__body li { margin-bottom: .3em; }
.article__body blockquote { border-left: 3px solid var(--c-history); padding-left: var(--sp-3); margin: var(--sp-3) 0; color: var(--c-text-muted); font-style: italic; }
.article__body strong { font-weight: 500; }
.article__body a { text-decoration: underline; text-underline-offset: 2px; }
.article__tags { display: flex; flex-wrap: wrap; gap: var(--sp-1); margin-top: var(--sp-5); padding-top: var(--sp-3); border-top: 1px solid rgba(255,255,255,.08); }
.article__tag { padding: 3px 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); font-size: .8rem; color: var(--c-text-muted); }
