/* ==========================================================================
   Salon Theme — Farben, Typografie, Navigation, Footer
   Hier sammeln wir nach und nach weitere Inhalts-Komponenten (Akkordeons usw.)
   ========================================================================== */

:root {
  --color-bg-light: #f1e8d9;
  --color-bg-accent: #72a29b;
  --color-button-bg: #9e410e;
  --color-button-text: #fff;
  --color-text: #2b2b2b;
  --font-heading: "Roboto Slab", serif;
  --font-body: "Open Sans", sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg-light);
}

/* Einheitliche Linkfarbe aus dem Farbschema, statt Browser-Standard (blau/violett, unterstrichen) */
a {
  color: var(--color-button-bg);
  text-decoration: none;
}

a:hover {
  color: #7e3309;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

/* Buttons */

.btn {
  display: inline-block;
  background-color: var(--color-button-bg);
  color: var(--color-button-text);
  font-family: var(--font-body);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background-color: #7e3309;
  color: var(--color-button-text);
  text-decoration: none;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--color-button-bg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-button-bg);
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.btn-outline:hover {
  background-color: var(--color-button-bg);
  color: var(--color-button-text);
  text-decoration: none;
}

.password-strength-meter + .btn-outline {
  margin-top: 0.75rem;
}

.auth-form button[type="submit"] {
  background-color: var(--color-button-bg);
}

.auth-form button[type="submit"]:hover {
  background-color: #7e3309;
}

/* Header / Navigation */

.site-header {
  background: var(--color-bg-light);
  color: var(--color-text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  position: relative;
  padding: 0;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.site-branding {
  padding-left: 0.5rem;
}

.site-branding a {
  font-family: var(--font-heading);
  color: var(--color-text);
  font-size: 1.6rem;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--color-text);
  border-radius: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  margin-left: 3rem;
}

ul.site-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav .nav-cta,
.site-nav .nav-user {
  margin-left: auto;
}

.nav-user {
  display: flex;
  align-items: center;
}

/* Nutzer-Dropdown-Menü */

.user-dropdown {
  position: relative;
}

.user-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: none;
  border: 1px solid var(--color-text);
  border-radius: 20px;
  padding: 0.35rem 0.8rem;
  font-size: 0.88rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  white-space: nowrap;
}

.user-dropdown-toggle:hover {
  background: var(--color-button-bg);
  border-color: var(--color-button-bg);
  color: #fff;
}

.user-dropdown-caret {
  font-size: 0.7rem;
  transition: transform 0.15s ease;
}

.user-dropdown.is-open .user-dropdown-caret {
  transform: rotate(180deg);
}

.user-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 190px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.13);
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  z-index: 200;
}

.user-dropdown.is-open .user-dropdown-menu {
  display: block;
}

.user-dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.1rem;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.user-dropdown-menu li a:hover {
  background: var(--color-bg-light);
  color: var(--color-button-bg);
  text-decoration: none;
}

.user-dropdown-divider {
  height: 1px;
  background: #eee;
  margin: 0.3rem 0;
}

.site-nav-links a {
  color: var(--color-text) !important;
  font-weight: 600;
  text-decoration: none !important;
  padding: 0.4rem 0;
  position: relative;
}

.site-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-button-bg);
  transition: width 0.2s ease;
}

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

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    background: var(--color-bg-light);
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 2rem 0;
  }

  .site-nav-links li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .site-nav-links a {
    display: block;
    padding: 0.9rem 0;
  }

  .nav-cta {
    margin: 1rem 2rem 1.5rem;
    text-align: center;
  }

  .nav-user {
    flex-direction: column;
    align-items: stretch;
    margin: 0.75rem 2rem 1.5rem;
  }

  .user-dropdown-toggle {
    width: 100%;
    justify-content: center;
    border-radius: 4px;
    padding: 0.75rem 1rem;
  }

  .user-dropdown-menu {
    position: static;
    box-shadow: none;
    background: var(--color-bg-light);
    border-radius: 4px;
    margin-top: 0.4rem;
  }
}

/* Hero / Mini-Startseite */

.hero {
  background: var(--color-bg-accent);
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.section {
  padding: 4rem 2rem;
}

.section--light {
  background: var(--color-bg-light);
}

.section--accent {
  background: var(--color-bg-accent);
  color: #fff;
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

/* Footer */

.site-footer {
  background: #1f2933;
  color: #d8d8d8;
  padding: 3rem 2rem 1.5rem;
  font-family: var(--font-body);
  text-align: left;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  text-align: left;
}

.footer-brand h2 {
  color: #fff;
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: #d8d8d8;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  max-width: 960px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  font-size: 0.9rem;
  color: #9aa5b1;
}

/* Passwortfeld: Augen-Icon zum Anzeigen/Verbergen */

.js-toggle-password {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  flex: 0 0 auto;
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: var(--color-text);
  cursor: pointer;
}

.js-toggle-password:hover {
  background: #e2e2e2;
}

/* Passwort-Stärke: Balken-Anzeige */

.password-strength-bars {
  display: flex;
  gap: 4px;
  margin-top: 0.5rem;
}

.password-strength-bars .bar {
  height: 6px;
  flex: 1;
  background: #e0e0e0;
  border-radius: 3px;
  transition: background-color 0.2s ease;
}

.password-strength-label {
  margin-top: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.password-strength-bars.is-weak .bar:nth-child(1) {
  background: #e74c3c;
}

.password-strength-label.is-weak {
  color: #e74c3c;
}

.password-strength-bars.is-medium .bar:nth-child(1),
.password-strength-bars.is-medium .bar:nth-child(2) {
  background: #e67e22;
}

.password-strength-label.is-medium {
  color: #e67e22;
}

.password-strength-bars.is-strong .bar:nth-child(1),
.password-strength-bars.is-strong .bar:nth-child(2),
.password-strength-bars.is-strong .bar:nth-child(3) {
  background: #f1c40f;
}

.password-strength-label.is-strong {
  color: #b7950b;
}

.password-strength-bars.is-very-strong .bar {
  background: #2ecc71;
}

.password-strength-label.is-very-strong {
  color: #2ecc71;
}

/* Admin-Bereich */

.admin-bar {
  background: #1f2933;
  color: #fff;
  font-size: 0.85rem;
}

.admin-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.5rem 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.admin-bar-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-bg-accent);
}

.admin-bar a {
  color: #fff;
}

.admin-bar a:hover {
  color: var(--color-bg-accent);
  text-decoration: none;
}

.admin-bar-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 0.3rem;
  background: var(--color-button-bg);
  color: #fff;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.admin-table th,
.admin-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.admin-table th {
  background: var(--color-bg-light);
  font-family: var(--font-heading);
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-active {
  background: #e3f9e5;
  color: #1e6b34;
}

.badge-pending {
  background: #fff4e0;
  color: #b7700a;
}

.badge-locked {
  background: #fdecea;
  color: #8a1f11;
}

.admin-lock-form {
  margin-top: 1rem;
}

.btn-danger {
  color: #c0392b;
  border-color: #c0392b;
}

.btn-danger:hover {
  background-color: #c0392b;
  color: #fff;
  text-decoration: none;
}

/* Admin-Tabelle: Icon-Buttons in der Aktionsspalte */

.admin-row-actions {
  display: flex;
  gap: 0.5rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  background: var(--color-bg-light);
  color: var(--color-button-bg);
  border: 1px solid transparent;
}

.icon-btn:hover {
  background: var(--color-button-bg);
  color: #fff;
  text-decoration: none;
}

.col-id {
  width: 60px;
}

.col-actions {
  width: 90px;
  white-space: nowrap;
}

/* DataTables an das Theme anpassen */

#users-table.dataTable {
  margin: 1.5rem 0 !important;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

#users-table.dataTable thead th {
  background: var(--color-bg-light);
  font-family: var(--font-heading);
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.3rem 0.5rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: var(--color-button-bg) !important;
  color: #fff !important;
  border-color: var(--color-button-bg) !important;
}

/* Dashboard-Stream */

.stream {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
  width: 100%;
}

.stream-card {
  position: relative;
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.admin-quick-edit {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1f2933;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--color-bg-accent);
}

.admin-quick-edit:hover {
  background: var(--color-button-bg);
  color: #fff;
  text-decoration: none;
}

.stream-card-image {
  width: 280px;
  flex: 0 0 280px;
  object-fit: cover;
}

.stream-card-content {
  flex: 1;
  min-width: 0;
  padding: 1.25rem;
}

.stream-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.stream-type {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}

.stream-type--podcast {
  background: #fde8df;
  color: var(--color-button-bg);
}

.stream-type--event {
  background: #dcebe9;
  color: #2f6f67;
}

.stream-type--download {
  background: #e6e0f5;
  color: #5b3fa3;
}

.stream-type--article {
  background: #fdf3d4;
  color: #92720a;
}

.stream-date {
  font-size: 0.8rem;
  color: #888;
}

.stream-card-content h2 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
}

.stream-card-content audio,
.podcast-item-body audio {
  width: 100%;
  margin-top: 0.75rem;
}

@media (max-width: 700px) {
  .stream-card {
    flex-direction: column;
  }

  .stream-card-image {
    width: 100%;
    flex: 0 0 auto;
    height: 200px;
  }
}

/* Podcast-Übersichtsseite */

.podcast-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.podcast-item {
  display: flex;
  gap: 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  padding: 1.25rem;
}

.podcast-item-image {
  width: 140px;
  height: 140px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 6px;
}

.podcast-item-image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-light);
  color: var(--color-button-bg);
  font-size: 2.5rem;
}

.podcast-item-body {
  flex: 1;
  min-width: 0;
}

.podcast-item-body h2 {
  margin: 0.5rem 0;
  font-size: 1.3rem;
}

.podcast-item-date {
  font-size: 0.8rem;
  color: #888;
}

@media (max-width: 600px) {
  .podcast-item {
    flex-direction: column;
  }

  .podcast-item-image {
    width: 100%;
    height: 180px;
  }
}

/* Events-Übersichtsseite */

.event-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.event-item {
  display: flex;
  gap: 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  padding: 1.25rem;
}

.event-item-image {
  width: 140px;
  height: 140px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 6px;
}

.event-item-image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-light);
  color: var(--color-button-bg);
  font-size: 2.5rem;
}

.event-item-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 90px;
  width: 90px;
  background: var(--color-bg-light);
  border-radius: 6px;
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.event-item-day {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-button-bg);
  line-height: 1.1;
}

.event-item-year {
  font-size: 0.8rem;
  color: #888;
}

.event-item-time {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.event-item-body {
  flex: 1;
  min-width: 0;
}

.event-item-body h2 {
  margin: 0.5rem 0;
  font-size: 1.3rem;
}

.event-zoom-details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.event-zoom-details p {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .event-item {
    flex-direction: column;
  }

  .event-item-image {
    width: 100%;
    height: 180px;
  }

  .event-item-date {
    flex-direction: row;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
  }
}

/* Admin-Podcast-Liste */

.admin-podcast-thumb {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
}

.admin-podcast-thumb--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-light);
  color: var(--color-button-bg);
}

/* Bild-Zuschnitt (Cropper.js) */

.cropper-wrapper {
  margin-top: 0.75rem;
}

.cropper-image-box {
  max-width: 100%;
  max-height: 360px;
  overflow: hidden;
  background: #222;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.cropper-image-box img {
  display: block;
  max-width: 100%;
}

.cropper-zoom-control {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.cropper-zoom-control input[type="range"] {
  flex: 1;
  accent-color: var(--color-button-bg);
}

.podcast-image-preview {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  margin-top: 0.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* Upload-Fortschrittsanzeige */

.upload-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
}

.upload-progress-track {
  flex: 1;
  height: 10px;
  background: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
}

.upload-progress-bar {
  height: 100%;
  width: 0;
  background: var(--color-button-bg);
  transition: width 0.2s ease;
}

.upload-progress-label {
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 3.5rem;
  text-align: right;
}

/* Beitrags-Detailseite */

.article-detail {
  /* max-width: 800px; */
  margin: 2rem auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.article-detail h1 {
  margin: 0.5rem 0 0.25rem;
}

.article-detail-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 6px;
  margin: 1.5rem 0;
}

.article-content {
  line-height: 1.7;
}

.article-content h1,
.article-content h2,
.article-content h3 {
  font-family: var(--font-heading);
  margin: 1.5rem 0 0.75rem;
}

.article-content p {
  margin: 0 0 1rem;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1rem 0;
}

.article-content a {
  text-decoration: underline;
}

.article-content ul,
.article-content ol {
  margin: 0 0 1rem 1.5rem;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.article-content table td,
.article-content table th {
  border: 1px solid #ddd;
  padding: 0.5rem;
}

/* Kommentare */

.comments-section {
  /* max-width: 800px; */
  margin: 0 auto 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.comments-section h2 {
  margin-top: 0;
}

.comment-list {
  margin: 1.5rem 0;
}

.comment {
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.comment:last-child {
  border-bottom: none;
}

.comment--reply {
  margin-left: 2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--color-bg-light);
  border-bottom: none;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.comment-author,
a.comment-author-link {
  color: var(--color-button-bg);
  font-weight: 600;
}
a.comment-author-link {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.15s,
    color 0.15s;
}
a.comment-author-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.comment-date {
  font-size: 0.8rem;
  color: #888;
}

.comment-body {
  margin: 0 0 0.5rem;
  white-space: pre-line;
}

.js-reply-toggle {
  background: none;
  border: none;
  color: var(--color-button-bg);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
}

.js-reply-toggle:hover {
  text-decoration: none;
}

.comment-reply-form {
  margin-top: 0.75rem;
}

.comment-reply-form textarea,
.comment-form textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  margin-bottom: 0.5rem;
}

.comment-form {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.comment-form h3 {
  margin-top: 0;
}

/* Kommentaranzahl im Dashboard-Stream */

.stream-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.stream-comment-count {
  font-size: 0.85rem;
  color: #666;
}

.stream-comment-count:hover {
  color: var(--color-button-bg);
}

/* Konto-Seite */

.konto-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.konto-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  padding: 1.75rem;
}

.konto-card h2 {
  margin-top: 0;
}

.konto-card .form-group {
  margin-bottom: 1.1rem;
}

.konto-card label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.4rem;
}

@media (max-width: 768px) {
  .konto-sections {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Globale Formular-Stile – gilt überall auf der Website
   ============================================================ */

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="url"],
.form-group input[type="datetime-local"],
.form-group input[type="number"],
.form-group input[type="search"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #c8bfb5;
  border-radius: 4px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-text);
  background: #fff;
  box-sizing: border-box;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group input[type="url"]:focus,
.form-group input[type="datetime-local"]:focus,
.form-group input[type="number"]:focus,
.form-group input[type="search"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-bg-accent);
  box-shadow: 0 0 0 3px rgba(114, 162, 155, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Select mit eigenem Pfeil-Icon */
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232b2b2b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Checkboxen und Radio-Buttons */
.form-group input[type="radio"],
.form-group input[type="checkbox"] {
  width: auto;
  accent-color: var(--color-button-bg);
  cursor: pointer;
  margin-right: 0.4rem;
}

/* File-Input */
.form-group input[type="file"] {
  width: 100%;
  padding: 0.4rem 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
}

/* ── Statische Seiten (Datenschutz, Impressum) ───────────────────────────── */
.static-page {
  max-width: 780px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 6px;
  padding: 2.5rem 3rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  line-height: 1.75;
}

.static-page h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.static-page h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-text);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-bg-light);
  padding-bottom: 0.3rem;
}

.static-page h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-text);
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}

.static-page p {
  margin-bottom: 1rem;
}

.static-page a {
  color: var(--color-bg-accent);
}

.static-page a:hover {
  text-decoration: underline;
}

.static-page hr {
  border: none;
  border-top: 1px solid #e0d6c8;
  margin: 2rem 0;
}

@media (max-width: 600px) {
  .static-page {
    padding: 1.5rem 1.2rem;
  }
}

/* ── Footer Social Icons ─────────────────────────────────────────────────── */
.footer-social {
  margin-bottom: 0.6rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: inherit;
  font-size: 1.1rem;
  transition:
    background 0.2s ease,
    transform 0.15s ease;
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--color-bg-accent);
  transform: translateY(-2px);
}

/* ── Cookie-Banner ───────────────────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: calc(100% - 2rem);
  max-width: 860px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.14);
  z-index: 9000;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid #e0d6c8;
}

#cookie-banner.cookie-banner-visible {
  transform: translateX(-50%) translateY(0);
}

#cookie-banner.cookie-banner-hidden {
  transform: translateX(-50%) translateY(140%);
  transition: transform 0.25s ease-in;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 1.5rem;
  flex-wrap: wrap;
}

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

.cookie-banner-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.cookie-banner-text p {
  margin: 0;
  font-size: 0.875rem;
  color: #555;
  line-height: 1.5;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Cookie Buttons (gemeinsam für Banner + Modal) ───────────────────────── */
.cookie-btn {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
  white-space: nowrap;
}

.cookie-btn-primary {
  background: var(--color-button-bg);
  color: #fff;
  border-color: var(--color-button-bg);
}

.cookie-btn-primary:hover {
  background: #7d3209;
  border-color: #7d3209;
}

.cookie-btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: #c8bfb5;
}

.cookie-btn-secondary:hover {
  border-color: var(--color-bg-accent);
  color: var(--color-bg-accent);
}

/* ── Cookie-Modal ────────────────────────────────────────────────────────── */
#cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

#cookie-modal.cookie-modal-visible {
  opacity: 1;
}

#cookie-modal.cookie-modal-hidden {
  opacity: 0;
  pointer-events: none;
}

.cookie-modal-inner {
  background: #fff;
  border-radius: 10px 10px 0 0;
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.15);
}

.cookie-modal-inner h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
}

.cookie-modal-intro {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.5rem;
}

.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cookie-category {
  border: 1px solid #e8e0d5;
  border-radius: 8px;
  padding: 1rem 1.1rem;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.cookie-category-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cookie-category-info strong {
  font-size: 0.95rem;
}

.cookie-category-cookies {
  font-size: 0.75rem;
  color: #888;
  font-family: monospace;
}

.cookie-category-desc {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  line-height: 1.55;
}

.cookie-toggle-locked {
  color: var(--color-bg-accent);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Toggle-Switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: #d0c8be;
  border-radius: 24px;
  transition: background 0.2s ease;
}

.cookie-toggle-slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--color-bg-accent);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(20px);
}

.cookie-modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.cookie-modal-privacy {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #888;
}

.cookie-modal-privacy:hover {
  color: var(--color-bg-accent);
}

/* Cookie-Link im Footer */
#cookie-settings-link {
  color: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

#cookie-settings-link:hover {
  text-decoration: underline;
}

@media (max-width: 500px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner-actions {
    flex-direction: column;
  }
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
  .cookie-modal-inner {
    padding: 1.5rem 1rem;
    border-radius: 10px 10px 0 0;
  }
}

/* ── Zwei-Faktor-Authentifizierung ───────────────────────────────────────── */
.tfa-icon {
  font-size: 2.4rem;
  color: var(--color-bg-accent);
  text-align: center;
  margin-bottom: 0.75rem;
}

.tfa-intro {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  text-align: center;
}

.tfa-code-input {
  font-size: 1.8rem !important;
  letter-spacing: 0.4rem;
  text-align: center;
  font-family: monospace !important;
}

.tfa-resend-block {
  font-size: 0.875rem;
  color: #666;
}

.btn-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.875rem;
  color: var(--color-bg-accent);
  cursor: pointer;
  text-decoration: underline;
}

.btn-link:hover {
  color: var(--color-button-bg);
}

/* ── 2FA-Karte in konto.php ──────────────────────────────────────────────── */
.konto-tfa-desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.tfa-toggle-form {
  margin-top: 0.5rem;
}

.tfa-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.tfa-toggle-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tfa-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
}

.tfa-active {
  background: #e3f9e5;
  color: #1e6b34;
}

.tfa-inactive {
  background: #f3f0eb;
  color: #888;
}

/* .btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 2px solid #c8bfb5;
  padding: 0.55rem 1.1rem;
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    color 0.15s ease;
}

.btn-outline:hover {
  border-color: var(--color-button-bg);
  color: var(--color-button-bg);
} */

/* Größerer Toggle-Switch auf der Konto-Seite */
.tfa-switch {
  width: 56px;
  height: 30px;
}

.tfa-switch .cookie-toggle-slider::before {
  width: 22px;
  height: 22px;
  left: 4px;
  top: 4px;
}

.tfa-switch input:checked + .cookie-toggle-slider::before {
  transform: translateX(26px);
}

/* ── Audit-Log ─────────────────────────────────────────────────────────── */
.login-log-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: #fff;
  border: 1px solid #e8e0d6;
  border-radius: 8px;
  padding: 1.1rem 1rem;
  text-align: center;
}

.stat-card--success {
  border-color: #a3d9b1;
}

.stat-number {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.78rem;
  color: #999;
  margin-top: 0.25rem;
}

.log-filter-form {
  background: #faf8f5;
  border: 1px solid #e8e0d6;
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.log-filter-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-end;
}

.log-filter-row .form-group {
  margin: 0;
  flex: 1;
  min-width: 150px;
}

.log-filter-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding-top: 0.1rem;
}

.log-table-wrap {
  overflow-x: auto;
  border: 1px solid #e8e0d6;
  border-radius: 8px;
  margin-bottom: 1.25rem;
}

.log-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.log-table th {
  background: #f5f0ea;
  text-align: left;
  padding: 0.65rem 0.9rem;
  font-weight: 600;
  font-size: 0.8rem;
  color: #666;
  white-space: nowrap;
  border-bottom: 1px solid #e8e0d6;
}

.log-table td {
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid #f0ece6;
  vertical-align: middle;
}

.log-table tr:last-child td {
  border-bottom: none;
}

.log-table tr:hover td {
  background: #fdf9f5;
}

.log-date {
  white-space: nowrap;
  color: #888;
  font-size: 0.82rem;
}

.log-detail {
  color: #555;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.log-ip-link {
  color: #888;
  font-size: 0.82rem;
  text-decoration: none;
}
.log-ip-link:hover {
  color: var(--color-link);
  text-decoration: underline;
}

.log-pagination {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.log-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.85rem;
  transition: background 0.15s ease;
}

.log-page-btn:hover {
  background: #f5f0ea;
}
.log-page-btn.active {
  background: var(--color-button-bg);
  color: #fff;
  border-color: var(--color-button-bg);
}

/* Audit-Action-Badges */
.audit-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  white-space: nowrap;
}

.audit-badge--info {
  background: #e8f0fe;
  color: #1a56a0;
}
.audit-badge--success {
  background: #e3f9e5;
  color: #1e6b34;
}
.audit-badge--warning {
  background: #fff3cd;
  color: #856404;
}
.audit-badge--danger {
  background: #fde8e8;
  color: #9e1c1c;
}
.audit-badge--neutral {
  background: #f3f0eb;
  color: #666;
}

/* ── Diskussionen ──────────────────────────────────────────────────────────── */

/* Stream-Badge */
.stream-type--discussion {
  background: #e8f4f3;
  color: #3a7a74;
}

/* Listen-Header */
.discussion-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.discussion-list-header h1 {
  margin: 0;
}

/* Kategorie-Filter-Leiste */
.discussion-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.discussion-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #e0d8cf;
  color: var(--color-text);
  background: #fff;
  transition:
    border-color 0.15s,
    background 0.15s,
    color 0.15s;
}

.discussion-cat-btn:hover,
.discussion-cat-btn.active {
  border-color: #72a29b;
  background: #72a29b;
  color: #fff;
}

.discussion-cat-btn--primary {
  border-color: #7b8ac8;
}
.discussion-cat-btn--primary.active,
.discussion-cat-btn--primary:hover {
  background: #7b8ac8;
  border-color: #7b8ac8;
  color: #fff;
}

.discussion-cat-btn--info {
  border-color: #72a29b;
}
.discussion-cat-btn--info.active,
.discussion-cat-btn--info:hover {
  background: #72a29b;
  color: #fff;
}

.discussion-cat-btn--warning {
  border-color: #c9973f;
}
.discussion-cat-btn--warning.active,
.discussion-cat-btn--warning:hover {
  background: #c9973f;
  border-color: #c9973f;
  color: #fff;
}

.discussion-cat-btn--success {
  border-color: #3a7a74;
}
.discussion-cat-btn--success.active,
.discussion-cat-btn--success:hover {
  background: #3a7a74;
  border-color: #3a7a74;
  color: #fff;
}

/* Diskussions-Liste */
.discussion-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.discussion-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid #e8e0d6;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--color-text);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.discussion-item:hover {
  border-color: #72a29b;
  box-shadow: 0 2px 10px rgba(114, 162, 155, 0.12);
}

.discussion-item-main {
  flex: 1;
  min-width: 0;
}

.discussion-item-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}

.discussion-item-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 0.3rem;
  line-height: 1.3;
}

.discussion-item-excerpt {
  font-size: 0.88rem;
  color: #777;
  margin: 0 0 0.4rem;
  line-height: 1.5;
}

.discussion-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #999;
}

.discussion-last-reply {
  color: #72a29b;
}

.discussion-item-stats {
  text-align: center;
  flex-shrink: 0;
  min-width: 64px;
}

.discussion-stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1;
}

.discussion-stat-label {
  font-size: 0.72rem;
  color: #aaa;
}

.discussion-empty {
  color: #999;
  font-style: italic;
  padding: 2rem 0;
}

/* Kategorie-Badges (disc-badge) */
.disc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: 20px;
  white-space: nowrap;
}

.disc-badge-link {
  color: inherit;
  text-decoration: none;
}

.disc-badge--pin {
  background: #e8f4f3;
  color: #3a7a74;
}
.disc-badge--closed {
  background: #f3f0eb;
  color: #888;
}
.disc-badge--neutral {
  background: #f3f0eb;
  color: #666;
}
.disc-badge--primary {
  background: #eef0fb;
  color: #4a5ab4;
}
.disc-badge--info {
  background: #e8f4f3;
  color: #3a7a74;
}
.disc-badge--warning {
  background: #fff3cd;
  color: #856404;
}
.disc-badge--success {
  background: #e3f9e5;
  color: #1e6b34;
}
.disc-badge--danger {
  background: #fde8e8;
  color: #9e1c1c;
}

/* Detail-Seite */
.discussion-breadcrumb {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 1.5rem;
}

.discussion-breadcrumb a {
  color: #72a29b;
  text-decoration: none;
}
.discussion-breadcrumb a:hover {
  text-decoration: underline;
}

.discussion-detail {
  background: #fff;
  border: 1px solid #e8e0d6;
  border-radius: 8px;
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
}

.discussion-detail-header {
  margin-bottom: 1.25rem;
}

.discussion-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.discussion-detail-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 0.65rem;
  line-height: 1.3;
}

.discussion-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.83rem;
  color: #999;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f1e8d9;
}

.discussion-body {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--color-text);
}

/* HTML-Inhalt aus dem Rich-Text-Editor */
.discussion-body p {
  margin: 0 0 1em;
}
.discussion-body p:last-child {
  margin-bottom: 0;
}
.discussion-body strong,
.discussion-body b {
  font-weight: 700;
}
.discussion-body em,
.discussion-body i {
  font-style: italic;
}
.discussion-body ul,
.discussion-body ol {
  margin: 0 0 1em 1.5rem;
}
.discussion-body li {
  margin-bottom: 0.25em;
}
.discussion-body blockquote {
  border-left: 3px solid #72a29b;
  margin: 0 0 1em;
  padding: 0.5em 1em;
  color: #666;
  font-style: italic;
  background: #faf8f5;
}
.discussion-body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 0.5em 0;
  display: block;
}

/* ── Quill-Editor-Container ─────────────────────────────────── */
.disc-quill-editor {
  background: #fff;
  min-height: 220px;
  font-family: "Open Sans", Helvetica, sans-serif;
  font-size: 0.97rem;
  line-height: 1.8;
}
.ql-toolbar.ql-snow {
  border-color: #d8d0c6 !important;
  border-radius: 6px 6px 0 0;
  background: #faf8f5;
}
.ql-container.ql-snow {
  border-color: #d8d0c6 !important;
  border-radius: 0 0 6px 6px;
}
.ql-toolbar.ql-snow .ql-stroke {
  stroke: #72a29b !important;
}
.ql-toolbar.ql-snow .ql-fill {
  fill: #72a29b !important;
}
.ql-toolbar.ql-snow button:hover .ql-stroke,
.ql-toolbar.ql-snow button.ql-active .ql-stroke {
  stroke: #9e410e !important;
}
.ql-toolbar.ql-snow button:hover .ql-fill,
.ql-toolbar.ql-snow button.ql-active .ql-fill {
  fill: #9e410e !important;
}
/* Quill schreibt seinen eigenen Inline-Stil – wir überschreiben direkt auf .ql-editor */
.ql-editor {
  min-height: 200px;
  font-family: "Open Sans", Helvetica, sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.8 !important;
  color: var(--color-text);
  padding: 1rem 1.1rem;
}

/* Absatz-Abstände: so wie im Frontend */
.ql-editor p {
  margin: 0 0 0.9em !important;
}
.ql-editor p:last-child {
  margin-bottom: 0 !important;
}
.ql-editor blockquote {
  border-left: 3px solid #72a29b;
  margin: 0 0 0.9em;
  padding: 0.5em 1em;
  color: #666;
  font-style: italic;
  background: #faf8f5;
}
.ql-editor ul,
.ql-editor ol {
  margin: 0 0 0.9em;
}
.ql-editor img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 0.4em 0;
  display: block;
}
.ql-editor.ql-blank::before {
  color: #b0a898;
  font-style: normal;
  font-size: 1rem;
}

/* Admin-Aktionen auf der Detail-Seite */
.discussion-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: #faf8f5;
  border: 1px dashed #d0c8bc;
  border-radius: 6px;
}

.discussion-admin-form {
  display: inline;
}

.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
}

.btn-danger {
  border-color: #c8534a !important;
  color: #c8534a !important;
}

.btn-danger:hover {
  background: #c8534a !important;
  color: #fff !important;
}

/* "Noch keine Antworten" */
.discussion-no-replies {
  color: #aaa;
  font-style: italic;
  padding: 1rem 0;
}

/* Edit/Delete-Buttons für eigene Antworten */
.comment-owner-actions {
  margin-left: auto;
  display: inline-flex;
  gap: 0.25rem;
}
.comment-owner-actions button {
  background: none;
  border: none;
  cursor: pointer;
  color: #b0a898;
  font-size: 0.75rem;
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
  transition:
    color 0.15s,
    background 0.15s;
}
.comment-owner-actions button:hover {
  color: var(--color-button-bg);
  background: #f1e8d9;
}
.comment-owner-actions .js-reply-delete:hover {
  color: #c8534a;
}

/* Inline-Edit-Formular */
.comment-edit-form {
  margin: 0.5rem 0 0.75rem;
}
.comment-edit-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #d8d0c6;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.6;
  resize: vertical;
  box-sizing: border-box;
}
.comment-edit-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* ── Forum-Thread (Flarum-Style) ────────────────────────────────────────── */

.discussion-thread-header {
  margin-bottom: 0.5rem;
}

/* Weiße Box um den Einstiegsbeitrag */
.forum-post--original {
  background: #fff;
  border: 1px solid #e8e0d6;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

/* Weiße Box mit allen Antworten */
.forum-replies-box {
  background: #fff;
  border: 1px solid #e8e0d6;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.forum-replies-box__header {
  padding-bottom: 0.75rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid #f1e8d9;
}

.forum-replies-box__count {
  font-size: 0.82rem;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Haupt-Antwortformular unten in der Box */
.forum-main-reply {
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid #f1e8d9;
}

.forum-main-reply textarea {
  width: 100%;
  border: 1px solid #d8d0c6;
  border-radius: 4px;
  padding: 0.5rem 0.65rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  resize: vertical;
  min-height: 80px;
  box-sizing: border-box;
}

/* Context-Badge "Antwort an @Name" */
.forum-reply-context {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: #888;
  background: #f5f0e8;
  border: 1px solid #e8e0d6;
  border-radius: 4px;
  padding: 0.35rem 0.65rem;
  margin-bottom: 0.5rem;
}
.forum-reply-context strong {
  color: var(--color-heading);
}
.forum-reply-context__clear {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
  font-size: 1rem;
  line-height: 1;
  padding: 0 0.2rem;
  transition: color 0.15s;
}
.forum-reply-context__clear:hover {
  color: #666;
}

/* ── Referenz-Badge innerhalb eines Beitrags ────────────────────────────── */
.forum-ref-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 0.4rem;
}

a.forum-ref-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #888;
  text-decoration: none;
  background: #f1ebe1;
  border: 1px solid #e0d8cc;
  border-radius: 20px;
  padding: 0.15rem 0.6rem;
  transition: color 0.15s, background 0.15s;
}
a.forum-ref-link:hover {
  color: var(--color-button-bg);
  background: #f0e4d0;
}

/* Tooltip-Vorschau */
.forum-ref-preview {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1px solid #e0d8cc;
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  min-width: 240px;
  max-width: 340px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  font-size: 0.82rem;
  color: #555;
  line-height: 1.5;
  z-index: 50;
  white-space: normal;
  word-break: break-word;
}
.forum-ref-preview__author {
  display: block;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
}
.forum-ref-wrap:hover .forum-ref-preview {
  display: block;
}

/* Flash-Animation wenn zu referenziertem Beitrag gesprungen */
@keyframes forum-flash {
  0%   { background: #fef6e4; }
  60%  { background: #fef6e4; }
  100% { background: transparent; }
}
.forum-post--flash {
  animation: forum-flash 1.8s ease-out forwards;
  border-radius: 6px;
}

.forum-post {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid #ede6da;
  position: relative;
}

.forum-post:last-child {
  border-bottom: none;
}

.forum-post__avatar {
  flex: 0 0 50px;
  padding-top: 0.1rem;
  padding-left: 1rem;
}

.forum-post__avatar .user-avatar,
.forum-post__avatar .user-avatar--initials {
  width: 40px;
  height: 40px;
  font-size: 0.85rem;
  border-radius: 50%;
  object-fit: cover;
}

.forum-post__main {
  flex: 1;
  min-width: 0;
}

.forum-post__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  min-height: 1.8rem;
}

a.forum-post__author-link {
  font-weight: 600;
  color: var(--color-heading);
  text-decoration: none;
  font-size: 0.9rem;
}
a.forum-post__author-link:hover {
  color: var(--color-button-bg);
  text-decoration: underline;
}

.forum-post__time {
  color: #aaa;
  font-size: 0.78rem;
}

.forum-post__reply-count {
  color: #aaa;
  font-size: 0.78rem;
}

.forum-post__hover-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}

.forum-post:hover .forum-post__hover-actions {
  opacity: 1;
  pointer-events: auto;
}

.forum-post__action-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #b0a898;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.78rem;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition:
    color 0.15s,
    background 0.15s;
}
.forum-post__action-btn:hover {
  color: var(--color-button-bg);
  background: #f1e8d9;
}

.forum-post__reply-btn {
  background: none;
  border: 1px solid #d8d0c6;
  cursor: pointer;
  color: #999;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-size: 0.78rem;
  transition:
    color 0.15s,
    border-color 0.15s,
    background 0.15s;
}
.forum-post__reply-btn:hover {
  color: var(--color-button-bg);
  border-color: var(--color-button-bg);
  background: #faf3eb;
}

.forum-post__body {
  color: var(--color-text);
  line-height: 1.7;
  font-size: 0.95rem;
  word-break: break-word;
}

.forum-post--original .forum-post__body {
  font-size: 0.97rem;
  line-height: 1.8;
}

/* Reply-Formular innerhalb eines Posts */
.forum-reply-form {
  margin-top: 0.75rem;
  background: #faf8f5;
  border: 1px solid #e8e0d6;
  border-radius: 6px;
  padding: 0.75rem;
}

.forum-reply-form textarea {
  width: 100%;
  border: 1px solid #d8d0c6;
  border-radius: 4px;
  padding: 0.5rem 0.65rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  resize: vertical;
  min-height: 80px;
  box-sizing: border-box;
}

.forum-reply-form__actions {
  margin-top: 0.5rem;
  display: flex;
  justify-content: flex-end;
}

/* Verschachtelte Antworten */
.forum-post__replies {
  margin-top: 0.5rem;
  padding-left: 1rem;
  border-left: 2px solid #ede6da;
}

.forum-post--nested {
  padding: 0.75rem 0;
  border-bottom: none;
}

.forum-post--nested:last-child {
  padding-bottom: 0;
}

@media (max-width: 600px) {
  .discussion-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .discussion-item-stats {
    align-self: flex-end;
  }
  .discussion-list-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .forum-post__hover-actions {
    opacity: 1;
    pointer-events: auto;
  }
}

/* ── User-Name-Links ────────────────────────────────────────────────────── */
a.user-name-link {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.15s,
    color 0.15s;
}
a.user-name-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ── Avatar-Hilfselemente (konto + mitglied) ────────────────────────────── */
.user-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.user-avatar--initials {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Konto: Avatar-Bereich ──────────────────────────────────────────────── */
.avatar-edit-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.avatar-edit-wrap .profile-avatar,
.avatar-edit-wrap .user-avatar,
.avatar-edit-wrap .user-avatar--initials {
  width: 100px;
  height: 100px;
  font-size: 2.5rem;
  flex-shrink: 0;
}

/* ── Cropper-Modal ──────────────────────────────────────────────────────── */
.avatar-crop-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.avatar-crop-modal.is-open {
  display: flex;
}
.avatar-crop-modal__inner {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  max-width: 520px;
  width: calc(100% - 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.avatar-crop-modal__title {
  margin: 0;
  font-size: 1.15rem;
}
.avatar-crop-modal__canvas {
  max-height: 380px;
  overflow: hidden;
  background: #f0f0f0;
  border-radius: 6px;
}
.avatar-crop-modal__canvas img {
  display: block;
  max-width: 100%;
}
.avatar-crop-modal__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* ── Profil-Seite (mitglied.php) ────────────────────────────────────────── */
.profile-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid #eee;
  margin-bottom: 1.5rem;
}
.profile-avatar-wrap .user-avatar,
.profile-avatar-wrap .user-avatar--initials {
  width: 96px;
  height: 96px;
  font-size: 2.4rem;
}
.profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}
.profile-name {
  margin: 0 0 0.2rem;
  font-size: 1.6rem;
}
.profile-username {
  margin: 0 0 0.35rem;
  color: #888;
  font-size: 0.92rem;
}
.profile-since {
  margin: 0;
  color: #aaa;
  font-size: 0.85rem;
}
.profile-bio-section {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}
.profile-bio-section h3 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #888;
}
.profile-bio-section p {
  margin: 0;
  line-height: 1.7;
}
.profile-bio-section--tags {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.profile-tag-group {
  flex: 1 1 200px;
}
.profile-section {
  margin-bottom: 2rem;
}
.profile-section h2 {
  font-size: 1.1rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}
.profile-activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.profile-activity-list li {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 0.75rem 1rem;
}
.profile-activity-title {
  display: block;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 0.3rem;
}
.profile-activity-title:hover {
  color: var(--accent);
}
.profile-activity-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.8rem;
  color: #999;
  flex-wrap: wrap;
}
.profile-comment-excerpt {
  margin: 0 0 0.3rem;
  font-style: italic;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .profile-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .avatar-edit-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Admin: Nutzer bearbeiten – Status-Grid ─────────────────────────────── */
.admin-user-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
.admin-status-block {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1rem 1.25rem;
}
.admin-status-block strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #888;
  margin-bottom: 0.25rem;
}

/* ══════════════════════════════════════════════════════════════════════════════
   LANDING PAGE (index.php)
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Gemeinsame Layout-Helfer ─────────────────────────────────────────────── */
.lp-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 2rem;
}

.lp-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-button-bg);
  margin: 0 0 0.75rem;
}
.lp-eyebrow--light {
  color: rgba(255, 255, 255, 0.75);
}

.lp-section {
  padding: 5rem 0;
}
.lp-section--light {
  background: #fff;
}
.lp-section--accent {
  background: var(--color-bg-accent);
  color: #fff;
}
.lp-section--quote {
  background: var(--color-bg-light);
}
.lp-section--final-cta {
  background: #fff;
  border-top: 2px solid var(--color-bg-light);
}

.lp-section-headline {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 2.5rem;
  font-family: var(--font-heading);
}
.lp-section-headline--light {
  color: #fff;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.lp-hero {
  background: var(--color-bg-light);
  padding: 5rem 0 4rem;
  border-bottom: 1px solid #e0d5c5;
}
.lp-hero__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.lp-hero__headline {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.25;
  margin: 0 0 1.25rem;
  font-family: var(--font-heading);
  color: var(--color-text);
}
.lp-hero__sub {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.lp-cta-btn {
  font-size: 1.05rem;
  padding: 0.9rem 2.25rem;
  border-radius: 6px;
}
.lp-cta-hint {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  color: #999;
}
.lp-cta-hint a {
  color: var(--color-button-bg);
}

/* ── Social Proof Bar ─────────────────────────────────────────────────────── */
.lp-proof-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 0.9rem 0;
}
.lp-proof-bar__inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.lp-proof-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #bbb;
  white-space: nowrap;
}
.lp-proof-items {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.lp-proof-item {
  font-size: 0.88rem;
  font-weight: 600;
  color: #666;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.lp-proof-divider {
  color: #ddd;
}

/* ── Result Cards ─────────────────────────────────────────────────────────── */
.lp-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}
.lp-result-card {
  background: var(--color-bg-light);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  border: 1px solid #e0d5c5;
}
.lp-result-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-button-bg);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
}
.lp-result-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.65rem;
  font-family: var(--font-heading);
}
.lp-result-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* ── About Sarah ──────────────────────────────────────────────────────────── */
.lp-about {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  align-items: start;
}
.lp-about__photo {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  display: block;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.lp-about__text h2 {
  font-size: 1.7rem;
  margin: 0 0 1.25rem;
}
.lp-about__text p {
  font-size: 0.97rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.lp-credentials {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.lp-credentials li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.5;
}
.lp-credentials li .fa-check-circle {
  color: var(--color-button-bg);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* ── Feature Grid ─────────────────────────────────────────────────────────── */
.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.lp-feature {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
}
.lp-feature__icon {
  font-size: 1.8rem;
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}
.lp-feature h3 {
  font-size: 1.05rem;
  margin: 0 0 0.6rem;
  color: #fff;
}
.lp-feature p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin: 0;
}

/* ── Zitat ────────────────────────────────────────────────────────────────── */
.lp-quote-wrap {
  max-width: 740px;
  text-align: center;
}
.lp-quote {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.65;
  color: var(--color-text);
  margin: 0 0 1rem;
  font-style: italic;
}
.lp-quote__mark {
  font-size: 2.5rem;
  line-height: 0;
  vertical-align: -0.5rem;
  color: var(--color-button-bg);
  font-style: normal;
}
.lp-quote__author {
  font-size: 0.9rem;
  color: #999;
  margin: 0;
}

/* ── Zoom-Event-Karten ────────────────────────────────────────────────────── */
.lp-events-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.lp-event-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--color-bg-light);
  border: 1px solid #e0d5c5;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
}
.lp-event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-button-bg);
  color: #fff;
  border-radius: 8px;
  min-width: 58px;
  padding: 0.5rem 0.75rem;
  flex-shrink: 0;
}
.lp-event-day {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  font-family: var(--font-heading);
}
.lp-event-month {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
}
.lp-event-body {
  flex: 1;
  min-width: 0;
}
.lp-event-title {
  font-size: 1rem;
  font-family: var(--font-heading);
  margin: 0 0 0.25rem;
}
.lp-event-time {
  font-size: 0.82rem;
  color: #888;
  margin: 0 0 0.3rem;
}
.lp-event-desc {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}
.lp-event-action {
  flex-shrink: 0;
}
.lp-events-empty {
  text-align: center;
  padding: 3rem 2rem;
  color: #aaa;
}
.lp-events-empty .fas {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.lp-events-empty p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 820px) {
  .lp-about {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .lp-about__photo {
    max-width: 320px;
    aspect-ratio: 1 / 1;
    object-position: top;
  }
  .lp-section-headline {
    font-size: 1.5rem;
  }
  .lp-hero__headline {
    font-size: 1.5rem;
  }
  .lp-features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .lp-section {
    padding: 3.5rem 0;
  }
  .lp-proof-bar__inner {
    flex-direction: column;
    gap: 0.5rem;
  }
  .lp-cta-btn {
    width: 100%;
    justify-content: center;
    display: flex;
  }
  .lp-event-card {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .lp-event-action {
    width: 100%;
  }
  .lp-event-action .btn,
  .lp-event-action .btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: flex;
  }
}

/* ── Reaktions-System ───────────────────────────────────────────────────── */

.reaction-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.reaction-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #f5f0e8;
  border: 1px solid #e0d8cc;
  border-radius: 20px;
  padding: 0.2rem 0.65rem;
  font-size: 0.8rem;
  color: #777;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
  line-height: 1;
  user-select: none;
  position: relative;
}

/* Tooltip */
.reaction-btn[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #2b2420;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 20;
}
.reaction-btn[data-tip]:hover::after {
  opacity: 1;
}

.reaction-btn:hover:not(:disabled) {
  background: #ede4d4;
  border-color: #c8bfb0;
  color: #444;
  transform: scale(1.05);
}

.reaction-btn--active {
  background: #fef3e2;
  border-color: #e8a84a;
  color: #9e6a10;
  font-weight: 600;
}

.reaction-btn--active:hover:not(:disabled) {
  background: #fde8c2;
  border-color: #d4922a;
}

.reaction-btn--readonly {
  cursor: default;
}

.reaction-emoji {
  font-size: 0.95rem;
  line-height: 1;
}

.reaction-count {
  font-weight: 600;
  font-size: 0.78rem;
  min-width: 0.8rem;
  text-align: center;
}

/* ===== Impersonate-Banner ===== */
.impersonate-banner {
  position: sticky;
  top: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 1.25rem;
  background: #7f1d1d;
  color: #fff;
  font-size: 0.88rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.impersonate-banner__info {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.impersonate-banner__info .fa-user-secret {
  font-size: 1rem;
  opacity: 0.85;
}

.impersonate-banner__sub {
  opacity: 0.65;
  font-size: 0.8rem;
}

.impersonate-banner__exit {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
}

.impersonate-exit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

.impersonate-exit-btn:hover {
  background: rgba(255,255,255,0.28);
}
