/* =========================================================
   Borstelstahl AG — Light Theme Redesign
   Primary: White (#FFFFFF)
   Secondary (Molten orange): #E4572E
   Accents/Support: Slate greys
   Inspired by Salzgitter brand palette that features orange, blue-grey, white & black.
   ========================================================= */

/* ---------- CSS Reset (lightweight) ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul[role='list'],
ol[role='list'] {
  list-style: none;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

/* ---------- Design Tokens ---------- */
:root {
  --bg: #ffffff;
  --surface: #fcdace;
  /* very light slate */
  --surface-2: #f1f5f9;
  --text: #1f2937;
  /* slate-800 */
  --muted: #6b7280;
  /* slate-500 */
  --border: #e5e7eb;
  /* slate-200 */
  --accent: #E4572E;
  /* molten orange */
  --accent-2: #F59E0B;
  /* warm amber for hovers/gradients */
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(2, 6, 23, 0.08);
}

/* ---------- Base ---------- */
html {
  height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

#main {
  flex: 1 0 auto;
}

/* Headings */
h1,
h2,
h3,
h4 {
  color: #0f172a;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 700;
}

p {
  color: var(--text);
  font-size: 1rem;
}

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Utilities */
.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

.muted {
  color: var(--muted);
}

/* Minimal utilities (formerly from Bootstrap) */
.text-center {
  text-align: center;
}

.text-dark {
  color: #111827;
}

.fw-bold {
  font-weight: 700;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.alert {
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
}

.alert-info {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.surface {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* =========================================================
   Header / Navigation (modern, sticky, mobile-friendly)
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .bar {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.brand .wordmark {
  font-size: 1.125rem;
  color: #0f172a;
}

/* Desktop nav */
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  font-weight: 600;
  color: #0f172a;
  border-radius: 10px;
  position: relative;
}

.nav a:hover {
  background: var(--surface);
}

.nav a.active {
  color: #0f172a;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* Mobile menu (CSS only) */
#nav-toggle {
  display: none;
}

.menu-btn {
  display: none;
  margin-left: auto;
}

.menu {
  display: flex;
}

@media (max-width: 900px) {
  .menu-btn {
    display: block;
  }

  .site-header nav.menu {
    display: none !important;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .menu a {
    display: block;
    padding: 14px 20px;
  }

  #nav-toggle:checked~nav.menu {
    display: block !important;
  }

  .nav {
    margin-left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
}

/* =========================================================
   Hero (Index) — replace three images with a single hero
   ========================================================= */
.hero {
  position: relative;
  overflow: clip;
  isolation: isolate;
  background: #0b0f1a;
}

.hero .media {
  position: relative;
  min-height: clamp(320px, 48vw, 560px);
  border-bottom: 1px solid var(--border);
}

.hero .media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.02);
}

.hero::after {
  /* subtle top gradient */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.45), rgba(2, 6, 23, 0.1) 40%, rgba(255, 255, 255, 0));
  z-index: 1;
}

.hero .content {
  position: relative;
  z-index: 2;
  margin-top: -140px;
}

.hero .panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(16px, 3vw, 28px);
  box-shadow: var(--shadow);
  max-width: 840px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid transparent;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 6px 18px rgba(228, 87, 46, .24);
}

.cta:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

/* =========================================================
   Legacy selectors from old CSS — restyled for light UI
   (keeps your existing HTML/PHP functional)
   ========================================================= */

/* Typography overrides */
h3,
.quote,
.spezial-headline {
  color: #0f172a;
  text-align: center;
}

.left h3 {
  text-align: left;
  font-size: 1.4rem;
}

/* Layout helpers */
.container {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 20px;
  margin: 0 auto;
}

.left,
.right {
  flex: 1 1 100%;
}

@media(min-width: 801px) {

  .left,
  .right {
    flex: 1;
  }
}

.left p {
  text-align: left;
  font-size: 18px;
}

.left img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.right h2 {
  margin: 0;
  text-align: right;
  color: #0f172a;
  font-size: clamp(2rem, 6vw, 3.5rem);
}

@media(max-width: 800px) {
  .right h2 {
    text-align: center;
  }
}

/* Profile image */
.profile-image {
  display: block;
  margin: 0 auto;
  border-radius: 50%;
  width: clamp(160px, 30%, 260px);
  box-shadow: var(--shadow);
}

/* Old image row (index): no longer needed; hide via class hook IF still present */
.image-row {
  display: none;
}

/* Cards / info boxes */
.home-infobox,
.special-infobox {
  max-width: 1000px;
  text-align: center;
  margin: 28px auto;
  padding: 22px;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.special-infobox {
  background: linear-gradient(180deg, #fff, var(--surface));
  border-left: 4px solid var(--accent);
}

/* Inputs for codes */
.code-inputs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.code-inputs input {
  width: 42px;
  height: 48px;
  font-size: 24px;
  text-align: center;
  border: 1px solid var(--border);
  background: #fff;
  color: #0f172a;
  border-radius: 10px;
}

.code-inputs input:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 4px rgba(228, 87, 46, 0.12);
}

/* Bild mit Unterschrift */
#special-coin-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
  gap: 20px;
}

.bildbox {
  text-align: center;
  flex: 1 1 250px;
}

.bildbox img {
  max-width: 60%;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.bildbox-caption {
  margin-top: 8px;
  font-size: 16px;
  color: #334155;
}

/* Charts */
.chart-grid {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 30px;
  padding: 20px;
}

.chart-container {
  width: 100%;
  max-width: 720px;
  margin: auto;
}

.chart-container canvas {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  box-shadow: var(--shadow);
}

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

  .chart-container canvas {
    height: 220px;
  }
}

/* Tables */
.table-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 10px;
  margin: auto;
  margin-bottom: 5%;
}

.responsive-table {
  max-width: 940px;
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.responsive-table thead th {
  background: linear-gradient(90deg, var(--surface), var(--surface-2));
  color: #0f172a;
  text-align: left;
  padding: 14px;
  border-bottom: 1px solid var(--border);
}

.responsive-table tbody td {
  padding: 14px;
  border-bottom: 1px solid var(--border);
}

.responsive-table tbody tr:hover {
  background: #fffaf6;
}

/* subtle warm hover */

/* Buttons */
.interne-button {
  width: min(480px, 90%);
  font-size: 1.05rem;
  padding: 14px 18px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: #0f172a;
  box-shadow: var(--shadow);
}

.interne-button:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(228, 87, 46, .16);
}

/* Speech bubble */
.speech-bubble {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 20px auto;
  max-width: 700px;
  width: 100%;
  box-shadow: var(--shadow);
}

.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 40px;
  width: 0;
  height: 0;
  border: 15px solid transparent;
  border-top-color: #fff;
}

.bubble-header {
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--accent);
}

.speech-bubble p {
  margin: 0.5rem 0;
}

/* Text acccents */
.staff-text {
  color: var(--danger);
  text-align: center;
  font-size: 18px;
  font-weight: 800;
}

#special-headline-red {
  color: var(--danger);
}

/* Infographic hotspot */
.infografik-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  color: #0f172a;
}

.infografik-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  z-index: 1;
}

.hotspot-button {
  position: absolute;
  top: 75%;
  left: 8%;
  width: 30%;
  height: 20%;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
}

/* Footer */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  color: #475569;
  padding: 24px 0;
}

footer a {
  color: #475569;
}

footer a:hover {
  color: #0f172a;
}

/* Accessibility helpers */
:focus-visible {
  outline: 3px solid rgba(228, 87, 46, 0.45);
  outline-offset: 2px;
}

/* Optional: legacy class kept for compatibility with your PHP */
.navbar {
  background: transparent;
}

/* Ensure centered containers on mobile */
@media(max-width:768px) {

  .container,
  .chart-grid,
  .code-inputs,
  .image-row,
  .table {
    margin-left: auto;
    margin-right: auto;
  }

  .container {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: center;
  }
}

/* Mobile-Menü-Button in Orange (Label) */
.menu-btn {
  display: none;
  /* bleibt nur auf Mobile sichtbar */
  margin-left: auto;
  border: 1px solid transparent;
  /* keine graue Kante mehr */
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  user-select: none;

  /* Orange/Amber-Verlauf wie der CTA */
  background: var(--accent-2);
  color: #fff;
  transition: filter .15s ease, transform .1s ease, box-shadow .2s ease;
}

.menu-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(228, 87, 46, .32);
}

.menu-btn:active {
  transform: translateY(0);
}

.menu-btn:focus-visible {
  outline: 3px solid rgba(228, 87, 46, .5);
  outline-offset: 3px;
}

/* aktiver Zustand, wenn geöffnet */
.nav-toggle:checked+.menu-btn {
  filter: brightness(0.98);
  box-shadow: 0 6px 18px rgba(228, 87, 46, .28);
}

/* Nur auf Mobile anzeigen */
@media (max-width: 900px) {
  .menu-btn {
    display: inline-block;
  }
}

/* === Kantinenplan v2 (scoped) === */
#kantinenplan.kp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
  margin-top: 22px;
}

#kantinenplan .spezial-headline {
  grid-column: 1 / -1;
  text-align: left;
}

#kantinenplan h3 {
  grid-column: 1 / -1;
  color: var(--muted);
  font-weight: 600;
  margin-top: -6px;
}

/* Card look for each day */
#kantinenplan .speech-bubble {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}

#kantinenplan .speech-bubble::after {
  display: none;
}

/* remove triangle */

#kantinenplan .bubble-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(90deg, var(--surface), var(--surface-2));
  border-bottom: 1px solid var(--border);
}

#kantinenplan .kp-weekday {
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

#kantinenplan .kp-date {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

/* Dish rows */
#kantinenplan .speech-bubble p {
  margin: 0;
  padding: 12px 16px;
}

#kantinenplan .kp-row {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border);
}

#kantinenplan .kp-bullet {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  display: inline-block;
}

#kantinenplan .kp-dish {
  display: inline-block;
}

/* Chips */
#kantinenplan .kp-chips {
  display: inline-flex;
  gap: 6px;
}

#kantinenplan .kp-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
  border: 1px solid var(--border);
  background: var(--surface);
  color: #0f172a;
}

#kantinenplan .kp-chip-vegan {
  background: rgba(22, 163, 74, .08);
  border-color: rgba(22, 163, 74, .2);
}

#kantinenplan .kp-chip-veg {
  background: rgba(34, 197, 94, .08);
  border-color: rgba(34, 197, 94, .2);
}

#kantinenplan .kp-chip-fish {
  background: rgba(59, 130, 246, .08);
  border-color: rgba(59, 130, 246, .2);
}

#kantinenplan .kp-chip-chicken {
  background: rgba(245, 158, 11, .12);
  border-color: rgba(245, 158, 11, .24);
}

#kantinenplan .kp-chip-meat {
  background: rgba(228, 87, 46, .10);
  border-color: rgba(228, 87, 46, .25);
}

/* Hover */
@media (hover:hover) {
  #kantinenplan .speech-bubble:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    transition: transform .15s ease, box-shadow .2s ease;
  }
}

/* === Spezial-Seite: Einheitliche Rail-Zentrierung wie bei der Chart === */
:root {
  /* Gleiche Zielbreite wie deine Chart */
  --content-max: 820px;
}

/* Die Kombination .wrap.page-section als vollbreite "Schiene" behandeln */
.spezial-scope .wrap.page-section {
  max-width: none !important;
  /* übersteuert .wrap { max-width:1200px } */
  width: 100% !important;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  /* Items horizontal mittig */
  padding-inline: 20px;
}

/* Alle direkten Kinder (Panels, Buttons, etc.) auf die gleiche Max-Breite clampen */
.spezial-scope .wrap.page-section>* {
  width: 100% !important;
  max-width: var(--content-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  justify-self: center;
  /* falls ein Item eigene Breite setzt */
}

/* Panel explizit (falls ältere Regeln 1000px setzen) */
.spezial-scope .wrap.page-section>.panel {
  max-width: var(--content-max) !important;
}

/* CTA-Button (direktes Kind) ebenfalls exakt auf die Rail begrenzen */
.spezial-scope .wrap.page-section>a {
  max-width: var(--content-max) !important;
  margin-inline: auto !important;
}

/* Chart auf die gleiche Rail-Breite bringen (Konsistenz) */
.chart-container {
  max-width: var(--content-max) !important;
  margin-inline: auto !important;
}

/* Tabellen innerhalb der Rail: nie größer als das Panel */
.spezial-scope .wrap.page-section .table-wrapper,
.spezial-scope .wrap.page-section .responsive-table {
  max-width: 100% !important;
  /* Panel begrenzt, nicht die Tabelle selbst */
}

/* Spezialansicht: eigene, zentrale Styles */
.spezial-scope .page-section {
  margin: 2.5rem 0;
}

.spezial-scope .panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.spezial-scope .panel h2 {
  margin-bottom: 1rem;
}

.spezial-scope .panel>*+* {
  margin-top: 1.25rem;
}

.spezial-scope .table-wrapper {
  display: block;
  width: 100%;
  margin: 0 auto 2rem auto;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
}

.spezial-scope .responsive-table {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
  border-radius: 12px;
  box-shadow: var(--shadow);
  table-layout: fixed;
  word-break: break-word;
}

.spezial-scope .responsive-table thead th {
  background: linear-gradient(90deg, var(--surface), var(--surface-2));
  color: #0f172a;
  text-align: left;
  padding: 14px;
  border-bottom: 1px solid var(--border);
}

.spezial-scope .responsive-table tbody td {
  padding: 14px;
  border-bottom: 1px solid var(--border);
}

.spezial-scope .responsive-table tbody tr:nth-child(odd) {
  background: #ffffff;
}

.spezial-scope .responsive-table tbody tr:nth-child(even) {
  background: #fff7f1;
}

.spezial-scope .responsive-table tbody tr:hover {
  background: #fff1e6;
}

.spezial-scope .btn-interne {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff !important;
  border: 0;
  border-radius: 9999px;
  padding: .9rem 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  white-space: normal;
  box-shadow: 0 8px 20px rgba(228, 87, 46, .28);
  transition: filter .15s ease, transform .1s ease, box-shadow .2s ease;
}

.spezial-scope .btn-interne:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(228, 87, 46, .34);
}

.spezial-scope .btn-interne:active {
  transform: translateY(0);
}

.spezial-scope .btn-interne:focus-visible {
  outline: 3px solid rgba(228, 87, 46, .5);
  outline-offset: 3px;
}

.spezial-scope .btn-interne.attention {
  animation: btn-attract 2.5s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  will-change: transform, filter;
}

.spezial-scope .btn-interne.attention::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-20deg);
  opacity: 0;
  pointer-events: none;
  animation: btn-shine 4.5s ease-in-out infinite;
}

.spezial-scope .btn-interne.attention::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, .55);
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  animation: btn-ripple 4.5s ease-out infinite;
}

@keyframes btn-attract {
  0%, 60%, 100% { transform: translateY(0) scale(1); filter: none; box-shadow: 0 8px 20px rgba(228, 87, 46, .28); }
  10%, 20% { transform: translateY(-2px) scale(1.02); filter: brightness(1.06); box-shadow: 0 12px 28px rgba(228, 87, 46, .34); }
  25% { transform: translateY(0) scale(0.985); box-shadow: 0 6px 14px rgba(228, 87, 46, .22); }
  32% { transform: translateY(-1px) scale(1.01); box-shadow: 0 10px 24px rgba(228, 87, 46, .30); }
  40% { transform: translateY(0) scale(1); }
}

@keyframes btn-shine {
  0%, 9% { left: -60%; opacity: 0; }
  12% { left: 110%; opacity: 1; }
  15%, 100% { left: 110%; opacity: 0; }
}

@keyframes btn-ripple {
  0%, 22% { opacity: 0; transform: scale(0.9); }
  25% { opacity: .55; transform: scale(1); }
  40% { opacity: 0; transform: scale(1.15); }
  100% { opacity: 0; transform: scale(0.9); }
}

@media (prefers-reduced-motion: reduce) {
  .spezial-scope .btn-interne.attention,
  .spezial-scope .btn-interne.attention::before,
  .spezial-scope .btn-interne.attention::after {
    animation: none !important;
  }
}

.spezial-scope .chart-grid {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 30px;
  padding: 0 20px;
}

.spezial-scope .chart-container {
  width: 100%;
  max-width: var(--content-max);
  margin: auto;
  height: clamp(240px, 46vw, 360px);
}

.spezial-scope canvas {
  display: block;
}

.spezial-scope #goldChart {
  width: 100% !important;
  height: 100% !important;
}

.spezial-scope #confetti-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 600px) {
  .spezial-scope .page-section { margin: 1.25rem 0; }
  .spezial-scope .panel { padding: 1rem; }
  .spezial-scope .panel>*+* { margin-top: 1rem; }
  .spezial-scope .wrap.page-section .btn-interne { margin: .5rem 0; }
  .spezial-scope .table-wrapper { margin-bottom: 1rem; }
  .spezial-scope .responsive-table { box-shadow: none; }
  .spezial-scope .chart-grid { padding: 0 12px; }
  .spezial-scope .chart-container { height: 240px; }
}

.spezial-scope .page-section .panel>h1,
.spezial-scope .page-section .panel>h2,
.spezial-scope .page-section .panel>h3 {
  text-align: center;
}

/* Impressum */
.imprint-page {
  margin: 2.5rem 0;
}

.imprint-card {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(1rem, 2.2vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.imprint-card h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
}

.imprint-content {
  color: var(--text);
  line-height: 1.7;
}

.imprint-content p {
  margin: .6rem 0;
}

.imprint-content a {
  color: var(--accent);
}

@media (max-width: 600px) {
  .imprint-page {
    margin: 1.5rem 0;
  }

  .imprint-card {
    padding: 1rem;
  }
}

/* === Unterseiten: ausgelagerte Inline-Styles === */
.home-infobox-fuehrungen {
  display: block;
  justify-items: center;
}

.fuehrungen-flyer {
  padding-top: 10px;
}

.container.plan {
  justify-content: center;
}

.container.plan .left {
  max-width: 800px;
  flex: 0 1 800px;
  width: 100%;
}

.container.plan .right {
  display: none;
}

@media (max-width: 768px) {
  .container.plan {
    padding-left: 12px;
    padding-right: 12px;
  }

  .container.plan .left {
    max-width: 100%;
    flex-basis: 100%;
  }

  .speech-bubble {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

.day-separator {
  margin: 4.5rem 0;
}

.bubble-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: .5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}