﻿/* Feingetuntes Ribbon */
.ribbon {
  position: fixed;
  left: 40px;    /* weniger negativ = rückt nach rechts */
  top: 200px;    /* größerer Wert = rückt nach unten */
  z-index: 9999;
  overflow: visible;
  width: 270px;
  height: 260px;
  pointer-events: none; /* Rest des Ribbons ignoriert Klicks */
}

/* Feingetuntes Ribbon mit zentriertem Text */
.ribbon span {
  position: absolute;
  display: flex;               /* Flexbox aktivieren */
  justify-content: center;     /* horizontal zentrieren */
  align-items: center;         /* vertikal zentrieren */
  width: 400px;
  height: 60px;                /* feste Höhe für das Band */
  background-color: #e63946;
  color: #fff;
  font-weight: bold;
  text-align: center;
  font-size: 1.1em;
  transform: rotate(-45deg);
  transform-origin: 0 0;       /* Ursprung oben links */
  top: 40px;                   /* evtl. feinjustieren */
  left: -80px;                 /* evtl. feinjustieren */
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  white-space: pre-line;
  padding: 0;                  /* Padding nun über Höhe gesteuert */
  overflow: visible;
  pointer-events: auto;        /* Link innerhalb des Bands wieder klickbar machen */
}

/* Optional: Link Styling */
.ribbon span a {
  color: #fff;
  text-decoration: none;
  pointer-events: auto;        /* sicherstellen, dass Link klickbar ist */
}

/* === Basis === */
html {
  height: 100%;
}

body {
  font-family: Arial, sans-serif;
  background: url('https://www.die-hundestubb.de/halloween.background.png') no-repeat center center fixed;
  background-size: cover;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.2), rgba(255,255,255,0));
  z-index: 0;
}

/* === Navbar === */
.header {
  background-color: #96018A;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0 0 12px 12px; /* abgerundete Ecken unten */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  text-shadow: 1px 1px 2px black;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 0.3rem 0.8rem;
  transition: background-color 0.2s ease;
}

.nav-links a:hover {
  background-color: black;
  border-radius: 4px;
}

/* === Branding (global für Mobile & Tablet) === */
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-main {
    font-family: "Caveat", cursive;
    font-size: 1.6em;
    color: white;
    text-transform: uppercase;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
	text-shadow: 1px 1px 2px black;
}

.brand-sub {
	font-family: 'Poppins', sans-serif;
	font-weight: 300;
	font-size: 0.8em;
	color: #f0f0f0;
	margin-top: 0.2rem;
	line-height: 1.2;
	text-shadow: 1px 1px 2px black;
}

/* === Branding mit Logo-Bild === */
.brand {
  /* Optional: zentrieren, falls gewünscht */
  display: flex;
  align-items: center;
  justify-content: center;
  /* Entferne alle Zeilenhöhen-/Text-Regeln, die du nicht mehr brauchst */
}

.brand-logo {
  max-width: 250px;    /* passe die Breite an dein Layout an */
  height: auto;        /* erhält das Seitenverhältnis */
  display: block;      /* entfernt Inline-Abstände */
}

/* === Main Content === */
.main-content {
  margin-top: 80px;
  flex: 1;
  padding: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  color: black;
}

/* === Hero === */
.hero {
  color: white;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 3em;
}

/* === Footer === */
footer {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 1em 0;
  color: white;
  text-align: center;
  margin-top: auto;
  border-radius: 12px 12px 0 0; /* abgerundete Ecken oben */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

footer * {
  color: white !important;
  text-decoration: none;
  margin: 0;
}

/* === Galerie Layout (eigenes Grid-System) === */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: 50% 35%;
  border-radius: 8px;
  display: block;
}

/* Buttons gleich groß machen, auch wenn der Text unterschiedlich ist */
.category-btn {
  background-color: #96018A;
  color: white;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 20px;
  min-width: 150px; /* gleiche Mindestbreite für alle Buttons */
  height: 50px; /* gleiche Höhe */
  border: none;  /* Sicherstellen, dass kein Border im Standardzustand existiert */
}

/* Entferne den blauen Fokusrahmen und den Border */
.category-btn:focus,
.category-btn:focus-visible,
.category-btn:hover,
.category-btn:active {
  outline: none !important;   /* Entfernt den Standard-Fokusrahmen */
  box-shadow: none !important; /* Entfernt alle Box-Schattierungen (blauer Rand) */
  background-color: #96018A !important; /* Behalte die Hintergrundfarbe */
  color: white !important;    /* Behalte die Schriftfarbe */
  border: none !important;    /* Entfernt den blauen Border */
}

/* Optional: Hover-Effekt */
.category-btn:hover {
  background-color: #ff6600; /* Beispiel für eine Hover-Farbe */
  color: white;
}

/* === Lightbox === */
.lightbox-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.lightbox-content img {
  max-width: 90%;
  max-height: 80vh;
  display: block;
  margin: auto;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
}

.lightbox-close:hover {
  background-color: rgba(0, 0, 0, 1);
}

/* === Tabellen-Style === */
.table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.table th,
.table td {
  padding: 12px;
  text-align: left;
  border: 1px solid #ddd;
  vertical-align: middle;
  word-wrap: break-word;
}

.table th:first-child,
.table td:first-child {
  width: 70%;
}

.table th:last-child,
.table td:last-child {
  width: 30%;
}

/* === Tabellen-Wrapper für schmalere Darstellung === */
.services-table-wrapper {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* === Buttons === */
button,
.custom-btn {
  background-color: #96018A;
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  text-shadow: 1px 1px 2px black;
}

button:hover,
.custom-btn:hover {
  background-color: #96018A;
  color: white;
}

/* === Login-Box === */
.login-box {
  max-width: 400px;
  margin: 100px auto;
}

.login-card {
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* === Responsive Anpassung === */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2em;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.mobile-nav-toggle {
  background-color: #96018A;
  color: white;
  border: none;
  padding: 10px;
  width: 100%;
  text-align: left;
  font-size: 1.2em;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  background-color: #96018A;
  padding: 10px 0;
}

.mobile-nav a {
  display: block;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
}

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"]:checked ~ .mobile-nav {
  display: block;
}

@media (min-width: 768px) {
  .mobile-nav-toggle,
  .mobile-nav {
    display: none;
  }
}

/* === Desktop-Navigation === */
.desktop-nav {
  display: none;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #96018A;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    border-radius: 0 0 12px 12px; /* NEU */
  }

  .desktop-nav .brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
  }

  .desktop-nav .brand-main {
    font-family: "Caveat", cursive;
    font-size: 1.6em;
    color: white;
    text-transform: uppercase;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
	text-shadow: 1px 1px 2px black;
  }

  .desktop-nav .brand-sub {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 0.8em;
    color: #f0f0f0;
    margin-top: 0.1em;
    line-height: 1.2;
	text-shadow: 1px 1px 2px black;
  }

  .desktop-nav .nav-links {
    display: flex;
    gap: 20px;
	text-shadow: 1px 1px 2px black;
  }

  .desktop-nav .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
  }

  .desktop-nav .nav-links a:hover {
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
  }
}

.desktop-nav {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.mobile-nav {
  z-index: 1100;
  position: relative;
}

.mobile-nav-toggle {
  z-index: 1200;
  position: relative;
}

body::before {
  z-index: 0;
  pointer-events: none;
}

/* Dashboard-Container zentriert und Paddings */
.dashboard-container {
  max-width: 1200px;
  margin: 80px auto 40px;
  padding: 0 16px;
  color: #333;
}

/* Tabelle */
.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* Kopfzeile */
.dashboard-table thead th {
  background-color: #96018A;
  color: white;
  padding: 0.75rem;
  text-align: left;
  border-bottom: 2px solid #74016e;
}

/* Zeilen und Zellen */
.dashboard-table tbody td {
  padding: 0.6rem;
  border: 1px solid #ddd;
  vertical-align: top;
}

/* Alternierende Hintergrundfarben */
.dashboard-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Hover-Effekt */
.dashboard-table tbody tr:hover {
  background-color: #f1e6f8;
}

/* Status-Button */
.status-btn {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  background-color: #28a745;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.85rem;
}

.status-btn:hover {
  background-color: #218838;
}

/* Kleines Cookie-Banner rechts unten */
#cookie-banner {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  max-width: 300px;
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 9999;
  font-size: 0.9rem;
  line-height: 1.4;
}

#cookie-banner .cookie-banner__text {
  margin-bottom: 0.5rem;
}

#cookie-banner a {
  color: #4eaaff;
  text-decoration: underline;
}

#cookie-banner .cookie-banner__button {
  background-color: #4eaaff;
  color: #fff;
  border: none;
  padding: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-end;
  white-space: nowrap;
}

/* Optional: Animation einblenden */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#cookie-banner {
  animation: fadeInUp 0.4s ease-out;
}

/* === VERBESSERTE HALLOWEEN STYLES === */

/* Basis Halloween Design - Schwarzer Hintergrund statt Bild */
body.halloween {
  background-size: cover;
  color: #ffffff; /* Weißer Text für beste Lesbarkeit */
  transition: background 0.5s ease;
  /* Dunkler Overlay für besseren Kontrast */
  position: relative;
}

/* Dunkler Overlay über das Hintergrundbild */
body.halloween::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Dunkler Schleier für bessere Lesbarkeit */
  z-index: -1;
  pointer-events: none;
}

/* Header/Navigation - ALLE Navbar-Varianten */
body.halloween .header,
body.halloween .desktop-nav,
body.halloween .mobile-nav-toggle {
  background-color: rgba(20, 0, 0, 0.95) !important; /* Sehr dunkler, fast schwarzer Hintergrund */
  box-shadow: 0 8px 20px rgba(255, 117, 24, 0.6) !important;
  border-bottom: 2px solid #ff7518 !important;
}

/* Überschreibt das Standard-Lila komplett */
body.halloween .header,
body.halloween .desktop-nav {
  background: rgba(20, 0, 0, 0.95) !important;
}

body.halloween .nav-links a {
  color: #ffffff; /* Weißer Text */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  font-weight: 500;
  font-size: 1rem;
}

body.halloween .nav-links a:hover {
  background-color: #ff7518;
  color: #000000; /* Schwarzer Text auf orangem Hintergrund */
  text-shadow: none;
  transform: scale(1.05);
  transition: all 0.3s ease;
}

/* Container und Content-Bereiche - Schwarzer Text für bessere Lesbarkeit */
/* ABER NICHT für Footer Container! */
body.halloween .container:not(footer .container),
body.halloween .py-5:not(footer .py-5),
body.halloween .container.py-5:not(footer .container),
body.halloween div[class*="container"]:not(footer div[class*="container"]),
body.halloween div[class*="py-"]:not(footer div[class*="py-"]),
body.halloween .content,
body.halloween .card,
body.halloween .card-body {
  color: #000000 !important; /* Schwarzer Text */
  background: rgba(255, 255, 255, 0.95) !important; /* Weißer Hintergrund mit leichter Transparenz */
  border-radius: 12px;
  padding: 30px;
  margin: 20px auto;
  text-shadow: none !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Bootstrap Container spezifisch - ABER NICHT Footer */
body.halloween .container.py-5:not(footer .container) * {
  color: #000000 !important;
  text-shadow: none !important;
}

/* Footer Container spezielle Behandlung */
body.halloween footer .container,
body.halloween footer .container *,
body.halloween footer div[class*="container"],
body.halloween footer div[class*="container"] * {
  background: transparent !important; /* Kein weißer Hintergrund im Footer */
  color: #ffffff !important; /* Weißer Text im Footer */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8) !important;
  box-shadow: none !important;
}

/* Footer Container Zentrierung beibehalten */
body.halloween footer .container {
  padding: 1em 0 !important; /* Standard Footer Padding */
  margin: 0 auto !important; /* Zentriert den Container */
  text-align: center !important; /* Zentriert den Text */
  width: 100% !important; /* Volle Breite */
  max-width: none !important; /* Keine Breitenbegrenzung */
}

body.halloween footer .text-center {
  text-align: center !important; /* Stellt sicher dass text-center funktioniert */
}

/* Desktop-spezifische Footer-Zentrierung */
@media (min-width: 768px) {
  body.halloween footer .container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 1em 20px !important;
  }
  
  body.halloween footer .container * {
    text-align: center !important;
    width: 100% !important;
  }
}

/* Überschriften in Containern - ABER NICHT Footer */
body.halloween .container:not(footer .container) h1,
body.halloween .container:not(footer .container) h2,
body.halloween .container:not(footer .container) h3,
body.halloween .container:not(footer .container) h4,
body.halloween .container:not(footer .container) h5,
body.halloween .container:not(footer .container) h6,
body.halloween .py-5:not(footer .py-5) h1,
body.halloween .py-5:not(footer .py-5) h2,
body.halloween .py-5:not(footer .py-5) h3,
body.halloween .py-5:not(footer .py-5) h4,
body.halloween .py-5:not(footer .py-5) h5,
body.halloween .py-5:not(footer .py-5) h6 {
  color: #d94e0d !important; /* Orange für Überschriften */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2) !important;
}

/* Überschriften */
body.halloween h1,
body.halloween h2,
body.halloween h3,
body.halloween h4,
body.halloween h5,
body.halloween h6 {
  color: #ff7518;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
  margin-bottom: 20px;
}

/* Ribbon */
body.halloween .ribbon span {
  background-color: #ff7518;
  box-shadow: 0 6px 15px rgba(255, 117, 24, 0.8);
  color: #000000; /* Schwarzer Text für beste Lesbarkeit */
  text-shadow: none;
  font-weight: bold;
  font-size: 1.2em;
  border: 2px solid #d94e0d;
}

/* Buttons */
body.halloween .category-btn,
body.halloween button,
body.halloween .custom-btn {
  background: linear-gradient(145deg, #ff7518, #d94e0d);
  color: #000000; /* Schwarzer Text */
  text-shadow: none;
  border: 2px solid #b8400d;
  box-shadow: 0 4px 15px rgba(255, 117, 24, 0.4);
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
}

body.halloween .category-btn:hover,
body.halloween button:hover,
body.halloween .custom-btn:hover {
  background: linear-gradient(145deg, #ffad33, #ff7518);
  color: #000000;
  box-shadow: 0 6px 20px rgba(255, 173, 51, 0.6);
  transform: translateY(-2px);
}

/* Footer - Gleiche Farbe wie Navbar */
body.halloween footer {
  background-color: rgba(20, 0, 0, 0.95) !important; /* Gleiche dunkle Farbe wie Navbar */
  border-top: 3px solid #ff7518;
  box-shadow: 0 -8px 20px rgba(255, 117, 24, 0.6);
  color: #ffffff !important;
}

body.halloween footer * {
  color: #ffffff !important; /* Weißer Text */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8) !important;
  font-size: 1rem;
  font-weight: 500;
}

body.halloween footer a {
  color: #ff7518 !important; /* Orange für Links */
  text-decoration: none !important;
  font-weight: 600;
}

body.halloween footer a:hover {
  color: #ffad33 !important;
  text-decoration: underline !important;
}

/* Hero Section */
body.halloween .hero h1 {
  color: #ff7518;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9), 0 0 20px #ff7518;
  font-size: 3em;
  font-weight: bold;
}

/* Galerie */
body.halloween .gallery-img {
  filter: brightness(0.9) contrast(1.1);
  border: 3px solid #ff7518;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(255, 117, 24, 0.3);
  transition: all 0.3s ease;
}

body.halloween .gallery-img:hover {
  filter: brightness(1.1) contrast(1.2);
  box-shadow: 0 6px 25px rgba(255, 117, 24, 0.6);
  transform: scale(1.02);
}

/* Tabellen */
body.halloween .table,
body.halloween .dashboard-table {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  overflow: hidden;
}

body.halloween .dashboard-table thead th,
body.halloween .table th {
  background: linear-gradient(145deg, #b8400d, #d94e0d);
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  border-bottom: 2px solid #ff7518;
  font-weight: bold;
}

body.halloween .dashboard-table tbody td,
body.halloween .table td {
  background: rgba(255, 255, 255, 0.9);
  color: #000000;
  border: 1px solid #ff7518;
}

body.halloween .dashboard-table tbody tr:nth-child(even) td,
body.halloween .table tr:nth-child(even) td {
  background: rgba(255, 240, 230, 0.9);
}

body.halloween .dashboard-table tbody tr:hover td,
body.halloween .table tr:hover td {
  background: rgba(255, 173, 51, 0.3);
}

/* Cookie Banner */
body.halloween #cookie-banner {
  background-color: rgba(20, 0, 0, 0.95);
  color: #ffffff;
  border: 2px solid #ff7518;
  box-shadow: 0 4px 20px rgba(255, 117, 24, 0.5);
}

body.halloween #cookie-banner a {
  color: #ff7518;
  font-weight: bold;
}

body.halloween #cookie-banner .cookie-banner__button {
  background: linear-gradient(145deg, #ff7518, #d94e0d);
  color: #000000;
  font-weight: bold;
}

body.halloween #cookie-banner .cookie-banner__button:hover {
  background: linear-gradient(145deg, #ffad33, #ff7518);
}

/* === RESPONSIVE DESIGN === */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  body.halloween .main-content {
    padding: 25px;
    margin: 90px auto 30px;
    font-size: 1rem;
  }
  
  body.halloween .hero h1 {
    font-size: 3em;
  }
  
  body.halloween .brand-main {
    font-size: 1.6em;
  }
  
  body.halloween .brand-sub {
    font-size: 0.85em;
  }
  
  body.halloween .category-btn {
    font-size: 0.95rem;
    padding: 12px 18px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  body.halloween .main-content {
    padding: 20px 15px;
    margin: 80px 10px 30px;
    font-size: 1rem;
    line-height: 1.5;
  }
  
  body.halloween .hero h1 {
    font-size: 2.2em;
  }
  
  body.halloween .brand-main {
    font-size: 1.4em;
  }
  
  body.halloween .brand-sub {
    font-size: 0.8em;
  }
  
  body.halloween .nav-links a {
    font-size: 1rem;
    padding: 8px 12px;
  }
  
  body.halloween .category-btn {
    font-size: 0.9rem;
    padding: 12px 16px;
    min-width: 120px;
    height: 45px;
  }
  
  body.halloween footer * {
    font-size: 0.9rem;
  }
  
/* Mobile Navigation - Halloween Farben */
body.halloween .mobile-nav-toggle {
  background-color: rgba(20, 0, 0, 0.95) !important;
  color: #ffffff !important;
  border: 2px solid #ff7518 !important;
}

body.halloween .mobile-nav {
  background-color: rgba(20, 0, 0, 0.98) !important;
  border-bottom: 2px solid #ff7518;
}

body.halloween .mobile-nav a {
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 117, 24, 0.3);
}

body.halloween .mobile-nav a:hover {
  background-color: #ff7518 !important;
  color: #000000 !important;
}
}

/* Kleine Smartphones (max-width: 480px) */
@media (max-width: 480px) {
  body.halloween .main-content {
    padding: 15px 10px;
    margin: 75px 5px 20px;
    font-size: 0.95rem;
  }
  
  body.halloween .hero h1 {
    font-size: 1.8em;
  }
  
  body.halloween .brand-main {
    font-size: 1.2em;
  }
  
  body.halloween .brand-sub {
    font-size: 0.75em;
  }
  
  body.halloween .nav-links a {
    font-size: 0.9rem;
    padding: 6px 10px;
  }
  
  body.halloween .category-btn {
    font-size: 0.85rem;
    padding: 10px 14px;
    min-width: 100px;
    height: 40px;
  }
  
  body.halloween footer * {
    font-size: 0.85rem;
  }
  
  body.halloween .ribbon {
    left: 10px;
    top: 150px;
    width: 200px;
    height: 200px;
  }
  
  body.halloween .ribbon span {
    width: 300px;
    height: 50px;
    font-size: 1rem;
    left: -60px;
  }
  
  /* Tabellen auf kleinen Geräten besser anpassen */
  body.halloween .dashboard-table {
    font-size: 0.8rem;
  }
  
  body.halloween .dashboard-table th,
  body.halloween .dashboard-table td {
    padding: 0.4rem;
  }
}

/* Extra kleine Geräte (max-width: 360px) */
@media (max-width: 360px) {
  body.halloween .main-content {
    padding: 12px 8px;
    margin: 70px 3px 15px;
    font-size: 0.9rem;
  }
  
  body.halloween .hero h1 {
    font-size: 1.6em;
  }
  
  body.halloween .brand-main {
    font-size: 1.1em;
  }
  
  body.halloween .category-btn {
    font-size: 0.8rem;
    padding: 8px 12px;
    min-width: 90px;
    height: 36px;
  }
}