/* =====================================================
   Cyril's Reef — Global Styles (Cleaned v4, 2025-10-29)
   Fix: Korallen-Bilder auf Mobile sicher anklickbar + alle vorherigen Verbesserungen
   ===================================================== */

/* 1) Reset & Variablen */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:root {
  /* Farben */
  --bg: #000;
  --panel: #111;
  --panel-2: #1a1a1a;
  --text: #fff;
  --muted: #ccc;
  --accent: #00bcd4;
  --border: #222;
  --shadow: 0 0 12px rgba(0,188,212,.18);

  /* Layout */
  --site-max: 1400px;
  --px: 40px;      /* Seiten-Padding Desktop */
  --gap: 30px;     /* Grid-Abstand Desktop */
  --nav-h: 80px;   /* fixe Topnav-Höhe Desktop */

  /* Komponenten */
  --card-h: 380px; /* Standard-Kartenhöhe */
}

/* 2) Utilities */
.container { max-width: var(--site-max); margin-inline: auto; padding-inline: var(--px); }
.center { display: grid; place-items: center; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.shadow { box-shadow: var(--shadow); }
.round { border-radius: 12px; }

/* =====================================================
   3) Navigation (Desktop + Mobile)
   ===================================================== */
.topnav {
  position: fixed; inset-inline: 0; top: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center; gap: 40px;
  background: var(--bg);
  padding: 20px 0;
  border-bottom: 1px solid #000;
}
.topnav a { color: var(--text); font-weight: 700; transition: color .25s; }
.topnav a:hover, .topnav a.active { color: var(--accent); }
.topnav .brand { display: none; letter-spacing: .2px; }
.nav-links { display: flex; gap: 40px; }

.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 26px; height: 2px; background: var(--text); margin: 6px 0; transition: transform .25s, opacity .25s; }

/* Mobile */
@media (max-width: 768px) {
  :root { --px: 16px; --gap: 16px; --nav-h: 64px; --card-h: 300px; }

  /* Mittiger Block mit Titel + Burger nebeneinander */
  .topnav { display: block; text-align: center; padding: 12px 0; }
  .center-nav { display: inline-flex; align-items: center; justify-content: center; gap: 12px; position: relative; z-index: 2; }
  .brand { display: inline-block !important; font-size: 1.2rem; }
  .menu-btn {
    display: inline-block; background: none; border: none; cursor: pointer; vertical-align: middle;
    padding: 8px; line-height: 0; position: relative; z-index: 3;
  }
  .menu-btn span { width: 28px; height: 3px; }

  /* Ausklapp-Menü: fängt keine Klicks ab, wenn geschlossen */
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg); border-top: 1px solid var(--border);
    display: none; flex-direction: column; gap: 0; padding: 8px var(--px) 16px;
    z-index: 9998; pointer-events: none;
  }
  .nav-links a { padding: 12px 6px; font-size: 1.05rem; border-radius: 8px; }
  .nav-links a:hover { background: #111; }

  .topnav.open .nav-links { display: flex; pointer-events: auto; }
  .topnav.open .menu-btn span:nth-child(1){ transform: translateY(9px) rotate(45deg); }
  .topnav.open .menu-btn span:nth-child(2){ opacity: 0; }
  .topnav.open .menu-btn span:nth-child(3){ transform: translateY(-9px) rotate(-45deg); }
}

/* =====================================================
   4) Footer
   ===================================================== */
footer { text-align: center; color: #aaa; font-size: .95rem; padding: 28px 12px; border-top: 1px solid #111; margin-top: 60px; }

/* =====================================================
   5) Index — Hero
   ===================================================== */
.hero {
  position: relative; height: 100vh; padding-top: var(--nav-h);
  background: url('bilder/1.index/aquarium.JPG') center/cover no-repeat;
  display: flex; align-items: center; justify-content: center; text-align: center; color: var(--text); overflow: hidden;
}
.hero::before { content:""; position: absolute; inset: 0; background: rgba(0,0,0,.4); z-index: 1; pointer-events: none; }
.hero-text { position: relative; z-index: 2; padding: 40px 60px; border-radius: 20px; }
.hero-text h1 { font-size: 5rem; margin: 0 0 16px; }
.hero-text p { font-size: 1.2rem; line-height: 1.6; margin: 0; }

@media (max-width: 768px) {
  .hero { height: 60vh; }
  .hero-text h1 { font-size: 2.2rem; }
  .hero-text p { font-size: 1rem; }
}

/* =====================================================
   6) Korallen – Header
   ===================================================== */
.korallen-hero {
  height: 42vh; min-height: 280px; margin-top: var(--nav-h);
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.korallen-hero::before { content:""; position: absolute; inset: 0; background: rgba(0,0,0,.35); pointer-events: none; }
.korallen-hero h1 { position: relative; z-index: 1; font-size: 3.2rem; letter-spacing: .5px; text-shadow: 0 0 20px #000; margin: 0; }
@media (max-width: 768px){ .korallen-hero { height: 34vh; min-height: 220px; } .korallen-hero h1{ font-size: 2rem; } }

/* =====================================================
   7) Einheitliches Kachelraster (Korallen, Tiere, Bilder)
   ===================================================== */
/* Desktop/Tablet-Standard */
.kachelbereich, .tier-grid, .bilder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--gap);
  padding: 60px var(--px);
  max-width: var(--site-max);
  margin: 0 auto;
  grid-auto-rows: var(--card-h);
  position: relative; z-index: 1; /* fängt Klicks sicher */ 
}
.kachel, .tier-box, .bild-box {
  background: var(--panel);
  border-radius: 16px;
  padding: 8px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .25s ease;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; z-index: 1;
  pointer-events: auto; /* explizit anklickbar */
}
.kachel:hover, .tier-box:hover, .bild-box:hover { transform: scale(1.03); }
.kachel img, .tier-box img, .bild-box img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  position: relative; z-index: 1;
  pointer-events: auto; /* explizit anklickbar */
}
.kachel .meta, .tier-box .meta, .bild-box .meta { margin-top: 6px; color: var(--muted); font-size: .95rem; line-height: 1.25; }
.kachel .meta a, .tier-box .meta a, .bild-box .meta a { color: var(--accent); font-size: .9rem; }
.kachel.platzhalter, .tier-box.platzhalter, .bild-box.platzhalter { visibility: hidden; }

/* Abstände zwischen aufeinanderfolgenden Korallen-Abschnitten etwas enger */
header.korallen-hero + section.kachelbereich { padding-top: 16px; }
section.kachelbereich + header.korallen-hero { margin-top: -24px; }

/* Mobile – identischer Look für Korallen, Tiere, Bilder */
@media (max-width: 768px){
  .kachelbereich, .tier-grid, .bilder-grid {
    padding: 90px 14px 36px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 14px;
  }
  /* Bilder-Galerie quadratisch & unverzerrt */
  .bilder-grid .bild-box { display: block; aspect-ratio: 1 / 1; overflow: hidden; }
  .bilder-grid .bild-box img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
}

/* Lightbox liegt garantiert ganz oben */
#lightboxOverlay { z-index: 99999; }

/* =====================================================
   8) Technik – Liste + Details (+ Mobile Wheel/Picker Look)
   ===================================================== */
.technik-grid { display: flex; gap: 32px; padding: 0 calc(var(--px) + 32px); align-items: flex-start; }
.technik-liste {
  display: flex; flex-direction: column; gap: 12px;
  padding: calc(var(--nav-h) + 16px) 24px 24px;
  flex: 0 0 340px; background: var(--bg); overflow: auto;
  max-height: calc(100vh - (var(--nav-h) + 40px)); border-radius: 16px;
}
.technik-liste button {
  background: #111; color: var(--text); padding: 12px 16px;
  border: 1px solid #333; border-radius: 12px; font-size: 1rem;
  text-align: left; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .2s;
}
.technik-liste button:hover, .technik-liste button.active {
  background: var(--accent); color: #000; border-color: var(--accent);
}
.technik-details { flex: 1; background: var(--panel-2); color: var(--text); padding: 24px; border-radius: 16px; margin-top: var(--nav-h); max-width: 960px; }
.technik-content { display: flex; align-items: flex-start; gap: 28px; }
.technik-content img { max-width: 220px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,.3); flex-shrink: 0; }
.technik-text { max-width: 560px; }

/* Mobile Technik: horizontale Picker-Leiste (Wheel-Look) */
@media (max-width: 768px){
  .technik-grid { flex-direction: column; padding: 0 var(--px); gap: 12px; }

  /* horizontale Liste mit „Wheel“-Gefühl */
  .technik-liste {
    order: 1;
    padding: calc(var(--nav-h) + 0px) 0 10px;
    background: transparent; flex: initial; max-height: none;
    display: flex; flex-direction: row; gap: 10px;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scroll-padding: 0 24px;
    position: sticky; top: var(--nav-h); z-index: 5;
    mask-image: linear-gradient(to right, transparent, white 8%, white 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, white 8%, white 92%, transparent);
  }

  /* Picker-Marker in der Mitte (wie iOS-Datepicker) */
  .technik-liste::after {
    content: ""; position: sticky; left: 50%; transform: translateX(-50%);
    width: 44px; height: 44px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.25);
    pointer-events: none; top: 6px;
  }

  .technik-liste button {
    flex: 0 0 auto; white-space: nowrap;
    border-radius: 9999px; padding: 10px 14px; font-size: 1rem;
    border: 1px solid #333; background: #111; scroll-snap-align: center;
    transform: scale(.96);
  }
  .technik-liste button.active { transform: scale(1.05); }

  .technik-details { order: 2; margin: 8px 0 24px; padding: 16px; border-radius: 14px; }
  .technik-content { flex-direction: column; gap: 14px; }
  .technik-content img { max-width: 100%; }
  .technik-text { max-width: 100%; }
}

/* Breiter Desktop: aufgeräumtes Grid */
@media (min-width: 1024px){
  .technik-grid {
    display: grid !important;
    grid-template-columns: 340px minmax(0, 780px) !important;
    column-gap: 32px !important; max-width: 1280px !important;
    margin-inline: auto !important; padding-inline: 72px !important;
    min-height: calc(100vh - (var(--nav-h) + 80px)) !important;
    align-items: center !important; justify-content: center !important;
  }
  .technik-liste { align-self: center !important; padding: 0 !important; background: var(--bg) !important; border-radius: 16px !important; max-height: 72vh !important; overflow: auto !important; }
  .technik-details { align-self: center !important; background: var(--panel-2) !important; border-radius: 16px !important; padding: 24px !important; margin: 0 !important; max-height: 72vh !important; overflow: auto !important; }
  .technik-content { align-items: center !important; gap: 32px !important; max-width: 780px !important; margin: 0 auto !important; }
  .technik-content img { max-width: 240px !important; }
}

/* --- Technik: Wheel/Picker Look (Mobile) --- */
@media (max-width: 768px){
  .technik-liste {
    order: 1;
    padding: calc(var(--nav-h) + 0px) 0 10px;
    background: transparent;
    display: flex; flex-direction: row; gap: 10px;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 24px;
    position: sticky; top: var(--nav-h);
    z-index: 5;

    /* sanfter Fade an den Rändern */
    mask-image: linear-gradient(to right, transparent, white 8%, white 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, white 8%, white 92%, transparent);
  }

  /* Marker in der Mitte (rein optisch, tappbar bleibt alles) */
  .technik-liste::after {
    content: "";
    position: sticky;
    left: 50%;
    transform: translateX(-50%);
    width: 44px; height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.25);
    pointer-events: none;
    top: 6px;
  }

  .technik-liste button {
    flex: 0 0 auto;
    white-space: nowrap;
    border-radius: 9999px;
    padding: 10px 14px;
    font-size: 1rem;
    border: 1px solid #333;
    background: #111;
    scroll-snap-align: center;

    /* Picker-Feeling */
    opacity: .6;
    transform: scale(.96);
    transition: transform .25s, opacity .25s, background-color .25s, color .25s, border-color .25s;
  }

  .technik-liste button.active {
    opacity: 1;
    transform: scale(1.08);
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
  }
}


/* =====================================================
   9) Pflege
   ===================================================== */
.pflege-container { max-width: var(--site-max); margin: 0 auto; padding: calc(var(--nav-h) + 32px) var(--px) 80px; color: var(--text); line-height: 1.7; }
.pflege-container h2 { font-size: 2rem; margin-bottom: 30px; text-align: center; }
.pflege-container h3 { font-size: 1.3rem; color: var(--accent); margin-top: 28px; margin-bottom: 8px; }
.pflege-container p { font-size: 1rem; color: var(--muted); }
@media (max-width: 768px){
  .pflege-container{ padding: calc(var(--nav-h) + 20px) var(--px) 60px; }
  .pflege-container h2{ font-size: 1.6rem; }
  .pflege-container h3{ font-size: 1.15rem; }
}

/* =====================================================
   10) Bilder – Lightbox (lightbox.js)
   ===================================================== */
#lightboxOverlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.9); display: none;
  align-items: center; justify-content: center; z-index: 99999; padding: 40px 20px;
}
#lightboxOverlay.open { display: flex; }
#lightboxOverlay .lb-content { position: relative; max-width: 95vw; max-height: 90vh; display: flex; align-items: center; justify-content: center; }
#lightboxOverlay .lb-img { max-width: 90vw; max-height: 80vh; border-radius: 12px; box-shadow: 0 0 20px rgba(0,0,0,.5); }
#lightboxOverlay .lb-caption {
  position: absolute; left: 50%; bottom: -40px; transform: translateX(-50%);
  color: var(--muted); font-size: .95rem; text-align: center; max-width: 90vw;
}
#lightboxOverlay .lb-close, #lightboxOverlay .lb-prev, #lightboxOverlay .lb-next {
  position: absolute; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  color: var(--text); font-size: 2rem; line-height: 1; width: 48px; height: 48px;
  border-radius: 12px; cursor: pointer;
}
#lightboxOverlay .lb-close { top: -56px; right: 0; font-size: 2.2rem; }
#lightboxOverlay .lb-prev { left: -56px; }
#lightboxOverlay .lb-next { right: -56px; }
@media (max-width: 768px){
  #lightboxOverlay .lb-prev { left: 8px; }
  #lightboxOverlay .lb-next { right: 8px; }
  #lightboxOverlay .lb-close { top: 8px; right: 8px; }
  #lightboxOverlay .lb-caption { bottom: -28px; font-size: .9rem; }
}
/* ==========================================
   Technik-Mobile-Menü (Button + Overlay)
   ========================================== */
.technik-menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .technik-menu-toggle {
    display: block;
    width: calc(100% - 32px);
    margin: calc(var(--nav-h) + 12px) auto 8px;
    background: var(--accent);
    color: #000;
    font-weight: 600;
    font-size: 1.05rem;
    border: none;
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background-color .25s, transform .2s;
  }
  .technik-menu-toggle:active {
    transform: scale(.98);
  }

  /* Technik-Liste ausgeblendet standardmäßig */
  .technik-liste {
    display: none;
    flex-direction: column;
    gap: 10px;
    background: #111;
    border-radius: 12px;
    margin: 0 16px;
    padding: 12px;
    box-shadow: var(--shadow);
  }
  .technik-liste.open {
    display: flex;
    animation: fadeIn .3s ease;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Hinweisblock in der Mitte (Mobile only) */

@media (max-width: 768px) {
  .technik-hinweis {
    text-align: center;
    color: var(--muted);
    font-size: 1.1rem;
    margin: 20px auto 12px;
  }

  .technik-liste.open + .technik-details .technik-hinweis {
    display: none;
  }
}
/* ==========================================
   Zentrierung Technik-Hinweis & Dropdown
   ========================================== */
@media (max-width: 768px) {
  /* Hinweis in der Mitte */
  .technik-hinweis {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--muted);
    font-size: 1.1rem;
    margin: 16px auto;
  }

  /* Dropdown (Technik-Liste) mittig */
  .technik-liste {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #111;
    border-radius: 14px;
    margin: 0 auto;
    width: 90%;
    max-width: 400px;
    padding: 14px;
    box-shadow: var(--shadow);
  }

  .technik-liste.open {
    display: flex;
    animation: fadeIn .3s ease;
  }

  .technik-liste button {
    width: 100%;
    text-align: center;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
/* ==========================================
   Zentrierung des Platzhaltertextes
   ========================================== */
@media (max-width: 768px) {
  #technikContent {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
    text-align: center;
  }

  #technikContent p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
  }
}

/* Platzhalter-Text im Technik-Content zentrieren (nur wenn kein Bild vorhanden) */
@media (max-width: 768px) {
  /* Falls kein <img> in .technik-content ist → als Grid zentrieren */
  #technikContent .technik-content:not(:has(img)) {
    display: grid;
    place-items: center;        /* horizontal + vertikal */
    min-height: 160px;
    text-align: center;
    padding: 8px 16px;
  }
  #technikContent .technik-content:not(:has(img)) p {
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
  }
}

/* -- Technik: Platzhalter sauber zentrieren (nur mobil, nur ohne Bild) -- */
@media (max-width: 768px) {
  #technikContent .technik-content:not(:has(img)) {
    display: grid;
    place-items: center;         /* horizontal + vertikal */
    min-height: 180px;
    text-align: center;
    padding: 8px 16px;
  }
  #technikContent .technik-content:not(:has(img)) > p {
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
    width: 100%;
  }
}
/* -- Technik: kein Kanten-Fade in der horizontalen Liste (mobil) -- */
@media (max-width: 768px) {
  .technik-liste {
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
}
@media (max-width: 768px) {
  /* Platzhalter-Text wirklich mittig und optisch harmonisch */
  #technikContent .technik-content:not(:has(img)) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 220px;
    padding: 24px;
    margin-top: 8px;
    background: var(--panel);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  #technikContent .technik-content:not(:has(img)) p {
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.4;
    margin: 0;
  }
}
@media (max-width: 768px) {
  #technikContent .technik-content:not(:has(img)) {
    margin-left: 4%;   /* schiebt alles leicht nach rechts */
    width: 92%;        /* hält Abstand rechts gleich */
  }
}

@media (max-width: 768px) {
  #technikContent .technik-content:not(:has(img)) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 220px;
    padding: 24px;
    margin-top: 8px;
    border-radius: 16px;
  }

  #technikContent .technik-content:not(:has(img)) p {
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.4;
    margin: 0;
  }
}

/* ===== Technik: Mobil – äußeren grauen Kasten entfernen & Inhalt sauber zentrieren ===== */
@media (max-width: 768px) {
  /* der äußere Container hinter der Karte */
  .technik-details {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 16px !important;   /* etwas Seitenluft lassen */
  }

  /* die sichtbare Karte mit dem Text/Bild */
  #technikContent .technik-content {
    margin: 0 auto;               /* sauber mittig */
    max-width: 680px;             /* optional Begrenzung */
  }

  /* Platzhalter zentrieren, wenn noch kein Bild geladen ist */
  #technikContent .technik-content:not(:has(img)) {
    display: grid;
    place-items: center;
    min-height: 220px;
    text-align: center;
    padding: 24px;
    border-radius: 16px;          /* nur die innere Karte */
  }
  #technikContent .technik-content:not(:has(img)) p {
    color: var(--muted);
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.4;
  }
}
/* ==========================================
   Technik-Dropdown: Button-Beschriftungen mittig
   ========================================== */
@media (max-width: 768px) {
  .technik-liste button {
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 1rem;
    padding: 10px 0;
  }
}
/* ==========================================
   Technik – Titel & Text im Content zentrieren
   ========================================== */
@media (max-width: 768px) {
  #technikContent .technik-text {
    text-align: center;
    width: 100%;
  }

  #technikContent .technik-text h3 {
    text-align: center;
    margin: 16px 0 8px;
    font-size: 1.4rem;
  }

  #technikContent .technik-text p,
  #technikContent .technik-text a {
    text-align: center;
    display: block;
  }
}

/* Tiere: Kartenhöhe dynamisch statt quadratisch */
.tier-box { aspect-ratio: auto !important; overflow: hidden; }

/* Bild bleibt weiterhin quadratisch */
.tier-box img { aspect-ratio: 1 / 1; object-fit: cover; }

/* ===== Tiere: Karten dynamisch + Texte garantiert sichtbar/zentriert ===== */
.tier-box { 
  aspect-ratio: auto !important;   /* Karte darf in der Höhe wachsen */
}

.tier-box img {
  aspect-ratio: 1 / 1;             /* Bild bleibt quadratisch */
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.tier-box h4 {
  margin: 10px 0 6px;
  font-style: italic;
  text-align: center;
}

/* Erzwinge Sichtbarkeit & Zentrierung von Zusatzzeilen */
.tier-box p,
.tier-box a {
  display: block !important;
  visibility: visible !important;
  text-align: center;
}

.tier-box p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .95rem;
}

.tier-box a {
  margin-top: 6px;
  color: var(--accent);
  text-decoration: underline;
  word-break: break-word;
}

/* Falls dein Grid irgendwo fixe Reihenhöhen hat, hier freigeben */
.tier-grid { grid-auto-rows: auto !important; }

