
:root{
  --green:#17933a;
  --green2:#128533;
  --black:#101522;
  --muted:#68707b;
  --line:#e9edf2;
  --soft:#f7f9fb;
  --shadow:0 18px 50px rgba(16,21,34,.08);
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  color:var(--black);
  background:#fff;
  line-height:1.55;
}
img{max-width:100%;display:block}
a{color:inherit}
.ap-header{
  height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:0 clamp(22px,4vw,54px);
  background:#fff;
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:20;
}
.ap-logo img{width:118px;height:auto}
.ap-nav{display:flex;gap:30px;font-size:15px;font-weight:800}
.ap-nav a{text-decoration:none}
.ap-actions{display:flex;gap:12px}
.ap-icon-btn{
  width:48px;height:48px;
  display:grid;place-items:center;
  border-radius:12px;
  border:1px solid #111827;
  text-decoration:none;
  font-size:21px;
  background:#fff;
}
.ap-icon-btn.wa{background:var(--green);border-color:var(--green);color:#fff}

.ap-page{max-width:var(--max);margin:0 auto;padding:26px 22px 80px}
.ap-breadcrumb{font-size:13px;color:var(--muted);margin:0 0 28px}
.ap-breadcrumb a{text-decoration:none;color:var(--muted)}
.ap-top{
  display:grid;
  grid-template-columns:1fr 210px;
  align-items:start;
  gap:28px;
  margin-bottom:26px;
}
.ap-title h1{
  margin:0 0 8px;
  font-size:clamp(38px,4vw,58px);
  line-height:1;
  letter-spacing:-.055em;
}
.ap-title h2{
  margin:0 0 14px;
  font-size:22px;
  line-height:1.2;
}
.ap-title p{
  margin:0;
  font-size:17px;
  color:#222;
}
.ap-price-top{
  border:1px solid var(--line);
  border-radius:18px;
  text-align:center;
  padding:22px;
  box-shadow:var(--shadow);
  background:#fff;
}
.ap-price-top .line{display:flex;align-items:baseline;justify-content:center;gap:8px}
.ap-price-top small{font-weight:800}
.ap-price-top strong{font-size:42px;color:var(--green);line-height:1}
.ap-price-top span,.ap-price-top em{display:block}
.ap-price-top span{font-weight:800;margin-top:4px}
.ap-price-top em{font-style:normal;color:var(--muted);font-size:14px;margin-top:4px}

.ap-gallery{
  display:grid;
  grid-template-columns:2fr 1.18fr;
  gap:12px;
  margin:28px 0 14px;
}
.ap-main-photo{
  position:relative;
  min-height:520px;
  border-radius:16px;
  overflow:hidden;
  background:#eee;
}
.ap-main-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.ap-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:46px;height:46px;
  border:0;
  border-radius:50%;
  background:#fff;
  box-shadow:0 8px 25px rgba(0,0,0,.18);
  cursor:pointer;
  font-size:32px;
  z-index:3;
}
.ap-prev{left:18px}.ap-next{right:18px}
.ap-count{
  position:absolute;left:18px;bottom:18px;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(0,0,0,.65);
  color:#fff;
  font-weight:900;
}
.ap-thumbs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.ap-thumb{
  padding:0;border:0;background:#eee;border-radius:14px;overflow:hidden;cursor:pointer;
}
.ap-thumb img{
  width:100%;height:100%;min-height:254px;object-fit:cover;
}
.ap-thumb.active{outline:4px solid var(--green);outline-offset:-4px}
.ap-dots{display:flex;justify-content:center;gap:10px;margin:10px 0 28px}
.ap-dots span{width:10px;height:10px;background:#d8dde4;border-radius:50%;display:block}
.ap-dots span.active{background:var(--green)}

.ap-amenities{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow);
  overflow:hidden;
  margin:0 0 54px;
  background:#fff;
}
.ap-amenities div{
  min-height:82px;
  display:flex;align-items:center;justify-content:center;
  gap:10px;
  border-right:1px solid var(--line);
  font-weight:900;
}
.ap-amenities div:last-child{border-right:0}
.ap-amenities span{font-size:30px}

.ap-content{
  display:grid;
  grid-template-columns:1.45fr .8fr;
  gap:56px;
  align-items:start;
}
.ap-text h2{
  margin:0 0 18px;
  font-size:29px;
  letter-spacing:-.03em;
}
.ap-text p{
  font-size:17px;
  color:#1f2937;
  margin:0 0 14px;
}
.ap-checks{
  margin:28px 0 36px;
  padding:0;
  list-style:none;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px 52px;
}
.ap-checks li{font-weight:650}
.ap-checks li:before{
  content:"✓";
  color:var(--green);
  margin-right:10px;
  font-weight:950;
}
.ap-text hr{
  border:0;
  border-top:1px solid var(--line);
  margin:36px 0;
}
.ap-map{
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  margin-top:14px;
  background:#fff;
}
.ap-map iframe{
  width:100%;height:260px;border:0;display:block;
}
.ap-map-footer{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:14px 18px;
  color:#111;
}
.ap-map-footer a{
  text-decoration:none;
  border:1px solid var(--line);
  border-radius:10px;
  padding:8px 12px;
  font-weight:850;
}

.ap-booking{
  border:1px solid var(--line);
  border-radius:22px;
  padding:30px;
  box-shadow:var(--shadow);
  position:sticky;
  top:112px;
  background:#fff;
}
.ap-booking h2{margin:0 0 26px;font-size:26px}
.ap-price{margin-bottom:18px}
.ap-price small{font-weight:800;margin-right:6px}
.ap-price strong{font-size:44px;color:var(--green);line-height:1}
.ap-price span{display:block;font-weight:900}
.ap-booking p{color:var(--muted);margin:0 0 20px}
.ap-btn{
  width:100%;
  display:flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 16px;
  border-radius:12px;
  text-decoration:none;
  font-weight:950;
  margin-top:12px;
  border:1px solid #111827;
  background:#fff;
  color:#111827;
}
.ap-btn.wa{
  background:var(--green);
  color:#fff;
  border-color:var(--green);
}
.ap-benefits{
  margin:30px 0 0;
  padding:0;
  list-style:none;
}
.ap-benefits li{margin:15px 0;color:#111}
.ap-benefits li:before{content:"✓";color:var(--green);margin-right:10px;font-weight:950}

.ap-more{
  margin-top:54px;
}
.ap-more h2{font-size:28px;margin:0 0 20px}
.ap-more-row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.ap-more-row img{
  width:100%;height:170px;object-fit:cover;border-radius:14px;
}

.mobile-callbar{display:none}

@media(max-width:900px){
  body{padding-bottom:76px}
  .ap-header{height:auto;min-height:78px;flex-wrap:wrap;padding:12px 18px}
  .ap-logo img{width:94px}
  .ap-nav{order:3;width:100%;overflow-x:auto;gap:18px;font-size:14px;padding-bottom:4px}
  .ap-top{grid-template-columns:1fr}
  .ap-price-top{display:none}
  .ap-title h1{font-size:42px}
  .ap-gallery{display:block}
  .ap-main-photo{min-height:auto}
  .ap-main-photo img{height:auto}
  .ap-thumbs{
    display:flex;
    overflow-x:auto;
    gap:12px;
    margin-top:12px;
    padding-bottom:8px;
    scroll-snap-type:x mandatory;
  }
  .ap-thumb{
    min-width:74%;
    scroll-snap-align:center;
  }
  .ap-thumb img{height:180px;min-height:180px}
  .ap-amenities{grid-template-columns:repeat(2,1fr)}
  .ap-amenities div{border-right:0;border-bottom:1px solid var(--line)}
  .ap-content{grid-template-columns:1fr;gap:30px}
  .ap-booking{position:static}
  .ap-more-row{display:flex;overflow-x:auto}
  .ap-more-row img{min-width:74%;height:180px}
  .mobile-callbar{
    position:fixed;left:10px;right:10px;bottom:10px;z-index:99;
    display:grid;grid-template-columns:1fr 1fr;gap:10px;
  }
  .mobile-callbar a{
    text-align:center;text-decoration:none;border-radius:999px;padding:13px 10px;font-weight:950;
  }
  .mobile-callbar .call{background:#111;color:#fff}
  .mobile-callbar .wa{background:var(--green);color:#fff}
}
@media(max-width:560px){
  .ap-page{padding:22px 16px 70px}
  .ap-title h1{font-size:36px}
  .ap-title h2{font-size:19px}
  .ap-amenities{grid-template-columns:1fr}
  .ap-checks{grid-template-columns:1fr}
  .ap-map-footer{align-items:flex-start;flex-direction:column}
  .ap-arrow{width:40px;height:40px;font-size:28px}
}

/* === Detailseite Fix: Buttons wie Startseite + Galerie ohne Springen === */
.ap-header{height:88px!important;min-height:88px!important;overflow:hidden!important}
.ap-logo img{max-height:70px!important;width:auto!important}
.ap-btn{border-radius:10px!important;font-weight:950!important;min-height:52px!important}
.ap-btn.wa{background:#25D366!important;border-color:#25D366!important;color:#fff!important;box-shadow:0 12px 28px rgba(37,211,102,.24)}
.ap-btn[href^="tel:"]{background:#df0612!important;border-color:#df0612!important;color:#fff!important;box-shadow:0 12px 28px rgba(223,6,18,.2)}
.ap-btn[href^="mailto:"]{background:#fff!important;border:1px solid #d6dbe3!important;color:#101522!important}
.ap-main-photo{height:520px!important;min-height:520px!important}
.ap-main-photo img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important}
.ap-thumb{height:254px!important}
.ap-thumb img{height:100%!important;min-height:0!important;object-fit:cover!important}
@media(max-width:900px){
  .ap-header{overflow:visible!important;height:auto!important;min-height:78px!important}
  .ap-logo img{max-height:60px!important}
  .ap-main-photo{height:62vw!important;min-height:280px!important;max-height:430px!important}
  .ap-main-photo img{height:100%!important;object-fit:cover!important}
  .ap-thumb{height:180px!important}
  .ap-thumb img{height:180px!important;min-height:180px!important}
}

/* Detailseite Header-Logo bündig */
.ap-header{
  height:82px!important;
  min-height:82px!important;
  max-height:82px!important;
  padding-top:8px!important;
  padding-bottom:8px!important;
  overflow:hidden!important;
}
.ap-logo{
  height:66px!important;
  max-height:66px!important;
  display:flex!important;
  align-items:center!important;
  overflow:hidden!important;
}
.ap-logo img{
  height:58px!important;
  max-height:58px!important;
  width:auto!important;
  object-fit:contain!important;
}
@media(max-width:760px){
  .ap-header{height:auto!important;max-height:none!important;min-height:76px!important;overflow:visible!important}
  .ap-logo{height:58px!important;max-height:58px!important}
  .ap-logo img{height:52px!important;max-height:52px!important}
}

/* === CACHEBUST V30 DETAIL === */
.ap-header.fixed-logo-header,
.ap-header{
  height:74px!important;
  min-height:74px!important;
  max-height:74px!important;
  padding-top:6px!important;
  padding-bottom:6px!important;
  overflow:hidden!important;
}
.ap-logo{height:58px!important;max-height:58px!important;display:flex!important;align-items:center!important;overflow:hidden!important}
.ap-logo img{height:52px!important;max-height:52px!important;width:auto!important;object-fit:contain!important}
.ap-price strong,.ap-price-top strong{color:#17933a!important}
.ap-main-photo{height:520px!important;min-height:520px!important}
.ap-main-photo img{height:100%!important;object-fit:cover!important}
@media(max-width:900px){
  .ap-main-photo{height:62vw!important;min-height:280px!important;max-height:430px!important}
}
