/* ===========================
   KRANIOFAZIAL.CH – STYLESHEET
   Modern Minimalist / Swiss Medical
   =========================== */

:root {
  --ink: #0f1117;
  --ink-soft: #3a3d47;
  --ink-muted: #7a7e8a;
  --paper: #f8f7f5;
  --white: #ffffff;
  --accent: #1a5c8a;
  --accent-light: #d6e8f5;
  --accent-soft: #e8f2fa;
  --border: #e2e0dc;
  --border-strong: #c8c5be;
  --phase-bg: #f0ede8;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --max-w: 1120px;
  --section-pad: 96px 24px;
  --radius: 2px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.08), 0 8px 32px rgba(0,0,0,0.06);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ——— SCROLLBAR ——— */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 2px; }

/* ——— HEADER ——— */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248, 247, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo-dot { color: var(--accent); }
.logo-tld { font-weight: 300; color: var(--ink-soft); }

.main-nav { flex: 1; }
.main-nav ul {
  display: flex;
  gap: 0;
  list-style: none;
}
.main-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--accent); }

.lang-switcher {
  margin-left: auto;
  flex-shrink: 0;
}
.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237a7e8a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 5px 28px 5px 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  min-width: 130px;
}
.lang-select:hover,
.lang-select:focus {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s;
}

/* ——— HERO ——— */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 24px 0;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
}

.hero-content {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding-top: 40px;
  animation: fadeUp 0.9s ease both;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 36px;
  font-weight: 300;
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.25s, transform 0.2s;
  border-radius: var(--radius);
}
.hero-cta:hover { background: var(--accent); transform: translateY(-1px); }

.hero-stat-bar {
  max-width: var(--max-w);
  margin: 60px auto 0;
  width: 100%;
  border-top: 1px solid var(--border);
  padding: 36px 0 48px;
  display: flex;
  gap: 0;
  align-items: center;
  animation: fadeUp 0.9s 0.2s ease both;
}
.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 32px;
}
.stat:first-child { padding-left: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-weight: 400;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ——— SECTIONS ——— */
.content-section { padding: var(--section-pad); }
.alt-bg { background: var(--white); }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  max-width: 60px;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  color: var(--ink);
}

.section-intro {
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 680px;
  margin-bottom: 48px;
  line-height: 1.8;
}

/* ——— TWO COL ——— */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.col-text p {
  color: var(--ink-soft);
  margin-bottom: 20px;
  line-height: 1.8;
}
.col-text h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 12px;
}
.col-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.col-text ul li {
  padding-left: 16px;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}
.col-text ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}

/* ——— HIGHLIGHT BOXES ——— */
.col-highlight { display: flex; flex-direction: column; gap: 20px; }
.highlight-box {
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.highlight-box:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.hb-icon {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 12px;
}
.highlight-box h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.highlight-box p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.7; }

/* ——— CARDS ——— */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.card {
  background: var(--white);
  padding: 36px 28px;
  transition: background 0.25s;
  position: relative;
}
.card:hover { background: var(--accent-soft); }
.card-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--border-strong);
  margin-bottom: 16px;
  line-height: 1;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ink);
}
.card p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.7; }

/* ——— TIMELINE ——— */
.timeline {
  border-left: 2px solid var(--border);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.tl-item { position: relative; }
.tl-item::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.tl-week {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.tl-desc { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; }

/* ——— PHASES ——— */
.phases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.phase { background: var(--white); }
.phase-header {
  padding: 20px 24px;
  background: var(--ink);
  color: var(--white);
}
.phase-time {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}
.phase-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 400; }
.phase ul {
  list-style: none;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phase ul li {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
  padding-left: 12px;
  position: relative;
}
.phase ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
  top: 1px;
}

/* ——— CONTACT ——— */
.contact-section { background: var(--paper); }
.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
  gap: 48px;
  align-items: start;
  overflow: hidden;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; min-width: 0; overflow: hidden; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* Consent box – fasst beide Checkboxen zusammen */
.consent-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}
.checkbox-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--accent);
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}
.checkbox-label span { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.55; }

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  align-self: flex-start;
}
.submit-btn:hover { background: var(--accent); transform: translateY(-1px); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-status {
  font-size: 0.88rem;
  padding: 12px 16px;
  border-radius: var(--radius);
  display: none;
}
.form-status.success { background: #e8f5e9; color: #2e7d32; display: block; }
.form-status.error { background: #fce4e4; color: #c62828; display: block; white-space: pre-line; }

/* Contact info – rechte Spalte */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  max-width: 280px;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
}
.ci-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-width: 0;
}
.ci-icon {
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
  width: 28px;
}
.ci-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 3px;
}
.ci-item a { color: var(--accent); font-size: 0.88rem; text-decoration: none; word-break: break-all; }
.ci-item a:hover { text-decoration: underline; }
.ci-item p { font-size: 0.84rem; color: var(--ink-soft); line-height: 1.6; min-width: 0; }

.disclaimer-box {
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 14px 16px;
  background: var(--accent-soft);
  border-radius: var(--radius);
  min-width: 0;
  overflow: hidden;
}
.disclaimer-box p {
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.6;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ——— FOOTER ——— */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 48px 24px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
}
.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
}
.footer-links {
  display: flex;
  gap: 24px;
  margin: 8px 0;
}
.footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); margin-top: 4px; }

/* ——— ANIMATIONS ——— */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ——— RESPONSIVE ——— */
@media (max-width: 1024px) {
  .phases { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px 20px; }

  .main-nav {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    flex-direction: column;
  }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: 12px 24px; font-size: 0.9rem; }

  .hamburger { display: flex; margin-left: auto; }

  .hero-stat-bar {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .stat-divider { width: 40px; height: 1px; }
  .stat { padding: 0; }

  .two-col, .two-col.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 40px;
  }

  .cards-grid { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr; }

  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }

  h2 { margin-bottom: 32px; }
}

@media (max-width: 480px) {
  .header-inner { gap: 16px; }
  .lang-select { min-width: 110px; font-size: 0.72rem; }
}

/* ===========================
   NEUE SEKTIONEN: KONZEPTE
   =========================== */

/* Concept blocks */
.concept-block {
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}
.concept-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.concept-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 32px;
}
.concept-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}
.concept-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 6px;
}
.concept-sub {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* 3-column concept grid */
.concept-grid-3 {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.concept-card {
  background: var(--white);
  padding: 28px;
  position: relative;
  transition: background 0.2s;
}
.concept-card:hover { background: var(--accent-soft); }
.concept-card.featured { background: var(--ink); color: var(--white); }
.concept-card.featured:hover { background: var(--accent); }
.concept-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--white);
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 12px;
}
.concept-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: inherit;
}
.concept-card.featured h4 { color: var(--white); }
.concept-card p { font-size: 0.88rem; line-height: 1.7; color: var(--ink-soft); }
.concept-card.featured p { color: rgba(255,255,255,0.75); }

/* Concept info boxes (2-col) */
.concept-info-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--white);
}
.concept-info-box.featured-box {
  border-color: var(--accent);
  border-width: 2px;
}
.concept-info-box h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.concept-info-box p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.75; margin-bottom: 16px; }
.concept-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.concept-list li {
  font-size: 0.87rem;
  color: var(--ink-soft);
  padding-left: 16px;
  position: relative;
  line-height: 1.55;
}
.concept-list li::before { content: '—'; position: absolute; left: 0; color: var(--accent); font-size: 0.8rem; }

/* Evidence note */
.evidence-note {
  display: flex;
  gap: 12px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 14px 16px;
  border-radius: var(--radius);
  margin-top: 16px;
}
.evidence-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.evidence-note p { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.6; margin: 0; }

/* col-text h4 */
.col-text h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 10px;
}
.col-text h4:first-child { margin-top: 0; }
.col-text p { font-size: 0.91rem; }

/* Responsive */
@media (max-width: 1024px) {
  .concept-grid-3 { grid-template-columns: 1fr 1fr; }
  .concept-grid-3 .concept-card.featured { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .concept-grid-3 { grid-template-columns: 1fr; }
  .concept-header { gap: 16px; }
  .concept-num { font-size: 2rem; width: 36px; }
}

/* ===========================
   ZENTREN-LISTE
   =========================== */
.center-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 16px;
}
.center-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.center-item:last-child { border-bottom: none; }
.center-item:hover { background: var(--accent-soft); }
.center-city {
  padding: 14px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--white);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.center-name {
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.5;
  background: var(--white);
}
.center-item:hover .center-city,
.center-item:hover .center-name { background: var(--accent-soft); }
.center-sub {
  font-size: 0.78rem;
  color: var(--ink-muted);
  display: block;
  margin-top: 2px;
}

/* Col-text links */
.col-text a { color: var(--accent); text-decoration: none; }
.col-text a:hover { text-decoration: underline; }
.col-text h3 + p { margin-top: 8px; }

/* ===========================
   ZITATIONEN & QUELLEN
   =========================== */
sup.cite {
  font-size: 0.68rem;
  line-height: 0;
  vertical-align: super;
  margin-left: 1px;
}
sup.cite a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  padding: 0 1px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}
sup.cite a:hover { border-bottom-color: var(--accent); }
sup.cite.highlight a {
  background: var(--accent-soft);
  border-radius: 2px;
  outline: 2px solid var(--accent);
}

/* Zurück-Leiste */
.back-cite-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-light);
  border-radius: var(--radius);
  padding: 10px 16px;
  margin-bottom: 32px;
}
.back-cite-btn {
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}
.back-cite-btn:hover { opacity: 0.85; }

/* Aktive / angeklickte Quellenzeile */
.ref-list li.ref-active {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  transition: background 0.2s;
}
.ref-list li.ref-active::before {
  font-weight: 700;
}

/* Inline-Zurück-Button innerhalb der Quellenzeile */
.back-cite-inline {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  margin-left: 0;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 4px 12px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.back-cite-inline:hover { opacity: 0.8; }

/* Referenzliste */
.ref-list {
  list-style: none;
  counter-reset: ref-counter;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 8px;
}
.ref-list li {
  counter-increment: ref-counter;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
  line-height: 1.6;
  transition: background 0.15s;
}
.ref-list li:last-child { border-bottom: none; }
.ref-list li:hover { background: var(--accent-soft); }
.ref-list li::before {
  content: counter(ref-counter);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  padding: 14px 0 14px 14px;
  align-self: start;
}
.ref-item-body {
  padding: 14px 16px 14px 0;
  color: var(--ink-soft);
}
.ref-item-body em { font-style: italic; color: var(--ink); }
.ref-item-body a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.8rem;
  display: inline-block;
  margin-top: 2px;
}
.ref-item-body a:hover { text-decoration: underline; }
