/*
Theme Name: Tanzschule Riedl
Theme URI: https://example.com/
Author: Jan Riedl
Author URI: https://example.com/
Description: Modernes, leichtes WordPress-Theme für die Tanzschule Riedl (Gutenberg-ready) – mit Hero, Kurs-Kacheln und Footerbar.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tanzschule-riedl
Tags: custom-logo, custom-menu, block-styles, wide-blocks, one-column, two-columns, flexible-header
*/

/* -------------------------------------------------------
   Design Tokens
------------------------------------------------------- */
:root {
  --tsr-bg: #0b0f17;
  --tsr-surface: rgba(255,255,255,0.06);
  --tsr-surface-2: rgba(255,255,255,0.10);
  --tsr-text: rgba(255,255,255,0.92);
  --tsr-muted: rgba(255,255,255,0.72);
  --tsr-border: rgba(255,255,255,0.14);
  --tsr-primary: #6a1b9a;
  --tsr-primary-2: #8e24aa;
  --tsr-gold: #c9a227;
  --tsr-radius: 18px;
  --tsr-shadow: 0 18px 45px rgba(0,0,0,0.35);
  --tsr-max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--tsr-text);
  background: radial-gradient(1200px 600px at 15% 5%, rgba(106, 27, 154, 0.40), transparent 60%),
              radial-gradient(900px 500px at 85% 10%, rgba(201, 162, 39, 0.22), transparent 65%),
              var(--tsr-bg);
  line-height: 1.55;
}

a { color: inherit; }
a:hover { opacity: 0.95; }

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

.container {
  width: min(100%, calc(var(--tsr-max) + 36px));
  padding: 0 18px;
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* -------------------------------------------------------
   Header
------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(90deg, rgba(106,27,154,0.60), rgba(11,15,23,0.35));
  border-bottom: 1px solid var(--tsr-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
}
.custom-logo-link img {
  height: 130px;
  width: auto;
  display: block;
}
.site-title {
  font-size: 18px;
  font-weight: 750;
  letter-spacing: 0.2px;
  margin: 0;
}
.site-title a { text-decoration: none; }
.site-description {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--tsr-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
}
.main-nav .menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--tsr-text);
  border: 1px solid transparent;
}
.main-nav a:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--tsr-border);
  background: rgba(255,255,255,0.05);
  color: var(--tsr-text);
  border-radius: 12px;
  padding: 10px 12px;
}

@media (max-width: 860px) {
  .custom-logo-link img { height: 90px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .main-nav { position: relative; }
  .main-nav .menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(320px, calc(100vw - 36px));
    background: rgba(11,15,23,0.92);
    border: 1px solid var(--tsr-border);
    border-radius: 16px;
    padding: 10px;
    box-shadow: var(--tsr-shadow);
  }
  .main-nav.is-open .menu { display: flex; flex-direction: column; align-items: stretch; }
  .main-nav a { width: 100%; justify-content: space-between; }
}

/* -------------------------------------------------------
   Hero
------------------------------------------------------- */
.hero {
  padding: 58px 0 36px;
}
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--tsr-radius) + 6px);
  border: 1px solid var(--tsr-border);
  background: linear-gradient(135deg, rgba(106,27,154,0.40), rgba(255,255,255,0.04));
  box-shadow: var(--tsr-shadow);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 18px;
  padding: 30px;
  align-items: center;
}
.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.12;
}
.hero p {
  margin: 0 0 18px;
  color: var(--tsr-muted);
  font-size: 16px;
  max-width: 62ch;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  font-size: 13px;
  color: var(--tsr-muted);
}
.hero-media {
  border-radius: var(--tsr-radius);
  min-height: 220px;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    radial-gradient(700px 320px at 70% 30%, rgba(201,162,39,0.22), transparent 65%),
    radial-gradient(600px 260px at 20% 70%, rgba(106,27,154,0.35), transparent 60%),
    url("assets/images/hero-placeholder.jpg") center/cover no-repeat;
  filter: saturate(1.05) contrast(1.03);
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { min-height: 180px; }
}

/* -------------------------------------------------------
   Sections / Cards
------------------------------------------------------- */
.section {
  padding: 22px 0 38px;
}
.section-title {
  margin: 0 0 8px;
  font-size: 22px;
}
.section-lead {
  margin: 0 0 18px;
  color: var(--tsr-muted);
}

.card {
  border-radius: var(--tsr-radius);
  border: 1px solid var(--tsr-border);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.22);
}

/* Kurs-Kacheln */
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 720px) {
  .course-grid { grid-template-columns: 1fr; }
}
.course-tile {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.course-thumb {
  aspect-ratio: 16/9;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.course-body {
  padding: 16px;
}
.course-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 750;
}
.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--tsr-muted);
  font-size: 13px;
}
.course-excerpt {
  margin: 0;
  color: var(--tsr-muted);
}
.course-footer {
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: var(--tsr-text);
  text-decoration: none;
  font-weight: 650;
  transition: transform 0.15s ease, background 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.10);
}
.btn-primary {
  background: linear-gradient(135deg, var(--tsr-primary), var(--tsr-primary-2));
  border-color: rgba(255,255,255,0.12);
}
.btn-primary:hover { opacity: 0.98; }

/* -------------------------------------------------------
   Content
------------------------------------------------------- */
.content {
  padding: 18px 0 44px;
}
.entry-title {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.2vw, 34px);
}
.entry-content {
  color: var(--tsr-text);
}
.entry-content p {
  color: var(--tsr-muted);
  max-width: 75ch;
}
.entry-content a { text-decoration: underline; }

.wp-block-image img {
  border-radius: 14px;
}

.wp-block-button__link {
  border-radius: 999px !important;
  padding: 12px 18px !important;
}

/* -------------------------------------------------------
   Footer
------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--tsr-border);
  background: rgba(0,0,0,0.22);
  padding: 26px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 750;
}
.footer-note {
  margin: 0;
  color: var(--tsr-muted);
  font-size: 14px;
}
.footer-links a {
  color: var(--tsr-muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--tsr-text); }
.footer-bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.60);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* -------------------------------------------------------
   Accessibility / Helpers
------------------------------------------------------- */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* Termin-Datum in Kurskacheln */
.course-date{
  font-weight: 700;
  opacity: .9;
  margin-bottom: 8px;
}
.tsr-cta-wrap{
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: flex-end;
}

.tsr-cta-btn{
  white-space: nowrap;
}
/* Login-Formular im Theme-Stil */
.login form { margin: 0; }

#loginform p { margin: 12px 0; }
#loginform label { display:block; margin-bottom: 6px; color: var(--tsr-muted); }

#loginform input[type="text"],
#loginform input[type="password"]{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: #fff;
  outline: none;
}

#loginform input[type="text"]:focus,
#loginform input[type="password"]:focus{
  border-color: rgba(255,255,255,0.25);
}

#loginform .button-primary{
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
}

/* nutzt deine Theme-Buttons, falls vorhanden */
.btn { display:inline-flex; align-items:center; gap:8px; }

.video-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap:18px;
}
/* Kursanmeldung – Formular Layout */
.tsr-form-grid{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.tsr-field label{
  display:block;
  margin: 0 0 6px;
  color: var(--tsr-muted);
}

.tsr-field input,
.tsr-field textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: #fff;
  outline: none;
}

.tsr-field input:focus,
.tsr-field textarea:focus{
  border-color: rgba(255,255,255,.25);
}

/* Spalten */
.tsr-col-12{ grid-column: span 12; }
.tsr-col-8 { grid-column: span 8; }
.tsr-col-6 { grid-column: span 6; }
.tsr-col-4 { grid-column: span 4; }

/* Button rechts */
.tsr-form-actions{
  margin-top: 16px;
  display:flex;
  justify-content:flex-end;
}

/* Mobile: alles untereinander */
@media (max-width: 720px){
  .tsr-col-8, .tsr-col-6, .tsr-col-4 { grid-column: span 12; }
}
/* === Kursanmeldung: Feinausrichtung === */

/* Alle Felder exakt untereinander starten */
.tsr-form-grid {
  align-items: start;
}

/* Einheitliche Feldbreite */
.tsr-field input,
.tsr-field textarea {
  box-sizing: border-box;
}

/* Absätze NACH bestimmten Feldern */
.tsr-field.tsr-col-4,
.tsr-field:nth-child(4), /* E-Mail Person A */
.tsr-field:nth-child(6)  /* E-Mail Person B */
{
  margin-bottom: 14px;
}

/* Extra Abstand vor dem Button */
.tsr-form-actions {
  margin-top: 22px;
}
/* Datenschutz / AGB Checkbox */
.tsr-consent {
  margin-top: 12px;
  font-size: 0.95rem;
}

.tsr-consent label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.4;
  cursor: pointer;
}

.tsr-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #8e24aa; /* Lila passend zum Button */
}

.tsr-consent a {
  color: #c38cff;
  text-decoration: underline;
}

.tsr-consent a:hover {
  color: #ffffff;
}
/* Checkbox-Zeile: sauber links Checkbox, rechts Text */
.tsr-consent {
  margin-top: 8px;
}

.tsr-consent label{
  display: grid !important;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  line-height: 1.5;
  color: var(--tsr-muted);
  white-space: normal;
}

.tsr-consent input[type="checkbox"]{
  width: 18px;
  height: 18px;
  margin: 3px 0 0 0;
  accent-color: #8e24aa;
  flex: none;
}

.tsr-consent a{
  color: #c38cff;
  text-decoration: underline;
}

.tsr-consent a:hover{
  color: #ffffff;
}

/* optional: etwas Luft vor dem Button */
.tsr-form-actions{
  margin-top: 18px;
}
/* Datenschutz/AGB Checkbox: sauber eine Zeile + schöne Umbrüche */
.tsr-consent-label{
  display: flex !important;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.5;
  color: var(--tsr-muted);
}

.tsr-consent-label input[type="checkbox"]{
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: #8e24aa;
}

/* Ganz wichtig: Links INLINE erzwingen (falls Theme sie block macht) */
.tsr-consent-label a{
  display: inline !important;
  white-space: nowrap;          /* Link bleibt zusammen */
  color: #c38cff;
  text-decoration: underline;
}

.tsr-consent-label a:hover{
  color: #ffffff;
}

/* Der Text darf umbrechen, aber „schön“ */
.tsr-consent-label span{
  display: block;
  white-space: normal;
}
.song-detail {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.song-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.song-title {
    margin-top: 0;
    margin-bottom: 10px;
}
.song-charts {
    margin: 10px 0 20px 0;
}

.chart-icon {
    display: inline-block;
    padding: 4px 10px;
    margin-right: 6px;
    margin-bottom: 6px;
    font-size: 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    background: #f0f0f0;
    color: #333;
    white-space: nowrap;
}

/* Feinere Farbnuancen */
.chart-icon.brd {
    background: #fdecea;
    color: #8a1c1c;
}

.chart-icon.usa {
    background: #eaf1fd;
    color: #1c3d8a;
}

.chart-icon.nr1 {
    border: 1px solid rgba(0,0,0,0.15);
}
.song-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin: 20px 0;
    font-size: 0.95rem;
}

.song-meta span {
    background: #f7f7f7;
    padding: 6px 10px;
    border-radius: 4px;
}
.song-description {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.6;
}
.song-spotify {
    margin-top: 25px;
}

.song-spotify a {
    display: inline-block;
    padding: 10px 16px;
    background: #1db954;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
}

.song-spotify a:hover {
    background: #17a74a;
}
/* === Tanzdatenbank: Song-Detailseite im Theme-Look (Dark) === */
.song-detail{
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.song-detail .song-box{
  background: var(--tsr-surface);
  border: 1px solid var(--tsr-border);
  box-shadow: var(--tsr-shadow);
  border-radius: var(--tsr-radius);
  padding: 30px;
  color: var(--tsr-text);
}

.song-detail .song-title{
  margin: 0 0 10px;
  color: var(--tsr-text);
}

.song-detail .song-charts{
  margin: 10px 0 18px 0;
}

/* Chart-Badges: etwas transparenter, passend zum Theme */
.song-detail .chart-icon{
  background: rgba(255,255,255,0.08);
  color: var(--tsr-text);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 5px 10px;
}

.song-detail .chart-icon.brd{
  background: rgba(255, 130, 130, 0.12);
  color: rgba(255,255,255,0.92);
}

.song-detail .chart-icon.usa{
  background: rgba(120, 170, 255, 0.12);
  color: rgba(255,255,255,0.92);
}

/* Meta-Kacheln im Dark-Look */
.song-detail .song-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 18px 0 10px;
  font-size: 0.95rem;
}

.song-detail .song-meta span{
  background: var(--tsr-surface-2);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--tsr-text);
  padding: 8px 10px;
  border-radius: 12px;
}

.song-detail .song-meta strong{
  color: var(--tsr-muted);
  font-weight: 650;
}

.song-detail .song-description{
  margin-top: 18px;
  color: var(--tsr-muted);
  line-height: 1.65;
}

/* Spotify-Button: bleibt grün, aber mit Theme-Schatten */
.song-detail .song-spotify{
  margin-top: 22px;
}

.song-detail .song-spotify a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  box-shadow: 0 10px 25px rgba(0,0,0,0.22);
}
.song-spotify-embed {
    margin-top: 25px;
}
.song-spotify-embed iframe {
    max-width: 100%;
}
.tanzdb-wrap {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.tanzdb-filters .tanzdb-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.tanzdb-filters input,
.tanzdb-filters select {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: inherit;
    min-width: 220px;
}

.tanzdb-filters button {
    padding: 10px 16px;
    border-radius: 12px;
    border: 0;
    cursor: pointer;
    font-weight: 650;
}

.tanzdb-reset {
    align-self: center;
    text-decoration: none;
    opacity: 0.85;
}

.tanzdb-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 16px;
}

.tanzdb-table th,
.tanzdb-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

.tanzdb-table th {
    text-align: left;
    font-weight: 700;
    background: rgba(255,255,255,0.06);
}

.tanzdb-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
}
/* === Tanzdatenbank Layout zentrieren === */
.tanzdb-wrap{
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.tanzdb-header,
.tanzdb-filters,
.tanzdb-results{
  width: 100%;
}
/* === Tanzdatenbank Hero (wie Startseite) === */
.tanzdb-hero{
  margin: 10px 0 22px 0;
}

.tanzdb-hero-inner{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  padding: 28px 26px;
}

.tanzdb-title{
  margin: 0 0 8px 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
}

.tanzdb-subtitle{
  margin: 0;
  opacity: 0.85;
  line-height: 1.5;
  max-width: 70ch;
}
.tanzdb-pagination{
  margin: 18px 0 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tanzdb-pagination .page-numbers{
  display: inline-block;
  padding: 8px 12px;
  border-radius: 12px;
  text-decoration: none;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
}

.tanzdb-pagination .page-numbers.current{
  font-weight: 700;
  background: rgba(255,255,255,0.12);
}

/* === Tanzdatenbank: Select-Felder lesbar im Dark Theme === */

/* Select-Feld selbst */
.tanzdb-filters select,
.tanzdb-filters input {
    background-color: rgba(255,255,255,0.08);
    color: #ffffff;
}

/* Optionen im Dropdown (geöffnete Liste) */
.tanzdb-filters select option {
    background-color: #111111;  /* dunkler Hintergrund */
    color: #ffffff;             /* heller Text */
}

/* Fallback für Browser, die option nicht sauber erben */
.tanzdb-filters select:focus {
    background-color: rgba(255,255,255,0.10);
    color: #ffffff;
}
.song-report { margin-top: 22px; }
.song-report-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-weight: 650;
}

.song-report-form {
  margin-top: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
}

.song-report-form textarea{
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  color: inherit;
}

.song-report-form button{
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  font-weight: 650;
}

.song-report-success{
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(40, 180, 99, 0.16);
  border: 1px solid rgba(40, 180, 99, 0.25);
}

.hp-field { display:none; }

/* ============================
   Tanzdatenbank: Desktop Tabelle + Mobile Cards (Variante B)
============================ */

/* Standard: Desktop zeigt Tabelle, Mobile Cards aus */
.tanzdb-desktop { display: block; }
.tanzdb-mobile  { display: none; }

/* Cards Layout */
.tanzdb-cards{
  display: grid;
  gap: 12px;
}

.tanzdb-card{
  border-radius: var(--tsr-radius);
  border: 1px solid var(--tsr-border);
  background: var(--tsr-surface);
  box-shadow: 0 10px 25px rgba(0,0,0,0.22);
  padding: 14px;
}

.tanzdb-card-top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tanzdb-card-title{
  text-decoration: none;
  font-weight: 750;
  font-size: 1.05rem;
  line-height: 1.25;
}

.tanzdb-card-icons{
  display: inline-flex;
  gap: 6px;
  flex: 0 0 auto;
}

.tanzdb-card-sub{
  margin-top: 6px;
  color: var(--tsr-muted);
  font-size: 0.95rem;
}

.tanzdb-card-line{
  margin-top: 6px;
  color: var(--tsr-text);
  opacity: 0.92;
  font-size: 0.95rem;
}

.tanzdb-card-tags{
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tanzdb-tag{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--tsr-surface-2);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--tsr-text);
  font-size: 0.85rem;
}

.tanzdb-card-actions{
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.tanzdb-card-link{
  text-decoration: none;
  font-weight: 650;
  opacity: 0.92;
}

.tanzdb-card-link:hover{ opacity: 1; }

/* Mobile Umschaltung */
@media (max-width: 820px){
  .tanzdb-desktop { display: none; }
  .tanzdb-mobile  { display: block; }

  /* Filter kompakter */
  .tanzdb-filters input,
  .tanzdb-filters select{
    min-width: 0;
    width: 100%;
  }

  .tanzdb-filters .tanzdb-row{
    gap: 10px;
  }
}
.kurs-section {
  background: linear-gradient(135deg, #1b1d2b, #25294a);
  border-radius: 18px;
  padding: 2.5rem;
}
.kurs-section {
  border: 1px solid rgba(179, 76, 245, 0.25);
}

.kurs-section {
  box-shadow: 0 0 30px rgba(179, 76, 245, 0.12);
}
.entry-title {
  text-align: center;
}
/* Wichtig: Container positionieren, damit Badge oben rechts sitzt */
.song-box {
  position: relative;
}

/* Badge */
.song-like-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 10px 16px 12px;
  border-radius: 16px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  text-align: center;
  min-width: 110px;
  cursor: pointer;
  user-select: none;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.song-like-badge:hover {
  transform: translateY(-1px);
  background: rgba(0,0,0,0.45);
  border-color: rgba(255,255,255,0.22);
}

.song-like-badge:active {
  transform: translateY(0px) scale(0.99);
}

/* Herz + Zahl nebeneinander, zentriert */
.song-like-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Herz */
.song-like-heart {
  font-size: 20px;
  line-height: 1;
  color: #ff4fa0;
}

/* Zahl */
.song-like-count {
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

/* Beschreibung darunter */
.song-like-limit {
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.7;
  color: #fff;
}
.song-tipbox {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.song-tipbox-icon {
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
  opacity: 0.95;
}

.song-tipbox-title {
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

.song-tipbox-text {
  font-size: 14px;
  line-height: 1.45;
  opacity: 0.9;
  color: #fff;
}
.song-actions-row{
  margin-top: 12px;
  display: flex;
  justify-content: flex-end; /* rechtsbündig */
}

.song-actions-right{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.song-share-btn{
  appearance: none;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: #fff;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease, opacity 120ms ease;
}

.song-share-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
}

.song-share-btn:active{
  transform: translateY(0) scale(0.99);
}

.song-share-btn.is-disabled{
  opacity: 0.55;
  pointer-events: none;
}

.song-share-msg{
  font-size: 13px;
  opacity: 0.85;
  margin-left: 6px;
}
/* Mobile Fix: Like-Badge in normalen Flow setzen */
@media (max-width: 520px) {

  .song-like-badge {
    position: static;        /* nicht mehr absolut */
    margin: 10px 0 0 auto;   /* unter Titel, rechtsbündig */
    display: inline-block;
    min-width: 110px;
  }

  /* Titel bekommt keinen künstlichen Platz mehr */
  .song-title {
    padding-right: 0;
  }

}
