/* ==========================================================================
   HELMHOLTZ-MUSICAL — SUBPAGE DESIGN SYSTEM
   Loaded after refresh.css. Applies to every page that uses .page-section,
   i.e. all subpages. The homepage keeps its own home-* components.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page shell & masthead
   -------------------------------------------------------------------------- */

.page-section {
  position: relative;
  padding: clamp(40px, 5.5vw, 76px) 0 clamp(56px, 7vw, 96px);
  background-image: radial-gradient(ellipse at 88% 0%, rgba(191, 46, 88, 0.06), transparent 52%);
  background-repeat: no-repeat;
}

main > .page-section:last-child {
  padding-bottom: clamp(64px, 8vw, 108px);
}

.page-head {
  position: relative;
  max-width: 880px;
  margin: 0 auto clamp(36px, 5vw, 60px);
  padding: 8px 0 clamp(26px, 4vw, 38px);
  text-align: center;
}

.page-head::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(180px, 42%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--refresh-gold-500), transparent);
}

.page-head::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 7px;
  height: 7px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--refresh-ivory);
  border: 1px solid var(--refresh-gold-500);
}

.page-head .kicker { margin-bottom: 16px; }

.page-head .page-title {
  margin: 0;
  font-size: clamp(2.5rem, 1.4rem + 3.8vw, 4.15rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.042em;
}

.page-head .lede {
  max-width: 660px;
  margin: 18px auto 0;
  font-size: clamp(1rem, 0.96rem + 0.3vw, 1.12rem);
  line-height: 1.8;
  color: var(--refresh-body);
  text-align: center;
}

.page-head .lede + .lede { margin-top: 10px; }
.page-head .btn-row { justify-content: center; margin-top: 24px; }

/* --------------------------------------------------------------------------
   Cards & reading typography
   -------------------------------------------------------------------------- */

.page-section .card {
  position: relative;
  padding: clamp(24px, 3.2vw, 36px);
  border-radius: 18px;
}

.page-section .card > :first-child { margin-top: 0; }
.page-section .card > :last-child { margin-bottom: 0; }
.page-section .card p { line-height: 1.75; }

.page-section .card h2.section-title {
  margin-bottom: 0.7em;
  font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.9rem);
  letter-spacing: -0.025em;
}

.page-section .card h3 { letter-spacing: -0.015em; }
.page-section .center .btn-row { justify-content: center; }

.page-section .prose {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.03rem;
  line-height: 1.85;
  color: var(--refresh-body);
}

.page-section .prose h2 {
  margin: 1.9em 0 0.55em;
  font-size: clamp(1.2rem, 1.1rem + 0.35vw, 1.4rem);
  letter-spacing: -0.02em;
}

.page-section .prose h2:first-child { margin-top: 0; }

.page-section .prose p + h2 {
  padding-top: 1.35em;
  border-top: 1px solid rgba(183, 140, 71, 0.22);
}

.page-section .prose ul,
.page-section .prose ol { padding-left: 1.2em; }
.page-section .prose li { margin-bottom: 0.45em; }

.page-section .prose a {
  color: var(--refresh-rose-700);
  text-underline-offset: 3px;
  text-decoration-color: rgba(191, 46, 88, 0.35);
}

.page-section .prose a:hover {
  color: var(--refresh-rose-600);
  text-decoration-color: var(--refresh-rose-600);
}

.page-section .prose strong { color: var(--refresh-ink); }

/* Hinweisboxen */
.page-section .notice {
  padding: clamp(18px, 2.6vw, 24px) clamp(20px, 3vw, 28px);
  margin-bottom: clamp(22px, 3vw, 32px);
  border-radius: 14px;
  border: 1px solid rgba(183, 140, 71, 0.42);
  background: rgba(246, 237, 218, 0.62);
  box-shadow: none;
}

.page-section .notice p:last-child { margin-bottom: 0; }
.page-section .notice strong { color: var(--refresh-ink); }

.page-section .badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.page-section .badge-pink {
  background: var(--refresh-rose-100);
  border: 1px solid rgba(191, 46, 88, 0.3);
  color: var(--refresh-rose-700);
}

.page-section .badge-green {
  background: #e8f3ea;
  border: 1px solid #b9d8c0;
  color: #1e6b38;
}

.page-section .badge-muted {
  background: rgba(127, 98, 109, 0.12);
  border: 1px solid rgba(127, 98, 109, 0.3);
  color: var(--refresh-muted);
}

/* --------------------------------------------------------------------------
   Tickets & Vorstellungen
   -------------------------------------------------------------------------- */

.page-section .perf-grid {
  gap: clamp(16px, 2.4vw, 26px);
  margin-top: clamp(6px, 1vw, 10px);
}

.page-section .perf-card {
  min-height: 250px;
  justify-content: flex-start;
  padding-top: clamp(28px, 3.6vw, 38px);
  background: rgba(255, 253, 249, 0.92);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.page-section .perf-card:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 140, 71, 0.58);
  box-shadow: var(--refresh-shadow-lg);
}

.page-section .perf-card::before {
  height: 3px;
  background: linear-gradient(90deg, var(--refresh-rose-600), var(--refresh-gold-400));
}

.page-section .perf-card.is-premiere::before {
  height: 4px;
  background: linear-gradient(90deg, var(--refresh-gold-400), var(--refresh-rose-600), var(--refresh-gold-400));
}

.page-section .perf-date {
  margin: 0 0 2px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-section .perf-time {
  display: inline-block;
  margin: 4px 0 2px;
  padding: 4px 12px;
  border: 1px solid rgba(183, 140, 71, 0.38);
  border-radius: 999px;
  background: rgba(248, 231, 236, 0.75);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--refresh-rose-700);
}

.page-section .perf-kind {
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--refresh-muted);
}

.page-section .perf-card .ticket-button-link {
  width: 100%;
  margin-top: auto;
}

.page-section .perf-card .btn {
  margin-top: 16px;
  padding: 12px 22px;
  font-size: 0.64rem;
}

.page-section .perf-card.is-past {
  opacity: 0.62;
  filter: grayscale(0.25);
}

.page-section .perf-card .status-badge { margin-top: 10px; }

/* Ticket-Countdown in der Hinweisbox */
.page-section .notice #countdown-timer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 6px;
  font-weight: 600;
}

.page-section .notice #countdown-timer > span {
  min-width: 0;
  padding: 0 3px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--refresh-rose-700);
}

.page-section .notice #countdown-date {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--refresh-muted);
}

/* --------------------------------------------------------------------------
   Charaktere & Kreativteam
   -------------------------------------------------------------------------- */

.page-section .team-grid,
.page-section .char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: clamp(18px, 2.6vw, 28px);
}

.page-section .team-card,
.page-section .char-card {
  overflow: hidden;
  padding: 0;
  text-align: center;
  background: rgba(255, 253, 249, 0.9);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.page-section .team-card:hover,
.page-section .char-card:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 140, 71, 0.58);
  box-shadow: var(--refresh-shadow-lg);
}

.page-section .team-card .team-img,
.page-section .char-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--refresh-rose-100);
}

.page-section .team-card img,
.page-section .char-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 0.84, 0.3, 1);
}

.page-section .team-card:hover img,
.page-section .char-card:hover .char-img img { transform: scale(1.045); }

.page-section .team-card .team-body,
.page-section .char-body { padding: 22px 22px 26px; }

.page-section .team-card h2,
.page-section .char-body h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-section .team-card .role {
  display: block;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--refresh-gold-700);
}

.page-section .char-body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--refresh-body);
}

.page-section > .wrap > .section-title.center {
  margin: clamp(30px, 4vw, 46px) auto 20px;
}

.page-section > .wrap > .section-title.center::after {
  content: "";
  display: block;
  width: 52px;
  height: 1px;
  margin: 12px auto 0;
  background: var(--refresh-gold-500);
}

/* --------------------------------------------------------------------------
   Sponsoren, Social Media & Kontakt
   -------------------------------------------------------------------------- */

.page-section .sp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(18px, 2.6vw, 28px);
}

.page-section .sp-card {
  padding: clamp(20px, 2.6vw, 26px);
  text-align: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.page-section .sp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 140, 71, 0.58);
  box-shadow: var(--refresh-shadow-lg);
}

.page-section .sp-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.page-section .sp-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid rgba(183, 140, 71, 0.28);
  border-radius: 12px;
  background: var(--refresh-paper);
}

.page-section .sp-logo img {
  max-height: 82px;
  width: auto;
  filter: saturate(0.9);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.page-section .sp-card:hover .sp-logo img {
  transform: scale(1.04);
  filter: none;
}

.page-section .sp-card h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.page-section .sp-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--refresh-muted);
}

.page-section .thank-you {
  margin-top: clamp(36px, 5vw, 56px);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.35rem);
  font-style: italic;
  color: var(--refresh-rose-700);
  text-align: center;
}

.page-section .social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(18px, 2.6vw, 28px);
}

.page-section .social-card {
  padding: clamp(26px, 3.4vw, 34px);
  gap: 14px;
  text-align: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.page-section .social-card:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 140, 71, 0.58);
  box-shadow: var(--refresh-shadow-lg);
}

.page-section .social-card .social-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(183, 140, 71, 0.34);
  border-radius: 50%;
  background: var(--refresh-rose-100);
  color: var(--refresh-rose-700);
  font-size: 1.7rem;
  transition: background 0.25s ease, color 0.25s ease;
}

.page-section .social-card:hover .social-icon {
  background: var(--refresh-rose-600);
  color: #fffaf3;
}

.page-section .social-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.page-section .social-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--refresh-muted);
}

.page-section .social-card .btn {
  margin-top: auto;
  padding: 10px 20px;
  font-size: 0.6rem;
}

.page-section .contact-big {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 0.95rem + 1.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.3;
}

.page-section .contact-big a {
  text-decoration: none;
  border-bottom: 1px solid rgba(183, 140, 71, 0.7);
  padding-bottom: 2px;
}

.page-section .contact-big a:hover {
  color: var(--refresh-rose-600);
  border-color: var(--refresh-rose-600);
}

.page-section .contact-big i {
  margin-right: 8px;
  font-size: 0.85em;
  color: var(--refresh-gold-600);
}

/* --------------------------------------------------------------------------
   Quiz
   -------------------------------------------------------------------------- */

.page-section .quiz { max-width: 780px; }

.page-section .quiz .q-block {
  padding: clamp(24px, 3vw, 34px);
  margin-bottom: clamp(16px, 2vw, 22px);
}

.page-section .q-block > p:first-child {
  margin-top: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--refresh-ink);
}

.page-section .q-block p:last-child { margin-bottom: 0; }

.page-section .q-opts {
  gap: 9px;
  margin-top: 16px;
}

.page-section .q-opts label {
  padding: 13px 16px;
  border: 1px solid rgba(183, 140, 71, 0.3);
  border-radius: 11px;
  background: rgba(255, 253, 249, 0.78);
  font-size: 0.93rem;
  line-height: 1.6;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.page-section .q-opts label:hover {
  border-color: var(--refresh-rose-500);
  background: var(--refresh-paper);
  transform: translateX(3px);
}

.page-section .q-opts label:has(input:checked) {
  border-color: var(--refresh-rose-600);
  background: var(--refresh-rose-100);
  box-shadow: inset 3px 0 0 var(--refresh-rose-600);
}

.page-section .q-opts input[type="radio"] { accent-color: var(--refresh-rose-600); }

.page-section .quiz-result {
  margin-top: clamp(24px, 3vw, 32px);
  border-color: rgba(191, 46, 88, 0.4);
  background:
    radial-gradient(circle at 82% 0%, rgba(239, 208, 217, 0.55), transparent 55%),
    rgba(255, 253, 249, 0.94);
  text-align: center;
}

.page-section .quiz-result h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.05rem);
  color: var(--refresh-rose-700);
}

.page-section .quiz-result p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 0.98rem;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Countdown
   -------------------------------------------------------------------------- */

#countdown-page .page-head { margin-bottom: clamp(30px, 4vw, 46px); }

.page-section .countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.8vw, 18px);
  max-width: 780px;
  margin: 0 auto;
}

.page-section .cd-cell {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 32px) 10px;
  border: 1px solid rgba(183, 140, 71, 0.42);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.92);
  box-shadow: var(--refresh-shadow);
  text-align: center;
}

.page-section .cd-cell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--refresh-rose-500), transparent);
}

.page-section .cd-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--refresh-ink);
  font-variant-numeric: tabular-nums;
}

.page-section .cd-label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--refresh-muted);
}

/* --------------------------------------------------------------------------
   Formulare (Feedback, Profilbild, Login)
   -------------------------------------------------------------------------- */

.page-section .form { max-width: 780px; }

.page-section .feedback-section {
  padding: clamp(24px, 3.4vw, 36px);
  margin-bottom: clamp(16px, 2vw, 22px);
}

.page-section .feedback-section h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.55rem);
  letter-spacing: -0.02em;
}

.page-section .field { margin-bottom: 20px; }

.page-section .field label {
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--refresh-muted);
}

.page-section .field .hint {
  display: block;
  margin: 0 0 10px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--refresh-muted);
}

.page-section input[type="text"],
.page-section input[type="email"],
.page-section input[type="password"],
.page-section input[type="number"],
.page-section input[type="date"],
.page-section select,
.page-section textarea {
  padding: 13px 15px;
  border: 1px solid rgba(183, 140, 71, 0.36);
  border-radius: 10px;
  background: rgba(255, 253, 249, 0.92);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--refresh-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-section input:focus,
.page-section select:focus,
.page-section textarea:focus {
  border-color: var(--refresh-rose-600);
  box-shadow: 0 0 0 3px rgba(191, 46, 88, 0.13);
  outline: none;
}

.page-section textarea { min-height: 130px; resize: vertical; }

.page-section .stars {
  gap: 8px;
  justify-content: flex-start;
}

.page-section .stars label {
  font-size: 1.9rem;
  line-height: 1;
  color: rgba(183, 140, 71, 0.35);
  transition: color 0.18s ease, transform 0.18s ease;
}

.page-section .stars label:hover,
.page-section .stars label:hover ~ label {
  color: var(--refresh-gold-500);
  transform: scale(1.08);
}

.page-section .stars input:checked ~ label { color: var(--refresh-gold-500); }

.page-section .submit-container { margin-top: clamp(20px, 3vw, 30px); }

.page-section .generator-container { padding: clamp(26px, 4vw, 40px); }

.pfp-layout .generator-container {
  width: 100%;
  max-width: none;
  margin: 0;
}

.page-section .editor-area {
  margin: 20px auto;
  border: 1px dashed rgba(183, 140, 71, 0.55);
  border-radius: 14px;
  background: var(--refresh-paper);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-section .editor-area #editorPlaceholder {
  color: var(--refresh-muted);
  font-family: var(--font-display);
  font-style: italic;
}

.page-section .controls.field {
  max-width: 420px;
  margin: 0 auto 20px;
  text-align: left;
}

.page-section .controls input[type="range"] { width: 100%; accent-color: var(--refresh-rose-600); }

/* --------------------------------------------------------------------------
   Galerie
   -------------------------------------------------------------------------- */

.page-section .gal-grid { gap: clamp(14px, 2vw, 20px); }

.page-section .gal-item {
  border: 1px solid rgba(183, 140, 71, 0.3);
  border-radius: 14px;
  background: var(--refresh-paper);
  box-shadow: 0 14px 34px rgba(57, 19, 34, 0.07);
}

.page-section .gallery-card {
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.page-section .gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 0.84, 0.3, 1);
}

.page-section .gallery-card:hover img { transform: scale(1.04); }

.page-section .gallery-card-overlay {
  padding: 40px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(44, 18, 32, 0.86));
}

.page-section .gallery-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.page-section .gallery-card-count {
  margin-top: 2px;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 250, 243, 0.7);
}

.page-section .gallery-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--refresh-line);
}

.page-section .gallery-detail-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.8rem);
}

.page-section .back-to-overview-btn {
  padding: 10px 20px;
  font-size: 0.6rem;
}

/* --------------------------------------------------------------------------
   Geschichte & Projekt
   -------------------------------------------------------------------------- */

.page-section .featured-show { margin-bottom: clamp(24px, 4vw, 36px); }
.page-section .featured-show h2 { margin-bottom: 10px; }

.page-section .timeline { max-width: 820px; }
.page-section .t-card { padding: clamp(20px, 2.8vw, 28px); }

.page-section .t-year {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--refresh-rose-700);
}

.page-section .t-card h3 { letter-spacing: -0.02em; }
.page-section .t-links .btn { padding: 9px 18px; font-size: 0.58rem; }

/* --------------------------------------------------------------------------
   Danke, Feedback & allgemeine Helfer
   -------------------------------------------------------------------------- */

.page-section .thank-you-card { padding: clamp(32px, 5vw, 56px); }

.page-section .thank-you-card .page-title {
  margin: 10px 0 14px;
  font-size: clamp(2.1rem, 1.6rem + 2vw, 3.1rem);
}

.page-section .icon-wrapper {
  color: var(--refresh-rose-600);
  font-size: 2.6rem;
}

.page-section .signature {
  margin-top: 16px;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--refresh-gold-700);
}

.page-section .next-steps-title { margin-top: 26px; font-size: 1.35rem; }
.page-section .divider { opacity: 0.7; }
.page-section .hint-text { font-size: 0.84rem; color: var(--refresh-muted); }
.page-section .hint { display: block; margin-bottom: 10px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 760px) {
  .page-section { padding: 34px 0 56px; }

  .page-head {
    margin-bottom: 30px;
    padding-bottom: 22px;
  }

  .page-head .page-title { font-size: clamp(2.05rem, 8vw, 2.8rem); }

  .page-head .lede {
    margin-top: 14px;
    font-size: 0.97rem;
  }

  .page-section .card { padding: clamp(22px, 4vw, 30px); }

  .page-section .team-card,
  .page-section .char-card { padding: 0; }

  .page-section .sp-card { padding: 20px; }
  .page-section .social-card { padding: 26px 22px; }

  .page-section .perf-card {
    padding-left: 24px;
    padding-right: 24px;
  }

  .page-section .perf-card .btn { width: 100%; }

  .page-section .countdown { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .page-section .gallery-detail-header h2 { font-size: 1.4rem; }

  .page-section .feedback-section { padding: 22px 20px; }
}

@media (max-width: 420px) {
  .page-section .countdown { gap: 8px; }
  .page-section .cd-cell { padding: 18px 6px; }
}

/* ==========================================================================
   SUBPAGE COMPONENTS — split heroes, fact strips, feature cards, steps, TOC
   ========================================================================== */

/* ---------- Split hero with side card ---------- */

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-bottom: clamp(40px, 5.5vw, 64px);
}

.subpage-hero-copy { min-width: 0; }
.subpage-hero-copy .kicker { margin-bottom: 16px; }

.subpage-hero-copy .page-title {
  margin: 0;
  font-size: clamp(2.5rem, 1.4rem + 3.8vw, 4.15rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.042em;
}

.subpage-hero-copy .lede {
  max-width: 560px;
  margin: 18px 0 0;
  text-align: left;
  color: var(--refresh-body);
}

.subpage-hero-copy .btn-row {
  justify-content: flex-start;
  margin-top: 26px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: clamp(26px, 3.5vw, 34px) 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--refresh-line);
}

.hero-facts li {
  padding: 0 clamp(14px, 2vw, 22px);
  border-left: 1px solid rgba(183, 140, 71, 0.26);
}

.hero-facts li:first-child { padding-left: 0; border-left: 0; }

.hero-facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--refresh-ink);
}

.hero-facts span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--refresh-muted);
}

/* ---------- Aside / programme card ---------- */

.aside-card {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--refresh-line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 0%, rgba(239, 208, 217, 0.6), transparent 55%),
    linear-gradient(160deg, rgba(255, 253, 249, 0.96), rgba(248, 231, 236, 0.9));
  box-shadow: var(--refresh-shadow);
}

.aside-card > * { position: relative; z-index: 1; }

.aside-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 0;
  border: 1px solid rgba(183, 140, 71, 0.26);
  border-radius: 12px;
  pointer-events: none;
}

.aside-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--refresh-gold-700);
}

.contact-mail {
  display: block;
  margin: 10px 0 4px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(183, 140, 71, 0.7);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 1vw, 1.55rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--refresh-rose-700);
  text-decoration: none;
  word-break: break-word;
}

.contact-mail:hover {
  color: var(--refresh-rose-600);
  border-color: var(--refresh-rose-600);
}

.fact-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 18px;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid var(--refresh-line);
}

.fact-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}

.fact-list span {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--refresh-muted);
}

.fact-list strong {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
  color: var(--refresh-ink);
}

.aside-card .btn { width: 100%; }

.muted-note {
  margin: 14px 0 18px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--refresh-muted);
}

/* ---------- Fact strip ---------- */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 clamp(38px, 5vw, 60px);
  padding: clamp(18px, 2.6vw, 26px) 0;
  list-style: none;
  border-top: 1px solid var(--refresh-line);
  border-bottom: 1px solid var(--refresh-line);
}

.stat-strip li {
  padding: 0 clamp(16px, 2.2vw, 24px);
  border-left: 1px solid rgba(183, 140, 71, 0.22);
}

.stat-strip li:first-child { padding-left: 0; border-left: 0; }

.stat-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--refresh-ink);
}

.stat-strip span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--refresh-muted);
}

/* ---------- Subsection heading ---------- */

.subsection { margin-top: clamp(44px, 6vw, 72px); }

.subsection-head {
  max-width: 760px;
  margin: 0 auto clamp(24px, 3.5vw, 36px);
  text-align: center;
}

.subsection-head.left {
  margin-left: 0;
  text-align: left;
}

.subsection-head h2 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.25rem + 2.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.subsection-head p {
  max-width: 560px;
  margin: 12px auto 0;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--refresh-muted);
}

.subsection-head.left p { margin-left: 0; }

/* ---------- Feature cards ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
}

.feature-card {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--refresh-line);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.86);
  box-shadow: 0 14px 40px rgba(57, 19, 34, 0.055);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(183, 140, 71, 0.56);
  box-shadow: var(--refresh-shadow);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border: 1px solid rgba(183, 140, 71, 0.34);
  border-radius: 50%;
  background: var(--refresh-rose-100);
  color: var(--refresh-rose-700);
  font-size: 0.95rem;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--refresh-body);
}

.feature-card .text-arrow {
  margin-top: 14px;
  font-size: 0.58rem;
}

/* ---------- Process steps ---------- */

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(14px, 2.2vw, 22px);
}

.step-card {
  position: relative;
  padding: clamp(22px, 2.8vw, 30px);
  border: 1px solid var(--refresh-line);
  border-top: 2px solid var(--refresh-gold-500);
  border-radius: 4px 4px 14px 14px;
  background: rgba(255, 253, 249, 0.78);
}

.step-num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--refresh-rose-600);
}

.step-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.12rem;
}

.step-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--refresh-body);
}

/* ---------- Quote panel ---------- */

.quote-panel {
  position: relative;
  overflow: hidden;
  margin: clamp(44px, 6vw, 72px) 0 0;
  padding: clamp(36px, 5vw, 56px);
  border: 1px solid rgba(221, 193, 139, 0.32);
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 8%, rgba(191, 46, 88, 0.26), transparent 44%),
    linear-gradient(125deg, var(--refresh-plum-950) 0%, var(--refresh-plum-800) 100%);
  text-align: center;
}

.quote-panel blockquote {
  max-width: 780px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem);
  font-style: italic;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: #fffaf3;
  text-wrap: balance;
}

.quote-panel cite {
  display: block;
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.24em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--refresh-gold-300);
}

/* ---------- Social feature ---------- */

.social-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(18px, 2.6vw, 26px);
  align-items: stretch;
}

.page-section .social-card--feature {
  align-items: flex-start;
  justify-content: flex-start;
  padding: clamp(30px, 4vw, 46px);
  text-align: left;
}

.page-section .social-card--feature .social-icon {
  width: 72px;
  height: 72px;
  font-size: 2rem;
}

.page-section .social-card--feature h3 {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem);
}

.page-section .social-card--feature p {
  max-width: 380px;
  font-size: 0.92rem;
}

.page-section .social-card--feature .btn { margin-top: 20px; }

.social-stack {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  align-content: stretch;
}

.social-stack .social-card { justify-content: center; }

/* ---------- Profilbild ---------- */

.pfp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr);
  gap: clamp(24px, 3.6vw, 44px);
  align-items: start;
}

.steps-list {
  display: grid;
  gap: 16px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.steps-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--refresh-body);
}

.steps-list strong { color: var(--refresh-ink); }

.step-index {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(183, 140, 71, 0.4);
  border-radius: 50%;
  background: var(--refresh-rose-100);
  color: var(--refresh-rose-700);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
}

/* ---------- Feedback layout ---------- */

.feedback-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: clamp(24px, 3.6vw, 44px);
  align-items: start;
}

.feedback-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 14px;
}

.feedback-aside .aside-card { padding: 24px; }

.feedback-aside h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.feedback-aside p {
  margin: 0 0 10px;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--refresh-body);
}

.feedback-aside p:last-child { margin-bottom: 0; }

.section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  border: 1px solid rgba(183, 140, 71, 0.4);
  border-radius: 50%;
  background: var(--refresh-rose-100);
  color: var(--refresh-rose-700);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  vertical-align: middle;
}

/* ---------- Table of contents / legal pages ---------- */

.toc-layout,
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
  gap: clamp(24px, 3.6vw, 48px);
  align-items: start;
}

.toc-layout--right { grid-template-columns: minmax(0, 1fr) minmax(220px, 250px); }
.toc-layout--right .toc-card { order: 2; }

.toc-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 24px;
  border: 1px solid var(--refresh-line);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.9);
  box-shadow: var(--refresh-shadow);
}

.toc-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--refresh-gold-700);
}

.toc-list {
  display: grid;
  gap: 2px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.toc-list a {
  display: block;
  padding: 7px 10px;
  border-left: 2px solid transparent;
  border-radius: 6px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--refresh-body);
  text-decoration: none;
}

.toc-list a:hover {
  background: var(--refresh-rose-100);
  border-left-color: var(--refresh-rose-600);
  color: var(--refresh-rose-700);
}

.toc-card .btn { width: 100%; margin-top: 18px; }

.legal-card { padding: clamp(26px, 4vw, 44px); }
.legal-card .prose { max-width: none; }
.legal-card .prose h2 { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ---------- Danke next steps ---------- */

.next-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.next-step-card {
  display: block;
  padding: 18px 16px;
  border: 1px solid var(--refresh-line);
  border-radius: 12px;
  background: rgba(255, 253, 249, 0.72);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--refresh-ink);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.next-step-card i {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: var(--refresh-rose-600);
}

.next-step-card:hover {
  border-color: var(--refresh-rose-500);
  background: var(--refresh-rose-100);
  color: var(--refresh-rose-700);
}

/* ---------- Responsive for new components ---------- */

@media (max-width: 900px) {
  .subpage-hero,
  .social-feature,
  .pfp-layout,
  .feedback-layout,
  .toc-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .toc-layout--right { grid-template-columns: 1fr; }
  .toc-layout--right .toc-card { order: 0; }

  .toc-card,
  .feedback-aside {
    position: static;
  }

  .social-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .subpage-hero { gap: 28px; margin-bottom: 34px; }
  .subpage-hero-copy .page-title { font-size: clamp(2.1rem, 8vw, 2.85rem); }
  .subpage-hero-copy .lede { margin-top: 14px; font-size: 0.97rem; }
  .subpage-hero-copy .btn-row { display: grid; grid-template-columns: 1fr; width: 100%; }
  .subpage-hero-copy .btn { width: 100%; }

  .hero-facts { display: grid; grid-template-columns: 1fr; gap: 0; }
  .hero-facts li { padding: 10px 0 0; border-left: 0; border-top: 1px solid rgba(183, 140, 71, 0.2); }
  .hero-facts li:first-child { padding-top: 0; border-top: 0; }

  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 0; }
  .stat-strip li:nth-child(3) { padding-left: 0; border-left: 0; }

  .social-stack { grid-template-columns: 1fr; }
  .next-steps-grid { grid-template-columns: 1fr; }

  .feature-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }

  .quote-panel { padding: 30px 22px; }
}
