/*!
 * Template „thomasgelfert“ 2.0.0 – Child-Template von Cassiopeia
 * (C) 2026 Thomas Gelfert · GNU GPL v2 oder neuer
 * Schrift: Outfit (SIL Open Font License 1.1), lokal eingebunden
 */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Grundwerte ---------- */

:root {
  --tg-red: #be350e;
  --tg-red-logo: #d53d0e;
  --tg-orange: #ed6d43;
  --tg-ink: #16181d;
  --tg-text: #2e3440;
  --tg-muted: #4b5160;
  --tg-navy: #232a44;
  --tg-navy-deep: #161b2e;
  --tg-pale: #fdf1eb;
  --tg-pale-2: #fbe3d9;
  --tg-line: #d5d8df;
  --tg-pad: clamp(20px, 5.55vw, 80px);
  --tg-max: 1440px;
  --tg-hex: url("../images/hex-mask.svg") center / 100% 100% no-repeat;
  --tg-acc: #be350e;
  --tg-acc-hover: #16181d;
  --tg-foot: #16181d;
  --tg-foot-panel: #22252c;

  --cassiopeia-color-primary: #be350e;
  --cassiopeia-color-link: #be350e;
  --cassiopeia-color-hover: #16181d;
  --cassiopeia-font-family-body: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --cassiopeia-font-family-headings: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --link-color: #be350e;
  --link-color-rgb: 190, 53, 14;
  --link-hover-color: #16181d;
  --link-hover-color-rgb: 22, 24, 29;
  --bs-primary: #be350e;
  --bs-primary-rgb: 190, 53, 14;
  --bs-link-color: #be350e;
  --bs-link-color-rgb: 190, 53, 14;
  --bs-link-hover-color: #16181d;
  --bs-link-hover-color-rgb: 22, 24, 29;
}

html {
  scroll-behavior: smooth;
}

body.tg {
  margin: 0;
  background: #fff;
  color: var(--tg-ink);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.tg.tg-menu-open {
  overflow: hidden;
}

.tg h1,
.tg h2,
.tg h3,
.tg h4,
.tg .h1,
.tg .h2,
.tg .h3,
.tg .h4 {
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--tg-ink);
}

.tg h1,
.tg .h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.tg h2,
.tg .h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.tg h3,
.tg .h3 {
  font-size: clamp(1.375rem, 2vw, 1.75rem);
}

.tg a {
  color: var(--tg-acc);
  text-underline-offset: 0.18em;
}

.tg a:hover {
  color: var(--tg-acc-hover);
}

.tg :focus-visible {
  outline: 3px solid var(--tg-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.tg img {
  max-width: 100%;
  height: auto;
}

.tg .btn-primary {
  --bs-btn-bg: #be350e;
  --bs-btn-border-color: #be350e;
  --bs-btn-hover-bg: #16181d;
  --bs-btn-hover-border-color: #16181d;
  --bs-btn-active-bg: #16181d;
  --bs-btn-active-border-color: #16181d;
  --bs-btn-disabled-bg: #be350e;
  --bs-btn-disabled-border-color: #be350e;
  --btn-bg: #be350e;
  --btn-border-color: #be350e;
  --btn-hover-bg: #16181d;
  --btn-hover-border-color: #16181d;
  --btn-active-bg: #16181d;
  --btn-active-border-color: #16181d;
}

/* Schaltfläche für eigene Inhalte: <a class="tg-btn" href="…">Text →</a> */
.tg .tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 99px;
  background: var(--tg-acc);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.tg .tg-btn:hover,
.tg .tg-btn:focus-visible {
  background: var(--tg-ink);
  color: #fff;
}

/* ---------- Kopf ---------- */

.tg-header {
  position: relative;
  z-index: 20;
}

.tg-header--over {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}

.tg-header__in {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--tg-max);
  margin: 0 auto;
  padding: clamp(18px, 3.05vw, 44px) var(--tg-pad) 0;
}

.tg-logo {
  display: block;
  pointer-events: auto;
}

.tg-logo img {
  display: block;
  height: clamp(50px, 6.53vw, 94px);
  width: auto;
  max-width: none;
}

.tg-header__actions {
  display: flex;
  align-items: center;
  gap: clamp(0px, 0.55vw, 8px);
  margin-top: -4px;
  pointer-events: auto;
}

.tg .tg-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(46px, 4.6vw, 66px);
  height: clamp(46px, 4.6vw, 66px);
  padding: 0;
  border: 0;
  background: none;
  color: var(--tg-ink);
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
}

.tg .tg-icon svg {
  width: clamp(34px, 3.9vw, 56px);
  height: auto;
}

.tg .tg-icon:hover {
  color: var(--tg-acc);
  transform: scale(1.1);
}

.tg .tg-header--over .tg-icon,
.tg .tg-menu .tg-icon {
  color: #fff;
}

.tg .tg-header--over .tg-icon:hover,
.tg .tg-menu .tg-icon:hover {
  color: #ffd9cc;
}

.tg .tg-header--over :focus-visible,
.tg .tg-menu :focus-visible,
.tg .tg-footer :focus-visible,
.tg .tg-split :focus-visible {
  outline-color: #fff;
}

/* ---------- Menü (fährt von rechts herein) ---------- */

.tg-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  width: min(480px, 100vw);
  background: var(--tg-foot);
  color: #fff;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s 0.4s;
}

.tg-menu.is-open {
  transform: none;
  visibility: visible;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tg-menu__bar {
  display: flex;
  justify-content: flex-end;
  padding: clamp(18px, 3.05vw, 40px) clamp(20px, 3vw, 40px) 0;
}

.tg-menu__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px clamp(24px, 3.5vw, 48px) 48px;
}

.tg-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(22, 24, 29, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0s 0.4s;
}

.tg-menu.is-open + .tg-menu-overlay {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s;
}

/* Menümodul – funktioniert mit allen vier Menü-Layouts */
.tg-menu .navbar {
  display: block;
  padding: 0;
}

.tg-menu .navbar-toggler {
  display: none;
}

.tg-menu .navbar-collapse {
  display: block !important;
}

.tg-menu ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tg-menu .mod-menu > li {
  border-bottom: 1px solid #3a3d46;
}

.tg-menu li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 0;
}

.tg-menu li > a,
.tg-menu li > span,
.tg-menu li > button:not(.mm-toggler) {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 6px 0;
  border: 0;
  background: none;
  color: #fff;
  font-size: 1.625rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: left;
  text-decoration: none;
}

.tg-menu li > a:hover,
.tg-menu li.current > a,
.tg-menu li.active > a {
  color: #ff9a7a;
}

.tg-menu li > ul {
  flex: 0 0 100%;
  position: static;
  padding: 0 0 12px 18px;
  background: none;
  box-shadow: none;
}

.tg-menu li li > a,
.tg-menu li li > span,
.tg-menu li li > button:not(.mm-toggler) {
  min-height: 46px;
  font-size: 1.1875rem;
  font-weight: 400;
  letter-spacing: 0;
  color: #c9ccd4;
}

.tg-menu .mm-toggler {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
}

.tg-menu .mm-collapse:not(.mm-show) {
  display: none;
}

/* Aufklapp-Menüs (metisMenu) im Seitenmenü nicht schweben lassen */
.tg-menu .metismenu.mod-menu .metismenu-item {
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}

.tg-menu .metismenu.mod-menu .metismenu-item > ul,
.tg-menu .metismenu.mod-menu .mm-collapse,
.tg-menu .metismenu.mod-menu .mm-collapse > li.parent > ul {
  position: static;
  top: auto;
  min-width: 0;
  margin: 0;
  padding: 0 0 12px 18px;
  background: none;
  box-shadow: none;
}

.tg-menu .metismenu.mod-menu .mm-toggler {
  justify-content: center;
  height: 48px;
}

.tg-menu .metismenu.mod-menu .mm-toggler::after {
  border-top-color: currentColor;
}

/* ---------- Startseite: Wahlfläche ----------
   Beide Motive (Nacht = Autor, Tag = Designer) zeigen denselben Raum und liegen
   deckungsgleich übereinander. Die Nacht-Ebene wird per clip-path auf ihre Seite
   begrenzt, die Tag-Ebene liegt vollflächig darunter. Beim Überfahren wandert die
   Spitze der Grenze zur Seite, die aktive Seite wächst auf ca. 2/3. */

.tg-split {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: #0b0d14;
  container-type: inline-size;
}

/* Verlauf unter dem Kopf, damit Logo und Symbole auf dem hellen Tagbild lesbar bleiben */
.tg-split::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  height: 170px;
  background: linear-gradient(to bottom, rgba(8, 10, 20, 0.5), rgba(8, 10, 20, 0));
  pointer-events: none;
}

.tg-lay {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transition: clip-path 0.7s cubic-bezier(0.65, 0, 0.25, 1);
}

/* Nacht: links. Ruhezustand: gerade Kante bei 50 % (Spitze und Ecken auf 50 %) */
.tg-lay--a {
  z-index: 1;
  clip-path: polygon(0 0, 50% 0, 50% 50%, 50% 100%, 0 100%);
  will-change: clip-path;
}

.tg-lay--b {
  z-index: 0;
}

.tg .tg-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

/* Ruhezustand: beide Motive verblasst; Verlauf am Außenrand für die Schrift */
.tg-lay__v,
.tg-lay__d {
  position: absolute;
  inset: 0;
  transition: opacity 0.7s ease;
}

.tg-lay--a .tg-lay__v {
  background: rgba(46, 56, 96, 0.52);
}

.tg-lay--b .tg-lay__v {
  background: rgba(168, 70, 42, 0.5);
}

.tg-lay__d {
  background: #0b0d14;
  opacity: 0;
}

.tg-lay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tg-lay--a::after {
  background: linear-gradient(to right, rgba(10, 12, 24, 0.66), rgba(10, 12, 24, 0) 48%);
}

.tg-lay--b::after {
  background: linear-gradient(to left, rgba(60, 16, 4, 0.72), rgba(60, 16, 4, 0) 50%);
}

/* Klickflächen (unsichtbar) */
.tg-side {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 50%;
  overflow: hidden;
}

.tg-side--a {
  left: 0;
}

.tg-side--b {
  right: 0;
}

.tg .tg-side:focus-visible {
  outline: 4px solid #fff;
  outline-offset: -10px;
  border-radius: 0;
}

/* Überlagerungsraute in der Mitte: beide Motive übereinander, noch blasser */
.tg-dia {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  height: 100%;
  /* Gleicher Winkel wie die offene Spitze: 8 % Breite je Seite auf halber Höhe */
  width: 16vw;
  width: 16cqw;
  overflow: hidden;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 0.4s ease;
  -webkit-mask: url("../images/diamond-mask.svg") center / 100% 100% no-repeat;
  mask: url("../images/diamond-mask.svg") center / 100% 100% no-repeat;
}

.tg-dia__in {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  width: 100cqw;
  transform: translateX(-50%);
  /* Milchglas: beide Motive weichgezeichnet übereinander, kein Doppelbild */
  filter: blur(10px) saturate(0.8);
}

.tg .tg-dia__top {
  opacity: 0.5;
}

.tg-dia__w {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 28, 0.32);
}

/* Dezente Pfeile (< und >), die von innen nach außen laufen */
.tg-dia__c {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border: solid rgba(255, 255, 255, 0.95);
  opacity: 0;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
  animation: tg-chev-l 2.6s ease-out infinite;
}

.tg-dia__c--l {
  border-width: 0 0 3px 3px;
  rotate: 45deg;
}

.tg-dia__c--r {
  border-width: 3px 3px 0 0;
  rotate: 45deg;
  animation-name: tg-chev-r;
}

.tg-dia__c--2 {
  animation-delay: 1.3s;
}

@keyframes tg-chev-l {
  0% {
    opacity: 0;
    translate: 0 0;
  }

  25% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    translate: calc(-8cqw + 20px) 0;
  }
}

@keyframes tg-chev-r {
  0% {
    opacity: 0;
    translate: 0 0;
  }

  25% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    translate: calc(8cqw - 20px) 0;
  }
}

/* ---------- Zustände: Autor (Nacht) aktiv / Designer (Tag) aktiv ---------- */

@media (min-width: 768px) {
  /* Autor aktiv: Kante samt Spitze wandert nach rechts (ca. 2/3) */
  .tg-split:is(.is-a, :has(.tg-side--a:is(:hover, :focus-visible))) .tg-lay--a {
    clip-path: polygon(0 0, 62% 0, 70% 50%, 62% 100%, 0 100%);
  }

  /* Designer aktiv: Spitze wandert nach links (Designer bekommt ca. 2/3) */
  .tg-split:is(.is-b, :has(.tg-side--b:is(:hover, :focus-visible))) .tg-lay--a {
    clip-path: polygon(0 0, 38% 0, 30% 50%, 38% 100%, 0 100%);
  }

  .tg-split:is(.is-a, :has(.tg-side--a:is(:hover, :focus-visible))) .tg-side--a,
  .tg-split:is(.is-b, :has(.tg-side--b:is(:hover, :focus-visible))) .tg-side--b {
    width: 66.7%;
  }

  .tg-split:is(.is-a, :has(.tg-side--a:is(:hover, :focus-visible))) .tg-side--b,
  .tg-split:is(.is-b, :has(.tg-side--b:is(:hover, :focus-visible))) .tg-side--a {
    width: 33.3%;
  }

  /* Raute verschwindet, sobald eine Seite aktiv ist */
  .tg-split:is(.is-a, .is-b, :has(.tg-side:is(:hover, :focus-visible))) .tg-dia {
    opacity: 0;
  }

  /* Aktives Motiv wird kontrastreich bis zum vollen Originalbild */
  .tg-split:is(.is-a, :has(.tg-side--a:is(:hover, :focus-visible))) .tg-lay--a .tg-lay__v,
  .tg-split:is(.is-b, :has(.tg-side--b:is(:hover, :focus-visible))) .tg-lay--b .tg-lay__v {
    opacity: 0;
  }

  /* Das andere Motiv wird abgedunkelt */
  .tg-split:is(.is-a, :has(.tg-side--a:is(:hover, :focus-visible))) .tg-lay--b .tg-lay__d,
  .tg-split:is(.is-b, :has(.tg-side--b:is(:hover, :focus-visible))) .tg-lay--a .tg-lay__d {
    opacity: 0.62;
  }

  .tg-split:is(.is-a, :has(.tg-side--a:is(:hover, :focus-visible))) .tg-split__txt--b,
  .tg-split:is(.is-b, :has(.tg-side--b:is(:hover, :focus-visible))) .tg-split__txt--a {
    opacity: 0.55;
  }

  .tg-split:is(.is-a, :has(.tg-side--a:is(:hover, :focus-visible))) .tg-split__txt--a .tg-split__btn,
  .tg-split:is(.is-b, :has(.tg-side--b:is(:hover, :focus-visible))) .tg-split__txt--b .tg-split__btn {
    background: #fff;
    color: var(--tg-ink);
  }
}

.tg-split__txt {
  transition: opacity 0.45s ease;
  position: absolute;
  top: 56%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #fff;
  pointer-events: none;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  transform: translateY(-50%);
}

.tg-split__txt--a {
  left: clamp(20px, 7.8vw, 112px);
  align-items: flex-start;
}

.tg-split__txt--b {
  right: clamp(20px, 7.8vw, 112px);
  align-items: flex-end;
  text-align: right;
}

.tg-split__line {
  font-size: clamp(1rem, 1.46vw, 1.3125rem);
  line-height: 1.3;
}

.tg-split__title {
  font-size: clamp(2.75rem, 7.8vw, 7rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.tg-split__btn {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  margin-top: 14px;
  padding: 0 28px;
  border: 2px solid #fff;
  border-radius: 99px;
  font-size: 1.125rem;
  font-weight: 600;
  text-shadow: none;
  transition: background 0.45s ease, color 0.45s ease;
}

.tg .tg-split__more {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 44px;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  transform: translateX(-50%);
}

.tg .tg-split__more:hover {
  color: #ffd9cc;
}

@media (max-width: 767.98px) {
  /* Handy: oben Nacht (Autor), unten Tag (Designer), gerade Kante */
  .tg-lay--a {
    clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 50%, 0 50%);
  }

  .tg-lay--a::after {
    background: linear-gradient(to bottom, rgba(10, 12, 24, 0) 12%, rgba(10, 12, 24, 0.82) 50%);
  }

  .tg-lay--b::after {
    background: linear-gradient(to bottom, rgba(60, 16, 4, 0) 52%, rgba(60, 16, 4, 0.8) 100%);
  }

  .tg-lay--a .tg-lay__v {
    background: rgba(26, 32, 60, 0.5);
  }

  .tg-lay--b .tg-lay__v {
    background: rgba(150, 60, 32, 0.5);
  }

  .tg-side {
    left: 0;
    right: 0;
    width: 100%;
  }

  .tg-side--a {
    bottom: 50%;
  }

  .tg-side--b {
    top: 50%;
  }

  .tg-dia {
    display: none;
  }

  .tg-split__txt {
    top: auto;
    gap: 8px;
    transform: none;
  }

  .tg-split__txt--a {
    bottom: calc(50% + 22px);
  }

  .tg-split__txt--b {
    bottom: 84px;
  }

  .tg-split__btn {
    min-height: 46px;
    margin-top: 6px;
    padding: 0 22px;
    font-size: 1rem;
  }
}

/* ---------- Seitenrahmen ---------- */

.tg-page {
  position: relative;
  overflow-x: clip;
  scroll-margin-top: 0;
}

.tg-main {
  max-width: var(--tg-max);
  margin: 0 auto;
  padding: 0 var(--tg-pad);
}

.tg-main__content > main:empty {
  display: none;
}

.tg-main--side {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
}

@media (min-width: 992px) {
  .tg-main--side {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  }
}

.tg-main__side {
  padding: clamp(40px, 9vw, 130px) 0 clamp(48px, 6vw, 90px);
}

/* Seiten ohne eigenes Beitragslayout (Listen, Formulare, Portal …) */
.tg-main__content > main > :not(.tg-article) {
  margin-top: clamp(40px, 7vw, 100px);
  margin-bottom: clamp(48px, 7vw, 110px);
}

/* Brotkrumen: unter dem Inhalt, vor dem Fuß */
.tg-crumbs {
  margin-top: clamp(32px, 5vw, 64px);
  margin-bottom: clamp(32px, 5vw, 56px);
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.tg-crumbs .mod-breadcrumbs__wrapper {
  margin: 0;
}

.tg-crumbs .breadcrumb {
  margin: 0;
  padding: 0 !important;
  background: none;
  font-size: 0.9375rem;
}

body.tg-world-autor .tg-crumbs {
  border-top-color: rgba(35, 42, 68, 0.2);
}

/* ---------- Lesezeichen am rechten Rand ---------- */

.tg .tg-bookmark {
  position: absolute;
  top: clamp(64px, 8.2vw, 118px);
  right: -236px;
  z-index: 5;
  display: block;
  width: 340px;
  height: 294px;
  color: #fff;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tg .tg-bookmark:hover,
.tg .tg-bookmark:focus-visible {
  color: #fff;
  transform: translateX(-46px);
}

.tg .tg-bookmark:focus-visible {
  outline: none;
  filter: drop-shadow(-4px 0 0 var(--tg-ink));
}

.tg-bookmark__shape {
  position: absolute;
  inset: 0;
  background: var(--tg-navy);
  -webkit-mask: var(--tg-hex);
  mask: var(--tg-hex);
}

.tg-bookmark--designer .tg-bookmark__shape {
  background: var(--tg-red);
}

.tg-bookmark__label {
  position: absolute;
  top: 50%;
  left: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(-90deg);
}

@media (max-width: 991.98px) {
  .tg .tg-bookmark {
    top: 28px;
    right: -142px;
    width: 200px;
    height: 173px;
  }

  .tg .tg-bookmark:hover,
  .tg .tg-bookmark:focus-visible {
    transform: translateX(-20px);
  }

  .tg-bookmark__label {
    left: 30px;
    gap: 6px;
    font-size: 0.9375rem;
  }

  .tg-bookmark__label svg {
    width: 20px;
    height: 18px;
  }
}

/* ---------- Beitrag: Titel, Banner, Text ---------- */

.tg-title {
  padding: clamp(48px, 9vw, 130px) clamp(48px, 10vw, 140px) clamp(36px, 5vw, 72px) 0;
}

.tg .tg-title h1 {
  margin: 0;
  font-size: clamp(2.75rem, 7.4vw, 6.6rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.055em;
  overflow-wrap: break-word;
  hyphens: auto;
}

.tg.tg-section .tg-title h1 {
  font-size: clamp(3rem, 8.4vw, 7.5rem);
}

.tg-title__slogan {
  margin: 20px 0 0;
  max-width: 26ch;
  color: var(--tg-muted);
  font-size: clamp(1.125rem, 1.55vw, 1.375rem);
  line-height: 1.45;
}

@media (min-width: 992px) {
  .tg-title--slogan {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(220px, 340px);
    align-items: end;
    justify-content: start;
    gap: clamp(32px, 4.5vw, 64px);
  }

  .tg-title__slogan {
    margin: 0 0 0.6em;
  }
}

.tg-hero {
  /* Schräge Unterkante: sie steigt nach rechts um --tg-hero-s an.
     Darunter liegen zwei Streifen, die links dünn beginnen und rechts dicker werden. */
  --tg-hero-s: 2.8vw;
  --tg-st1-l: max(0.2vw, 2px);
  --tg-st1-r: max(0.55vw, 5px);
  --tg-st2-l: max(0.35vw, 3px);
  --tg-st2-r: max(1.65vw, 12px);
  --tg-st-gap: 0px;
  position: relative;
  width: 100vw;
  height: clamp(220px, 34.7vw, 500px);
  margin-left: calc(50% - 50vw);
}

.tg .tg-hero img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  background: var(--tg-pale);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--tg-hero-s)), 0 100%);
}

/* dünner Streifen = Primärfarbe (Logo-Rot), dicker Streifen = Sekundärfarbe (helles Logo-Rot) */
.tg-hero::before,
.tg-hero::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  top: calc(100% - var(--tg-hero-s));
  height: calc(var(--tg-hero-s) + var(--tg-st1-l) + var(--tg-st-gap) + var(--tg-st2-l) + 2px);
  pointer-events: none;
}

.tg-hero::before {
  background: var(--tg-red-logo);
  clip-path: polygon(
    0 var(--tg-hero-s),
    100% 0,
    100% var(--tg-st1-r),
    0 calc(var(--tg-hero-s) + var(--tg-st1-l))
  );
}

.tg-hero::after {
  background: var(--tg-orange);
  clip-path: polygon(
    0 calc(var(--tg-hero-s) + var(--tg-st1-l) + var(--tg-st-gap)),
    100% calc(var(--tg-st1-r) + var(--tg-st-gap)),
    100% calc(var(--tg-st1-r) + var(--tg-st-gap) + var(--tg-st2-r)),
    0 calc(var(--tg-hero-s) + var(--tg-st1-l) + var(--tg-st-gap) + var(--tg-st2-l))
  );
}

.tg-body {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(40px, 5.5vw, 80px) 0 clamp(64px, 8vw, 120px);
}

.tg-section .tg-body {
  padding: 0;
}

.tg-section .tg-body__main:not(:has(.com-content-article__body > *)) {
  display: none;
}

@media (min-width: 992px) {
  .tg-body--side {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    align-items: start;
  }
}

.tg-body__main {
  min-width: 0;
}

.com-content-article__body {
  color: var(--tg-text);
  font-size: clamp(1.125rem, 1.4vw, 1.25rem);
  line-height: 1.65;
}

.com-content-article__body > * {
  max-width: 46rem;
}

.com-content-article__body p {
  margin: 0 0 1.1em;
}

.com-content-article__body h2 {
  margin: 1.5em 0 0.5em;
}

.com-content-article__body h3 {
  margin: 1.4em 0 0.4em;
}

.com-content-article__body > :first-child {
  margin-top: 0;
}

/* Einleitung: <p class="tg-lead">…</p> */
.tg .tg-lead {
  color: var(--tg-ink);
  font-size: clamp(1.3125rem, 1.85vw, 1.625rem);
  font-weight: 300;
  line-height: 1.45;
}

/* Kasten rechts */
.tg-sidebox {
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: 24px;
  background: var(--tg-pale);
  color: var(--tg-text);
  font-size: 1.125rem;
}

.tg-sidebox + .tg-sidebox {
  margin-top: 24px;
}

.tg .tg-sidebox__h {
  margin: 0 0 16px;
  font-size: 1.625rem;
}

.tg-sidebox ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.tg-sidebox li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 30px;
}

.tg-sidebox li::before {
  content: "";
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 16px;
  height: 14px;
  background: var(--tg-acc);
  -webkit-mask: var(--tg-hex);
  mask: var(--tg-hex);
}

.tg-sidebox p:last-child,
.tg-sidebox ul:last-child {
  margin-bottom: 0;
}

/* Zeilen mit Symbol: <ul class="tg-iconrows"><li class="tg-i-web"><strong>Titel</strong> Text</li></ul> */
.tg .tg-iconrows {
  display: grid;
  gap: 4px;
  margin: 1.4em 0;
  padding: 0;
  list-style: none;
}

.tg .tg-iconrows > li {
  position: relative;
  min-height: 64px;
  padding: 14px 0 14px 68px;
  border-top: 1px solid var(--tg-line);
}

.tg .tg-iconrows > li:last-child {
  border-bottom: 1px solid var(--tg-line);
}

.tg .tg-iconrows > li::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 8px;
  width: 36px;
  height: 36px;
  background: var(--tg-acc);
  -webkit-mask: var(--tg-i, none) center / contain no-repeat;
  mask: var(--tg-i, none) center / contain no-repeat;
}

.tg .tg-iconrows strong,
.tg .tg-services__grid strong,
.tg .tg-steps strong {
  display: block;
  color: var(--tg-ink);
  font-weight: 600;
}

/* Schritte mit Siegel-Ziffern: <ol class="tg-steps"><li><strong>Titel</strong> Text</li></ol> */
.tg .tg-steps {
  display: grid;
  gap: 22px;
  margin: 1.4em 0;
  padding: 0;
  list-style: none;
  counter-reset: tgstep;
}

.tg .tg-steps > li {
  position: relative;
  min-height: 56px;
  padding-left: 84px;
  counter-increment: tgstep;
}

.tg .tg-steps > li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 55px;
  background: var(--tg-acc);
  -webkit-mask: var(--tg-hex);
  mask: var(--tg-hex);
}

.tg .tg-steps > li::after {
  content: counter(tgstep);
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 55px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 55px;
  text-align: center;
}

/* ---------- Startseite: Leistungen (Modul in Position top-a) ---------- */

.tg-services {
  max-width: var(--tg-max);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 120px) var(--tg-pad) clamp(48px, 7vw, 100px);
}

.tg-services__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 56px);
}

.tg .tg-services__head h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.tg .tg-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 0 clamp(24px, 3.5vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tg .tg-services__grid > li {
  position: relative;
  min-height: 96px;
  padding: 22px 0 22px 68px;
  border-top: 1px solid var(--tg-line);
  color: var(--tg-muted);
  font-size: 1.0625rem;
  line-height: 1.45;
}

.tg .tg-services__grid > li::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 4px;
  width: 42px;
  height: 42px;
  background: var(--tg-acc);
  -webkit-mask: var(--tg-i, none) center / contain no-repeat;
  mask: var(--tg-i, none) center / contain no-repeat;
}

.tg .tg-services__grid strong {
  font-size: 1.4375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.tg .tg-services__grid a {
  color: inherit;
  text-decoration: none;
}

.tg .tg-services__grid a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.tg .tg-services__grid > li:has(a:hover) {
  background: var(--tg-pale);
}

/* ---------- Startseite: Werte und Schritte auf Orange ---------- */

.tg-values {
  background: var(--tg-orange);
  color: var(--tg-ink);
  clip-path: polygon(0 4.86vw, 100% 0, 100% 100%, 0 100%);
}

.tg-values__in {
  display: grid;
  gap: clamp(32px, 5vw, 80px);
  max-width: var(--tg-max);
  margin: 0 auto;
  padding: calc(4.86vw + clamp(48px, 6vw, 96px)) var(--tg-pad) clamp(56px, 7vw, 110px);
}

@media (min-width: 992px) {
  .tg-values__in {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: center;
  }
}

.tg .tg-values h2 {
  margin: 0 0 0.35em;
  font-size: clamp(2.5rem, 5.3vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.tg-values p {
  max-width: 34ch;
  margin: 0;
  font-size: clamp(1.125rem, 1.6vw, 1.4375rem);
  line-height: 1.45;
}

.tg .tg-values .tg-steps {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.45;
}

.tg .tg-values .tg-steps > li::before {
  background: var(--tg-ink);
}

.tg .tg-values .tg-steps strong {
  font-size: 1.4375rem;
  font-weight: 500;
}

.tg .tg-values a {
  color: var(--tg-ink);
}

@media (min-width: 992px) {
  .tg .tg-values .tg-steps > li:nth-child(2) {
    margin-left: 8%;
  }

  .tg .tg-values .tg-steps > li:nth-child(3) {
    margin-left: 16%;
  }

  .tg .tg-values .tg-steps > li:nth-child(4) {
    margin-left: 24%;
  }
}

/* ---------- Menü-Layout „siegel“ ---------- */

.tg-seals-wrap {
  position: relative;
  z-index: 0;
  margin: 0 0 clamp(56px, 7.6vw, 110px);
  isolation: isolate;
  container-type: inline-size;
}

.tg-seals-wrap::before,
.tg-books-wrap::before {
  content: "";
  position: absolute;
  top: -24px;
  bottom: -24px;
  left: calc(50% - 50vw);
  z-index: -1;
  width: 100vw;
  background: url("../images/swoosh-warm.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}

.tg-books-wrap::before {
  background-image: url("../images/swoosh-cool.svg");
}

.tg .tg-seals {
  --n: 2;
  --g: 9px;
  --w: calc((100cqw - (var(--n) - 1) * var(--g)) / (0.75 * var(--n) + 0.25));
  --h: calc(var(--w) * 0.866);
  display: grid;
  grid-template-columns: repeat(var(--n), calc(var(--w) * 0.75 + var(--g)));
  grid-auto-rows: calc(var(--h) + var(--g));
  margin: 0;
  padding: 0 0 calc(var(--h) / 2) 0;
  list-style: none;
}

.tg .tg-seals:has(> .tg-seal:last-child:nth-child(2n + 1)) {
  padding-bottom: 0;
}

.tg-seal {
  width: var(--w);
  height: var(--h);
}

.tg .tg-seals > .tg-seal:nth-child(2n) {
  transform: translateY(calc((var(--h) + var(--g)) / 2));
}

.tg .tg-seal a {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease, filter 0.2s;
}

.tg .tg-seal a:focus-visible {
  outline: none;
  filter: drop-shadow(4px 0 0 var(--tg-ink)) drop-shadow(-4px 0 0 var(--tg-ink)) drop-shadow(0 4px 0 var(--tg-ink)) drop-shadow(0 -4px 0 var(--tg-ink));
}

.tg .tg-seal--dark a:focus-visible {
  filter: drop-shadow(4px 0 0 var(--tg-red)) drop-shadow(-4px 0 0 var(--tg-red)) drop-shadow(0 4px 0 var(--tg-red)) drop-shadow(0 -4px 0 var(--tg-red));
}

.tg-seal {
  --tg-seal: var(--tg-red);
  --tg-seal-text: #fff;
  --tg-seal-hover: var(--tg-red);
}

.tg-seal--small {
  --tg-seal: var(--tg-orange);
  --tg-seal-text: var(--tg-ink);
}

.tg-seal--dark {
  --tg-seal: var(--tg-ink);
  --tg-seal-hover: var(--tg-ink);
}

.tg-seal__shape {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  width: 100%;
  height: 100%;
  padding: 0 13%;
  background: var(--tg-seal);
  color: var(--tg-seal-text);
  font-size: calc(var(--w) * 0.1);
  text-align: center;
  -webkit-mask: var(--tg-hex);
  mask: var(--tg-hex);
  transition: color 0.3s ease;
}

/* Beim Überfahren: Farben tauschen, innen entsteht ein Rahmen */
.tg-seal__shape::before,
.tg-seal__shape::after {
  content: "";
  position: absolute;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tg-seal__shape::before {
  inset: 2.2%;
  background: #fff;
  -webkit-mask: var(--tg-hex);
  mask: var(--tg-hex);
}

.tg-seal__shape::after {
  inset: 6.5%;
  background: var(--tg-seal);
  -webkit-mask: url("../images/hex-ring.svg") center / 100% 100% no-repeat;
  mask: url("../images/hex-ring.svg") center / 100% 100% no-repeat;
}

.tg-seal__shape > * {
  position: relative;
  z-index: 1;
}

.tg-seal a:hover .tg-seal__shape,
.tg-seal a:focus-visible .tg-seal__shape {
  color: var(--tg-seal-hover);
}

.tg-seal a:hover .tg-seal__shape::before,
.tg-seal a:hover .tg-seal__shape::after,
.tg-seal a:focus-visible .tg-seal__shape::before,
.tg-seal a:focus-visible .tg-seal__shape::after {
  opacity: 1;
}

.tg-seal__title {
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.tg-seal .tg-ico {
  width: 1.35em;
  height: 1.35em;
}

@container (min-width: 620px) {
  .tg .tg-seals {
    --n: 3;
    --g: 12px;
  }

  .tg .tg-seals > .tg-seal:nth-child(2n) {
    transform: none;
  }

  .tg .tg-seals > .tg-seal:nth-child(3n + 2) {
    transform: translateY(calc((var(--h) + var(--g)) / 2));
  }
  .tg .tg-seals:has(> .tg-seal:last-child) {
    padding-bottom: calc(var(--h) / 2);
  }

  .tg .tg-seals:has(> .tg-seal:last-child:nth-child(3n + 1)) {
    padding-bottom: 0;
  }
}

@container (min-width: 900px) {
  .tg .tg-seals {
    --n: 4;
    max-width: 1000px;
    margin: 0 auto;
    --w: calc((min(100cqw, 1000px) - (var(--n) - 1) * var(--g)) / (0.75 * var(--n) + 0.25));
  }

  .tg .tg-seals > .tg-seal:nth-child(3n + 2) {
    transform: none;
  }

  .tg .tg-seals > .tg-seal:nth-child(2n) {
    transform: translateY(calc((var(--h) + var(--g)) / 2));
  }

  .tg .tg-seals:has(> .tg-seal:last-child:nth-child(4n + 1)) {
    padding-bottom: 0;
  }
}

/* Feste Anordnung: vier große und zwei (fix6) oder drei (fix7) kleine Siegel */
@container (min-width: 1110px) {
  .tg .tg-seals.tg-seals.tg-seals--fix6,
  .tg .tg-seals.tg-seals.tg-seals--fix7 {
    position: relative;
    display: block;
    width: 1110px;
    max-width: none;
    height: 712px;
    margin: 0 auto;
    padding: 0;
  }

  .tg .tg-seals.tg-seals.tg-seals--fix6 {
    width: 965px;
  }

  .tg .tg-seals.tg-seals.tg-seals--fix6 > .tg-seal,
  .tg .tg-seals.tg-seals.tg-seals--fix7 > .tg-seal {
    position: absolute;
    width: 320px;
    height: 277px;
    transform: none;
  }

  .tg .tg-seals.tg-seals.tg-seals--fix6 > .tg-seal .tg-seal__shape,
  .tg .tg-seals.tg-seals.tg-seals--fix7 > .tg-seal .tg-seal__shape {
    font-size: 32px;
  }

  .tg .tg-seals.tg-seals.tg-seals--fix6 > .tg-seal--small,
  .tg .tg-seals.tg-seals.tg-seals--fix7 > .tg-seal--small {
    width: 200px;
    height: 173px;
  }

  .tg .tg-seals.tg-seals.tg-seals--fix6 > .tg-seal--small .tg-seal__shape,
  .tg .tg-seals.tg-seals.tg-seals--fix7 > .tg-seal--small .tg-seal__shape {
    font-size: 21px;
  }

  .tg .tg-seals.tg-seals.tg-seals--fix7 > .tg-slot1 { left: 145px; top: 0; }
  .tg .tg-seals.tg-seals.tg-seals--fix7 > .tg-slot2 { left: 395px; top: 144px; }
  .tg .tg-seals.tg-seals.tg-seals--fix7 > .tg-slot3 { left: 645px; top: 0; }
  .tg .tg-seals.tg-seals.tg-seals--fix7 > .tg-slot4 { left: 395px; top: 433px; }
  .tg .tg-seals.tg-seals.tg-seals--fix7 > .tg-slot5 { left: 910px; top: 170px; }
  .tg .tg-seals.tg-seals.tg-seals--fix7 > .tg-slot6 { left: 660px; top: 367px; }
  .tg .tg-seals.tg-seals.tg-seals--fix7 > .tg-slot7 { left: 0; top: 170px; }

  .tg .tg-seals.tg-seals.tg-seals--fix6 > .tg-slot1 { left: 0; top: 0; }
  .tg .tg-seals.tg-seals.tg-seals--fix6 > .tg-slot2 { left: 250px; top: 144px; }
  .tg .tg-seals.tg-seals.tg-seals--fix6 > .tg-slot3 { left: 500px; top: 0; }
  .tg .tg-seals.tg-seals.tg-seals--fix6 > .tg-slot4 { left: 250px; top: 433px; }
  .tg .tg-seals.tg-seals.tg-seals--fix6 > .tg-slot5 { left: 765px; top: 170px; }
  .tg .tg-seals.tg-seals.tg-seals--fix6 > .tg-slot6 { left: 515px; top: 367px; }
}

/* ---------- Menü-Layout „buecher“ ---------- */

.tg-books-wrap {
  position: relative;
  z-index: 0;
  margin: 0 0 clamp(56px, 7.6vw, 110px);
}

.tg .tg-books {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tg-book {
  flex: 1 1 0;
  min-width: 0;
}

.tg .tg-book a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
  min-height: 210px;
  padding: 36px 28px 26px 60px;
  overflow: hidden;
  border-radius: 6px 16px 16px 6px;
  background: var(--tg-navy);
  box-shadow: 0 30px 40px -28px rgba(22, 24, 29, 0.55);
  color: #fff;
  text-decoration: none;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.45s;
  --tg-band: var(--tg-orange);
}

.tg .tg-book:nth-child(3n + 2) a {
  background: var(--tg-red);
  --tg-band: var(--tg-ink);
}

.tg .tg-book:nth-child(3n + 3) a {
  background: #e9dcc6;
  color: var(--tg-ink);
  --tg-band: var(--tg-red);
}

.tg .tg-book a:focus-visible {
  outline-offset: 4px;
}

.tg .tg-book a::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 34px;
  background: rgba(0, 0, 0, 0.16);
}

.tg-book__band {
  display: block;
  height: 8px;
  background: var(--tg-band);
}

.tg-book__text {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}

.tg-book__title {
  font-size: clamp(1.75rem, 2.6vw, 2.75rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
  hyphens: auto;
}

.tg-book__desc {
  max-width: 22ch;
  font-size: 1.1875rem;
  line-height: 1.45;
}

.tg-book__go {
  display: flex;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  .tg .tg-books {
    flex-direction: row;
    align-items: flex-end;
    gap: clamp(14px, 1.95vw, 28px);
    padding: 0 clamp(8px, 1.95vw, 28px);
    border-bottom: 14px solid var(--tg-ink);
  }

  .tg .tg-book a {
    height: 470px;
    padding: 44px clamp(20px, 2.8vw, 40px) 36px clamp(52px, 5vw, 72px);
  }

  .tg .tg-book:nth-child(3n + 2) a {
    height: 410px;
  }

  .tg .tg-book:nth-child(3n + 3) a {
    height: 440px;
  }

  .tg .tg-book a:hover {
    transform: translateY(-10px);
  }
}

/* Bücher mit Titelbild: Bild steht auf dem Regalbrett, Titel und Text darunter */
.tg .tg-books--img {
  gap: 36px;
}

.tg .tg-books--img .tg-book a,
.tg .tg-books--img .tg-book:nth-child(n) a {
  display: block;
  gap: 0;
  height: auto;
  min-height: 0;
  padding: 0;
  overflow: visible;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--tg-ink);
  transform: none;
}

.tg .tg-books--img .tg-book a::before {
  content: none;
}

.tg-book__cover {
  position: relative;
  display: block;
  width: min(100%, 340px);
  aspect-ratio: 880 / 1140;
  overflow: hidden;
  border-radius: 5px 14px 14px 5px;
  background: var(--tg-navy);
  box-shadow: 0 30px 40px -24px rgba(22, 24, 29, 0.6);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.45s;
}

.tg-book__cover::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 7%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.06) 70%, rgba(255, 255, 255, 0.12));
}

.tg .tg-book__cover img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.tg-book__plain {
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding: 12% 10% 12% 16%;
  color: #fff;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.tg-book__cap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 18px;
}

.tg .tg-books--img .tg-book__title {
  font-size: clamp(1.5rem, 2.1vw, 1.875rem);
}

.tg .tg-books--img .tg-book__desc {
  max-width: 30ch;
  color: var(--tg-muted);
  font-size: 1.0625rem;
}

.tg .tg-books--img .tg-book__go {
  justify-content: flex-start;
  margin-top: 4px;
  color: var(--tg-acc);
  transition: transform 0.3s;
}

.tg .tg-books--img .tg-book a:hover .tg-book__go {
  transform: translateX(6px);
}

@media (min-width: 768px) {
  .tg .tg-books--img {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 0;
    padding: 0;
    border-bottom: 0;
  }

  .tg .tg-books--img .tg-book,
  .tg .tg-books--img .tg-book a,
  .tg .tg-books--img .tg-book:nth-child(n) a {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
  }

  .tg-books--img .tg-book__cover {
    align-self: end;
    justify-self: center;
    width: 84%;
  }

  .tg-books--img .tg-book:nth-child(3n + 2) .tg-book__cover {
    width: 74%;
  }

  .tg-books--img .tg-book:nth-child(3n + 3) .tg-book__cover {
    width: 79%;
  }

  .tg-books--img .tg-book__cap {
    padding: 24px 8% 0;
    border-top: 14px solid var(--tg-ink);
  }

  .tg .tg-books--img .tg-book a:hover .tg-book__cover,
  .tg .tg-books--img .tg-book a:focus-visible .tg-book__cover {
    box-shadow: 0 44px 50px -26px rgba(22, 24, 29, 0.6);
    transform: translateY(-12px);
  }
}

/* ---------- Menü-Layout „liste“ ---------- */

.tg .tg-list__h {
  margin: 0 0 22px;
  color: var(--tg-muted);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tg .tg-list {
  margin: 0 0 clamp(64px, 9vw, 130px);
  padding: 0;
  border-bottom: 1px solid var(--tg-line);
  list-style: none;
}

.tg .tg-list__row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 2px 10px;
  min-height: 68px;
  padding: 10px 4px;
  border-top: 1px solid var(--tg-line);
  color: var(--tg-ink);
  text-decoration: none;
  transition: background 0.3s;
}

.tg .tg-list__row:hover,
.tg .tg-list__row:focus-visible {
  background: var(--tg-pale);
}

.tg-list__no {
  color: var(--tg-acc);
  font-size: 0.9375rem;
  font-weight: 600;
}

.tg-list__title {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.tg-list__desc {
  grid-column: 2;
  color: var(--tg-muted);
  font-size: 1rem;
  line-height: 1.4;
}

.tg-list__desc:empty {
  display: none;
}

.tg-list__go {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: flex;
  justify-content: flex-end;
  transition: transform 0.3s, color 0.3s;
}

.tg .tg-list__row:hover .tg-list__go {
  color: var(--tg-acc);
  transform: translateX(6px);
}

@media (min-width: 768px) {
  .tg .tg-list__row {
    grid-template-columns: 64px minmax(0, 300px) minmax(0, 1fr) 40px;
    gap: 24px;
    padding: 0 8px;
  }

  .tg-list__title {
    font-size: 1.4375rem;
  }

  .tg-list__desc {
    grid-column: auto;
    font-size: 1.125rem;
  }

  .tg-list__go {
    grid-column: auto;
    grid-row: auto;
  }
}

/* ---------- Fuß ---------- */

.tg-footer {
  background: var(--tg-foot);
  color: #c9ccd4;
  font-size: 1.0625rem;
}

.tg-footer__in {
  max-width: var(--tg-max);
  margin: 0 auto;
  padding: clamp(48px, 6.4vw, 92px) var(--tg-pad) clamp(40px, 4.5vw, 64px);
}

.tg-footer__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding-bottom: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid #3a3d46;
}

.tg-footer__ctatext {
  margin: 0;
  color: #fff;
  font-size: clamp(2.25rem, 4.45vw, 4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.tg-footer__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tg .tg-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 26px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.tg .tg-pill:hover,
.tg .tg-pill:focus-visible {
  background: #fff;
  color: var(--tg-ink);
}

.tg-footer__grid {
  display: grid;
  gap: 36px 40px;
  padding: clamp(36px, 4.5vw, 64px) 0;
}

@media (min-width: 576px) {
  .tg-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .tg-footer__grid {
    grid-template-columns: minmax(0, 1.5fr) repeat(var(--tg-fcols, 3), minmax(0, 1fr));
  }
}

.tg-footer__brand img {
  display: block;
  height: 58px;
  width: auto;
}

.tg-footer__brand p {
  margin: 18px 0 0;
  color: #c9ccd4;
}

.tg .tg-fh {
  margin: 0 0 16px;
  color: #ff9a7a;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tg-fcol ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tg-fcol li {
  margin: 0;
  padding: 0;
}

.tg .tg-footer a {
  color: #fff;
  text-decoration: none;
}

.tg .tg-fcol li a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 1.125rem;
}

.tg .tg-footer a:hover {
  color: #ff9a7a;
  text-decoration: underline;
}

.tg .tg-footer .tg-pill:hover {
  color: var(--tg-ink);
  text-decoration: none;
}

.tg-footer__partner {
  padding: clamp(20px, 2.2vw, 30px) clamp(20px, 2.5vw, 34px);
  border-radius: 20px;
  background: var(--tg-foot-panel);
}

.tg-footer__partner .tg-fcol,
.tg-footer__partner .tg-partner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}

.tg-footer__partner .tg-fh {
  margin: 0;
}

.tg-footer__partner .mod-custom {
  flex: 1 1 320px;
}

.tg-partner__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tg .tg-partner__logos img {
  display: block;
  width: 190px;
  height: 76px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
}

.tg-partner__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 76px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff;
  color: var(--tg-ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.tg-partner p {
  flex: 1 1 320px;
  margin: 0;
  color: #c9ccd4;
  font-size: 0.875rem;
  line-height: 1.5;
}

.tg-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: var(--tg-max);
  margin: 0 auto;
  padding: 24px var(--tg-pad) 28px;
  font-size: 0.9375rem;
}

/* ---------- Farbschema Autor ---------- */

body.tg.tg-world-autor {
  --tg-acc: #232a44;
  --tg-acc-hover: #be350e;
  --tg-pale: #eef0f6;
  --tg-foot: #161b2e;
  --tg-foot-panel: #232a44;
  --cassiopeia-color-primary: #232a44;
  --cassiopeia-color-link: #232a44;
  --cassiopeia-color-hover: #be350e;
  --link-color: #232a44;
  --link-color-rgb: 35, 42, 68;
  --link-hover-color: #be350e;
  --link-hover-color-rgb: 190, 53, 14;
  --bs-primary: #232a44;
  --bs-primary-rgb: 35, 42, 68;
  --bs-link-color: #232a44;
  --bs-link-color-rgb: 35, 42, 68;
  --bs-link-hover-color: #be350e;
  --bs-link-hover-color-rgb: 190, 53, 14;
}

.tg-world-autor .btn-primary {
  --bs-btn-bg: #232a44;
  --bs-btn-border-color: #232a44;
  --bs-btn-hover-bg: #be350e;
  --bs-btn-hover-border-color: #be350e;
  --bs-btn-active-bg: #be350e;
  --bs-btn-active-border-color: #be350e;
  --bs-btn-disabled-bg: #232a44;
  --bs-btn-disabled-border-color: #232a44;
  --btn-bg: #232a44;
  --btn-border-color: #232a44;
  --btn-hover-bg: #be350e;
  --btn-hover-border-color: #be350e;
}

.tg.tg-world-autor .tg-btn:hover,
.tg.tg-world-autor .tg-btn:focus-visible {
  background: var(--tg-red);
}

/* ---------- Hauptmenü-Layout „bereiche“ ---------- */

.tg .tg-areas {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tg-areas__item {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.tg .tg-areas__link {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 6px 48px 6px 0;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.tg .tg-areas__link:hover,
.tg .tg-areas__item.is-open > .tg-areas__link,
.tg .tg-areas__link[aria-current="page"] {
  color: #ff9a7a;
}

.tg-areas__item.is-open > .tg-areas__link {
  font-size: 2.25rem;
  letter-spacing: -0.035em;
}

.tg-areas__go {
  position: absolute;
  top: 50%;
  right: 4px;
  display: flex;
  transform: translateY(-50%);
  color: #c9ccd4;
  pointer-events: none;
  transition: transform 0.3s, color 0.3s;
}

.tg-areas__item:has(> .tg-areas__link:hover) .tg-areas__go {
  color: #ff9a7a;
  transform: translate(6px, -50%);
}

.tg .tg-areas__sub {
  margin: 0 0 18px;
  padding: 0 0 0 18px;
  border-left: 3px solid #ff9a7a;
  list-style: none;
}

.tg .tg-areas__sublink {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #e4e6eb;
  font-size: 1.1875rem;
  text-decoration: none;
}

.tg .tg-areas__sublink:hover,
.tg .tg-areas__sublink[aria-current="page"] {
  color: #ff9a7a;
}

.tg .tg-areas__sublink[aria-current="page"] {
  font-weight: 600;
}

/* ---------- Einfacher Fuß (Autor) ---------- */

.tg-footer__in--simple {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
  padding-top: clamp(40px, 5vw, 72px);
}

.tg .tg-footer__row ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tg .tg-footer__row li {
  margin: 0;
  padding: 0;
}

.tg .tg-footer__row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1.25rem;
  font-weight: 500;
}

.tg .tg-footer__legal ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tg .tg-footer__legal li {
  margin: 0;
  padding: 0;
}

.tg .tg-footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #c9ccd4;
}

/* ---------- Wechselzeile zum anderen Bereich ---------- */

.tg .tg-switch {
  display: block;
  background: var(--tg-navy);
  color: #fff;
  text-decoration: none;
  transition: background 0.3s;
}

.tg .tg-switch--designer {
  background: var(--tg-red);
}

.tg .tg-switch:hover,
.tg .tg-switch:focus-visible {
  background: #2f3860;
  color: #fff;
  text-decoration: none;
}

.tg .tg-switch--designer:hover,
.tg .tg-switch--designer:focus-visible {
  background: #a52d0a;
}

.tg .tg-switch:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -8px;
  border-radius: 0;
}

.tg-switch__in {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 32px;
  max-width: var(--tg-max);
  margin: 0 auto;
  padding: clamp(22px, 2.6vw, 36px) var(--tg-pad);
}

.tg-switch__line {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  opacity: 0.92;
}

.tg-switch__title {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(1.75rem, 3.3vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.tg-switch__title svg {
  transition: transform 0.3s;
}

.tg .tg-switch:hover .tg-switch__title svg {
  transform: translateX(8px);
}

.tg-switch__title svg {
  order: 2;
}

/* ---------- Kontaktformular ---------- */

.tg .tg-hero--contact {
  margin-bottom: clamp(40px, 5.5vw, 80px);
}

.tg .com-contact .contact-image,
.tg .com-contact .com-contact__thumbnail {
  display: none;
}


.tg .com-contact .page-header h1,
.tg .com-contact > h1 {
  margin: 0 0 0.5em;
  font-size: clamp(2.5rem, 6.4vw, 5.6rem);
  letter-spacing: -0.055em;
}

.tg .com-contact__form {
  max-width: 46rem;
}

.tg h2:has(+ .com-contact__form),
.tg .com-contact__form fieldset > legend {
  display: none;
}

.tg .com-contact .form-control {
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 1.0625rem;
}

.tg .com-contact .btn-primary {
  min-height: 56px;
  padding: 0 30px;
  border-radius: 99px;
  font-weight: 600;
}

/* ---------- Weniger Bewegung ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  /* Überblendungen bleiben, Bewegungen entfallen */
  .tg *,
  .tg *::before,
  .tg *::after {
    transition-property: opacity, color, background-color, border-color !important;
    animation-duration: 0.01ms !important;
  }

  .tg .tg-book a:hover,
  .tg .tg-icon:hover {
    transform: none;
  }

  /* Pfeile in der Raute stehen still (dezent sichtbar) statt zu laufen */
  .tg .tg-dia__c {
    animation: none !important;
    opacity: 0.7;
  }

  .tg .tg-dia__c--l {
    translate: calc(-5cqw) 0;
  }

  .tg .tg-dia__c--r {
    translate: 5cqw 0;
  }

  .tg .tg-dia__c--2 {
    display: none;
  }
}

/* ---------- Symbole (per Klasse am Listenpunkt, z. B. class="tg-i-web") ---------- */

.tg-i-web {
  --tg-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%224%22 width=%2218%22 height=%2212%22 rx=%222%22%3E%3C/rect%3E%3Cpath d=%22M8 20h8M12 16v4%22%3E%3C/path%3E%3C/svg%3E");
}

.tg-i-shop {
  --tg-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 8h12l-1 12H7zM9 8V7a3 3 0 0 1 6 0v1%22%3E%3C/path%3E%3C/svg%3E");
}

.tg-i-host {
  --tg-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%224%22 y=%224%22 width=%2216%22 height=%226%22 rx=%222%22%3E%3C/rect%3E%3Crect x=%224%22 y=%2214%22 width=%2216%22 height=%226%22 rx=%222%22%3E%3C/rect%3E%3Cpath d=%22M8 7h.01M8 17h.01%22%3E%3C/path%3E%3C/svg%3E");
}

.tg-i-service {
  --tg-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%225%22 y=%2211%22 width=%2214%22 height=%229%22 rx=%222%22%3E%3C/rect%3E%3Cpath d=%22M8 11V8a4 4 0 0 1 8 0v3%22%3E%3C/path%3E%3C/svg%3E");
}

.tg-i-cloud {
  --tg-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7 18a4 4 0 0 1 0-8 5 5 0 0 1 9.600-1.500A4.500 4.500 0 0 1 17 18z%22%3E%3C/path%3E%3C/svg%3E");
}

.tg-i-pen {
  --tg-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 20l4-1L19 8l-3-3L5 16zM14 7l3 3%22%3E%3C/path%3E%3C/svg%3E");
}

.tg-i-mail {
  --tg-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%225%22 width=%2218%22 height=%2214%22 rx=%222%22%3E%3C/rect%3E%3Cpath d=%22M3 7l9 6 9-6%22%3E%3C/path%3E%3C/svg%3E");
}

.tg-i-text {
  --tg-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 6h14M5 10h14M5 14h9M5 18h6%22%3E%3C/path%3E%3C/svg%3E");
}

.tg-i-book {
  --tg-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 4h11a3 3 0 0 1 3 3v13H8a3 3 0 0 1-3-3zM5 17a3 3 0 0 1 3-3h11%22%3E%3C/path%3E%3C/svg%3E");
}

.tg-i-cms {
  --tg-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9 3h6v4a2 2 0 1 0 0 4h0v6h-4a2 2 0 1 0-4 0H3v-6a2 2 0 1 0 0-4V3z%22%3E%3C/path%3E%3C/svg%3E");
}

.tg-i-shield {
  --tg-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3l7 3v5c0 5-3 8-7 10-4-2-7-5-7-10V6z%22%3E%3C/path%3E%3Cpath d=%22M9 12l2 2 4-4%22%3E%3C/path%3E%3C/svg%3E");
}

.tg-i-user {
  --tg-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%228%22 r=%224%22%3E%3C/circle%3E%3Cpath d=%22M4 20c1.5-4 4.5-5.5 8-5.5s6.5 1.5 8 5.5%22%3E%3C/path%3E%3C/svg%3E");
}

.tg-i-chat {
  --tg-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 5h16v11H9l-5 4z%22%3E%3C/path%3E%3Cpath d=%22M8 10h8M8 13h5%22%3E%3C/path%3E%3C/svg%3E");
}

/* Herz in der Copyright-Zeile: Primärfarbe (Logo-Rot) in beiden Bereichen */
.tg .tg-footer__bottom .tg-heart {
  color: var(--tg-red-logo);
}

/* Startseite: Beim Überfahren von „Autor“ verschwindet der Login-Knopf (gehört zum Designer) */
.tg .tg-icon--login {
  transition: color 0.3s, transform 0.3s, opacity 0.3s, visibility 0.3s;
}

.tg-hover-a .tg-icon--login,
.tg-home:has(.tg-side--a:hover) .tg-icon--login {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
