/* ==========================================================================
   Miriam Ruf Fitness — Stylesheet
   Palette: Blüte | Symbol: B (verbundene Kreise)
   ========================================================================== */

:root {
  /* Palette Blüte */
  --primary: #EAA8A0;          /* Lachs-Blush */
  --primary-light: #F5C8C4;    /* Hellblush */
  --secondary: #8C3D4A;        /* Tiefes Rosé */
  --accent-caramel: #D4956A;   /* Warmkaramell */
  --accent-sage: #8A9E88;      /* Salbei */
  --background: #FDF0EE;       /* Blush-Weiß */
  --background-soft: #FFF8F6;
  --white: #FFFFFF;

  /* Text */
  --text: #2D2326;
  --text-muted: #6B5A5C;
  --text-light: rgba(45, 35, 38, 0.7);

  /* Borders / Shadows */
  --border: rgba(140, 61, 74, 0.14);
  --border-soft: rgba(140, 61, 74, 0.08);
  --shadow-sm: 0 1px 3px rgba(45, 35, 38, 0.06), 0 4px 12px rgba(45, 35, 38, 0.04);
  --shadow-md: 0 4px 16px rgba(45, 35, 38, 0.08), 0 12px 32px rgba(45, 35, 38, 0.06);
  --shadow-lg: 0 8px 40px rgba(45, 35, 38, 0.12);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Typography */
  --font-display: 'Barlow Condensed', 'Helvetica Neue', sans-serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

  /* Transitions */
  --t-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container: 1200px;
  --header-h: 76px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--background-soft);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--secondary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--primary); }
button { font-family: inherit; cursor: pointer; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--text);
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; }
p  { margin: 0 0 1em; }
.lead { font-size: 1.18rem; line-height: 1.6; color: var(--text-light); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--primary);
  display: inline-block;
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: var(--space-2xl) 0; }
.section--soft { background: var(--background); }
.section--blush {
  background: linear-gradient(180deg, var(--background) 0%, var(--primary-light) 100%);
}
.section--white { background: var(--white); }

@media (max-width: 768px) {
  .section { padding: var(--space-xl) 0; }
}

/* ===== Header / Navigation ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 240, 238, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text);
}
.brand:hover { color: var(--secondary); }
.brand-text { line-height: 1; }
.brand-text small {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--secondary);
  margin-top: 4px;
}
.brand-symbol {
  width: 52px; height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text);
  padding: 0.4rem 0;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -4px;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width var(--t-base), left var(--t-base);
}
.nav-link:hover, .nav-link.active {
  color: var(--secondary);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
  left: 0;
}
.nav-cta {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  background: var(--secondary);
  color: var(--white);
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  transition: background var(--t-base), transform var(--t-base);
}
.nav-cta:hover {
  background: #6e2d39;
  color: var(--white);
  transform: translateY(-1px);
}

/* ===== Language Switcher ===== */
.lang-switch {
  display: flex;
  align-items: center;
  margin-left: 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: 2rem;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-btn {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.6rem;
  color: var(--text-light);
  text-decoration: none;
  transition: background var(--t-base), color var(--t-base);
  line-height: 1;
}
a.lang-btn:hover { color: var(--secondary); background: var(--bg-soft); }
.lang-active {
  background: var(--secondary);
  color: var(--white) !important;
  cursor: default;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px; height: 40px;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 8px;
  width: 24px; height: 2px;
  background: var(--text);
  transition: all var(--t-base);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 24px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    inset: var(--header-h) 0 0 auto;
    width: min(82vw, 360px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 2rem 1.75rem;
    background: var(--background);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform var(--t-base);
    overflow-y: auto;
    height: calc(100vh - var(--header-h));
  }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-menu li { width: 100%; }
  .nav-link {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-soft);
    font-size: 1rem;
  }
  .nav-cta { display: inline-block; margin-top: 1rem; }
  .lang-switch { margin-left: 0; margin-top: 1.5rem; width: auto; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--t-base);
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--secondary);
  color: var(--white);
}
.btn--primary:hover {
  background: #6e2d39;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--secondary {
  background: var(--primary);
  color: var(--text);
}
.btn--secondary:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  border-color: var(--secondary);
  color: var(--secondary);
}
.btn--outline:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--secondary);
  padding: 0.7rem 0;
}
.btn--ghost::after {
  content: '→';
  margin-left: 0.4rem;
  transition: transform var(--t-base);
}
.btn--ghost:hover::after { transform: translateX(4px); }
.btn--block { width: 100%; }
.btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
  background: linear-gradient(160deg, var(--background) 0%, var(--primary-light) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='140' viewBox='0 0 200 140'><g fill='none' stroke='%238C3D4A' stroke-width='0.6' opacity='0.18'><path d='M0 70 Q50 30 100 70 T200 70'/><path d='M0 90 Q50 50 100 90 T200 90'/><path d='M0 110 Q50 70 100 110 T200 110'/><path d='M0 50 Q50 10 100 50 T200 50'/></g></svg>");
  background-size: 320px 224px;
  opacity: 0.5;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
}
.hero-text h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
}
.hero-text h1 em {
  font-style: normal;
  color: var(--secondary);
  position: relative;
}
.hero-text p { font-size: 1.2rem; color: var(--text); max-width: 560px; }
.hero-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(140, 61, 74, 0.2) 100%);
  pointer-events: none;
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { aspect-ratio: 4/3; max-height: 480px; }
}

/* Page hero (smaller, for inner pages) */
.page-hero {
  background: linear-gradient(180deg, var(--background) 0%, var(--background-soft) 100%);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.page-hero p { max-width: 640px; margin: 0 auto; font-size: 1.15rem; color: var(--text-light); }

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base), box-shadow var(--t-base);
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--primary-light);
}
.card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.card:hover .card-image img { transform: scale(1.04); }
.card-body {
  padding: 1.6rem 1.6rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-title { font-size: 1.5rem; margin: 0 0 0.5rem; }
.card-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--secondary);
  background: var(--background);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.9rem;
  width: fit-content;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.5rem 0 1.2rem;
}
.card-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.card-meta strong {
  color: var(--text);
  font-weight: 600;
}
.card-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
}

/* Level badge */
.level {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}
.level i {
  display: block;
  width: 18px; height: 4px;
  border-radius: 2px;
  background: var(--border);
}
.level i.on { background: var(--primary); }

/* ===== Course Filter ===== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text);
  transition: all var(--t-base);
}
.filter-btn:hover { border-color: var(--primary); }
.filter-btn.active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--white);
}

/* ===== Forms ===== */
.form {
  background: var(--white);
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1.25rem; }
.form label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.form input,
.form textarea,
.form select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  background: var(--background-soft);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-md);
  color: var(--text);
  transition: border-color var(--t-base), background var(--t-base);
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}
.form textarea { min-height: 140px; resize: vertical; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.5;
}
.form-check input { width: auto; margin-top: 4px; accent-color: var(--secondary); }

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-feedback { margin-top: 1.25rem; padding: 1rem 1.25rem; border-radius: var(--radius-md); display: none; }
.form-feedback.success { display: block; background: rgba(138, 158, 136, 0.15); color: #4d6b4b; border: 1px solid var(--accent-sage); }
.form-feedback.error { display: block; background: rgba(140, 61, 74, 0.08); color: var(--secondary); border: 1px solid var(--secondary); }

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ===== FAQ Accordion ===== */
.faq {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border-soft);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 1.5rem 2.5rem 1.5rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--text);
  position: relative;
  transition: color var(--t-fast);
}
.faq-q:hover { color: var(--secondary); }
.faq-q::after {
  content: '';
  position: absolute;
  right: 4px; top: 50%;
  width: 14px; height: 14px;
  border-right: 2px solid var(--secondary);
  border-bottom: 2px solid var(--secondary);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--t-base);
}
.faq-q[aria-expanded="true"]::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow), padding var(--t-base);
  color: var(--text-light);
}
.faq-a-inner { padding: 0 0 1.5rem; }
.faq-q[aria-expanded="true"] + .faq-a { max-height: 600px; }

/* ===== Course Detail ===== */
.course-hero {
  background: linear-gradient(140deg, var(--primary-light) 0%, var(--background) 100%);
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.course-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.course-hero-image {
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.course-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.course-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
}
.course-meta-item .label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.course-meta-item .value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.feature-list li {
  padding: 0.7rem 0 0.7rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--border-soft);
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 1.05rem;
  width: 18px; height: 10px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

@media (max-width: 820px) {
  .course-hero-grid { grid-template-columns: 1fr; }
}

/* ===== Schedule (Kursplan) ===== */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
}
.schedule-table th, .schedule-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}
.schedule-table th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: var(--background);
  color: var(--secondary);
}
.schedule-table tr:last-child td { border-bottom: 0; }
.schedule-table tr:hover td { background: var(--background-soft); }

.tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--secondary);
}
.tag--sage { background: rgba(138, 158, 136, 0.2); color: #4d6b4b; }
.tag--caramel { background: rgba(212, 149, 106, 0.2); color: #8a5a32; }

@media (max-width: 720px) {
  .schedule-table { font-size: 0.85rem; }
  .schedule-table th, .schedule-table td { padding: 0.75rem 0.6rem; }
}

/* ===== Pricing ===== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.price-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured {
  background: linear-gradient(160deg, var(--primary-light), var(--background));
  border-color: var(--primary);
  position: relative;
}
.price-card.featured::before {
  content: 'Beliebt';
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
}
.price-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  color: var(--secondary);
  margin: 0.4rem 0;
  line-height: 1;
}
.price-amount small {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.price-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
  text-align: left;
}
.price-list li {
  padding: 0.55rem 0 0.55rem 1.6rem;
  position: relative;
  font-size: 0.95rem;
  border-bottom: 1px dashed var(--border-soft);
}
.price-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0.55rem;
  color: var(--accent-sage);
  font-weight: 700;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-image {
  aspect-ratio: 3/4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.value {
  padding: 1.5rem;
  background: var(--background);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--primary);
}
.value h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--secondary);
  margin: 0 0 0.5rem;
}

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

/* ===== Section Heads ===== */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-head p { font-size: 1.1rem; color: var(--text-light); }

/* ===== Quiz / Welcher Kurs ===== */
.quiz {
  background: linear-gradient(140deg, var(--primary-light) 0%, var(--background) 100%);
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--radius-xl);
  text-align: center;
}
.quiz-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.quiz-option {
  background: var(--white);
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  text-align: left;
  transition: all var(--t-base);
  font-family: var(--font-body);
  color: var(--text);
  font-size: 0.95rem;
  cursor: pointer;
}
.quiz-option:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.quiz-option strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--secondary);
}

/* ===== Testimonials ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  position: relative;
}
.testimonial::before {
  content: '“';
  position: absolute;
  top: 8px; left: 18px;
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--primary);
  line-height: 1;
}
.testimonial-text {
  font-style: italic;
  color: var(--text);
  margin: 1rem 0;
  position: relative;
}
.testimonial-author {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
}

/* ===== Footer ===== */
.site-footer {
  background: linear-gradient(180deg, var(--background) 0%, var(--primary-light) 100%);
  padding: 3.5rem 0 1.5rem;
  margin-top: 0;
  color: var(--text);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-soft);
}
.footer-grid h5 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 0.3rem 0; }
.footer-grid a { color: var(--text); font-size: 0.95rem; }
.footer-grid a:hover { color: var(--secondary); }
.footer-brand p { font-size: 0.92rem; color: var(--text-light); max-width: 320px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in { opacity: 1; transform: none; }
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-0 { margin-bottom: 0; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.divider {
  height: 1px;
  background: var(--border-soft);
  margin: 2.5rem 0;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
}
.legal-content h2 { margin-top: 2.5rem; }
.legal-content h3 { font-size: 1.25rem; margin-top: 1.75rem; }
.legal-content p, .legal-content li { color: var(--text-light); }

/* ==========================================================================
   Auth (Login / Signup) + Dashboard + Admin
   ========================================================================== */

/* ----- Auth Tabs ----- */
.auth-tabs {
  display: flex;
  gap: 0;
  background: var(--background);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px;
  margin: 0 auto 2rem;
  max-width: 360px;
}
.auth-tab,
button.auth-tab {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
  outline: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.7rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--t-base), color var(--t-base);
  text-align: center;
  line-height: 1.2;
}
.auth-tab:hover { color: var(--secondary); }
.auth-tab.is-active,
button.auth-tab.is-active {
  background: var(--secondary);
  color: var(--white);
}
.auth-tab.is-active:hover { color: var(--white); }

.auth-form {
  background: var(--white);
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
}

.form-feedback {
  margin-top: 1rem;
  font-size: 0.92rem;
  text-align: center;
  min-height: 1.2em;
}
.form-feedback.is-success {
  display: block;
  color: #4d6b4b;
  background: rgba(138, 158, 136, 0.15);
  border: 1px solid var(--accent-sage);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
}
.form-feedback.is-error {
  display: block;
  color: var(--secondary);
  background: rgba(140, 61, 74, 0.08);
  border: 1px solid var(--secondary);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
}

/* ----- Dashboard Loader / Empty ----- */
.dashboard-loading {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}
.dashboard-empty {
  background: var(--white);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  color: var(--text-light);
}

/* ----- Naechste Einheit (Hero im Dashboard) ----- */
.dashboard-next {
  background: linear-gradient(135deg, var(--secondary), #6E2D38);
  color: var(--white);
  padding: 2rem 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
}
.dashboard-next .eyebrow,
.dashboard-next-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin: 0 0 0.75rem;
  display: block;
}
.dashboard-next .eyebrow::before { display: none; }
.dashboard-next h2 {
  color: var(--white);
  margin: 0;
  font-size: 1.8rem;
}
.dashboard-next-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}
.dashboard-next-grid p { color: rgba(255,255,255,0.85); }
.dashboard-next-date {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  font-family: var(--font-display);
  line-height: 1.3;
}
.dashboard-next-date span:first-child {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-light);
}
.dashboard-next-date strong {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0.15rem 0;
}
.dashboard-next-date span:last-child {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

/* ----- Karten-Grid Buchungen ----- */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.dashboard-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.dashboard-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.dashboard-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.dashboard-card-head h3 { margin: 0; font-size: 1.3rem; }
.dashboard-card-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.dashboard-card-meta li {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 0.6rem;
}
.dashboard-card-meta li:last-child { border-bottom: 0; padding-bottom: 0; }
.dashboard-card-meta span { color: var(--text-muted); }
.dashboard-card-meta strong { font-weight: 600; }

.dashboard-card-actions {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-soft);
}
.ics-hint {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  text-align: center;
}

/* ----- Status Badges ----- */
.status-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.status-badge--paid   { background: rgba(138, 158, 136, 0.18); color: #5C7559; }
.status-badge--unpaid { background: rgba(212, 149, 106, 0.20); color: #9A5A28; }

/* ----- Admin: Statistik-Kacheln ----- */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.admin-stat {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.admin-stat span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-display);
  margin-bottom: 0.4rem;
}
.admin-stat strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--secondary);
}

/* ----- Admin: Toolbar ----- */
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.admin-tabs {
  display: flex;
  gap: 0;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px;
}
.admin-tab {
  background: transparent;
  border: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--t-base), color var(--t-base);
}
.admin-tab.is-active { background: var(--secondary); color: var(--white); }
.admin-select {
  padding: 0.55rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
}

/* ----- Admin: Block-Karten ----- */
.admin-block {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.admin-block-head {
  padding: 1.25rem 1.5rem;
  background: var(--background);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}
.admin-block-head h3 { margin: 0; font-size: 1.3rem; }
.admin-block-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ----- Admin: Tabelle ----- */
.admin-table-wrap { overflow-x: auto; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.admin-table thead th {
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  background: var(--background-soft);
  border-bottom: 1px solid var(--border);
}
.admin-table tbody td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
}
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: var(--background-soft); }
.admin-table small { font-size: 0.8rem; }

/* ----- Toggle-Schalter fuer Bezahlt-Status ----- */
.toggle-paid {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.toggle-paid input { cursor: pointer; accent-color: var(--accent-sage); }

/* ----- Kursblock anlegen (Details/Summary) ----- */
.admin-create {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
}
.admin-create summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--secondary);
  list-style: none;
}
.admin-create summary::-webkit-details-marker { display: none; }
.admin-create summary::before { content: '+ '; font-weight: 700; }
.admin-create[open] summary::before { content: '− '; }

/* Logout-Button im Nav */
button.nav-cta {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

/* ----- Section-Tabs (Buchungen / Anmeldungen) ----- */
.admin-sections {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1.5px solid var(--border);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.admin-section-tab {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
  outline: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 0.85rem 1.5rem;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1.5px;
  transition: color var(--t-base), border-color var(--t-base);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.admin-section-tab:hover { color: var(--secondary); }
.admin-section-tab.is-active {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
}
.badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5em;
  height: 1.5em;
  padding: 0 0.5em;
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

/* ----- Anmelde-Karten ----- */
.request-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.request-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.request-head h3 { margin: 0 0 0.25rem; font-size: 1.2rem; }
.request-meta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}
.request-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.request-grid > div span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.request-message {
  grid-column: 1 / -1;
  font-style: italic;
  color: var(--text-light);
}
.request-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

/* Zusätzliche Badge-Varianten */
.status-badge--info   { background: rgba(140, 61, 74, 0.12);  color: var(--secondary); }
.status-badge--muted  { background: rgba(107, 90, 92, 0.15);  color: var(--text-muted); }

/* Kleiner Button (für Löschen-Aktion) */
.btn--small {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

/* ----- Intensitätsstriche (1-4 Bars) ----- */
.intensity {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: middle;
  line-height: 1;
}
.intensity i {
  display: block;
  width: 6px;
  height: 16px;
  border-radius: 2px;
  background: rgba(140, 61, 74, 0.18);
  transition: background var(--t-base);
}
.intensity[data-level="1"] i:nth-child(-n+1),
.intensity[data-level="2"] i:nth-child(-n+2),
.intensity[data-level="3"] i:nth-child(-n+3),
.intensity[data-level="4"] i:nth-child(-n+4) {
  background: var(--secondary);
}
.intensity[data-level="3"] i:nth-child(-n+3),
.intensity[data-level="4"] i:nth-child(-n+4) {
  background: var(--accent-caramel);
}
.intensity[data-level="4"] i:nth-child(-n+4) {
  background: #B85648;
}
.intensity-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

/* Größere Variante für die Kursdetail-Seiten */
.intensity--lg i { width: 8px; height: 22px; }

/* ----- Anmeldeformular: Konto-Erstellen-Toggle ----- */
.signup-toggle {
  background: var(--background);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.signup-toggle-label {
  margin: 0;
  cursor: pointer;
}
.signup-toggle-help {
  margin: 0.5rem 0 0 1.85rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.signup-toggle-fields {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--border);
}

/* ----- Custom Confirm Modal ----- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 35, 38, 0.55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}
.modal-overlay[hidden] { display: none; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem 1.75rem;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  animation: modal-in 0.18s ease;
}
@keyframes modal-in {
  from { transform: translateY(12px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0)    scale(1);    opacity: 1; }
}
.modal-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.6rem;
  color: var(--primary);
}
.modal-message {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 1.75rem;
}
.modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}
.btn--danger {
  background: var(--secondary);
  color: var(--white);
  border: 2px solid var(--secondary);
}
.btn--danger:hover { background: #7a2230; border-color: #7a2230; }

/* ----- Kursblock-Info-Karte (Anmeldeseite) ----- */
.block-info-card {
  background: var(--bg-section);
  border: 2px solid var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
}
.block-info-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin: 0 0 0.35rem;
}
.block-info-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 1.1rem;
  line-height: 1.15;
}
.block-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.8rem 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}
.block-info-item span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.block-info-item strong {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.4;
}
.block-info-locked-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.block-info-locked-note svg {
  flex-shrink: 0;
  color: var(--primary-light);
}

/* ----- Mobile ----- */
@media (max-width: 720px) {
  .dashboard-next-grid { grid-template-columns: 1fr; }
  .dashboard-next-date { align-items: flex-start; text-align: left; }
  .admin-toolbar { flex-direction: column; align-items: stretch; }
  .admin-block-head { flex-direction: column; }
  .admin-block-stats { flex-direction: row; align-items: flex-start; }
}
