/* essentialspass.com — Theme „Bone & Berry", ruhige Gestaltung.
   Präfix ep-. Keine Pfeile auf Knöpfen, keine Farbkanten, keine Pillen-Hintergründe. */

:root {
  --ink: #181818;
  --text: #3a3733;
  --mute: #6b655f;
  --bone: #faf6f2;
  --berry: #c44569;
  --berry-dunkel: #a8385a;
  --berry-hell: #fbe9ee;
  --linie: #ece6dd;
  --rand: #dcd5cc;
  --weiss: #fff;
  --radius: 10px;
  --breite: 1160px;
  --leiste-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 1rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--weiss);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--berry-dunkel); }
a:hover { color: var(--ink); }
h1, h2, h3 { color: var(--ink); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); margin: 0 0 .6rem; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); margin: 0 0 1rem; }
h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
strong { font-weight: 600; color: var(--ink); }

.ep-wrap { max-width: var(--breite); margin: 0 auto; padding: 0 20px; }
.ep-schmal { max-width: 820px; }
.ep-abschnitt { padding: 56px 0; }
.ep-abschnitt:nth-of-type(even) { background: var(--bone); }
.ep-lead { font-size: 1.1rem; }
.ep-klein { font-size: .875rem; color: var(--mute); }
.ep-skip { position: absolute; left: -9999px; }
.ep-skip:focus { left: 12px; top: 12px; background: var(--weiss); padding: 8px 12px; z-index: 100; }

/* Knöpfe */
.ep-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 8px; border: 1px solid var(--berry);
  background: var(--berry); color: var(--weiss); font-weight: 500; text-decoration: none;
  line-height: 1.2; text-align: center; transition: background .15s;
}
.ep-btn:hover { background: var(--berry-dunkel); border-color: var(--berry-dunkel); color: var(--weiss); }
.ep-btn--zweit { background: var(--weiss); color: var(--ink); border-color: var(--rand); }
.ep-btn--zweit:hover { background: var(--bone); color: var(--ink); border-color: var(--ink); }
.ep-btn--block { display: flex; width: 100%; }

/* Kopf */
.ep-kopf { border-bottom: 1px solid var(--linie); background: var(--weiss); position: relative; z-index: 20; }
.ep-kopf__zeile { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.ep-logo img { width: 160px; height: auto; }
.ep-nav { display: flex; align-items: center; gap: 20px; }
.ep-menue { position: relative; }
.ep-menue summary { white-space: nowrap; cursor: pointer; list-style: none; font-weight: 500; color: var(--ink); padding: 8px 4px; }
.ep-menue summary::-webkit-details-marker { display: none; }
.ep-menue summary::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.ep-menue__liste {
  position: absolute; right: 0; top: 100%; background: var(--weiss); border: 1px solid var(--linie);
  border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0,0,0,.08); padding: 18px 22px;
  display: grid; grid-template-columns: repeat(3, minmax(130px, 1fr)); gap: 18px; width: max-content; max-width: 92vw;
}
.ep-menue__region { font-size: .8rem; color: var(--mute); margin: 0 0 .4rem; }
.ep-menue ul, .ep-fuss ul, .ep-sprache__liste { list-style: none; margin: 0; padding: 0; }
.ep-menue li a { display: block; padding: 3px 0; color: var(--ink); text-decoration: none; }
.ep-menue li a:hover, .ep-menue li a[aria-current] { color: var(--berry-dunkel); }
.ep-sprache__liste { display: flex; gap: 10px; font-size: .85rem; }
.ep-sprache__liste a { color: var(--mute); text-decoration: none; }
.ep-sprache__liste a[aria-current] { color: var(--ink); font-weight: 600; }
.ep-sprache__wahl { display: none; font: inherit; font-size: .9rem; padding: 6px 8px; border: 1px solid var(--rand); border-radius: 6px; background: var(--weiss); color: var(--ink); }

/* Hero */
.ep-hero { background: var(--bone); padding: 40px 0; }
.ep-hero__raster { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.ep-kicker { color: var(--berry-dunkel); font-weight: 500; margin: 0 0 .6rem; }
.ep-hero__lead { font-size: 1.15rem; }
.ep-hero__preis { color: var(--ink); margin: 0 0 .4rem; }
.ep-hero__spar { color: var(--mute); }
.ep-hero__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.ep-hero__bild { margin: 0; }
.ep-hero__bild img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); }

/* Vertrauensleiste */
.ep-vertrauen { border-bottom: 1px solid var(--linie); }
.ep-vertrauen__liste { list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 18px; padding-bottom: 18px; font-size: .95rem; color: var(--ink); }
.ep-vertrauen__liste li::before { content: "✓"; color: var(--berry); margin-right: 8px; }

/* Buchung + Attraktionen */
.ep-buchung__raster { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.ep-gruppe { margin-top: 2rem; }
.ep-attr-raster { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.ep-attr--karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; }
.ep-attr--karte img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ep-attr__text { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.ep-attr__name { color: var(--ink); font-weight: 500; line-height: 1.3; }
.ep-attr__preis { font-size: .875rem; color: var(--mute); }
.ep-attr__marken { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.ep-marke { font-size: .8rem; color: var(--berry-dunkel); }
.ep-marke--leise { color: var(--mute); }
.ep-attr-liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); }
.ep-attr--zeile { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 10px 0; border-bottom: 1px solid var(--linie); }
.ep-attr--zeile .ep-attr__marken { grid-column: 1 / -1; }

.ep-widget { position: sticky; top: 20px; background: var(--weiss); color: var(--text); border: 1px solid var(--rand); border-radius: var(--radius); padding: 22px; }
.ep-widget__titel { font-weight: 600; color: var(--ink); font-size: 1.1rem; margin-bottom: .8rem; }
.ep-widget__preise { margin: 0 0 1rem; }
.ep-widget__preise div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--linie); }
.ep-widget__preise dt { color: var(--text); }
.ep-widget__preise dd { margin: 0; color: var(--ink); font-weight: 600; white-space: nowrap; }
.ep-widget__fakten { margin: 0 0 1.2rem; padding-left: 1.1rem; font-size: .925rem; color: var(--text); }
.ep-widget__fakten li { margin-bottom: 4px; }
.ep-widget__fuss { font-size: .8rem; color: var(--mute); margin: .7rem 0 0; }

/* Rechner */
.ep-rechner { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 22px; }
.ep-rechner__gruppe { border: 0; padding: 0; margin: 0 0 1.4rem; }
.ep-rechner__gruppe legend { font-weight: 600; color: var(--ink); margin-bottom: .6rem; }
.ep-rechner__wahl { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--linie); cursor: pointer; color: var(--text); }
.ep-rechner__wahl input { width: 18px; height: 18px; accent-color: var(--berry); }
.ep-rechner__wahl input:disabled + span { color: #aaa49d; }
.ep-rechner__preis { color: var(--mute); white-space: nowrap; }
.ep-rechner__ergebnis { background: var(--bone); border-radius: 8px; padding: 16px 18px; margin: 1rem 0; }
.ep-rechner__status { color: var(--mute); margin: 0 0 .6rem; }
.ep-rechner__ergebnis dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; }
.ep-rechner__ergebnis dt { font-size: .85rem; color: var(--mute); }
.ep-rechner__ergebnis dd { margin: 0; font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.ep-rechner__urteil { margin: .8rem 0 0; color: var(--ink); }

/* Tabelle (Rom) */
.ep-tabelle-huelle { overflow-x: auto; }
.ep-tabelle { width: 100%; border-collapse: collapse; background: var(--weiss); }
.ep-tabelle th, .ep-tabelle td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--linie); }
.ep-tabelle thead th { font-size: .875rem; color: var(--mute); font-weight: 500; }
.ep-tabelle td { color: var(--ink); white-space: nowrap; }

/* Ablauf */
.ep-schritte { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.ep-schritte li { counter-increment: s; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 20px; }
.ep-schritte li::before { content: counter(s, decimal-leading-zero); display: block; color: var(--berry); font-weight: 600; margin-bottom: .4rem; }
.ep-schritte p { margin: 0; }

/* Vergleich */
.ep-vergleich__karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 1.5rem; align-items: stretch; }
.ep-karte { background: var(--weiss); color: var(--text); border: 1px solid var(--linie); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.ep-karte--haupt { border: 2px solid var(--berry); }
.ep-karte__preis { color: var(--ink); font-size: 1.25rem; font-weight: 600; }
.ep-karte ul { padding-left: 1.1rem; margin: 0 0 1.2rem; flex: 1; }
.ep-karte li { margin-bottom: 6px; }

/* Grenzen */
.ep-liste-x { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.ep-liste-x li { position: relative; padding: 6px 0 6px 26px; }
.ep-liste-x li::before { content: "✕"; position: absolute; left: 0; color: var(--berry); }

/* FAQ */
.ep-faq__eintrag { border-bottom: 1px solid var(--rand); }
.ep-faq__eintrag summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; color: var(--ink); font-weight: 500; position: relative; }
.ep-faq__eintrag summary::-webkit-details-marker { display: none; }
.ep-faq__eintrag summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; color: var(--berry); transition: transform .2s; }
.ep-faq__eintrag[open] summary::after { transform: rotate(45deg); }
.ep-faq__antwort { padding-bottom: 12px; }

/* Schluss */
.ep-schluss { background: var(--ink); color: #e9e4de; padding: 56px 0; }
.ep-schluss h2 { color: var(--weiss); }
.ep-schluss__raster { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: center; }
.ep-schluss__box { background: #262321; border-radius: var(--radius); padding: 22px; }
.ep-schluss__preis { color: #e9e4de; }
.ep-schluss__preis strong { color: var(--weiss); font-size: 1.3rem; }

/* Städte */
.ep-stadtliste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.ep-stadtliste a { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--linie); border-radius: 8px; background: var(--weiss); color: var(--ink); text-decoration: none; }
.ep-stadtliste a:hover { border-color: var(--berry); }
.ep-stadtliste__preis { color: var(--mute); white-space: nowrap; }

.ep-start { background: var(--bone); padding: 48px 0 32px; }
.ep-stadtkarten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.ep-stadtkarte a { display: block; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; color: var(--text); text-decoration: none; height: 100%; }
.ep-stadtkarte a:hover { border-color: var(--berry); }
.ep-stadtkarte img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ep-stadtkarte__text { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 16px; }
.ep-stadtkarte__name { font-weight: 600; color: var(--ink); font-size: 1.1rem; }
.ep-stadtkarte__info { font-size: .9rem; }
.ep-stadtkarte__preis { color: var(--berry-dunkel); font-weight: 500; }

.ep-recht h2 { font-size: 1.3rem; margin-top: 1.6rem; }
.ep-recht h3 { font-size: 1.1rem; margin-top: 1.2rem; }

/* Fuss */
.ep-fuss { background: var(--bone); border-top: 1px solid var(--linie); padding: 40px 0 24px; font-size: .9rem; }
.ep-fuss__staedte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 24px; }
.ep-fuss__titel { color: var(--ink); font-weight: 600; margin-bottom: .4rem; }
.ep-fuss li { padding: 2px 0; }
.ep-fuss a { color: var(--text); text-decoration: none; }
.ep-fuss a:hover { color: var(--berry-dunkel); }
.ep-fuss__hinweis { color: var(--mute); max-width: 820px; }
.ep-fuss__recht { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--mute); }

/* Mobile Leiste */
.ep-leiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: none; flex-direction: row !important; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--ink); color: var(--weiss);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
}
.ep-leiste__text { display: flex; flex-direction: column; min-width: 0; }
.ep-leiste__name { font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ep-leiste__preis { font-size: .85rem; color: #cfc8c0; }
.ep-leiste .ep-btn { padding: 10px 18px; white-space: nowrap; }

@media (max-width: 900px) {
  .ep-hero__raster, .ep-buchung__raster, .ep-schluss__raster { grid-template-columns: 1fr; }
  .ep-hero__bild { order: -1; }
  .ep-hero__bild img { aspect-ratio: 4 / 3; max-height: none; }
  .ep-widget { position: static; }
  .ep-sprache__liste { display: none; }
  .ep-sprache__wahl { display: block; }
  .ep-menue__liste { grid-template-columns: 1fr 1fr; right: -80px; }
  .ep-fuss__staedte { grid-template-columns: 1fr 1fr; }
  .ep-leiste.ist-sichtbar { display: flex; }
  body.mit-leiste { padding-bottom: calc(var(--leiste-h) + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 560px) {
  .ep-nav { gap: 10px; }
  .ep-menue summary { font-size: .95rem; }
  .ep-sprache__wahl { width: 4rem; }
  .ep-abschnitt { padding: 40px 0; }
  .ep-logo img { width: 130px; }
  .ep-vertrauen__liste { display: grid; grid-template-columns: 1fr 1fr; font-size: .875rem; }
  .ep-rechner__ergebnis dl { grid-template-columns: 1fr; }
  .ep-menue__liste { grid-template-columns: 1fr; right: -60px; max-height: 70vh; overflow: auto; }
  .ep-fuss__staedte { grid-template-columns: 1fr; }
}
