/* ==========================
   Grundlayout & Extras
   www.taneu.de
   TaNeu_Theme_Pingublue_V1.00
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #66ccff;     /* Akzentfarbe Hellblau */
  --secondary-color: #2a5298;  /* Hover-/Highlight-Blau */
  --bg-dark: #1e3c72;          /* Dunkelblauer Hintergrund */
  --text-light: #a3b6c7;       /* Standard Helle Schrift */
  --text-muted: #bbb;          /* Abgeschwächte Schrift */
  --shadow-color: rgba(102, 204, 255, 0.4);
  --shadow-strong: rgba(102, 204, 255, 0.8);
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;

  /* neue Schriftart mit Fallbacks */
  font-family: "Inter", "Roboto", "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;

  background: url('https://static.taneu.de/styles/main_styles.css') repeat;
  background-size: 256px 256px;

  color: var(--text-light);

  /* bessere Darstellung */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  perspective: 1200px;
  overflow-x: hidden;
}

main {
  flex: 1;
}

/* ==========================
   Header Logo Anpassung
========================== */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo {
  width: 200px;
  height: 200px;
  object-fit: contain; /* verhindert Verzerrung */
  margin-right: 12px;
margin-left: 20px;
margin-top: 0px;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.6); /* klassischer dunkler Schatten */
  border-radius: 19px; /* optional, kannst du entfernen wenn nicht gewünscht */
}


.site-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  text-shadow: 0 0 6px var(--shadow-color);
}

/* Mobile Variante: Logo verkleinern */
@media (max-width: 480px) {
  .site-logo {
    width: 100px;
    height: 100px;
  }
  .site-title {
    font-size: 1.5rem;
  }
}

/* ==========================
   Typografie
========================== */

/* Grundschrift */
body {
  font-family: "Inter", "Roboto", "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
}

/* Überschrift H1 */
h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 0 0 6px var(--shadow-color);
}

/* Überschrift H2 */
h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-shadow: 0 0 5px var(--shadow-color);
}

/* Überschrift H3 */
h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-light);
  margin: 15px 0 10px;
  text-shadow: 0 0 4px var(--shadow-color);
}

/* Absatz */
p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: var(--text-light);
}

/* Abgeschwächter Text */
.muted {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #fff;
  text-shadow: 0 0 6px var(--primary-color);
}


/* ==========================
   Header
========================== */
header {
  background: url('https://static.taneu.de/images/bg/taneu_bg_02.webp') repeat;
  background-size: 256px 256px;
  color: #fff;
  padding: 0px 0px;
  border-bottom: 2px solid var(--shadow-color);
  box-shadow: 0 0 15px var(--shadow-color);
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* ==========================
   Header Titel-Link fix
========================== */
.title-link,
.title-link:visited,
.title-link:active {
  color: var(--primary-color);
  text-decoration: none;
}

.title-link:hover {
  color: #fff;
  text-decoration: none;
}

.header-left { max-width: 60%; }

header h1 {
  font-size: 2em;
  margin: 0 0 6px 0;
  color: var(--primary-color);
  text-shadow: 0 0 6px var(--shadow-color);
}

header h3 {
  margin: 0;
  font-size: 1em;
  color: var(--text-muted);
}

header form {
  display: flex;
  gap: 8px;
  max-width: 80%;
  margin-top: 10px;
}

header input[type=text] {
  flex: 1;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--primary-color);
  background: rgba(255,255,255,0.8);
  color: var(--primary-color);
  font-weight: bold;
}

header input[type=text]::placeholder {
  color: var(--primary-color);
  opacity: 1;
}

header button {
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--primary-color);
  background: var(--bg-dark);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
  box-shadow: 0 0 6px var(--shadow-color);
}

header button:hover {
  background: var(--secondary-color);
  box-shadow: 0 0 10px var(--shadow-strong);
  transform: scale(1.05);
}

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

.visitor-count {
  margin-top: 6px;
  font-size: 0.9em;
  color: #555;
}

.visitor-count span { color: #555; }

/* ==========================
   Header User Links (Bubble Buttons)
========================== */
.visitor-count a {
  display: inline-block;
  background: var(--bg-dark);
  color: #fff;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85em;
  margin-left: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 0 4px rgba(106, 140, 168, 0.6),
              0 0 10px rgba(106, 140, 168, 0.4);
}

.visitor-count a:hover {
  background: var(--secondary-color);
  transform: scale(1.05);
  box-shadow: 0 0 6px rgba(106, 140, 168, 0.9),
              0 0 14px rgba(106, 140, 168, 0.6);
}

.visitor-count a:active {
  background: #162b59;
  transform: scale(0.98);
}

@media (max-width: 480px) {
  .visitor-count { text-align: center; }
  .visitor-count a {
    display: block;
    margin: 6px auto 0 auto;
    width: 90%;
    text-align: center;
  }
}

/* ==========================
   Navigation
========================== */
nav {
  background: var(--bg-dark);
  display: flex;
  justify-content: center;
  padding:2px;
  box-shadow: 0 0 12px var(--shadow-color);
  position: relative;
  z-index: 1000;
  border-bottom: 2px solid var(--shadow-color);
  flex-wrap: wrap;
  overflow-x: auto;
}

nav a,
nav a:visited,
nav a:active {
  color: #fff;
  margin: 5px 10px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  padding: 6px 10px;
  border-radius: 6px;
}

/* Hover-Effekt */
nav a:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  text-shadow: 0 0 6px var(--shadow-strong);
  transform: translateY(-1px);
}

/* Aktive Seite */
nav a.active {
  background: var(--secondary-color);
  color: var(--primary-color);
  text-shadow: 0 0 8px var(--primary-color);
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }
  nav a {
    margin: 8px 0;
    font-size: 1.1em;
    width: 100%;
    text-align: center;
  }
}

/* ==========================
   Hero & Suche
========================== */
.hero {
  display: none;

  height: 180px;
  border-radius: 5px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transform: rotateX(-5deg);
  transition: transform 0.4s ease-in-out;
}

.hero.visible { display: flex; }
.hero:hover { transform: rotateX(10deg); }

#search-form-bubble {
  display: none;
  margin-bottom: 12px;
  justify-content: center;
  gap: 6px;
}

.top-buttons, .filters {
  display: none;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Toggle Buttons */
.toggle-btn {
  padding: 6px 10px;
  font-size: 0.85em;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid var(--primary-color);
}

.toggle-btn.active {
  background: var(--primary-color);
  color: #0b0b0b;
  box-shadow: 0 0 10px var(--primary-color);
}

.toggle-btn.inactive {
  background: var(--bg-dark);
  color: #fff;
}

/* Filter Buttons */
.filter-btn {
  border: 1px solid var(--primary-color);
  background: var(--bg-dark);
  color: var(--text-light);
  box-shadow: 0 0 6px var(--primary-color);
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn.active {
  background: var(--primary-color);
  color: #0b0b0b;
  box-shadow: 0 0 10px var(--primary-color);
}

/* Close Search Button */
#close-search {
  display: none;
  margin-top: 12px;
  box-shadow: 0 0 14px var(--shadow-strong);
}

.hero.visible #close-search { display: inline-block; }

/* ==========================
   Wrap / Content
========================== */
.wrap {
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 20px;
  text-align: left;
}

/* ==========================
   Bubbles / Masonry
========================== */
.bubbles_startseite {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

/* ==========================
   Normale Bubble
========================== */
.bubble {
  background: var(--bg-dark);
  padding: 18px;
  border-radius: 24px;
  box-shadow: 0 6px 24px var(--shadow-color);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 520px;
  transition: max-height 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.bubble.expanded { max-height: 8000px; }

.bubble h3 { margin-bottom: 6px; }

.bubble p {
  margin-bottom: 6px;
  line-height: 1.4em;
}

.bubble:hover {
  transform: rotateX(10deg) translateZ(10px);
  box-shadow: 0 12px 24px var(--shadow-color);
}

/* Mehr lesen Link */
.bubble .section .more-link {
  display: inline-block;
  float: right;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 2px;
}

.bubble .more-link:hover {
  color: var(--text-muted);
  text-shadow: 0 0 10px var(--primary-color);
  transform: scale(1.08);
}

/* Masonry Trick */
.bubble { grid-row-end: span 1; }

/* ==========================
   Bubble Startseite
========================== */
.bubble_startseite {
  width: 100%;
  box-sizing: border-box;
  background: var(--bg-dark);
  padding: 18px;
  border-radius: 24px;
  box-shadow: 0 6px 24px var(--shadow-color);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 100%;
  transition: max-height 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.bubble_startseite img { border-radius: 8px; }

.download-button {
  display: inline-block;
  width: 100%;
  text-align: center;
  background-color: var(--bg-dark);
  color: #fff;
  padding: 10px 0;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.download-button:hover { background-color: var(--secondary-color); }

.bubble_startseite.expanded { max-height: 1000px; }

.bubble_startseite h3 { margin-bottom: 6px; }

.bubble_startseite p {
  max-height: 4.2em;
  overflow: hidden;
  transition: max-height 0.4s ease;
  margin-bottom: 6px;
  line-height: 1.4em;
}

.bubble_startseite.expanded p { max-height: 1000px; }

.bubble_startseite .more-link {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--primary-color);
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.bubble_startseite .more-link:hover {
  text-decoration: underline;
  color: var(--text-muted);
  text-shadow: 0 0 6px var(--primary-color);
  transform: scale(1.05);
}

.bubble_startseite { grid-row-end: span 1; }

/* ==========================
   Quelle / Label
========================== */
.source-label {
  font-size: 0.8em;
  color: var(--primary-color);
  position: absolute;
  bottom: 12px;
  right: 18px;
}

/* ==========================
   Bubble Text
========================== */
.bubble-text {
  font-size: 1em;
  line-height: 1.5em;
  color: var(--text-light);
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  transition: color 0.3s ease, transform 0.3s ease;
}

.bubble_startseite.expanded .bubble-text {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.bubble_startseite:hover .bubble-text {
  color: var(--text-muted);
  transform: translateY(-1px);
}

.bubble_startseite a,
.bubble_startseite a:visited {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
}

.bubble_startseite a h3 { color: var(--text-light); }
.bubble_startseite a .bubble-text { color: var(--text-light); }

.bubble_startseite a:hover h3,
.bubble_startseite a:hover .bubble-text {
  color: var(--text-muted);
  text-shadow: 0 0 6px var(--primary-color);
  transform: translateY(-1px);
}

/* ==========================
   PiP Button
========================== */
.pip-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 6px 10px;
  border: none;
  border-radius: 8px;
  background: var(--primary-color);
  color: #0b0b0b;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 8px var(--primary-color);
  transition: all 0.3s;
  z-index: 10;
}

.pip-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 12px var(--primary-color);
}

/* ==========================
   Video Overlay / PiP
========================== */
#video-overlay {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 400px;
  max-width: 90%;
  height: 225px;
  max-height: 60%;
  background: var(--bg-dark);
  border: 2px solid var(--primary-color);
  border-radius: 12px;
  box-shadow: 0 0 8px var(--shadow-color);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 8px;
  transform: translate(-50%, -50%);
}

#overlay-iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  border: 0;
}

#close-overlay {
  position: absolute;
  top: 6px;
  right: 6px;
  background: var(--bg-dark);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 2px 6px;
  cursor: pointer;
  font-weight: bold;
  z-index: 11;
  transition: all 0.3s;
}

#close-overlay:hover { background: var(--secondary-color); }

/* ==========================
   Load More
========================== */
#more-container {
  text-align: center;
  margin-top: 16px;
  display: none;
}

#load-more {
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid var(--primary-color);
  background: var(--bg-dark);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
}

#load-more:hover {
  background: var(--secondary-color);
  color: #fff;
}

.bubble-startseite .more-link {
  display: inline-block;
  float: right;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 4px;
}

.bubble-startseite .more-link:hover {
  color: var(--text-muted);
  text-shadow: 0 0 10px var(--primary-color);
  transform: scale(1.08);
}

/* ==========================
   Footer 
========================== */
footer {
  background: var(--bg-dark);
  color: #fff;
  text-align: center;
  padding: 10px 10px;
  border-top: 2px solid var(--shadow-color);
  box-shadow: 0 -2px 12px var(--shadow-color);
  position: relative;
  bottom: 0;
  width: 100%;
}

footer .footer-links { margin-bottom: 12px; }

footer .footer-links a {
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

footer .footer-links a:hover {
  color: var(--primary-color);
  text-shadow: 0 0 6px var(--shadow-strong);
}

.footer-copy {
  font-size: 0.9em;
  color: var(--text-muted);
}

.footer-copy a {
  color: var(--primary-color);
  text-decoration: none;
}

.footer-copy a:hover { text-decoration: underline; }

/* ==========================
   Responsive
========================== */
@media (max-width: 768px) {
  header { flex-direction: column; align-items: center; }
  .header-right { text-align: center; margin-top: 10px; }
  header form { max-width: 100%; }
  .bubble { width: 100%; }
}

@media (max-width: 480px) {
  .bubble { width: 100%; }
  #video-overlay { width: 95%; height: auto; }
}

/* ==========================
   Hamburger Menü (mobil)
========================== */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10001;
  }
  nav {
    display: none;
    flex-direction: column;
    background: var(--bg-dark);
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    padding: 80px 20px 20px;
    z-index: 10000;
    box-shadow: 0 4px 12px var(--shadow-color);
  }
  nav.active { display: flex; }
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==========================
   Bubble-Formular
========================== */
.bubble-form {
  max-width: 500px;
  margin: 20px auto;
  background: var(--bg-dark);
  padding: 20px;
  border-radius: 24px;
  box-shadow: 0 6px 24px var(--shadow-color);
}

.bubble-field {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.bubble-field label {
  margin-bottom: 6px;
  font-weight: bold;
  color: var(--primary-color);
}

.bubble-field input,
.bubble-field textarea {
  padding: 10px 12px;
  border: 1px solid var(--primary-color);
  border-radius: 12px;
  font-size: 1em;
  background: rgba(255,255,255,0.8);
  color: #222;
  resize: vertical;
}

.bubble-field input:focus,
.bubble-field textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 8px var(--shadow-strong);
}

.bubble-button {
  display: inline-block;
  background: var(--primary-color);
  color: #0b0b0b;
  font-weight: bold;
  padding: 12px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px var(--shadow-color);
}

.bubble-button:hover {
  background: var(--secondary-color);
  color: #fff;
  transform: scale(1.05);
}

/* ==========================
   Erfolg / Fehler Meldungen
========================== */
.bubble-message {
  margin: 15px auto;
  max-width: 500px;
  padding: 12px 18px;
  border-radius: 15px;
  font-size: 0.95em;
  text-align: center;
}
.bubble-message.success { background: #2e7d32; color: #fff; }
.bubble-message.error { background: #c62828; color: #fff; }

/* ==========================
   Spinner
========================== */
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(102,204,255,0.3);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

.loading-text {
  text-align: center;
  color: var(--primary-color);
  font-weight: bold;
  margin-top: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
/* ==========================
   Extra Komponenten (angepasst)
   für Taneu Theme
========================== */

.bubbles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.bubble {
  background: var(--bg-dark);
  border-radius: 14px;
  padding: 14px 16px;
  position: relative;
  box-shadow: var(--shadow-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bubble:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px var(--shadow-strong);
}

.bubble h3 {
  margin: 0 0 8px 0;
  font-size: 1rem;
  color: var(--primary-color);
}

.counter {
  position: absolute;
  top: 8px;
  right: 12px;
  background: var(--secondary-color);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 10px;
  box-shadow: 0 0 6px var(--primary-color);
}

.bubble p {
  margin: 2px 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.two-columns {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.left-column, .right-column {
  flex: 1;
  min-width: 0;
}

@media (max-width: 900px) {
  .two-columns {
    flex-direction: column;
  }
}

.progress {
  height: 6px;
  background: #0d1b3d; /* dunklerer Blauton */
  border-radius: 3px;
  overflow: hidden;
  margin-top: 2px;
}
.progress-bar {
  height: 100%;
  background: var(--primary-color);
  transition: width 0.3s ease;
  box-shadow: 0 0 6px var(--primary-color);
}

/* Emojis explizit Emoji-Fonts geben */
.emoji {
  font-family: "Segoe UI Emoji", "Noto Color Emoji", "Apple Color Emoji", "Twemoji Mozilla", sans-serif;
  font-size: 1em;
  line-height: 1.4;
}

/* ==========================
   Besucher-Tracker Styles
   angepasst an Taneu.de Theme
========================== */

.visitor-container {
  max-width: 900px;
  margin: 30px auto;
  background: var(--bg-dark);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 15px var(--shadow-color);
  overflow-x: auto;
}

.visitor-entry {
  background: rgba(30,60,114,0.8);
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 15px;
  box-shadow: 0 0 8px rgba(102,204,255,0.3);
  cursor: default;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
  overflow-x: auto;
}

.visitor-entry:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 0 12px var(--primary-color);
}

.visitor-label {
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 6px;
}

.visitor-footer {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Scrollbar für Besucher-Container */
.visitor-container::-webkit-scrollbar {
  height: 8px;
}
.visitor-container::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
.visitor-container::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}
/* ==========================
   Besucher-Tracker Überschrift
========================== */
.visitor-title {
  text-align: center;
  margin: 30px 0;
  color: var(--primary-color);
  text-shadow: 0 0 8px var(--primary-color);
}
/* ==========================
   Besucher-Statistik (Taneu Theme)
========================== */

.statistik-container {
  max-width: 80%;
  margin: 0 auto 60px auto; /* unten 60px Platz vor dem Footer */
  padding: 20px;
  background: url('https://static.taneu.de/images/bg/taneu_bg_02.webp') repeat;
  background-size: 256px 256px;
  border-radius: 12px;
  box-shadow: 0 0 15px var(--shadow-color);
  color: var(--text-light);
}



.statistik-container h1 {
  color: var(--primary-color);
  margin-bottom: 10px;
  text-align: center;
  text-shadow: 0 0 8px var(--primary-color);
}

.statistik-highlight {
  font-weight: bold;
  color: var(--text-light);
  margin-bottom: 25px;
}

/* Grid der Statistik-Bubbles */
.statistik-bubbles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* Bubble Style */
.statistik-bubble {
  background: var(--bg-dark);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 0 12px var(--shadow-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}





.statistik-bubble:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px var(--shadow-strong);
}

.statistik-bubble h3,
.statistik-bubble h2 {
  color: var(--primary-color);
}

/* Counter oben rechts */
.statistik-counter {
  position: absolute;
  top: 8px;
  right: 12px;
  background: var(--secondary-color);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 10px;
  box-shadow: 0 0 6px var(--primary-color);
}

/* Fortschrittsbalken */
.statistik-progress {
  height: 6px;
  background: #0d1b3d;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 2px;
}
.statistik-progress-bar {
  height: 100%;
  background: var(--primary-color);
  transition: width 0.3s ease;
  box-shadow: 0 0 6px var(--primary-color);
}



/* User-Daten Block */
.userdata {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
}

.userdata strong {
  color: var(--primary-color);
}

/* ==========================
   Datenschutzerklärung Styles
========================== */
.datenschutz-title {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 0 0 8px var(--primary-color);
}

.datenschutz-container {
  width: 80%; /* gewünschte Breite */
  margin: 0 auto 20px auto;
  background: url('https://static.taneu.de/images/bg/taneu_bg_02.webp') repeat;
  background-size: 256px 256px;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 15px var(--shadow-color);
}

.datenschutz-content {
  background: var(--bg-dark);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
  line-height: 1.6;
  color: var(--text-light);
  max-height: 280px;
  overflow: hidden;
  transition: max-height 0.5s ease;
  position: relative;
}

.datenschutz-content.expanded {
  max-height: 2000px;
}

.datenschutz-content.collapsed {
  max-height: 1680px;
}


.datenschutz-content h3 {
  color: var(--primary-color);
  margin-top: 20px;
  margin-bottom: 8px;
  text-shadow: 0 0 6px var(--shadow-color);
}

.datenschutz-content ul {
  margin: 10px 0 20px 20px;
  list-style: disc;
  color: var(--text-light);
}

.datenschutz-content p {
  margin-bottom: 15px;
}
/* ==========================
   Allgemeiner Seiten-Container
========================== */
.page-container {
  max-width: 80%;
  margin: 0 auto 60px auto; /* Abstand unten zum Footer */
  padding: 20px;
  background: url('https://static.taneu.de/images/bg/taneu_bg_02.webp') repeat;
  background-size: 256px 256px;
  border-radius: 12px;
  box-shadow: 0 0 15px var(--shadow-color);
  color: var(--text-light);
}

.page-container h1,
.page-container h2,
.page-container h3 {
  color: var(--primary-color);
  text-shadow: 0 0 6px var(--shadow-color);
}
/* ==========================
   Impressum Styles
========================== */
.impressum-content {
  background: var(--bg-dark);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
  line-height: 1.6;
  max-height: 280px;
  overflow: hidden;
  transition: max-height 0.5s ease;
  position: relative;
}

.impressum-content.expanded {
  max-height: 2000px;
}

.impressum-content.collapsed {
  max-height: 980px;
}

.impressum-content h3 {
  color: var(--primary-color);
  margin-top: 20px;
  margin-bottom: 8px;
  text-shadow: 0 0 6px var(--shadow-color);
}



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

.wrap-grid {
  display: grid;
  grid-template-columns: 250px 1fr; /* Sidebar links, Content rechts */
  gap: 20px;
  padding: 20px;
  align-items: start;

  /* Hintergrund wie Statistik-Container */
  background: url('https://static.taneu.de/images/bg/taneu_bg_02.webp') repeat;
  background-size: 256px 256px;
  border-radius: 12px;

  /* Glow-Effekt wie beim Footer */
  box-shadow: 0 0 20px var(--shadow-color), 0 0 30px var(--shadow-strong);

  /* Neue Einstellung */
  width: 98%;
  margin: 30px auto;   /* zentrieren + Abstand */
  max-width: 98%;   /* optional Begrenzung */
}

/* Spalten im Grid */
.wrap-grid .column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Responsive: untereinander */
@media (max-width: 768px) {
  .wrap-grid {
    grid-template-columns: 1fr;
    width: 98%; /* fast volle Breite auf Mobile */
  }
}

/* ==========================
   Suchseite Styles
========================== */
.statistik-container {
  max-width: 95%;
  margin: 30px auto 50px auto;
  padding: 25px;
  background: url('https://static.taneu.de/images/bg/taneu_bg_02.webp') repeat;
  background-size: 256px 256px;
  border-radius: 12px;
  box-shadow: 0 0 20px var(--shadow-color), 0 0 30px var(--shadow-strong);
}

.statistik-container h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 15px;
  text-shadow: 0 0 8px var(--primary-color);
}

.statistik-highlight {
  text-align: center;
  font-weight: bold;
  color: #444; /* dunkler für bessere Lesbarkeit */
  margin-bottom: 20px;
}

#results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

#more-container {
  text-align: center;
  margin-top: 25px;
}

/* Lightbox Overlay */
#lightbox-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column;
}

#lightbox-overlay img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
  margin: auto;
  display: block;
  animation: fadeIn 0.3s ease;
}

#lightbox-caption {
  color: #fff;
  margin-top: 15px;
  font-size: 0.9em;
  text-align: center;
}

/* Close Button */
#lightbox-close {
  position: absolute;
  top: 20px; right: 30px;
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}

/* Navigation Buttons */
#lightbox-prev, #lightbox-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  padding: 10px;
  user-select: none;
  transition: color 0.3s;
}

#lightbox-prev { left: 20px; }
#lightbox-next { right: 20px; }

#lightbox-prev:hover, #lightbox-next:hover, #lightbox-close:hover {
  color: var(--primary-color);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
/* ... dein kompletter bisheriger Inhalt ... */


/* ==========================
   Suchseite Styles
========================== */
/* ... bleibt alles wie bei dir ... */


/* ==========================
   Lightbox Overlay
========================== */
/* ... bleibt alles wie bei dir ... */


/* ==========================
   Profile Styles (TaNeu)
========================== */

.profile-card {
  max-width: 90%;
  margin: 10px auto;
  background: url('https://static.taneu.de/images/bg/taneu_bg_02.webp') repeat;
  background-size: 256px 256px;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  color: #222;
  position: relative;
  line-height: 1.6;
}

.profile-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-bottom: 1px solid #444;
  padding-bottom: 20px;
  gap: 15px;
}

.name-status {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.name-status h1 {
  margin: 0;
  font-size: 2em;
  color: var(--primary-color);
}

.name-status .status {
  font-size: 0.9em;
  color: #aaa;
  font-weight: normal;
}

.avatar-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
  gap: 15px;
  align-items: start;
}

.avatar-box img,
.avatar-box-center img {
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 6px;
  background: transparent;
  box-shadow: 
      0 0 6px rgba(106, 140, 168, 0.6),
      0 0 18px rgba(106, 140, 168, 0.4);
}

.avatar-box-center img { max-height: 240px; }
.avatar-box img { max-height: 160px; }

.avatar-left { justify-self: start; text-align: left; }
.avatar-middle { justify-self: center; text-align: center; }
.avatar-right { justify-self: end; text-align: right; }

.header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 10px;
}

.bubble-button {
  background: var(--bg-dark);
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  flex: 1;
  min-width: 140px;
  box-shadow: 0 0 6px rgba(106, 140, 168, 0.7),
              0 0 14px rgba(106, 140, 168, 0.5);
}

.bubble-button:hover {
  background: var(--secondary-color);
  box-shadow: 0 0 8px rgba(106, 140, 168, 0.9),
              0 0 18px rgba(106, 140, 168, 0.7);
}

/* Responsive Profile */
@media (max-width: 768px) {
  .avatar-row { grid-template-columns: 1fr; gap: 12px; }
  .avatar-left, .avatar-middle, .avatar-right {
    justify-self: start;
    text-align: left;
  }
  .name-status h1 { font-size: 1.5em; }
}

/* Profilkarte wie eine Bubble */
.profile-card {
  max-width: 900px;
  margin: 30px auto;
  background: var(--bg-dark);
  border-radius: 24px;
  padding: 25px;
  box-shadow: 0 6px 24px var(--shadow-color);
  color: var(--text-light);
  font-family: "Inter", "Roboto", sans-serif;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--shadow-strong);
}

/* Titel */
.profile-card h2 {
  margin-top: 0;
  font-size: 1.6rem;
  color: var(--primary-color);
  border-bottom: 2px solid var(--shadow-color);
  padding-bottom: 10px;
  text-shadow: 0 0 6px var(--shadow-color);
}

/* Tabelle */
.profile-form table {
  width: 100%;
  border-collapse: collapse;
}
.profile-form th,
.profile-form td {
  padding: 12px;
  vertical-align: top;
}
.profile-form th {
  text-align: left;
  color: var(--primary-color);
  font-size: 1rem;
  width: 200px;
}

/* Eingabefelder wie Bubble-Inhalt */
.profile-form input[type="text"],
.profile-form input[type="url"],
.profile-form input[type="file"],
.profile-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--primary-color);
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.profile-form textarea {
  min-height: 100px;
  resize: vertical;
}
.profile-form input:focus,
.profile-form textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 10px var(--shadow-strong);
}

/* Checkbox */
.profile-form input[type="checkbox"] {
  transform: scale(1.2);
  cursor: pointer;
}

/* Aktionen wie Bubble-Buttons */
.profile-actions {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.profile-actions .bubble-button {
  background: var(--primary-color);
  border: none;
  padding: 12px 20px;
  border-radius: 24px;
  color: #0b0b0b;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  min-width: 140px;
  box-shadow: 0 0 8px var(--shadow-color);
}
.profile-actions .bubble-button:hover {
  background: var(--secondary-color);
  color: #fff;
  box-shadow: 0 0 12px var(--shadow-strong);
  transform: scale(1.05);
}

.section {
  flex: 1;
  padding: 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 10px rgba(102, 204, 255, 0.4);
  margin-top: 30px;
}

.section h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #66ccff;
  border-bottom: 1px solid rgba(102, 204, 255, 0.4);
  padding-bottom: 5px;
}

.section-row {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

  /* WICHTIG: PRIVATES PROFIL */
  .profile-card.profile-private { width: 90% !important; max-width: none !important; }

  /* 3-Spalten-Layout passend zu deinem Theme */
  .profile-grid {
    display: grid;
    grid-template-columns: 280px 1fr 320px; /* links / mitte / rechts */
    gap: 20px;
  }

  /* Linke Spalte – Schnellübersicht */
  .quick-links h3 { margin: 0 0 10px; color: var(--primary-color); text-shadow: 0 0 6px var(--shadow-color); }
  .quick-block {
    background: var(--bg-dark);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 6px 24px var(--shadow-color);
    margin-bottom: 14px;
  }
  .quick-row { display: flex; align-items: center; gap: 8px; margin: 8px 0; color: var(--text-light); }
  .quick-row a { color: var(--primary-color); text-decoration: none; }
  .quick-row a:hover { color: #fff; text-shadow: 0 0 6px var(--primary-color); }

  .copy-url { display: flex; gap: 8px; margin-top: 8px; }
  .copy-url input {
    flex: 1; min-width: 0;
    background: rgba(255,255,255,0.9);
    color: #111;
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    padding: 8px 10px;
  }
  .copy-url button {
    background: var(--bg-dark);
    color: #fff;
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    padding: 8px 12px;
    cursor: pointer;
    box-shadow: 0 0 6px var(--shadow-color);
  }
  .copy-url button:hover { background: var(--secondary-color); }

  .pub-badge {
    margin-left: auto;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: .75rem;
    box-shadow: 0 0 6px var(--shadow-color);
  }
  .pub-badge.pub { border-color: #3fbf6b; color: #3fbf6b; }
  .pub-badge.priv { border-color: #ff7a7a; color: #ff7a7a; }

  /* Private-Zone Box */
  .private-notice {
    display: flex; gap: 10px; align-items: flex-start;
    background: var(--bg-dark);
    border: 1px dashed var(--primary-color);
    color: var(--text-light);
    padding: 12px 14px; border-radius: 12px;
    box-shadow: 0 0 12px var(--shadow-color);
  }

  /* Mitte – Über mich */
  .middle-block {
    background: var(--bg-dark);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 6px 24px var(--shadow-color);
  }
  .middle-block h3 { margin: 0 0 8px; color: var(--primary-color); text-shadow: 0 0 6px var(--shadow-color); }
  .about-text { white-space: pre-line; color: var(--text-light); }

  /* Rechts – Avatare + Stats */
  .right-block {
    background: var(--bg-dark);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 6px 24px var(--shadow-color);
    margin-bottom: 14px;
  }
  .avatar-stack {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start;
  }
  .avatar-item { text-align: center; color: var(--text-muted); }
  .avatar-img {
    width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
    box-shadow: 0 0 6px rgba(106,140,168,0.6), 0 0 14px rgba(106,140,168,0.4);
    background: #0b0b0b;
    display: inline-block;
  }

  .stats { display: grid; gap: 6px; color: var(--text-light); }

  /* Aktionen – nutzt deine .bubble-button Styles */
  .profile-actions {
    margin-top: 16px;
    display: flex; gap: 12px; flex-wrap: wrap;
  }

  @media (max-width: 900px) {
    .profile-grid { grid-template-columns: 1fr; }
    .avatar-stack { grid-template-columns: repeat(3, 1fr); }
  }

/* Main hintergrund*/
html, body{
  background-image: url('https://static.taneu.de/images/bg/taneu_bg_01.webp?v=20250926') !important;
  background-repeat: repeat;
  background-size: 256px 256px;
}


