/* ============================================================
   Erlebnis-Orte — Stylesheet
   Index + Detail mit bunten Akzenten (wie Lexikon)
   ============================================================ */

:root {
  --orte-bg: #faf8f3;
  --orte-surface: #ffffff;
  --orte-surface-alt: #f4f0e8;
  --orte-text: #2a2a2a;
  --orte-text-muted: #6b6b6b;
  --orte-primary: #2d5a4f;
  --orte-primary-light: #4a8074;
  --orte-accent: #c8954f;
  --orte-border: #e8e3d6;

  /* 8 Akzentfarben wie im Lexikon */
  --orte-c1: #4a9560;
  --orte-c2: #e89c1c;
  --orte-c3: #d56a4f;
  --orte-c4: #5b81b5;
  --orte-c5: #b85b8e;
  --orte-c6: #8a6f3d;
  --orte-c7: #3aa6c4;
  --orte-c8: #9a8a3d;

  --orte-radius: 12px;
  --orte-radius-sm: 8px;
  --orte-shadow: 0 1px 3px rgba(0,0,0,0.05);
  --orte-shadow-hover: 0 8px 24px rgba(0,0,0,0.1);

  --orte-font-base: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --orte-font-display: Georgia, "Iowan Old Style", "Times New Roman", serif;

  --orte-container: 980px;
}

/* ============================================================
   Container
   ============================================================ */

.orte-wrap {
  max-width: var(--orte-container);
  margin: 0 auto;
  padding: 1.5rem 1rem;
  color: var(--orte-text);
  font-family: var(--orte-font-base);
  line-height: 1.6;
}

.orte-back {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--orte-text-muted);
  text-decoration: none;
}

.orte-back:hover {
  color: var(--orte-primary);
  text-decoration: underline;
}

/* ============================================================
   Index — Header + Grid
   ============================================================ */

.orte-index-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 0.5rem 0 1rem;
}

.orte-index-header__title {
  font-family: var(--orte-font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--orte-primary);
  margin: 0 0 0.5rem;
}

.orte-index-header__lead {
  font-size: 1rem;
  color: var(--orte-text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

.orte-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .orte-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .orte-grid { grid-template-columns: repeat(3, 1fr); }
}

.orte-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: var(--orte-surface);
  border: 1px solid var(--orte-border);
  border-top: 5px solid var(--orte-primary);
  border-radius: var(--orte-radius);
  padding: 1.1rem 1.15rem;
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.orte-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--orte-shadow-hover);
}

.orte-card__country {
  font-size: 0.78rem;
  color: var(--orte-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.orte-card__name {
  font-family: var(--orte-font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--orte-primary);
  margin: 0;
  line-height: 1.2;
}

.orte-card__location {
  font-size: 0.88rem;
  color: var(--orte-text-muted);
  font-style: italic;
}

.orte-card__summary {
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
  color: var(--orte-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.orte-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.2rem;
}

.orte-card__cta {
  margin-top: auto;
  padding-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orte-accent);
}

/* Pro Karte eigene Akzentfarbe */
.orte-card--color-1 { border-top-color: var(--orte-c1); }
.orte-card--color-1 .orte-card__name { color: var(--orte-c1); }
.orte-card--color-2 { border-top-color: var(--orte-c2); }
.orte-card--color-2 .orte-card__name { color: var(--orte-c2); }
.orte-card--color-3 { border-top-color: var(--orte-c3); }
.orte-card--color-3 .orte-card__name { color: var(--orte-c3); }
.orte-card--color-4 { border-top-color: var(--orte-c4); }
.orte-card--color-4 .orte-card__name { color: var(--orte-c4); }
.orte-card--color-5 { border-top-color: var(--orte-c5); }
.orte-card--color-5 .orte-card__name { color: var(--orte-c5); }
.orte-card--color-6 { border-top-color: var(--orte-c6); }
.orte-card--color-6 .orte-card__name { color: var(--orte-c6); }
.orte-card--color-7 { border-top-color: var(--orte-c7); }
.orte-card--color-7 .orte-card__name { color: var(--orte-c7); }
.orte-card--color-8 { border-top-color: var(--orte-c8); }
.orte-card--color-8 .orte-card__name { color: var(--orte-c8); }

.orte-tag {
  display: inline-block;
  padding: 0.15rem 0.65rem;
  background: var(--orte-surface-alt);
  color: var(--orte-primary);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 500;
}

.orte-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--orte-text-muted);
}

/* ============================================================
   Detail — Hero
   ============================================================ */

.orte-detail__hero {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--orte-border);
}

.orte-detail__country {
  font-size: 0.85rem;
  color: var(--orte-text-muted);
  margin-bottom: 0.3rem;
}

.orte-detail__title {
  font-family: var(--orte-font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 0.5rem;
  color: var(--orte-primary);
}

.orte-detail__address {
  font-size: 0.95rem;
  color: var(--orte-text);
  margin: 0 0 0.4rem;
}

.orte-detail__type {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  background: var(--orte-surface-alt);
  color: var(--orte-primary);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ============================================================
   Detail — Sections
   ============================================================ */

.orte-section {
  margin: 1.75rem 0;
}

.orte-section__title {
  font-family: var(--orte-font-display);
  font-size: 1.5rem;
  color: var(--orte-primary);
  margin: 0 0 0.85rem;
}

/* ─── Kontakt CTAs ─── */

.orte-contact__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .orte-contact__grid { grid-template-columns: repeat(2, 1fr); }
}

.orte-cta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.9rem 1.1rem;
  background: var(--orte-surface);
  border: 1px solid var(--orte-border);
  border-radius: var(--orte-radius);
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.orte-cta:hover {
  transform: translateY(-2px);
  border-color: var(--orte-primary-light);
  box-shadow: var(--orte-shadow);
}

.orte-cta__icon {
  font-size: 1.4rem;
}

.orte-cta__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--orte-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.orte-cta__value {
  font-size: 0.92rem;
  color: var(--orte-text);
  word-break: break-word;
}

.orte-cta--booking {
  background: var(--orte-primary);
  border-color: var(--orte-primary);
  color: var(--orte-surface) !important;
}

.orte-cta--booking .orte-cta__label,
.orte-cta--booking .orte-cta__value {
  color: var(--orte-surface);
}

/* ─── Programm + Details ─── */

.orte-program__summary {
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 0.8rem;
}

.orte-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.5rem 0 0.8rem;
}

.orte-details {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 1rem;
  margin: 0;
  font-size: 0.92rem;
}

.orte-details dt {
  font-weight: 600;
  color: var(--orte-text-muted);
}

.orte-details dd {
  margin: 0;
}

/* ─── Safety ─── */

.orte-safety {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .orte-safety { grid-template-columns: repeat(2, 1fr); }
}

.orte-safety__block {
  background: var(--orte-surface-alt);
  padding: 1rem 1.2rem;
  border-radius: var(--orte-radius);
}

.orte-safety__block h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: var(--orte-primary);
}

.orte-safety__block ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ─── Evidence ─── */

.orte-evidence {
  margin: 1.5rem 0;
  padding: 0.8rem 1.1rem;
  background: var(--orte-surface-alt);
  border-left: 3px solid var(--orte-accent);
  border-radius: var(--orte-radius-sm);
  font-size: 0.88rem;
  color: var(--orte-text);
}

/* ─── Quellen ─── */

.orte-sources-toggle {
  margin-top: 1.5rem;
  border: 1px solid var(--orte-border);
  border-radius: var(--orte-radius-sm);
  overflow: hidden;
}

.orte-sources-toggle > summary {
  padding: 0.7rem 1.1rem;
  cursor: pointer;
  user-select: none;
  list-style: none;
  background: var(--orte-surface-alt);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orte-text-muted);
}

.orte-sources-toggle > summary::-webkit-details-marker { display: none; }
.orte-sources-toggle > summary::marker { content: none; }
.orte-sources-toggle > summary::before {
  content: '▸ ';
  display: inline-block;
  margin-right: 0.3rem;
  transition: transform 0.2s;
}
.orte-sources-toggle[open] > summary::before {
  transform: rotate(90deg);
}

.orte-sources {
  list-style: disc;
  padding: 0.75rem 1.1rem 1rem 2.3rem;
  margin: 0;
  font-size: 0.85rem;
}

.orte-sources li {
  margin-bottom: 0.35rem;
  line-height: 1.5;
}

.orte-sources a {
  color: var(--orte-primary);
  word-break: break-word;
}

.orte-sources__date {
  font-size: 0.78rem;
  color: var(--orte-text-muted);
  margin-left: 0.3rem;
}

/* ─── Meta-Footer ─── */

.orte-meta {
  margin-top: 2rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--orte-border);
  font-size: 0.8rem;
  color: var(--orte-text-muted);
  text-align: right;
}
