/* ═══════════════════════════════════════════
   LORDS AND FOUND — Shared Styles
   ═══════════════════════════════════════════ */

:root {
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --dark: #0e0e0e;
  --dark-2: #161616;
  --dark-3: #1f1f1f;
  --text: #d4cfc7;
  --text-muted: #8a8070;
  --brown: #3d2b1a;
  --brown-light: #5a3d22;
  --brown-dark: #2a1c10;
  --red: #c0392b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Georgia', serif;
  font-size: 17px;
  line-height: 1.8;
}

body.locked { overflow: hidden; }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.97);
  border-bottom: 1px solid #2a2520;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 60px;
}

.nav-logo {
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: italic;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links li a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links li a:hover { color: var(--gold); }

.nav-links li a.active { color: var(--gold); }

.nav-user-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Arial', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.nav-user-btn:hover {
  background: var(--gold);
  color: var(--dark);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: 0.3s;
}

/* ─── HERO ─── */
header.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at center, #1a1510 0%, #0a0a0a 70%);
  border-bottom: 1px solid #2a2520;
  padding: 20px;
}

.hero-ornament {
  color: var(--gold);
  font-size: 2rem;
  letter-spacing: 0.5em;
  margin-bottom: 30px;
  opacity: 0.6;
}

header.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: normal;
  margin-bottom: 15px;
}

header.hero p {
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: 'Arial', sans-serif;
}

.hero-divider {
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin: 30px auto;
  opacity: 0.5;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: 'Arial', sans-serif;
}

/* ─── PAGE HEADER (non-hero) ─── */
.page-header {
  padding: 120px 40px 60px;
  text-align: center;
  background: radial-gradient(ellipse at center, #1a1510 0%, #0a0a0a 70%);
  border-bottom: 1px solid #2a2520;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: normal;
  margin-bottom: 10px;
}

.page-header .subtitle {
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── SECTIONS ─── */
section {
  padding: 100px 40px;
  max-width: 820px;
  margin: 0 auto;
}

section + section { border-top: 1px solid #1e1c18; }

.section-label {
  font-family: 'Arial', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 15px;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--gold-light);
  font-weight: normal;
  letter-spacing: 0.05em;
  margin-bottom: 50px;
}

.divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 0 50px 0;
  opacity: 0.4;
}

p { margin-bottom: 1.4em; color: var(--text); }
strong { color: var(--gold-light); font-weight: bold; }
em { color: var(--text-muted); font-style: italic; }

ul { list-style: none; margin: 0.8em 0 1.4em 0; }
ul li { padding: 4px 0 4px 20px; position: relative; color: var(--text); }
ul li::before { content: '—'; position: absolute; left: 0; color: var(--gold); opacity: 0.5; }

ol { padding-left: 25px; margin: 0.8em 0 1.4em 0; }
ol li { padding: 4px 0; color: var(--text); }

/* ─── PARAGRAPHS / ARTICLES ─── */
.para { margin-bottom: 50px; }
.para h3 {
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  font-weight: normal;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #2a2520;
}

/* ─── INFO BLOCK ─── */
.info-block {
  background: var(--dark-3);
  border: 1px solid #2a2520;
  border-left: 3px solid var(--gold);
  padding: 24px 28px;
  margin: 30px 0;
}
.info-block p { margin-bottom: 0.5em; }
.info-block p:last-child { margin-bottom: 0; }

/* ─── FOOTER ─── */
footer {
  text-align: center;
  padding: 60px 20px;
  border-top: 1px solid #1e1c18;
  color: var(--text-muted);
  font-family: 'Arial', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

footer .gold { color: var(--gold); opacity: 0.7; }

/* ═══════════════════════════════════════════
   DAGSORDEN — Schedule
   ═══════════════════════════════════════════ */

.dag-section {
  padding: 80px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.dag-section + .dag-section { border-top: 1px solid #1e1c18; }

.dag-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.dag-title .icon {
  font-size: 2rem;
  color: var(--gold);
}

.dag-title h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: normal;
  margin-bottom: 0;
}

.dag-subtitle {
  font-style: italic;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 40px;
  margin-top: 10px;
}

.dag-divider {
  width: 100%;
  height: 2px;
  background: var(--gold);
  margin-bottom: 30px;
}

/* Timeline grid */
.timeline {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 16px 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--dark-3);
  transform: translateX(-50%);
}

.tl-left, .tl-right {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--gold);
  background: var(--brown-dark);
  min-height: 56px;
}

.tl-left { justify-self: end; width: 100%; }
.tl-right { justify-self: start; width: 100%; }

.tl-time {
  background: var(--brown);
  color: var(--gold);
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  padding: 14px 16px;
  min-width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.tl-text {
  padding: 14px 20px;
  color: var(--text);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.tl-center {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  font-size: 1.4rem;
}

.tl-empty { visibility: hidden; }

/* Single-column timeline */
.timeline-single {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  padding-left: 20px;
  border-left: 2px solid var(--dark-3);
}

.tl-item {
  display: flex;
  align-items: center;
  border: 1px solid var(--gold);
  background: var(--brown-dark);
  min-height: 52px;
  position: relative;
}

.tl-item .tl-time {
  background: var(--brown);
  color: var(--gold);
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  padding: 14px 16px;
  min-width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.tl-item .tl-dot {
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.tl-item .tl-text {
  padding: 14px 20px;
  color: var(--text);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

/* Wine cards */
.wine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.wine-card {
  border: 1px solid var(--gold);
  background: var(--dark-2);
  padding: 30px 20px;
  text-align: center;
}

.wine-card .card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--brown);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.wine-card h3 {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.wine-card .bottles {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.wine-card .when {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.85rem;
}

/* Nationalsang */
.sang-box {
  border: 1px solid var(--gold);
  background: var(--dark-2);
  padding: 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.sang-box .description {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 30px;
}

.sang-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--gold);
  justify-content: center;
}

.sang-row .result-icon { font-size: 1.6rem; }
.sang-row .label { color: var(--text); font-size: 1.1rem; font-weight: bold; }
.sang-row .arrow { color: var(--text-muted); font-size: 1.2rem; }
.sang-row .result { font-size: 1.4rem; font-weight: bold; letter-spacing: 0.1em; text-transform: uppercase; }
.sang-row .result.win { color: var(--gold); }
.sang-row .result.lose { color: var(--red); }

.sang-names {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.sang-names .name {
  background: var(--brown);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 10px 24px;
  font-weight: bold;
  font-size: 0.95rem;
}

/* Middagsopgaver */
.rolle-list { display: flex; flex-direction: column; gap: 16px; }

.rolle-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--dark-2);
  border: 1px solid var(--gold);
  border-left: 3px solid var(--gold);
  padding: 24px;
}

.rolle-card:nth-child(odd) { background: var(--brown-dark); }

.rolle-card .rolle-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.rolle-card h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 6px;
  font-weight: bold;
}

.rolle-card p {
  color: var(--text);
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Logesange */
.sang-liste { display: flex; flex-direction: column; gap: 12px; }

.sang-item {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--gold);
  border-left: 3px solid var(--gold);
  background: var(--brown);
  min-height: 56px;
}

.sang-item .num {
  background: var(--gold);
  color: var(--dark);
  font-weight: bold;
  font-size: 1.2rem;
  min-width: 50px;
  padding: 14px 0;
  text-align: center;
}

.sang-item .title {
  color: var(--gold-light);
  font-size: 1rem;
  font-weight: bold;
  padding: 10px;
}

/* Din opgave (personlig) */
.opgave-box {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  background: var(--dark-2);
  border: 1px solid var(--gold);
  overflow: hidden;
}

.opgave-person {
  background: linear-gradient(135deg, var(--brown-dark), var(--brown));
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid var(--gold);
}

.opgave-person .person-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--dark-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.opgave-person .person-card {
  border: 1px solid var(--gold);
  background: var(--dark);
  padding: 16px 30px;
  margin-bottom: 20px;
}

.opgave-person .person-name {
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: normal;
}

.opgave-person .person-title {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  font-style: italic;
  margin-top: 4px;
}

.opgave-person .person-quote {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.85rem;
}

.opgave-content {
  padding: 40px;
}

.opgave-content .opgave-label {
  font-family: 'Arial', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.opgave-content .opgave-line {
  width: 100%;
  height: 1px;
  background: var(--gold);
  margin-bottom: 30px;
}

.opgave-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
}

/* ═══════════════════════════════════════════
   LOGIN
   ═══════════════════════════════════════════ */

.login-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: radial-gradient(ellipse at center, #1a1510 0%, #0a0a0a 70%);
}

.login-box {
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.login-ornament {
  color: var(--gold);
  font-size: 1.6rem;
  letter-spacing: 0.6em;
  opacity: 0.5;
  margin-bottom: 30px;
}

.login-title {
  font-size: 1.8rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: normal;
  margin-bottom: 8px;
}

.login-sub {
  font-family: 'Arial', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.login-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
  margin: 0 auto 40px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-input {
  width: 100%;
  background: var(--dark-3);
  border: 1px solid #2a2520;
  border-bottom: 2px solid var(--gold);
  color: var(--text);
  font-family: 'Georgia', serif;
  font-size: 1rem;
  padding: 14px 18px;
  text-align: center;
  outline: none;
  letter-spacing: 0.05em;
  transition: border-color 0.2s;
}

.login-input:focus { border-bottom-color: var(--gold-light); }

.login-input.wrong {
  border-bottom-color: #8b2020;
  animation: shake 0.35s ease;
}

.login-btn {
  width: 100%;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Arial', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 14px 24px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-top: 8px;
}

.login-btn:hover {
  background: var(--gold);
  color: var(--dark);
}

.login-error {
  font-family: 'Arial', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: #8b2020;
  text-transform: uppercase;
  min-height: 18px;
}

.login-logged-in {
  color: var(--text-muted);
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  margin-top: 20px;
}

.login-logged-in a {
  color: var(--gold);
  text-decoration: none;
}

.login-logged-in a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════
   GATE & COUNTDOWN
   ═══════════════════════════════════════════ */

#gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}
#gate.hidden { display: none; }

#countdown-screen {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}
#countdown-screen.hidden { display: none; }

.cd-ornament, .gate-ornament {
  color: var(--gold);
  font-size: 1.6rem;
  letter-spacing: 0.6em;
  opacity: 0.5;
  margin-bottom: 40px;
}

.cd-title, .gate-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: normal;
  margin-bottom: 10px;
}

.cd-sub, .gate-sub {
  font-family: 'Arial', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 60px;
}

.cd-divider, .gate-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
  margin: 0 auto 50px;
}

.cd-label {
  font-family: 'Arial', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.cd-blocks {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: center;
}

.cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cd-num {
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--gold);
  font-family: 'Georgia', serif;
  line-height: 1;
  min-width: 80px;
  text-align: center;
}

.cd-unit {
  font-family: 'Arial', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cd-sep {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-top: 4px;
}

.cd-date {
  margin-top: 50px;
  font-family: 'Arial', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.gate-riddle {
  max-width: 520px;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 40px;
  font-style: italic;
}

.gate-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 340px;
}

.gate-input {
  width: 100%;
  background: var(--dark-3);
  border: 1px solid #2a2520;
  border-bottom: 2px solid var(--gold);
  color: var(--text);
  font-family: 'Georgia', serif;
  font-size: 1rem;
  padding: 14px 18px;
  text-align: center;
  outline: none;
  letter-spacing: 0.05em;
  transition: border-color 0.2s;
}

.gate-input:focus { border-bottom-color: var(--gold-light); }

.gate-input.wrong {
  border-bottom-color: #8b2020;
  animation: shake 0.35s ease;
}

.gate-btn {
  width: 100%;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Arial', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 14px 24px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.gate-btn:hover {
  background: var(--gold);
  color: var(--dark);
}

.gate-error {
  font-family: 'Arial', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: #8b2020;
  text-transform: uppercase;
  min-height: 18px;
}

/* Fade in */
#main-content { opacity: 0; transition: opacity 0.6s ease; }
#main-content.visible { opacity: 1; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 900px) {
  .wine-grid { grid-template-columns: repeat(2, 1fr); }
  .opgave-box { grid-template-columns: 1fr; }
  .opgave-person { border-right: none; border-bottom: 1px solid var(--gold); padding: 30px; }
  .timeline { grid-template-columns: 1fr; gap: 12px; }
  .timeline::before { display: none; }
  .tl-center { display: none; }
  .tl-left, .tl-right { justify-self: stretch; }
  .tl-empty { display: none; }
}

@media (max-width: 680px) {
  nav { padding: 0 20px; }
  .nav-links { gap: 15px; }
  .nav-links li a { font-size: 0.65rem; }
  section { padding: 70px 24px; }
  .dag-section { padding: 60px 24px; }
  .sang-box { padding: 24px; }
}

@media (max-width: 600px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid #2a2520;
  }
  .nav-links.open { display: flex; }

  .wine-grid { grid-template-columns: 1fr 1fr; }
  .sang-names .name { padding: 8px 16px; font-size: 0.85rem; }
  .sang-row { flex-wrap: wrap; gap: 12px; }

  .cd-blocks { gap: 10px; flex-wrap: nowrap; }
  .cd-num { font-size: 2.2rem; min-width: 54px; }
  .cd-unit { font-size: 0.55rem; letter-spacing: 0.15em; }
  .cd-sep { font-size: 1.8rem; margin-top: 2px; }
  .cd-ornament, .gate-ornament { font-size: 1.1rem; letter-spacing: 0.4em; margin-bottom: 24px; }
  .cd-title, .gate-title { font-size: 1.8rem; letter-spacing: 0.08em; margin-bottom: 8px; }
  .cd-sub, .gate-sub { font-size: 0.65rem; letter-spacing: 0.2em; margin-bottom: 32px; }
  .gate-riddle { font-size: 1rem; margin-bottom: 28px; line-height: 1.8; }
  .gate-form { max-width: 100%; }
  .gate-input { font-size: 0.95rem; padding: 13px 14px; }
  .gate-btn { font-size: 0.7rem; padding: 13px 20px; }

  /* Timeline mobil */
  .timeline-single { padding-left: 12px; gap: 8px; }
  .tl-item { flex-wrap: wrap; }
  .tl-item .tl-time { min-width: 60px; padding: 10px 10px; font-size: 0.8rem; }
  .tl-item .tl-dot { width: 28px; font-size: 1rem; }
  .tl-item .tl-text { padding: 10px 12px; font-size: 0.85rem; }

  /* Rolle-cards mobil */
  .rolle-card { flex-direction: column; text-align: center; gap: 8px; }
  .rolle-icon { margin: 0 auto; }

  /* Opgave-box mobil */
  .opgave-content { padding: 24px 16px; }
  .opgave-content p { font-size: 0.9rem; }

  /* Front links mobil */
  .front-links { gap: 10px; }
  .front-link { padding: 12px 24px; font-size: 0.8rem; }
}

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

  .timeline-single { padding-left: 8px; gap: 6px; }
  .tl-item .tl-time { min-width: 52px; padding: 8px 8px; font-size: 0.75rem; }
  .tl-item .tl-dot { width: 24px; font-size: 0.9rem; }
  .tl-item .tl-text { padding: 8px 10px; font-size: 0.8rem; }

  .page-header h1 { font-size: 1.4rem; }
  .dag-title h2 { font-size: 1.1rem; }
  .dag-section { padding: 50px 16px; }
  section { padding: 50px 16px; }

  .sang-box { padding: 16px; }
  .sang-row .label { font-size: 0.8rem; }
  .sang-row .result { font-size: 0.8rem; padding: 4px 10px; }
}
