/* Harzreisen: Bilder-Slider und Dropdowns im Design der Seite (Markus 2026-11-08). Dunkle Glasflaechen statt weisser Systemkaesten. */

/* ---------- Bilder-Slider ---------- */
.wk { position: relative; overflow: hidden; }
.wk-slider { position: relative; background: #0d0b10; }
.wk-slider .wk-galerie { scrollbar-width: none; -ms-overflow-style: none; scroll-behavior: smooth; outline: none; }
.wk-slider .wk-galerie::-webkit-scrollbar { display: none; height: 0; }
.wk-slider .wk-galerie img { transition: transform .6s ease; }
.wk-slider:hover .wk-galerie img { transform: scale(1.02); }
.wk-slider::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; pointer-events: none; background: linear-gradient(180deg, rgba(13,11,16,0), rgba(13,11,16,.72)); }
.wk-pfeil { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border-radius: 50%; cursor: pointer; color: var(--bein, #F0E2CC); background: rgba(18,14,20,.46); border: 1px solid rgba(240,226,204,.3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s ease, background .25s ease, transform .25s ease; }
.wk-pfeil svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.wk-links { left: 12px; }
.wk-rechts { right: 12px; }
.wk-slider:hover .wk-pfeil, .wk-slider:focus-within .wk-pfeil { opacity: 1; }
.wk-pfeil:hover { background: rgba(230,68,21,.7); transform: translateY(-50%) scale(1.06); }
.wk-pfeil:focus-visible { outline: 2px solid var(--kuerbis, #E8700A); outline-offset: 2px; opacity: 1; }
.wk-pfeil[disabled] { opacity: 0 !important; pointer-events: none; }
@media (hover: none) { .wk-pfeil { opacity: .9; width: 40px; height: 40px; } }
.wk-punkte { position: absolute; z-index: 3; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 7px; pointer-events: none; }
.wk-punkte i { width: 7px; height: 7px; border-radius: 50%; background: rgba(240,226,204,.38); transition: width .3s ease, background .3s ease; }
.wk-punkte i.aktiv { width: 22px; border-radius: 4px; background: var(--kuerbis, #E8700A); }
.wk-zaehler { position: absolute; z-index: 3; top: 12px; right: 12px; padding: 3px 10px; border-radius: 999px; font: 600 .78rem var(--schrift-text); letter-spacing: .06em; color: var(--bein, #F0E2CC); background: rgba(18,14,20,.5); border: 1px solid rgba(240,226,204,.22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* ---------- Dropdowns ---------- */
.dd { position: relative; display: block; min-width: 0; }
.dd > select { position: absolute; inset: 0; opacity: 0; pointer-events: none; width: 100%; height: 100%; }
.dd-knopf { width: 100%; height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 12px; text-align: left; cursor: pointer; color: var(--text, #E6D8C3); font: 400 1rem var(--schrift-text); background: rgba(12,10,14,.38); border: 1px solid rgba(240,226,204,.28); border-radius: 8px; transition: background .2s ease, border-color .2s ease; }
.dd-knopf:hover { border-color: rgba(240,226,204,.5); }
.dd.offen .dd-knopf, .dd-knopf:focus-visible { background: rgba(12,10,14,.6); border-color: var(--kuerbis, #E8700A); outline: none; }
.dd-knopf svg { flex: none; width: 14px; height: 14px; fill: none; stroke: var(--kuerbis, #E8700A); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.dd.offen .dd-knopf svg { transform: rotate(180deg); }
.dd-liste { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 6px); max-height: 264px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; border-radius: 12px; background: rgba(20,16,22,.72); border: 1px solid rgba(240,226,204,.24); box-shadow: 0 18px 44px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.05); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); scrollbar-width: thin; scrollbar-color: rgba(230,68,21,.6) transparent; }
.dd-liste[hidden] { display: none; }
.dd.oben .dd-liste { top: auto; bottom: calc(100% + 6px); }
.dd-liste li { padding: 10px 12px; border-radius: 8px; cursor: pointer; color: var(--text, #E6D8C3); font: 400 1rem var(--schrift-text); transition: background .15s ease, color .15s ease; }
.dd-liste li:hover, .dd-liste li.fokus { background: rgba(230,68,21,.28); color: var(--bein, #F0E2CC); }
.dd-liste li[aria-selected="true"] { color: var(--kuerbis, #E8700A); font-weight: 600; }

/* Systemlisten (Datum, Rest) im dunklen Schema halten */
.suche input, .suche select, .tage-feld input, .tage-feld select { color-scheme: dark; }
select option { background: #19171C; color: #E6D8C3; }

/* ---------- Objekttexte: "Alles über diese Ferienwohnung" ---------- */
.wk-mehr { margin-top: 12px; border: 1px solid rgba(240,226,204,.18); border-radius: 12px; background: rgba(12,10,14,.38); overflow: hidden; }
.wk-mehr summary { list-style: none; cursor: pointer; padding: 12px 16px; color: var(--kuerbis, #E8700A); font: 600 .95rem var(--schrift-text); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wk-mehr summary::-webkit-details-marker { display: none; }
.wk-mehr summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s ease; }
.wk-mehr[open] summary::after { transform: rotate(-135deg); }
.wk-mehr[open] summary { border-bottom: 1px solid rgba(240,226,204,.14); }
.wk-mehr p { margin: 0; padding: 12px 16px 0; font-size: .95rem; line-height: 1.7; }
.wk-mehr p:last-child { padding-bottom: 16px; }

.partner { margin-top: 6px; font-size: .74rem; opacity: .55; }
.partner a { color: inherit; text-decoration: underline dotted; }
.partner a:hover { opacity: 1; }

/* ---------- Abenteuerreise teilen ---------- */
.plan-teilen { margin: 22px 0; padding: 18px; border-radius: 14px; background: rgba(12,10,14,.45); border: 1px solid rgba(240,226,204,.18); }
.plan-teilen h3 { margin: 0 0 6px; }
.teilen-reihe { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 6px; }
.teilen-reihe .knopf { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; }

/* Buchungsweg und Handy-Sichtbarkeit (Markus 2026-11-08: "Die Buttons müssen sichtbar sein") */
.knopf-text { display: inline-flex; align-items: center; min-height: 44px; color: var(--kuerbis, #F39402); font-weight: 700; }
.knopfzeile { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.knopfzeile .knopf { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.knopf-leise { background: transparent; color: var(--text, #E6D8C3); border: 1px solid var(--stahl-hell, #4b525a); box-shadow: none; }
.seite .knopf, .seite .knopf:visited { color: #1a0c04; text-decoration: none; }
.seite .knopf-leise, .seite .knopf-leise:visited { color: var(--text, #E6D8C3); }
.form-fehler { margin: 0; padding: 10px 12px; border-radius: 8px; background: rgba(230,68,21,.2); border: 1px solid rgba(230,68,21,.6); color: #fff; font-size: .95rem; }
.form-fehler[hidden] { display: none; }
.buchleiste { display: none; }
@media (max-width: 719px) {
  /* Fest unten: Hauptweg zur Buchung, auf jeder Seite außer der Buchungsseite */
  .buchleiste { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 16px; border-radius: 40px; background: linear-gradient(180deg, #E64415 0%, #F39402 100%); color: #1a0c04; font: 700 1.05rem/1.2 var(--schrift-text, system-ui, sans-serif); letter-spacing: .04em; text-decoration: none; box-shadow: 0 8px 26px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.2); }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  body.seite-buchen { padding-bottom: 0; }
  a, button, summary, [role="button"] { touch-action: manipulation; }
}

/* Tippflächen mindestens 44 x 44 px auf Handys (Paket -7); Links mitten im Fließtext sind ausgenommen */
@media (max-width: 719px) {
  .brot, .zurueck, .partner a, .karte p a, .kontakt .klein a, .seite .klein a { display: inline-flex; align-items: center; min-height: 44px; }
  .ticker li a, .links a { min-height: 44px; display: flex; align-items: center; }
  .marke { min-height: 44px; }
  .seite ul li a { display: inline-flex; align-items: center; min-height: 44px; }
  main button, main summary, main select { min-height: 44px; }
  .seite ul li { min-height: 44px; display: flex; align-items: center; flex-wrap: wrap; }
}
@media (max-width: 719px) {
  .buchleiste { transition: opacity .2s, transform .2s; }
  .buchleiste.weg { opacity: 0; pointer-events: none; transform: translateY(20px); }
}

/* Mobiles Menü (Hamburger), Paket -7 */
.mknopf { flex: 0 0 44px; width: 44px; height: 44px; min-width: 44px; padding: 0; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--stahl-hell, #4b525a); background: rgba(18,16,20,.7); color: var(--bein, #F0E2CC); cursor: pointer; touch-action: manipulation; }
.mknopf:focus-visible, .mmenue a:focus-visible, .mmenue button:focus-visible { outline: 3px solid var(--bein, #F0E2CC); outline-offset: 2px; }
.mknopf[aria-expanded="true"] { border-color: var(--kuerbis, #F39402); color: var(--kuerbis, #F39402); }
@media (min-width: 1200px) { .mknopf-start { display: none; } }
.mleiste { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: rgba(18,16,20,.96); border-bottom: 1px solid rgba(243,148,2,.35); }
.mleiste-logo { margin-right: auto; display: inline-flex; align-items: center; min-height: 44px; color: var(--bein, #F0E2CC); font: 700 1.1rem var(--schrift-titel, serif); letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.mleiste-buchen { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 6px; background: linear-gradient(180deg, #E64415 0%, #F39402 100%); color: #1a0c04; font: 700 .9rem var(--schrift-text, sans-serif); letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.mmenue { position: fixed; inset: 0; z-index: 200; overflow-y: auto; background: rgba(18,16,20,.98); color: var(--text, #E6D8C3); padding: 0 16px 24px; overscroll-behavior: contain; }
.mmenue[hidden] { display: none; }
.mmenue-kopf { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.mmenue-titel { font: 700 1.2rem var(--schrift-titel, serif); letter-spacing: .08em; text-transform: uppercase; color: var(--bein, #F0E2CC); }
.mmenue-zu { width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1px solid var(--stahl-hell, #4b525a); background: transparent; color: var(--bein, #F0E2CC); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.mmenue-nav ul { list-style: none; margin: 0; padding: 0; }
.mmenue-nav li + li { border-top: 1px solid rgba(240,226,204,.14); }
.mmenue-nav a, .mmenue-suche { display: flex; align-items: center; width: 100%; min-height: 56px; padding: 0 4px; background: none; border: 0; color: var(--text, #E6D8C3); font: 700 1.1rem var(--schrift-text, sans-serif); text-align: left; text-decoration: none; cursor: pointer; }
.mmenue-nav a:hover, .mmenue-suche:hover { color: var(--kuerbis, #F39402); }
