/* ============== Base ============== */
:root {
  --color-bg: #fbf8f3;
  --color-text: #2a2a2a;
  --color-muted: #6c6356;
  --color-card: #ffffff;
  --color-border: #e6dfd3;
  --color-accent: #2d5a3f;       /* Schwarzwald-grøn */
  --color-accent-soft: #3d7a55;
  --color-highlight: #d4751a;    /* Skandinavisk orange */
  --color-highlight-soft: #f4b870;
  --color-sea: #2c5f7d;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --radius: 14px;
  --radius-sm: 8px;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 70px; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}
a:hover { border-bottom-color: currentColor; }

h1, h2, h3, h4 {
  font-family: "Iowan Old Style", Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

h2 {
  font-size: 2rem;
  margin: 0 0 1rem;
  color: var(--color-accent);
}

h3 { font-size: 1.5rem; margin: 0 0 0.5rem; }
h4 { font-size: 1rem; margin: 0 0 0.4rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); }

p { margin: 0 0 1rem; }

ul { padding-left: 1.3em; margin: 0.5rem 0 1rem; }
li { margin: 0.3rem 0; }

/* ============== Header ============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--color-border);
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-mark { font-size: 1.5rem; }
.brand-name { font-size: 1.05rem; }

.site-nav { display: flex; gap: 1.5rem; }
.site-nav a {
  color: var(--color-text);
  font-size: 0.95rem;
  border-bottom: none;
  opacity: 0.8;
  transition: opacity 0.15s;
}
.site-nav a:hover { opacity: 1; }

/* ============== Hero ============== */
.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  background:
    linear-gradient(135deg, rgba(45, 90, 63, 0.85) 0%, rgba(44, 95, 125, 0.85) 100%),
    url('https://upload.wikimedia.org/wikipedia/commons/0/0d/Titisee-blick_von_hochfirst.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
}

.hero-content { max-width: 800px; }

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.hero-title {
  color: white;
  font-size: clamp(2rem, 5vw, 3.6rem);
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-meta {
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stats strong {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.hero-stats span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.85;
  margin-top: 0.3rem;
}

/* ============== Container ============== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--color-muted);
  max-width: 720px;
  margin-bottom: 2.5rem;
}

/* ============== Overview cards ============== */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.overview-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.overview-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.overview-card p { font-size: 0.95rem; line-height: 1.55; margin: 0; color: var(--color-muted); }

/* ============== Route table ============== */
.route-title { margin-top: 3rem; font-size: 1.5rem; color: var(--color-accent); }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-card);
}

.route-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.route-table th, .route-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
}
.route-table th {
  background: rgba(45, 90, 63, 0.06);
  font-weight: 600;
  color: var(--color-accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.route-table tr:last-child td { border-bottom: none; }
.route-table tr:hover { background: rgba(212, 117, 26, 0.04); }

/* ============== Stop cards ============== */
.stop {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin: 2.5rem 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.stop-image {
  width: 100%;
  height: 320px;
  background-size: cover;
  background-position: center;
  background-color: #cccccc;
}

.stop-feature .stop-image { height: 420px; }
.stop-final .stop-image { height: 200px; }

.stop-body {
  padding: 2rem;
}

.stop-day {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-highlight);
  margin: 0 0 0.6rem;
}

.stop-body h3 {
  font-size: 1.85rem;
  color: var(--color-accent);
  margin-bottom: 0.7rem;
  line-height: 1.2;
}

.stop-body > p:first-of-type {
  font-size: 1.05rem;
  color: var(--color-muted);
}

/* Highlights */
.stop-highlights {
  margin-top: 1.5rem;
  padding: 1.4rem 1.6rem;
  background: rgba(45, 90, 63, 0.04);
  border-left: 4px solid var(--color-accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.stop-highlights h4 {
  color: var(--color-accent);
  margin-top: 0.6rem;
  margin-bottom: 0.5rem;
}
.stop-highlights h4:first-child { margin-top: 0; }
.stop-highlights ul { margin-bottom: 0.6rem; }

.callout {
  background: rgba(212, 117, 26, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  margin-top: 0.8rem;
  font-size: 0.95rem;
}

/* Meta blocks (hotel, lader, billetter) */
.stop-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.meta-block {
  background: rgba(212, 117, 26, 0.05);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.3rem;
}

.meta-block h4 {
  color: var(--color-highlight);
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.meta-block p {
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
  line-height: 1.55;
}

.meta-block .alt {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.6rem;
  margin-bottom: 0;
}

/* Featured stops */
.stop-feature {
  background: linear-gradient(180deg, #fff8ec 0%, #ffffff 30%);
  border: 1px solid var(--color-highlight-soft);
}
.stop-feature .stop-body h3 { color: var(--color-highlight); }

.stop-final .stop-body { padding: 1.5rem 2rem; text-align: center; }

/* ============== Økonomi ============== */
.oekonomi {
  background: linear-gradient(180deg, #fdf6ec 0%, #fbf8f3 100%);
  border-top: 1px solid var(--color-border);
}

.budget-summary {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  margin: 2rem 0 3rem;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.budget-total {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-soft) 100%);
  color: white;
  border-radius: var(--radius-sm);
  padding: 2rem 1.5rem;
  text-align: center;
}

.budget-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.budget-amount {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.1;
}

.budget-sub {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 0.6rem;
}

.budget-breakdown {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
}

.budget-breakdown div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: 0.95rem;
}
.budget-breakdown div:last-child { border-bottom: none; }
.budget-breakdown span { color: var(--color-muted); }
.budget-breakdown strong {
  color: var(--color-accent);
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 1.05rem;
  white-space: nowrap;
}

.row-feature td {
  background: rgba(212, 117, 26, 0.08);
  font-weight: 500;
}

.row-total td {
  background: rgba(45, 90, 63, 0.08);
  font-weight: 600;
  color: var(--color-accent);
}

.small-note {
  font-size: 0.88rem;
  color: var(--color-muted);
  font-style: italic;
  margin: 0.6rem 0 1.5rem;
  padding: 0 0.3rem;
}

.callout-big {
  background: rgba(212, 117, 26, 0.1);
  border-left: 4px solid var(--color-highlight);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.8rem;
  margin: 2.5rem 0 0;
}
.callout-big h3 {
  color: var(--color-highlight);
  margin-top: 0;
  margin-bottom: 0.8rem;
}
.callout-big ul {
  margin: 0;
  padding-left: 1.3em;
}
.callout-big li { margin: 0.5rem 0; }

@media (max-width: 720px) {
  .budget-summary {
    grid-template-columns: 1fr;
    padding: 1.4rem;
    gap: 1.5rem;
  }
  .budget-amount { font-size: 2rem; }
  .budget-breakdown div { font-size: 0.88rem; }
  .callout-big { padding: 1.2rem 1.3rem; }
}

/* ============== Praktisk section ============== */
.praktisk {
  background: rgba(45, 90, 63, 0.04);
  border-top: 1px solid var(--color-border);
}

.praktisk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.praktisk-grid h3 {
  font-size: 1.15rem;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}

.praktisk-grid ul { font-size: 0.95rem; }

/* ============== Footer ============== */
.site-footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #1f3a2a;
  color: rgba(255, 255, 255, 0.85);
}
.site-footer p { margin: 0.3rem 0; }
.site-footer .small { font-size: 0.85rem; opacity: 0.7; }
.site-footer a { color: rgba(255, 255, 255, 0.9); }

/* ============== Mobile ============== */
@media (max-width: 720px) {
  .site-header { padding: 0.7rem 1rem; }
  .site-nav { gap: 1rem; }
  .site-nav a { font-size: 0.85rem; }
  .brand-name { display: none; }

  .hero { min-height: 50vh; padding: 3rem 1.2rem; }
  .hero-stats { gap: 1.5rem; }
  .hero-stats strong { font-size: 1.8rem; }

  .container { padding: 2.5rem 1rem; }

  .stop-image { height: 220px; }
  .stop-feature .stop-image { height: 280px; }
  .stop-body { padding: 1.4rem; }
  .stop-body h3 { font-size: 1.4rem; }

  .stop-highlights { padding: 1rem 1.2rem; }
  .meta-block { padding: 1rem; }
  .table-wrap { font-size: 0.85rem; }
  .route-table th, .route-table td { padding: 0.6rem 0.7rem; }
}
