/* ===========================
   Global Reset & Basics
   =========================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050505;
  color: #f5f5f5;
  line-height: 1.6;
}

/* Metall-/Stahl-Look Hintergrund */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.06) 0, transparent 50%),
    radial-gradient(circle at 80% 0%, rgba(255,255,255,0.05) 0, transparent 55%),
    linear-gradient(135deg, #111 0%, #050505 40%, #111 100%);
  z-index: -2;
}

.overlay-grain {
  position: fixed;
  inset: 0;
  background-image: url("grain-texture.webp"); /* falls vorhanden */
  opacity: 0.12;
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  padding: 0 1.25rem;
  margin: 0 auto;
  width: 100%;
}

/* ===========================
   Header & Navigation
   =========================== */

header {
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background: radial-gradient(circle at top, rgba(255,255,255,0.04), transparent 60%);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.nav-logo span {
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;              /* <– WICHTIG: kein Zeilenumbruch */
  gap: 1.1rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  justify-content: flex-end;
  flex: 1 1 auto;
  overflow-x: auto;               /* <– falls es zu viele Links sind, kann man horizontal scrollen */
  scrollbar-width: thin;          /* Firefox */
}

.nav-links a {
  position: relative;
  padding-bottom: 0.2rem;
  white-space: nowrap;            /* <– Links selbst dürfen nicht umbrechen */
}


/* Orange Hover-Linie wie auf index.html */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #ff9800;
  transition: width 0.2s ease-out;
}

.nav-links a:hover {
  color: #ffd199;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Burger-Menü */

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #f5f5f5;
  border-radius: 999px;
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease, width 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Navigation */

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 1.25rem;
    margin-top: 0.5rem;
    background: rgba(0,0,0,0.96);
    border-radius: 0.75rem;
    border: 1px solid rgba(255,255,255,0.18);
    padding: 0.75rem 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: min(260px, calc(100% - 2.5rem));
    box-shadow: 0 16px 30px rgba(0,0,0,0.6);
    z-index: 60;
  }

  .nav-links.nav-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

/* ===========================
   Main Layout / Sections
   =========================== */

main {
  padding: 2.4rem 0 3.5rem;
}

/* Allgemeine Hero-Styles (Startseite, Tools, etc.) */

.hero-tag,
.page-kicker {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: #c0c0c0;
  margin-bottom: 0.5rem;
}

.hero-title,
.page-title {
  font-size: clamp(1.9rem, 3.4vw, 2.3rem);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.4rem;
}

.hero-sub,
.page-subtitle {
  font-size: 0.95rem;
  color: #d5d5d5;
  max-width: 45rem;
}

.page-header {
  max-width: 900px;
  margin: 0 auto 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 1.5rem;
}

/* Karten / Panels */

.card {
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.16);
  background: radial-gradient(circle at top, rgba(255,255,255,0.04), transparent 60%);
  padding: 1.1rem 1.3rem;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}

.card h2 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.7rem;
}

.card h3 {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0.6rem 0 0.4rem;
}

/* Einfache Grids */

.layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  align-items: flex-start;
}

@media (max-width: 980px) {
  .layout-grid {
    grid-template-columns: 1fr;
  }
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
}

@media (max-width: 960px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   Buttons
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.28);
  padding: 0.5rem 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #f33 0%, #f90 45%, #ff0 100%);
  color: #050505;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  color: #f5f5f5;
  border-color: rgba(255,255,255,0.45);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
}

.btn-small {
  padding: 0.35rem 1.1rem;
  font-size: 0.75rem;
}

/* Links im Tool-/Kachel-Stil (z.B. "Zum Rezept-Rechner →") */

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #ffb84d;
}

.link-pill span {
  font-size: 1rem;
}

.link-pill:hover {
  color: #ffd199;
}

/* ===========================
   Formulare & Inputs
   =========================== */

label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #cfcfcf;
  display: block;
  margin-bottom: 0.2rem;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="search"],
select,
textarea {
  width: 100%;
  padding: 0.4rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(0,0,0,0.5);
  color: #f5f5f5;
  font-size: 0.9rem;
}

textarea {
  min-height: 60px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255,255,255,0.45);
}

/* ===========================
   Tabellen (Trainingstagebuch, Nährwerte etc.)
   =========================== */

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

th,
td {
  padding: 0.3rem 0.35rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

th {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: #bcbcbc;
}

/* ===========================
   Footer
   =========================== */

footer {
  padding: 1.8rem 0 2.5rem;
  font-size: 0.75rem;
  color: #aaaaaa;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 3rem;
}

footer a {
  color: #ffb84d;
}

footer a:hover {
  color: #ffd199;
}

/* ============================= */
/* BLOG-SEITE & KACHEL-LAYOUT    */
/* ============================= */

/* Abschnitts-Layout (falls noch nicht vorhanden) */
.section {
  padding: 2.5rem 0 1.5rem;
}

.section-header {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #d5d5d5;
}

.section-subtitle-center {
  text-align: center;
  max-width: 640px;
  margin: 1rem auto 0;
}

.kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #c0c0c0;
  margin-bottom: 0.5rem;
}

.section-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 60%);
  padding: 1rem 1.25rem;
}

/* Tool-/Blog-Grid (Kacheln nebeneinander, responsive) */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* allgemeine Karten (für Tools + Blogartikel) */
.tool-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 65%);
  padding: 1rem 1.2rem 1.1rem;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, border-color 0.15s ease-out;
}

.tool-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.7);
}

.tool-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #c8c8c8;
}

.tool-title {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 0.15rem;
}

.tool-text {
  font-size: 0.9rem;
  color: #e0e0e0;
  margin-top: 0.1rem;
}

.tool-tags {
  font-size: 0.78rem;
  color: #ffa94d;
  margin-top: 0.15rem;
}

/* Link-Stil wie „Zum Rezept-Rechner →“ auf Startseite */
.tool-link {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #ffb347;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.tool-link::after {
  content: "↗";
  font-size: 0.9em;
  opacity: 0.9;
}

.tool-link:hover {
  color: #ffd37b;
  text-decoration: none;
}

/* Spezifisches Feintuning für Blog-Karten */
.blog-card .tool-title {
  font-size: 1rem;
}

.blog-card .tool-text {
  line-height: 1.5;
}

/* Leerer Zustand für Filter */
.blog-empty-state {
  display: none;
  font-size: 0.9rem;
  color: #e0e0e0;
}

/* Filterzeile über den Artikeln */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-end;
}

.filter-group {
  min-width: 140px;
  flex: 0 0 auto;
}

.filter-group-wide {
  flex: 1 1 220px;
}

.filter-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #cfcfcf;
  display: block;
  margin-bottom: 0.2rem;
}

.filter-select,
.filter-input {
  width: 100%;
  padding: 0.4rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(0,0,0,0.55);
  color: #f5f5f5;
  font-size: 0.88rem;
}

.filter-input::placeholder {
  color: #999;
}

.filter-actions {
  flex: 0 0 auto;
}

.filter-hint {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #bbbbbb;
}

/* Responsive Anpassung */
@media (max-width: 720px) {
  .filter-row {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-group,
  .filter-group-wide,
  .filter-actions {
    width: 100%;
  }
  .filter-actions {
    display: flex;
    justify-content: flex-start;
  }
}

.nutrition-chart-card {
  display: flex;
  flex-direction: column;
}

.nutrition-chart-wrapper {
  margin-top: 0.4rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.55);
  padding: 0.75rem;
  height: 240px;     /* kleiner, kompakter Chart */
  max-height: 240px;
  overflow: hidden;
}

.nutrition-chart-wrapper canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Trainingstage + Übungskacheln im Trainingsplan-Generator */

.tp-days-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tp-day-card {
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.16);
  background: radial-gradient(circle at top, rgba(255,255,255,0.04), transparent 60%);
  padding: 0.9rem 1rem;
}

.tp-day-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.tp-day-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.tp-day-sub {
  font-size: 0.78rem;
  opacity: 0.8;
}

.tp-exercise-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.6rem; /* vertikaler Abstand zwischen Kacheln */
}

.tp-exercise-table td {
  padding: 0;
  border: none;
}

/* eigentliche Kachel je Übung */
.tp-exercise-card {
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.72);
  padding: 0.55rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.tp-ex-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
}

.tp-ex-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.tp-ex-sets {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.9;
}

.tp-ex-meta-line {
  font-size: 0.78rem;
  opacity: 0.9;
}

.tp-ex-meta-line span {
  opacity: 0.9;
}

.tp-ex-meta-line strong {
  font-weight: 600;
}

/* Intensitätstechnik-Zeile */
.tp-ex-intensity {
  margin-top: 0.15rem;
  font-size: 0.76rem;
  color: #ffdd66;
}
  /* Cookie-Banner */
    .cookie-banner {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 9999;
      background: rgba(0,0,0,0.96);
      color: #f5f5f5;
      padding: 1rem 1.25rem;
      display: none;
      flex-wrap: wrap;
      gap: 0.75rem;
      align-items: center;
      justify-content: space-between;
      font-size: 0.85rem;
      border-top: 1px solid rgba(255,255,255,0.25);
    }

    .cookie-banner a {
      color: #ffffff;
      text-decoration: underline;
    }

    .cookie-text {
      flex: 1 1 220px;
      min-width: 0;
    }

    .cookie-buttons {
      display: flex;
      gap: 0.5rem;
      flex-shrink: 0;
    }

    .cookie-buttons button {
      border: none;
      cursor: pointer;
      padding: 0.4rem 0.9rem;
      border-radius: 999px;
      font-size: 0.8rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    #cookie-accept {
      background: #ffffff;
      color: #000000;
    }

    #cookie-decline {
      background: transparent;
      color: #ffffff;
      border: 1px solid rgba(255,255,255,0.6);
    }
/* Inhalt / Sektionen */
    .content-section {
      max-width: 900px;
      margin: 0 auto 2.7rem;
    }

    .content-section h2 {
      margin-bottom: 0.75rem;
      font-size: 1.1rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: #f5f5f5;
    }

    .content-section h3 {
      margin-top: 1.2rem;
      margin-bottom: 0.4rem;
      font-size: 0.95rem;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: #f5f5f5;
    }

    .content-section p {
      margin-bottom: 0.8rem;
      font-size: 0.96rem;
      color: #e1e1e1;
    }

    .content-section ul {
      margin: 0.4rem 0 1rem 1.2rem;
      padding-left: 0;
      font-size: 0.96rem;
      color: #e1e1e1;
    }

    .content-section li {
      margin-bottom: 0.35rem;
    }

    .highlight-box {
      border-left: 3px solid #f5f5f5;
      padding-left: 1rem;
      margin: 1.2rem 0 1.6rem;
      font-size: 0.9rem;
      color: #d0d0d0;
      font-style: italic;
    }

    .grid-features {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1.3rem;
      margin-top: 0.8rem;
    }

    .feature-card {
      border-radius: 1rem;
      border: 1px solid rgba(255,255,255,0.16);
      padding: 1rem 1.1rem;
      background: radial-gradient(circle at top, rgba(255,255,255,0.05), transparent 60%);
      font-size: 0.9rem;
    }

    .feature-card h3 {
      margin-top: 0;
      margin-bottom: 0.4rem;
    }

    .feature-card p {
      margin-bottom: 0;
      font-size: 0.9rem;
      color: #e3e3e3;
    }

    .cta-box {
      border-radius: 1rem;
      border: 1px solid rgba(255,255,255,0.22);
      padding: 1.3rem 1.6rem;
      background: radial-gradient(circle at top, rgba(255,255,255,0.06), transparent 65%);
      text-align: left;
    }

    .cta-box p {
      margin-bottom: 0.7rem;
    }

    .cta-box .btn-primary {
      margin-top: 0.3rem;
    }

    .cta-badge {
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: #f0b040;
      margin-bottom: 0.5rem;
    }

 /* Hero / Kopfbereich */
    .page-hero {
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
      gap: 2.2rem;
      align-items: center;
      margin-bottom: 3rem;
    }

    .hero-text-kicker {
      text-transform: uppercase;
      font-size: 0.8rem;
      letter-spacing: 0.2em;
      color: #c0c0c0;
      margin-bottom: 0.5rem;
    }

    .hero-title {
      font-size: clamp(2rem, 3.3vw, 2.6rem);
      text-transform: uppercase;
      letter-spacing: 0.16em;
      margin-bottom: 0.8rem;
      line-height: 1.2;
    }

    .hero-subtitle {
      font-size: 1rem;
      max-width: 34rem;
      color: #e1e1e1;
      margin-bottom: 0.8rem;
    }

    .hero-highlight {
      font-weight: 600;
    }

    .hero-note {
      font-size: 0.85rem;
      color: #b0b0b0;
      margin-bottom: 1rem;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.3rem 0.9rem;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.45);
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: #f5f5f5;
      margin-bottom: 0.9rem;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      margin-bottom: 0.6rem;
    }

    .btn-primary,
    .btn-secondary {
      border-radius: 999px;
      padding: 0.55rem 1.4rem;
      font-size: 0.85rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      border: 1px solid rgba(255,255,255,0.55);
      background: transparent;
      color: #f5f5f5;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.35rem;
      text-decoration: none;
    }

    .btn-primary {
      background: #f5f5f5;
      color: #000000;
      border-color: #f5f5f5;
    }

    .btn-primary:hover {
      background: #dcdcdc;
    }

    .btn-secondary:hover {
      background: rgba(255,255,255,0.08);
    }

    .hero-media {
      border-radius: 1.2rem;
      border: 1px solid rgba(255,255,255,0.18);
      overflow: hidden;
      background: radial-gradient(circle at top, rgba(255,255,255,0.05), transparent 60%);
      min-height: 260px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1rem;
    }

    .hero-media img {
      width: 100%;
      height: auto;
      object-fit: cover;

/* Layout für Formular + Liste nebeneinander */
.layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.5rem;
  align-items: flex-start;
}
@media (max-width: 980px) {
  .layout-grid {
    grid-template-columns: 1fr;
  }
}

/* Grid im Formular */
.training-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}
@media (max-width: 720px) {
  .training-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Styling für Selects / Listboxen */
.select-input,
select {
  width: 100%;
  padding: 0.45rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.6);
  color: #f5f5f5;
  font-size: 0.9rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #f5f5f5 50%),
    linear-gradient(135deg, #f5f5f5 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% - 3px),
    calc(100% - 10px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
select:focus {
  outline: none;
  border-color: #ffcc00;
  box-shadow: 0 0 0 1px rgba(255,204,0,0.4);
}

/* Liste & Einträge */
.log-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.log-entry {
  border-radius: 0.8rem;
  border: 1px solid rgba(255,255,255,0.16);
  padding: 0.55rem 0.7rem;
  background: rgba(0,0,0,0.6);
  font-size: 0.85rem;
}

.log-entry-main {
  font-weight: 600;
}

.log-entry-meta {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: 0.15rem;
}

.log-entry-notes {
  font-size: 0.78rem;
  opacity: 0.9;
  margin-top: 0.2rem;
}

/* Button-Reihe im Formular */
.btn-row-tight {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
/* Hero-Bild im Artikel */
    .post-hero {
      margin: 2rem 0;
      border-radius: 1rem;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.18);
      background: #050505;
    }

 /* Inhalt */
    .post-content {
      font-size: 0.98rem;
      color: #e1e1e1;
    }

    .post-content p {
      margin-bottom: 1.1rem;
    }

    .post-content h2 {
      margin-top: 2rem;
      margin-bottom: 0.75rem;
      font-size: 1.1rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: #f5f5f5;
    }

    .post-content h3 {
      margin-top: 1.2rem;
      margin-bottom: 0.4rem;
      font-size: 0.95rem;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: #f5f5f5;
    }

    .post-content ul {
      margin: 0.5rem 0 1.2rem 1.2rem;
      padding-left: 0;
    }

    .post-content li {
      margin-bottom: 0.4rem;
    }

    .quote {
      border-left: 3px solid #f5f5f5;
      padding-left: 1rem;
      margin: 1.5rem 0 1.5rem;
      font-style: italic;
      color: #d0d0d0;
    }

    /* Artikel-Footer */
    .post-footer {
      margin-top: 2.5rem;
      padding-top: 1.5rem;
      border-top: 1px solid rgba(255,255,255,0.08);
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: space-between;
      align-items: center;
      font-size: 0.8rem;
      color: #b0b0b0;
    }

    .tag-list {
      text-transform: uppercase;
      letter-spacing: 0.16em;
      font-size: 0.7rem;
    }

    .tag-list span {
      border: 1px solid rgba(255,255,255,0.3);
      border-radius: 999px;
      padding: 0.15rem 0.7rem;
      margin-right: 0.4rem;
    }

  .post-title {
        font-size: clamp(1.7rem, 6vw, 2.1rem);
      }
    }

 .post-wrapper {
        padding: 0;
      }

      .tag-list {
        margin-bottom: 0.5rem;
      }

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

    .ad-label {
      font-size: 0.6rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: #888888;
      margin-bottom: 0.25rem;
    }


 /* Artikelkopf */
    .post-header {
      margin-bottom: 2rem;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      padding-bottom: 1.5rem;
    }

    .post-kicker {
      text-transform: uppercase;
      font-size: 0.8rem;
      letter-spacing: 0.2em;
      color: #c0c0c0;
      margin-bottom: 0.5rem;
    }

    .post-title {
      font-size: clamp(1.9rem, 3vw, 2.3rem);
      text-transform: uppercase;
      letter-spacing: 0.12em;
      margin-bottom: 0.75rem;
      line-height: 1.2;
    }

    .post-meta {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: #a0a0a0;
    }

    .post-meta span + span::before {
      content: "•";
      margin: 0 0.5rem;
      opacity: 0.6;
    }

    /* Hero-Bild im Artikel */
    .post-hero {
      margin: 2rem 0;
      border-radius: 1rem;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.18);
      background: #050505;
    }

    .post-hero img {
      width: 100%;
    }
/* Cookie-Banner */
    .cookie-banner {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 9999;
      background: rgba(0,0,0,0.96);
      color: #f5f5f5;
      padding: 1rem 1.25rem;
      display: none;
      flex-wrap: wrap;
      gap: 0.75rem;
      align-items: center;
      justify-content: space-between;
      font-size: 0.85rem;
      border-top: 1px solid rgba(255,255,255,0.25);
    }

    .cookie-banner a {
      color: #ffffff;
      text-decoration: underline;
    }

    .cookie-text {
      flex: 1 1 220px;
      min-width: 0;
    }

    .cookie-buttons {
      display: flex;
      gap: 0.5rem;
      flex-shrink: 0;
    }

    .cookie-buttons button {
      border: none;
      cursor: pointer;
      padding: 0.4rem 0.9rem;
      border-radius: 999px;
      font-size: 0.8rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    #cookie-accept {
      background: #ffffff;
      color: #000000;
    }

    #cookie-decline {
      background: transparent;
      color: #ffffff;
      border: 1px solid rgba(255,255,255,0.6);
    }

    .zentriertes-bild {
  display: block;      /* Bild als Blockelement, nötig für margin:auto */
  margin-left: auto;   /* Zentriert links */
  margin-right: auto;  /* Zentriert rechts */
  width: 5%;          /* Bildgröße relativ zur Bildschirmbreite */
  max-width: 150px;    /* Maximale Größe, damit es auf Handys nicht zu groß ist */
  height: auto;        /* Höhe automatisch anpassen, um Proportionen zu wahren */
      border-radius: 1rem;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.18);
      background: #050505;
    }

          .post-wrapper {
        padding: 0;
      }

 /* Breadcrumb */
    .breadcrumb {
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: #a0a0a0;
      margin-bottom: 1.5rem;
    }

    .breadcrumb a {
      opacity: 0.85;
    }

    .breadcrumb span {
      opacity: 0.6;
    }