/* ==========================================================================
   06 – BÜRGERINFO (Stationen-Journey, Bürger-Cards, Frame-Layer)
   Seitenspezifisch – benötigt NkomVG_Style.css als Basis
   ========================================================================== */

:root {
  --shadow-hover: 0 4px 20px rgba(0,85,56,0.18);
}

/* --- Body --- */
body {
  line-height: 1.45;
  min-height: 100vh;
}

/* --- Header-Anpassungen --- */
header {
  padding: 2rem 1.25rem 2.5rem;
}

header::after {
  height: 6px;
  background: linear-gradient(90deg, var(--klee), var(--grashalm), var(--sonne));
  bottom: -1px;
}

.hdr-badge {
  background: rgba(138,189,36,0.15);
}

.hdr-over {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grashalm);
  margin-bottom: 0.4rem;
}

h1 {
  font-family: 'Nunito Sans', 'PT Sans', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 0.01em;
}

h1 em { font-style: normal; color: var(--sonne); }

.subtitle {
  color: rgba(245,241,233,0.8);
  max-width: 480px;
  margin: 0 auto 0.8rem;
}

/* === CITIZEN CARD === */
.citizen {
  max-width: 600px;
  margin: -1.2rem auto 0;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.citizen-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--klee);
  position: relative;
}

.cit-flex  { display: flex; align-items: flex-start; gap: 1rem; }
.cit-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--klee), var(--tanne));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--sand);
}
.cit-text h3 {
  font-family: 'Nunito Sans', 'PT Sans', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}
.cit-text h3 span { color: var(--klee); }
.cit-text p { font-size: 0.82rem; line-height: 1.55; color: var(--text-muted); }
.cit-roles { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.5rem; }
.cit-role {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem 0.55rem;
  border-radius: 16px;
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--sand);
  border: 1px solid var(--sand-dark);
  color: var(--text-muted);
}

/* === INTRO === */
.intro {
  max-width: 600px;
  padding: 1.25rem 1.25rem 0.5rem;
  text-align: left;
}

.intro p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === JOURNEY === */
.journey {
  max-width: 600px;
  margin: 0 auto;
  padding: 0.5rem 1rem 1.5rem;
  position: relative;
}

.j-line {
  position: absolute;
  left: 24px; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--sand), var(--grashalm) 5%, var(--grashalm) 95%, var(--sand));
  z-index: 0;
  border-radius: 2px;
}

/* Station (als <a>-Element) */
a.station,
.station {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 1rem;
  cursor: pointer;
  flex-direction: row !important;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  color: inherit;
}
.s-spacer { display: none; }

.s-marker {
  flex-shrink: 0;
  width: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 1rem;
  position: relative;
  z-index: 2;
}

.s-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito Sans', 'PT Sans', sans-serif;
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.2s;
}
.station:active .s-num { transform: scale(1.1); }

.s-card {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.s-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.station:active .s-card {
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

.s-meta  { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.35rem; }
.s-ico   { font-size: 1rem; }
.s-label {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  color: var(--white);
}
.s-title {
  font-family: 'Nunito Sans', 'PT Sans', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.25;
  margin-bottom: 0.1rem;
}
.s-kernfrage {
  font-style: italic;
  font-size: 0.78rem;
  color: var(--klee);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
}
.s-kernfrage::before { content: '❓'; font-style: normal; flex-shrink: 0; font-size: 0.72rem; }

.s-points    { list-style: none; margin: 0; padding: 0; }
.s-points li {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
  padding: 0.15rem 0 0.15rem 1rem;
  position: relative;
}
.s-points li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55rem;
  width: 5px; height: 5px;
  border-radius: 50%;
  opacity: 0.6;
}

.s-open {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  color: var(--white);
  transition: all 0.2s;
}

/* Station-Farben */
.st1 .s-num { background: var(--tanne); }
.st1 .s-card::before { background: var(--tanne); }
.st1 .s-points li::before { background: var(--tanne); }
.st1 .s-open { background: var(--tanne); }

.st2 .s-num { background: var(--himmel); }
.st2 .s-card::before { background: var(--himmel); }
.st2 .s-points li::before { background: var(--himmel); }
.st2 .s-open { background: var(--himmel); }

.st3 .s-num { background: #C0392B; }
.st3 .s-card::before { background: #C0392B; }
.st3 .s-points li::before { background: #C0392B; }
.st3 .s-open { background: #C0392B; }

.st4 .s-num { background: #7B68AE; }
.st4 .s-card::before { background: #7B68AE; }
.st4 .s-points li::before { background: #7B68AE; }
.st4 .s-open { background: #7B68AE; }

.st5 .s-num { background: var(--klee); }
.st5 .s-card::before { background: var(--klee); }
.st5 .s-points li::before { background: var(--klee); }
.st5 .s-open { background: var(--klee); }

.st6 .s-num { background: var(--grashalm); color: var(--tanne-dark); }
.st6 .s-card::before { background: var(--grashalm); }
.st6 .s-points li::before { background: var(--grashalm); }
.st6 .s-open { background: var(--grashalm); color: var(--tanne-dark); }

/* === DIDACTIC === */
.did { max-width: 600px; margin: 0 auto 1rem; padding: 0 1rem; }
.did-card {
  background: var(--tanne);
  color: var(--sand);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}
.did-card::before {
  content: '🧭';
  position: absolute;
  right: 0.5rem; top: 0.3rem;
  font-size: 3.5rem;
  opacity: 0.08;
}
.did-card h3 {
  font-family: 'Nunito Sans', 'PT Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--grashalm);
  margin-bottom: 0.5rem;
}
.did-card p { font-size: 0.82rem; line-height: 1.6; opacity: 0.9; }
.did-steps { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.7rem; align-items: center; }
.did-step {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem 0.55rem;
  border-radius: 14px;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(138,189,36,0.12);
  border: 1px solid rgba(138,189,36,0.3);
  color: var(--grashalm);
}
.did-arr { color: rgba(138,189,36,0.5); font-size: 0.75rem; }


/* === RESPONSIVE === */
@media (min-width: 640px) {
  header { padding: 3rem 2rem 3.5rem; }
  .hdr-badge { width: 68px; height: 68px; font-size: 2rem; }
  h1 { font-size: 2.2rem; }
  .subtitle { font-size: 1rem; }

  .citizen { padding: 0 1.5rem; }
  .citizen-card { padding: 1.5rem 2rem; }
  .cit-text h3 { font-size: 1.15rem; }
  .cit-text p { font-size: 0.9rem; }

  .intro { padding: 1.5rem 1.5rem 0.8rem; }
  .intro p { font-size: 0.95rem; }

  .journey { padding: 1rem 1.5rem 2rem; }
  .j-line { left: 50%; transform: translateX(-50%); }
  .station:nth-child(odd) { flex-direction: row !important; }
  .station:nth-child(even) { flex-direction: row-reverse !important; }
  .s-spacer { display: block; flex: 1; max-width: 260px; }
  .s-marker { width: 56px; padding-top: 1.2rem; }
  .s-num { width: 42px; height: 42px; font-size: 0.95rem; }
  .s-card { max-width: 300px; padding: 1.2rem 1.4rem; }
  .s-title { font-size: 1rem; }
  .s-points li { font-size: 0.85rem; }
  .station:hover .s-card { border-color: var(--klee); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
  .station:hover .s-num { transform: scale(1.12); }
}

@media (min-width: 900px) {
  h1 { font-size: 2.6rem; }
  .journey { max-width: 860px; }
  .s-card { max-width: 360px; padding: 1.4rem 1.6rem; }
  .s-spacer { max-width: 360px; }
  .did { max-width: 700px; }
  .did-card { padding: 1.5rem 2rem; }
}

@media (hover: none) {
  .station { transition: transform 0.15s; }
  .station:active { transform: scale(0.985); }
}