.boardtitle-container {
  text-align: center;
  margin: 40px;
  padding: 100px;
}

.boardtitle-link {
  font-family: var(--akzenttext);
  font-size: var(--txtxxxl);
  text-transform: uppercase;
  color: var(--akzent-hell);
  text-decoration: none;
  letter-spacing: 0.2em;
  position: relative;

  text-shadow:
    0 0 1px rgba(255,255,255,0.6),
    0 0 4px var(--design);

  animation: patronus-glow 10s infinite ease-in-out;
  transition: transform 0.6s ease;
}

/* Ghostly Hover-Effekt */
.boardtitle-link::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  color: var(--design);
  opacity: 0;
  filter: blur(2px);
  pointer-events: none;
  transform: translate(3px, 3px);
  transition: opacity 0.5s ease;
  z-index: -1;
}

.boardtitle-link:hover {
  transform: scale(1.05);
}

.boardtitle-link:hover::after {
  opacity: 0.6;
  animation: ghost-glitch 1.2s infinite;
}

@keyframes patronus-glow {
  0%, 100% {
    text-shadow:
      0 0 4px rgba(255,255,255,0.6),
      0 0 8px var(--design);
    opacity: 0.3;
  }
  50% {
    text-shadow:
      0 0 6px rgba(255,255,255,0.9),
      0 0 14px var(--design);
    opacity: 1;
  }
}

@keyframes ghost-glitch {
  0%   { transform: translate(3px, 3px) skew(0deg); opacity: 0.6; }
  20%  { transform: translate(2px, -2px) skew(-2deg); opacity: 0.4; }
  40%  { transform: translate(-2px, 2px) skew(2deg); opacity: 0.7; }
  60%  { transform: translate(1px, -1px) skew(0deg); opacity: 0.5; }
  80%  { transform: translate(-1px, 1px) skew(1deg); opacity: 0.65; }
  100% { transform: translate(3px, 3px) skew(0deg); opacity: 0.6; }
}

.menu-right {
  position: fixed;
  top: 25px;
  right: 20px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.menu-right .menu-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 25px;
  background-color: var(--tbl-main-tr2);
  color: var(--akzent-hell);
  font-size: var(--txtm);
  transition: all 0.3s ease;
  text-decoration: none;
  padding: 3px;
}

.as-container-menu-icon {
  display: block;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 25px;
  background-color: var(--tbl-main-tr2);
  color: var(--akzent-hell);
  font-size: var(--txtm);
  transition: all 0.3s ease;
  text-decoration: none;
  padding: 3px;
}

.menu-right .menu-icon:hover {
  color: var(--design);
  background-color: var(--tbl-main-tr);
  transform: scale(1.05);
}

.menu-icon.has-badge {
  position: relative;
}

.menu-icon.has-badge::after {
  content: attr(data-badge);
  position: absolute;
  bottom: -6px;
  left: -6px;
  min-width: 10px;
  height: 10px;
  padding: 2px;
  background: var(--akzent-red);
  font-size: var(--xxxsmall);
  font-family: var(--fliesstext);
  display: flex;
  justify-content: center;
  align-items: center;
}

.six-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0 auto;
  padding: 20px;
  background-color: var(--tbl-main-tr);
}

.grid-item{
  height:150px;
  border:1px solid var(--hairline);
  background-image: var(--hgbig);
  background-repeat:no-repeat;
  background-attachment:fixed;
  background-size: 120% auto;
  background-color: var(--tbl-main-tr);
  background-blend-mode: overlay;
  color:var(--txtcol);
	position: relative;
	text-align: justify;
	text-align-last: left;
	line-height: 1.4em;
}

.item1{ background-position:  0% 90%; } 
.item2{ background-position: 25% 90%; }
.item3{ background-position: 50% 90%;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;} 
.item4{ background-position: 75% 90%; }
.item5{
  grid-column: span 2;
  background: none;
  border: none;
}
.item_nobg {   background: none;
  border: none;
}

/* Responsive Breakpoints */
@media (max-width:1000px){
  .six-grid{ grid-template-columns:repeat(2,1fr); }
  .item5{ grid-column: span 2; } /* auch bei 2 Spalten über volle Breite */
}
@media (max-width:600px){
  .six-grid{ grid-template-columns:1fr; }
  .item5{ grid-column: span 1; } /* auf Mobil einfach untereinander */
}

.item-label{
  position: absolute;
  top: -5px;
  left: -5px;
  padding: 4px 12px;
  font-size: var(--txtm);
  font-family: var(--akzenttext);
  text-transform: uppercase;
  letter-spacing: .3em;
  background: var(--tbl-main);
  color: var(--design);
  z-index: 2;
  pointer-events: none;
}

.grid-surface{
    max-height: 110px;
    padding: 20px;
	overflow: auto; }

.grid-surface_on {
  min-height: inherit;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
	overflow: auto; 
height: 110px; } 

.grid-surface_sl {
    max-height: 110px;
    padding: 20px;
	overflow: hidden; } 

.grid-surface_on_list { display: flex; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  text-align: center;
}

.team-member {
	    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
    justify-content: center;
}

.team-symbol {
 height: 25px;
	width: 75%;
	color: var(--design);
		padding: 5px;
}

.team-name {
  font-size: var(--txtxxsmall);
	 color: var(--tbl-main);
	text-align: center;
	text-transform: uppercase;
background: var(--akzent-red-soft);
	width: auto;
	padding: 2px;
}

.menu-left{
  position: fixed;
  top: 25px;
  left: 20px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 150px;
  transition: transform .35s ease, opacity .25s ease;
}

.menu-left__panel{
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .35s ease, opacity .25s ease;
}

.menu-left.collapsed .menu-left__panel{
  transform: translateX(calc(-100% + 8px));
  opacity: .0; 
  pointer-events: none;
}

.menu-left.collapsed .menu-left__panel:hover{
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* Card-Grundstil */
.menu-left__greet,
.menu-left__link{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--tbl-main-tr2);
  color: var(--akzent-hell);
  text-decoration: none;
  border: 1px solid var(--hairline);
  line-height: 1.2;
  text-transform: uppercase;
  font-size: var(--txtxxsmall);
  letter-spacing: 0.3em;
}

.menu-left__link:hover,
.menu-left__greet:hover{
  background: var(--tbl-main-tr);
  color: var(--design);
}

.menu-left__greet{
  position: relative;
  padding-left: 6px;  
  border-left: 2px solid var(--akzent-red-soft);
}
.menu-left__avatar{
  width: 28px; object-fit: cover;
  border: 2px solid var(--design);
}
.menu-left__hello{
  font-weight: 600;
  font-size: var(--txtxsmall);
  text-transform: none;
  letter-spacing: 0em;
}

.menu-left__links{ display: flex; flex-direction: column; gap: 8px; }

.menu-left__to-top{
  position: absolute;
  right: -34px;  
  top: 0;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: var(--tbl-main-tr2);
  color: var(--akzent-hell);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  z-index: 999; 
}
.menu-left__to-top:hover{
  color: var(--design);
  background: var(--tbl-main-tr);
}

.menu-left__search-top{
  position: absolute;
  right: -34px;  
  top: 34px;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: var(--tbl-main-tr2);
  color: var(--akzent-hell);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  z-index: 999; 
}
.menu-left__search-top:hover{
  color: var(--design);
  background: var(--tbl-main-tr);
}

.menu-left.collapsed{
  transform: translateX(calc(-100% + 28px));
}

.menu-left.collapsed .menu-left__greet,
.menu-left.collapsed .menu-left__links{
  pointer-events: none; 
  opacity: .0;
  transition: opacity .2s ease;
}

@media (prefers-reduced-motion: reduce){
  .menu-left, .menu-left *{ transition: none !important; }
}


#menu-left.collapsed{ 
  transform: translateX(-100%); 
}

#menu-left-hotspot{
  position: fixed;
  left: 0; top: 0; height: 100vh;
  width: 22px;                  
  z-index: 5;                   
  pointer-events: auto;
  background: transparent;      
}

/* wenn offen, darf das Menü wieder interagieren */
#menu-left:not(.collapsed){
  pointer-events: auto;
}


#gd-legend-wrap {
  max-width: 28rem;       /* schmal */
  margin: .5rem auto 1rem;
  font-size: 0.85rem;     /* kleiner Text */
  opacity: .9;
}
#gd-legend-wrap .forum_legend { margin: 0; padding: 0; }
#gd-legend-wrap .legend-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 Spalten */
  gap: .4rem .8rem;
}
#gd-legend-wrap .legend-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: .35rem;
}
#gd-legend-wrap dt, #gd-legend-wrap dd { margin: 0; }
#gd-legend-wrap .forum_status { display: inline-block; vertical-align: middle; }

.tinyleg { text-transform: uppercase; font-weight: 600; font-size: var(--txtxxxsmall); }
.onlinetiny { display: flex; flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center; }
.gd-btnrow { padding: 0; margin: .5rem 0 0; list-style: none; width: 90%; }
.gd-btnrow li { list-style: none; }
.gd-btnrow a, .gd-btn {
  display: inline-block;
  padding: .45rem .7rem;
  text-decoration: none;
  line-height: 1.2;
  font-size: var(--txtsmall);
  border: 1px solid var(--akzent-mid);
width: 100%;
}
.gd-btnrow a:hover, .gd-btn:hover { border-color: var(--design); }
.gd-service-controls select { margin-bottom: .5rem; max-width: 100%; }

/* Tabellen/Headers aus alten Boardstats neutralisieren */
#gd-board-end .tborder, 
#gd-board-end .thead, 
#gd-board-end .tfoot { border: 0; background: transparent; }
#gd-board-end table { width: 100%; }

/* Credits Abstand */
#gd-poweredby { margin-top: 1rem; text-align: center; opacity: .8; }


.gd-legal {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  justify-content: center;
  margin-top: .5rem;
}

.gd-legal a {
  display: inline-block;
  padding: .2em .6em;
  font-size: var(--txtxxsmall);
  text-decoration: none;
  color: var(--design);
  background: var(--tbl-main-tr);
  border: 1px solid var(--hairline);
}

.gd-legal a:hover {
  color: var(--akzent-hell);
  border-color: var(--akzent-mid, var(--design));
}

