/* ================================================================
   SchuKom – Haupt-Stylesheet  (schukom.css)
   Ersetzt main.css + viewer.css vollständig.
   In HTML einbinden mit:
     <link rel="stylesheet" href="schukom.css">
   ================================================================ */


/* ----------------------------------------------------------------
   1. DESIGNVARIABLEN  ← HIER alle Farben, Schriften & Abstände
      zentral anpassen
   ---------------------------------------------------------------- */
:root {
  /* --- Markenfarben --- */
  --magenta:       #b50066;   /* ← Primärfarbe Magenta (Buttons, Akzente) */
  --magenta-dark:  #880050;   /* ← Hover-Dunkelung für Magenta */
  --green:         #78b41e;   /* ← Hellgrün (Rezensionen, Beschriftungen) */
  --green-dark:    #122410;   /* ← Dunkelgrün (Info-Sektion, Viewer-Leiste) */
  --green-mid:     #1e3d1c;   /* ← Mittleres Grün (Rahmen, Trennlinien) */

  /* --- Hintergrundfarben --- */
  --bg-dark:       #0e0e10;   /* ← Seitenhintergrund (fast Schwarz) */
  --bg-card:       #16161a;   /* ← Kartenhintergrund (etwas heller) */
  --bg-section:    #122410;   /* ← Dunkelgrüner Infobereich */

  /* --- Textfarben --- */
  --text-light:    #ffffff;   /* ← Heller Text auf dunklem Grund */
  --text-muted:    #b3b3b3;   /* ← Gedimmter Text (Beschreibungen) */
  --text-green:    #d0edd2;   /* ← Heller Text auf grünem Grund */

  /* --- UI-Farben --- */
  --border-color:  #26262b;   /* ← Rahmenfarbe (Dunkelgrau) */

  /* --- Schrift --- */
  --font:          -apple-system, BlinkMacSystemFont, "Segoe UI",
                   Roboto, Helvetica, Arial, sans-serif;
  /* ← Systemschrift. Für eigene Schrift z.B. 'Georgia, serif' */

  /* --- Rundungen --- */
  --radius:        6px;       /* ← Kleine Ecken (Buttons, Karten) */
  --radius-lg:     10px;      /* ← Große Ecken (Produktkarten) */
}


/* ----------------------------------------------------------------
   2. RESET  – Grundnormalisierung für alle Browser
   ---------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* ----------------------------------------------------------------
   3. BASIS-BODY
   ---------------------------------------------------------------- */
body {
  font-family: var(--font);         /* ← Schrift: in :root ändern */
  background-color: var(--bg-dark); /* ← Seitenhintergrund */
  color: var(--text-light);
  line-height: 1.65;
}


/* ================================================================
   4. NAVIGATION / KOPFZEILE
   ================================================================ */
.navbar {
  max-width: 1100px;            /* ← Maximale Breite der Navbar */
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border-color);
}

/* Logo-Bereich */
.nav-logo {
  font-size: 24px;
  font-weight: bold;
  flex-shrink: 0;
}
.nav-logo a        { color: var(--text-light); text-decoration: none; }
.nav-logo img      { display: block; max-height: 60px; width: auto; }
.dot-magenta       { color: var(--magenta); } /* ← Farbpunkt im Logo */
.dot-green         { color: var(--green);   }

/* Slogan in der Mitte */
.nav-slogan {
  color: var(--text-muted);
  font-style: italic;
  font-size: 16px;           /* ← Schriftgröße Slogan */
  text-align: center;
  flex: 1;
}

/* Navigationslinks rechts */
.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}

/* Shop-Button in der Navbar */
.btn-shop {
  background-color: var(--magenta); /* ← Shop-Button-Farbe */
  color: var(--text-light) !important;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-weight: bold;
  transition: background 0.2s;
}
.btn-shop:hover { background-color: var(--magenta-dark); }


/* ================================================================
   5. HAUPTBEREICH – PRODUKTKARTEN
   ================================================================ */
.main-container {
  max-width: 1100px;    /* ← Breite des Hauptbereichs */
  margin: 40px auto;
  padding: 0 20px;
}

/* Überschriften im Hauptbereich */
.section-title {
  color: var(--text-light);
  text-align: center;
  font-size: 26px;       /* ← Schriftgröße Bereichstitel */
  font-weight: 700;
  margin-bottom: 36px;
}

/* Zweispaltiges Karten-Grid (wird auf Mobil einspaltig) */
.grid-two-columns {
  display: flex;
  gap: 24px;             /* ← Abstand zwischen den Karten */
  margin-bottom: 40px;
  flex-wrap: wrap;       /* Zeilenumbruch bei kleinem Bildschirm */
}

/* Einzelne Produktkarte */
.grid-column {
  flex: 1 1 320px;       /* ← Mindestbreite einer Karte: 320px */
  background-color: var(--bg-card);
  border-radius: var(--radius-lg); /* ← Eckenrundung der Karte */
  overflow: hidden;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

/* Bild-Bereich oben in der Karte */
.card-image-box {
  width: 100%;
  height: 400px;         /* ← Höhe des Coverbilds anpassen */
  background-color: #1a1a22;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-image-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Text-Bereich in der Karte */
.card-content {
  padding: 24px;         /* ← Innenabstand der Karte */
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-content h3 {
  color: var(--text-light);
  font-size: 20px;       /* ← Schriftgröße Kartentitel */
  margin-bottom: 12px;
}
.card-content p {
  color: var(--text-muted);
  font-size: 14px;       /* ← Schriftgröße Beschreibungstext */
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

/* Button-Gruppe in der Karte */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Allgemeiner Aktions-Button */
.btn-action {
  display: inline-block;
  padding: 10px 16px;    /* ← Button-Innenabstand */
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  color: var(--text-light);
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
/* Primärer Button (Magenta) */
.btn-primary          { background-color: var(--magenta); }
.btn-primary:hover    { background-color: var(--magenta-dark); }
/* Sekundärer Button (Grau) */
.btn-secondary        { background-color: #2a2a35; border: 1px solid var(--border-color); }
.btn-secondary:hover  { background-color: #35353f; }


/* ================================================================
   6. INFO-SEKTION  (dunkelgrüner Streifen)
   ================================================================ */
.info-section {
  background-color: var(--bg-section); /* ← Hintergrundfarbe: Dunkelgrün */
  padding: 40px 20px;    /* ← Innenabstand oben/unten : links/rechts */
  margin-top: 60px;
}
.info-content {
  max-width: 750px;      /* ← Breite des Textes im grünen Bereich */
  margin: 0 auto;
  text-align: center;
}
.info-content h2 {
  color: var(--text-light);
  font-size: 24px;       /* ← Schriftgröße Überschrift im grünen Bereich */
  margin-bottom: 18px;
}
.info-content p {
  font-size: 15px;
  color: var(--text-green); /* ← heller Grünton für Text auf Dunkelgrün */
  line-height: 1.8;
}


/* ================================================================
   7. REZENSIONEN
   ================================================================ */
.reviews-section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
}

.reviews-grid {
  display: flex;
  gap: 24px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.review-card {
  flex: 1 1 200px;       /* ← Mindestbreite einer Rezensionskarte */
  text-align: center;
}

/* Avatar-Bild */
.review-avatar {
  width: 120px;
  height: 70px;          /* ← Größe des Avatar-Kreises */
  margin: 0 auto 16px;
  border-radius: 50%;
  background-color: #2a2a35;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-text {
  font-style: italic;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  min-height: 56px;
}
.review-author {
  font-weight: bold;
  font-size: 14px;
  color: var(--green);   /* ← Farbe Autorenname */
}


/* ================================================================
   8. FOOTER
   ================================================================ */
footer {
  background-color: #09090b; /* ← Footer-Hintergrund (tiefschwarz) */
  padding: 50px 20px 20px;
  border-top: 1px solid var(--border-color);
  margin-top: 80px;
}

.footer-links-grid {
  display: flex;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-col { flex: 1 1 160px; }

.footer-col h4 {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col ul          { list-style: none; }
.footer-col ul li       { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--text-light); }

/* Untere Footer-Zeile (Copyright + Social) */
.footer-bottom {
  max-width: 1100px;
  margin: 36px auto 0;
  padding-top: 16px;
  border-top: 1px solid #1c1c22;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #555;
}
.footer-social a {
  color: #555;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-social a:hover { color: var(--text-muted); }

/* Font-Awesome Instagram-Icon */
.fa {
  padding: 6px;
  font-size: 22px;
  text-align: center;
  border-radius: 50%;
  transition: opacity 0.2s;
}
.fa:hover       { opacity: 0.7; }
.fa-instagram   { color: var(--text-light); }


/* ================================================================
   9. MATERIAL-SEITEN  (template_material.html / flo/index.html)
   ================================================================ */
/* Seitencontainer auf Material-Unterseiten */
.container {
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
}
.page-header {
  text-align: center;
  margin-bottom: 48px;
}
.page-header h1 { font-size: 30px; margin-bottom: 10px; }
.page-header p  { color: var(--text-muted); font-size: 15px;
                  max-width: 600px; margin: 0 auto; }

/* Einzelner Material-Block */
.material-block {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}
.material-meta {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green);   /* ← Farbe der Kategoriebeschriftung */
  font-weight: bold;
  margin-bottom: 8px;
}
.material-block h2 { font-size: 20px; margin-bottom: 10px; }
.material-block p  { color: var(--text-muted); font-size: 14px;
                     margin-bottom: 22px; }

/* Download-Button auf Material-Seiten */
.btn-download {
  display: inline-block;
  background-color: var(--magenta); /* ← Button-Farbe */
  color: var(--text-light);
  text-decoration: none;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-weight: bold;
  font-size: 14px;
  transition: background 0.2s;
}
.btn-download:hover { background-color: var(--magenta-dark); }

/* Datenschutz-Hinweis-Block */
.privacy-note {
  background-color: #111115;
  border-left: 4px solid var(--green); /* ← Akzentlinie links */
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 56px;
  border-radius: 0 var(--radius) var(--radius) 0;
}


/* ================================================================
   10. PDF-VIEWER  (vorschau-viewer.html)
   ================================================================ */

/* Äußerer Rahmen des Viewers, eingebettet in .info-section */
.viewer-wrapper {
  max-width: 960px;      /* ← Maximale Viewer-Breite */
  margin: 0 auto;
  padding: 0 20px 36px;
}

/* Überschrift-Bereich über dem Buch */
.viewer-header {
  padding: 28px 0 8px;
}
.viewer-header h1 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 4px;
}
.viewer-header p {
  font-size: 0.88rem;
  color: var(--text-green);
}

/* Heft-Auswahlbuttons */
.book-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 0 16px;
}
.book-btn {
  padding: 6px 16px;
  border: 1.5px solid var(--green); /* ← Rahmenfarbe Buchauswahl */
  border-radius: 20px;
  background: transparent;
  color: var(--green);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.book-btn:hover,
.book-btn.active {
  background: var(--green);  /* ← Aktiver Button: Hellgrün */
  color: #fff;
}

/* Header-Bereich im Viewer (ausgewähltes Heft, Lupe) */
.viewer-wrapper .header {
  padding: 8px 0 4px;
}
.viewer-wrapper .header-text h1 {
  font-size: 1.25rem;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 2px;
}
.viewer-wrapper .header-text p {
  font-size: 0.85rem;
  color: var(--text-green);
}

/* Stage: enthält das Buch + Navigationsleiste */
.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Titelleiste über dem Buch */
.topbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: var(--green-dark); /* ← Farbe der Titelleiste */
  color: #fff;
  font-size: 0.85rem;
  border-radius: var(--radius) var(--radius) 0 0;
  border: 1px solid var(--green-mid);
  border-bottom: none;
}
.topbar .title-label {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 58%;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.topbar .pg { font-size: 0.78rem; color: #b0d8a0; }

/* Buch-Anzeigebereich */
.book-scene {
  width: 100%;
  background: #b8b0a0;   /* ← Farbe des Bucheinbands (sichtbar bei Leerseiten) */
  border: 1px solid #777;
  border-top: none;
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

/* Buchrücken-Schattenlinie in der Mitte */
.spine {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  /* ← Buchrücken-Schatten: erster Wert = Schattenstärke */
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.28),
    rgba(0,0,0,0.08) 40%,
    rgba(255,255,255,0.2) 60%,
    rgba(0,0,0,0.1)
  );
  z-index: 5;
  pointer-events: none;
}

/* Linke und rechte Buchseite */
.pages-wrapper {
  display: flex;
  width: 100%;
  position: relative;
}
.page-left, .page-right {
  width: 50%;
  background: #fff;      /* ← Papierfarbe der Seiten */
  position: relative;
  overflow: hidden;
}

/* PDF-Canvas (die eigentliche Seite) */
canvas.pdf-canvas {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

/* Unsichtbares Schutz-Overlay: verhindert Rechtsklick/Drag */
.protect-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  /* ← Dezentes Linienmuster (fast unsichtbar) – Stärke via rgba anpassen */
  background: repeating-linear-gradient(
    -45deg,
    transparent, transparent 55px,
    rgba(120,180,30,0.025) 55px, rgba(120,180,30,0.025) 57px
  );
  cursor: crosshair;
}

/* Wasserzeichen-Text auf den Seiten */
.watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 11;
}
.watermark span {
  font-size: clamp(0.9rem, 3vw, 1.6rem);
  font-weight: 700;
  /* ← Deckkraft des Wasserzeichens: letzter Wert in rgba */
  color: rgba(120,180,30,0.1);
  transform: rotate(-30deg); /* ← Winkel des Wasserzeichens */
  letter-spacing: 0.1em;
  white-space: nowrap;
  text-transform: uppercase;
}

/* Copyright-Hinweis unten rechts im Buch */
.zoom-hint {
  position: absolute;
  bottom: 8px;
  right: 10px;
  z-index: 12;
  font-size: 0.68rem;
  color: rgba(0,0,0,0.3);
  pointer-events: none;
  background: rgba(255,255,255,0.5);
  padding: 2px 6px;
  border-radius: 3px;
}

/* Lupe-Button in der Titelleiste */
.zoom-btn {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: var(--radius);
  padding: 4px 10px;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.15s;
  user-select: none;
}
.zoom-btn:hover { background: rgba(181,0,102,0.45); } /* ← Hover: Magenta-Hauch */
.zoom-btn svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none;
  stroke-width: 2.2; stroke-linecap: round;
}

/* Navigationsleiste unter dem Buch */
.nav-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 16px;
  background: var(--green-dark);  /* ← Farbe der Navigationsleiste */
  border: 1px solid var(--green-mid);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-radius: 0 0 var(--radius) var(--radius);
}

/* Blättern-Buttons (Zurück / Weiter) */
.nav-btn {
  padding: 7px 20px;
  background: var(--magenta);    /* ← Button-Farbe */
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.15s;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-btn:hover:not(:disabled) { background: var(--magenta-dark); }
.nav-btn:disabled { background: #2a2a35; color: #555; cursor: not-allowed; }
.nav-btn svg {
  width: 15px; height: 15px;
  fill: none; stroke: currentColor;
  stroke-width: 2.5; stroke-linecap: round;
}

/* Seitenzahl-Anzeige zwischen den Buttons */
.page-display {
  font-size: 0.84rem;
  min-width: 150px;
  text-align: center;
  color: #9dc; /* ← Farbe der Seitenzahl */
}

/* Blätter-Animationen */
.flip-overlay {
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  z-index: 20;
  pointer-events: none;
  overflow: hidden;
}
.flip-overlay.left  { left:  0; transform-origin: right center; }
.flip-overlay.right { right: 0; transform-origin: left  center; }

@keyframes flipRight {
  0%   { transform: scaleX(1); opacity: 1; }
  50%  { transform: scaleX(0); opacity: 0.4; }
  100% { transform: scaleX(0); opacity: 0; }
}
@keyframes flipLeft {
  0%   { transform: scaleX(1); opacity: 1; }
  50%  { transform: scaleX(0); opacity: 0.4; }
  100% { transform: scaleX(0); opacity: 0; }
}

/* Lade-Animation (Spinner) */
.loading-screen {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border-color);
  border-top-color: var(--green); /* ← Spinner-Farbe */
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Hinweistexte unterhalb des Viewers */
.hint {
  margin-top: 10px;
  font-size: 0.76rem;
  color: #6a9a6a;        /* ← Farbe der Hinweistexte */
  text-align: center;
}


/* ================================================================
   11. LUPEN-MODAL
   ================================================================ */
.zoom-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.9); /* ← Abdunkelung hinter dem Modal */
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}
.zoom-modal.open { display: flex; }

.zoom-modal-inner {
  position: relative;
  max-width: 94vw;
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: 0 8px 48px rgba(0,0,0,0.7);
  background: #fff;
  user-select: none;
  -webkit-user-select: none;
  overflow: visible;
}

/* Scrollbarer Bereich mit dem vergrößerten PDF */
.zoom-canvas-wrap {
  overflow: auto;
  max-width: 94vw;
  max-height: 88vh;
  border-radius: var(--radius);
  cursor: grab;
}
.zoom-canvas-wrap:active { cursor: grabbing; }
.zoom-canvas-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

#zoomCanvas { display: block; }

/* Wasserzeichen im Lupen-Modal */
.zoom-wm {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zoom-wm span {
  font-size: clamp(1rem, 4vw, 2rem);
  font-weight: 700;
  color: rgba(120,180,30,0.1); /* ← Deckkraft Wasserzeichen im Modal */
  transform: rotate(-30deg);
  letter-spacing: 0.1em;
  white-space: nowrap;
  text-transform: uppercase;
}

/* Steuerleiste unter dem Modal (Zoom + Seitenauswahl) */
.zoom-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(14,14,16,0.97);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 30px;
}

/* Zoom +/− Buttons */
.zoom-ctrl-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.zoom-ctrl-btn:hover { background: rgba(181,0,102,0.4); } /* ← Hover Magenta */

/* Zoom-Prozentanzeige */
.zoom-label {
  color: #aaa;
  font-size: 0.82rem;
  min-width: 44px;
  text-align: center;
}

/* Seiten-Wähler im Zoom-Modal */
.zoom-page-sel { display: flex; gap: 6px; flex-wrap: wrap; }
.zoom-page-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #ccc;
  padding: 4px 12px;
  border-radius: var(--radius);
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s;
}
.zoom-page-btn:hover,
.zoom-page-btn.active {
  background: var(--magenta); /* ← Aktive Seite im Modal: Magenta */
  border-color: var(--magenta);
  color: #fff;
}

/* Trennlinie im Zoom-Control-Panel */
.zoom-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.2);
}

/* Schließen-Button (× oben rechts) */
.zoom-close {
  position: fixed;
  top: 14px; right: 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
  transition: background 0.15s;
  z-index: 1001;
}
.zoom-close:hover { background: rgba(181,0,102,0.6); } /* ← Hover: Magenta */


/* ================================================================
   12. RESPONSIVE ANPASSUNGEN
   ================================================================ */

/* Tablets (bis 900px) */
@media (max-width: 900px) {
  .card-image-box { height: 320px; } /* ← Coverhöhe auf Tablet */
}

/* Smartphones (bis 768px) */
@media (max-width: 768px) {
  /* Navbar: Slogan ausblenden, Logo kleiner */
  .nav-slogan { display: none; }
  .navbar { padding: 12px 16px; }
  .nav-logo img { max-height: 48px; }

  /* Karten untereinander */
  .grid-two-columns { gap: 16px; }
  .grid-column { flex: 1 1 100%; }
  .card-image-box { height: 280px; }

  /* Rezensionen untereinander */
  .reviews-grid { flex-direction: column; gap: 28px; }
  .review-card { flex: 1 1 100%; }

  /* Footer untereinander */
  .footer-links-grid { flex-direction: column; gap: 24px; }

  /* Viewer */
  .viewer-wrapper { padding: 0 12px 28px; }
  .nav-bar { gap: 8px; padding: 8px; }
  .nav-btn { padding: 6px 14px; font-size: 0.82rem; }
  .page-display { min-width: 90px; font-size: 0.76rem; }
  .zoom-controls { gap: 6px; padding: 6px 10px; }
}

/* Kleine Smartphones (bis 480px) */
@media (max-width: 480px) {
  .topbar .title-label { max-width: 46%; font-size: 0.76rem; }
  .topbar .pg          { font-size: 0.7rem; }
  .nav-btn             { padding: 6px 10px; font-size: 0.76rem; }
  .btn-action          { padding: 9px 12px; font-size: 12px; }
  .section-title       { font-size: 22px; }
  .book-btn            { font-size: 0.78rem; padding: 5px 12px; }
}
