:root{--green:#173b2f;--paper:#fffdf8;--gold:#d9a441;--text:#1e2421;--muted:#69736d;--shadow:0 14px 35px rgba(25,40,31,.14);--line:#d8c7a7}*{box-sizing:border-box}html{scroll-behavior:smooth;overflow-x:hidden;max-width:100%}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif;background:linear-gradient(180deg,#fff8ec 0%,#f6efe0 100%);color:var(--text);padding-bottom:72px;overflow-x:hidden;width:100%;max-width:100%}main,header,section,article,nav,footer{max-width:100%;overflow-wrap:break-word}img{max-width:100%;display:block}a{color:var(--green)}.hero{min-height:88vh;background:linear-gradient(rgba(11,27,23,.22),rgba(11,27,23,.72)),url("https://commons.wikimedia.org/wiki/Special:FilePath/Seiser-Alm%20mit%20Sella%20und%20Langkofel.jpg") center/cover;display:flex;align-items:flex-end;overflow:hidden}.hero__overlay{padding:34px 22px 42px;max-width:820px;width:100%}.eyebrow{color:#f8ddb0;font-weight:800;letter-spacing:.06em;text-transform:uppercase;font-size:.78rem;text-shadow:0 3px 22px rgba(0,0,0,.45)}.admin-link{display:inline-block;font-size:12px;color:#ddd6c8;text-decoration:none;margin:2px 0 10px;text-shadow:0 2px 12px rgba(0,0,0,.35)}h1{color:white;font-size:clamp(2.6rem,13vw,5.4rem);line-height:.9;margin:.25em 0;letter-spacing:-.06em;text-shadow:0 3px 22px rgba(0,0,0,.45)}.hero__text{color:#fff7ea;font-size:1.08rem;line-height:1.55;text-shadow:0 3px 22px rgba(0,0,0,.45)}.hero__actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:999px;text-decoration:none;font-weight:900}.btn--primary{background:var(--gold);color:#1b1608}.btn--ghost{border:1px solid rgba(255,255,255,.55);color:white;background:rgba(255,255,255,.08);backdrop-filter:blur(8px)}.section{padding:32px 10px;width:100%;overflow-x:hidden}.section h2{font-size:1.85rem;line-height:1.05;margin:0 0 12px;color:var(--green)}.lead{line-height:1.55;color:#334039;margin-top:0}.intro{margin-top:-28px;position:relative;z-index:2}.slideshow{margin:14px 0;max-width:100%;overflow:hidden}.slides{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;gap:10px;border-radius:22px;-webkit-overflow-scrolling:touch;scrollbar-width:none;max-width:100%;width:100%;overscroll-behavior-x:contain}.slides::-webkit-scrollbar{display:none}.slide{flex:0 0 100%;min-width:0;max-width:100%;margin:0;background:var(--paper);border-radius:20px;overflow:hidden;border:1px solid rgba(234,223,202,.8);scroll-snap-align:center;box-shadow:var(--shadow)}.slide img{height:265px;width:100%;object-fit:cover;background:#eadfca}.slide figcaption{font-size:.82rem;color:var(--muted);padding:9px 11px;font-weight:800;line-height:1.35}.slide-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px}.slide-btn{width:44px;height:38px;border:0;border-radius:999px;background:var(--green);color:white;font-size:1.7rem;line-height:1;font-weight:900}.slide-hint{font-size:.82rem;color:var(--muted);font-weight:800;text-transform:uppercase;letter-spacing:.04em}.vertical-timeline{position:relative;margin-top:22px;padding-left:8px}.vertical-timeline::before{content:"";position:absolute;left:10px;top:0;bottom:0;width:4px;background:linear-gradient(#8e1b1b,#c62828,#e53935);border-radius:999px}.day-card{position:relative;margin:0 0 24px;padding-left:16px}.timeline-dot{position:absolute;left:-8px;top:8px;width:38px;height:38px;background:#c62828;border:3px solid #fff8ec;border-radius:50%;z-index:2;display:grid;place-items:center;box-shadow:0 8px 18px rgba(0,0,0,.18)}.timeline-dot span{color:white;font-weight:900;font-size:.9rem}.day-content{background:var(--paper);border-radius:26px;padding:18px;box-shadow:var(--shadow);border:1px solid rgba(234,223,202,.9);min-width:0;overflow:hidden}.day-label{display:inline-block;background:#e8f0e4;color:var(--green);padding:7px 11px;border-radius:999px;font-weight:900;font-size:.82rem;margin-bottom:10px}.day-content h2{font-size:1.6rem;margin:0 0 4px;color:var(--green);line-height:1.05}.day-content h3{font-size:1.05rem;margin:0 0 12px;color:#536057}.day-desc{line-height:1.58;color:#334039;font-size:1rem}.accommodation{display:grid;gap:16px;margin-top:16px}.accommodation h3{font-size:1.1rem;color:var(--green);margin:0 0 8px}.mini-grid{display:grid;gap:10px}.mini-card{background:#f8f1e3;border-radius:18px;padding:13px;min-width:0}.mini-card h4{margin:0 0 6px;color:var(--green);font-size:1rem}.maps-query{font-size:.84rem;color:var(--muted);margin:.2em 0 0!important;line-height:1.35}.map-link,.button-link{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:999px;background:var(--green);color:white;text-decoration:none;font-weight:900;margin-top:10px;text-align:center;padding:0 12px;border:0;width:100%;font:inherit}.map-link--light{background:#e8f0e4;color:var(--green)}.food-grid,.checklist{display:grid;gap:10px;grid-template-columns:minmax(0,1fr)}.food-grid div{display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:12px;align-items:center;background:var(--paper);border-radius:18px;padding:14px;box-shadow:0 8px 20px rgba(25,40,31,.08);min-width:0}.food-grid small{color:var(--muted)}.checklist label{display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:16px;background:var(--paper);box-shadow:0 8px 20px rgba(25,40,31,.08);line-height:1.35}input[type="checkbox"]{width:22px;height:22px;accent-color:var(--green);flex:0 0 auto}.admin-modal{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px}.admin-modal[hidden]{display:none}.admin-panel{background:#fffdf8;border-radius:24px;padding:20px;width:min(420px,100%);box-shadow:0 20px 60px rgba(0,0,0,.3)}.admin-panel h3{margin:0 0 14px;color:var(--green)}footer{text-align:center;padding:30px 18px 88px;color:var(--muted)}footer a{color:var(--green);font-weight:900;text-decoration:none}.bottom-nav{position:fixed;left:10px;right:10px;bottom:10px;z-index:10;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:rgba(23,59,47,.94);border:1px solid rgba(255,255,255,.18);border-radius:22px;padding:8px;box-shadow:0 14px 35px rgba(0,0,0,.25);backdrop-filter:blur(12px);max-width:calc(100vw - 20px);overflow:hidden}.bottom-nav a{color:white;text-decoration:none;font-size:.78rem;font-weight:800;text-align:center;padding:10px 3px;border-radius:15px;min-width:0}.bottom-nav a.active,.bottom-nav a:active{background:rgba(255,255,255,.16)}@media (min-width:760px){body{padding-bottom:0}.section{max-width:1040px;margin:auto;padding:44px 28px}.hero__overlay{padding-left:48px}.slide img{height:430px}.accommodation{grid-template-columns:repeat(2,minmax(0,1fr))}.food-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bottom-nav{left:50%;right:auto;transform:translateX(-50%);width:min(640px,calc(100% - 32px))}}

/* --- Accordion-Tageslayout --- */
.day-toggle{
  appearance:none;
  border:0;
  background:transparent;
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  padding:0;
  text-align:left;
  cursor:pointer;
  color:inherit;
  font:inherit;
}

.day-toggle span{
  min-width:0;
  display:grid;
  gap:4px;
}

.day-toggle strong{
  display:inline-block;
  width:max-content;
  max-width:100%;
  background:#e8f0e4;
  color:var(--green);
  padding:7px 11px;
  border-radius:999px;
  font-weight:900;
  font-size:.82rem;
}

.day-toggle em{
  color:var(--green);
  font-style:normal;
  font-size:1.55rem;
  font-weight:900;
  line-height:1.05;
}

.day-toggle small{
  color:#536057;
  font-size:1rem;
  font-weight:800;
  line-height:1.25;
}

.day-toggle b{
  flex:0 0 auto;
  width:34px;
  height:34px;
  border-radius:999px;
  background:var(--green);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:1.35rem;
  line-height:1;
  margin-top:4px;
}

.day-card.is-open .day-toggle b{
  background:#c62828;
}

.day-body{
  display:none;
  margin-top:16px;
}

.day-card.is-open .day-body{
  display:block;
}

/* Alte Tages-Header in eingeklappter Variante ausblenden, falls noch vorhanden */
.day-content > .day-label,
.day-content > h2,
.day-content > h3{
  display:none;
}

/* --- Kulinarische Pflichtliste korrigiert --- */
.food-grid{
  display:grid !important;
  gap:12px !important;
  grid-template-columns:minmax(0,1fr) !important;
}

.food-grid .food-card{
  display:grid !important;
  grid-template-columns:44px minmax(0,1fr) !important;
  align-items:start !important;
  gap:12px !important;
  background:var(--paper) !important;
  border-radius:22px !important;
  padding:16px !important;
  box-shadow:0 8px 20px rgba(25,40,31,.08) !important;
  min-width:0 !important;
}

.food-card span{
  font-size:1.6rem;
  line-height:1;
  text-align:center;
  width:44px;
}

.food-card div{
  min-width:0;
  display:grid;
  gap:4px;
}

.food-card strong{
  color:var(--text);
  font-size:1.08rem;
  line-height:1.2;
  word-break:normal;
  overflow-wrap:normal;
  hyphens:none;
}

.food-card small{
  color:var(--muted);
  line-height:1.35;
  font-size:.95rem;
  word-break:normal;
  overflow-wrap:normal;
  hyphens:none;
}

@media (min-width:760px){
  .food-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}


/* --- Attraktionen und Empfehlungen pro Tag --- */
.route-tip{
  margin:14px 0;
  padding:14px;
  border-radius:18px;
  background:#f8f1e3;
  border-left:5px solid var(--green);
}

.route-tip h4{
  margin:0 0 7px;
  color:var(--green);
  font-size:1rem;
  line-height:1.25;
}

.route-tip p{
  margin:0;
  color:#334039;
  line-height:1.48;
  font-size:.95rem;
}

.route-tip--star{border-left-color:#d9a441}
.route-tip--insider{border-left-color:#c62828}
.route-tip--photo{border-left-color:#4d6f91}
.route-tip--food{border-left-color:#8e1b1b}

.tip-map{
  display:inline-flex;
  margin-top:10px;
  color:var(--green);
  font-weight:900;
  text-decoration:none;
  font-size:.92rem;
}

.optional-route{
  margin-top:8px;
}

.optional-grid{
  display:grid;
  gap:14px;
}

.optional-card{
  background:var(--paper);
  border-radius:24px;
  padding:18px;
  box-shadow:var(--shadow);
  border:1px solid rgba(234,223,202,.9);
}

.optional-card h3{
  color:var(--green);
  margin:0 0 8px;
  font-size:1.2rem;
}

.optional-card p{
  color:#334039;
  line-height:1.55;
  margin:0;
}

@media (min-width:760px){
  .optional-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}


/* --- Hero-Slideshow --- */
.hero-slider{
  position:relative;
  min-height:88vh;
  background:none !important;
  overflow:hidden;
}

.hero-bg{
  position:absolute;
  inset:0;
  z-index:0;
  background:#173b2f;
}

.hero-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(rgba(0,0,0,.25),rgba(0,0,0,.58));
  z-index:2;
}

.hero-bg-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity 1.2s ease-in-out;
  z-index:1;
}

.hero-bg-img.active{
  opacity:1;
}

.hero-slider .hero__overlay{
  position:relative;
  z-index:3;
}

.hero__text--short{
  font-size:1.25rem;
  font-weight:700;
  letter-spacing:.01em;
}

.route-tip--hike{
background:#eef5ea;
border-left:5px solid #4b8b3b;
}


/* --- Bottom-Navigation entfernt --- */
.bottom-nav{
  display:none !important;
}
body{
  padding-bottom:0 !important;
}
footer{
  padding-bottom:34px !important;
}

/* --- Seiten-Ladeanzeige --- */
.page-loader{
  position:fixed;
  inset:0;
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:linear-gradient(180deg,#fff8ec 0%,#f6efe0 100%);
  transition:opacity .35s ease, visibility .35s ease;
}

.page-loader.is-hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

.loader-card{
  width:min(360px,100%);
  background:#fffdf8;
  border-radius:26px;
  padding:22px;
  box-shadow:0 18px 55px rgba(25,40,31,.18);
  display:grid;
  gap:10px;
  text-align:left;
}

.loader-card strong{
  color:#173b2f;
  font-size:1.35rem;
}

.loader-card span,
.loader-card small{
  color:#69736d;
  line-height:1.35;
}

.loader-bar{
  height:10px;
  border-radius:999px;
  overflow:hidden;
  background:#eadfca;
}

.loader-bar i{
  display:block;
  height:100%;
  width:0%;
  border-radius:999px;
  background:linear-gradient(90deg,#8e1b1b,#c62828,#e53935);
  transition:width .25s ease;
}

/* Slideshow-Buttons ergonomischer */
.slide-btn{
  touch-action:manipulation;
}


/* Loader-Fix: darf nie die Seite dauerhaft blockieren */
.page-loader.is-hidden{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}


/* --- Mobile Reihenfolge innerhalb der Tageskarten --- */
/* Gewünschte Reihenfolge:
   1. Foto-Slideshow
   2. Ausflugs-/Wander-/Foto-/Geheimtipps
   3. Kurzbeschreibung
   4. Campingplätze und Hotels
*/
@media (max-width: 759px){
  .day-card.is-open .day-body{
    display:flex !important;
    flex-direction:column;
  }

  .day-card.is-open .day-body > .slideshow{
    order:1;
    margin-top:0;
  }

  .day-card.is-open .day-body > .route-tip{
    order:2;
  }

  .day-card.is-open .day-body > .day-desc{
    order:3;
  }

  .day-card.is-open .day-body > .accommodation{
    order:4;
  }
}

.day-desc{font-size:1.02rem;line-height:1.55;color:#2f3734}.accommodation{display:grid;gap:12px}.mini-grid{display:grid;gap:12px}.mini-card{background:#fff8ec;border-radius:18px;padding:14px;box-shadow:0 8px 24px rgba(25,40,31,.08)}


/* --- Route-Reorder Layout Fix --- */

/* Entfernt nackte Zahlenoptik: Tagesmarker wieder sauber als Kreis */
.day-toggle{
  position:relative;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:start;
  gap:14px;
  width:100%;
  border:0;
  background:transparent;
  text-align:left;
  padding:0;
  cursor:pointer;
}

.day-toggle .day-number{
  display:flex !important;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  min-width:42px;
  border-radius:999px;
  background:#c62828;
  color:#fff;
  font-weight:900;
  font-size:1rem;
  box-shadow:0 4px 14px rgba(120,20,20,.22);
  margin-left:-4px;
  z-index:2;
}

.day-card:not(.is-open) .day-toggle .day-number{
  background:#0f4b39;
}

.day-toggle > span:nth-child(2){
  display:grid;
  gap:8px;
}

.day-toggle strong{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  padding:8px 14px;
  border-radius:999px;
  background:#e8f0e4;
  color:#0f4b39;
  font-size:.95rem;
  line-height:1.1;
}

.day-toggle em{
  display:block;
  font-style:normal;
  color:#0f3e31;
  font-size:clamp(1.55rem, 6vw, 2.35rem);
  font-weight:900;
  line-height:1.08;
}

.day-toggle b{
  display:flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius:999px;
  background:#0f4b39;
  color:#fff;
  font-size:1.8rem;
  line-height:1;
}

.day-card.is-open .day-toggle b{
  background:#c62828;
}

.day-card{
  position:relative;
  margin-left:0;
  padding-left:14px;
}

/* kaputte Bild-Icons verhindern */
.placeholder-slide{
  background:#efe4d0;
}

.image-placeholder{
  min-height:280px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#6b6f6a;
  font-weight:800;
  background:linear-gradient(135deg,#efe4d0,#f8f1e3);
  border-radius:22px 22px 0 0;
}

/* Mobile: weniger verschwendeter linker Raum */
@media (max-width:759px){
  .timeline{
    padding-left:0 !important;
  }

  .day-card{
    padding-left:6px;
  }

  .day-toggle{
    grid-template-columns:42px 1fr 42px;
    gap:10px;
  }

  .day-toggle .day-number{
    margin-left:0;
  }

  .day-body{
    margin-left:52px;
  }
}


/* --- Route Drag & Drop Architecture --- */
.route-order-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(255,255,255,.68);
  color:#173b2f;
  font-weight:800;
  text-decoration:none;
  margin-left:8px;
  border:1px solid rgba(23,59,47,.18);
  backdrop-filter:blur(8px);
}

.top-route-edit-fallback{
  position:fixed;
  top:12px;
  right:12px;
  z-index:99;
}

@media(max-width:759px){
  .route-order-link{
    font-size:.86rem;
    min-height:32px;
    padding:0 10px;
  }
}
