/* Veidle Homepage – baut auf css/app.css (Farben, Schrift, Pillen, Verbindungskarten) auf */
html, body.site { height: auto; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body.site { background: #fff; font-size: 15px; overflow-x: hidden; }
.site a { color: var(--blue); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff !important; padding: 8px 14px; border-radius: var(--pill); z-index: 2000; }
.skip:focus { left: 12px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- Kopfleiste ---------- */
.s-head { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 68px; display: flex; align-items: center; gap: 24px; padding: 0 28px; transition: background .25s, box-shadow .25s, color .25s; }
.s-head.solid { background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); box-shadow: 0 1px 0 var(--line); }
.s-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy) !important; }
.s-brand .s-word { font-family: var(--head); font-size: 20px; letter-spacing: .01em; border-left: 2px solid currentColor; padding-left: 10px; line-height: 1.1; }
.s-brand.light { color: #fff !important; }
.s-logo { display: inline-flex; width: 34px; height: 34px; }
.s-logo svg { width: 100%; height: 100%; }
.s-head .s-brand { opacity: 0; pointer-events: none; transition: opacity .25s; }
.s-head.solid .s-brand, .s-head.compact .s-brand { opacity: 1; pointer-events: auto; }
.s-nav { display: flex; gap: 4px; margin-left: auto; }
.s-nav a { text-decoration: none; color: var(--slate) !important; font-weight: bold; font-size: 14px; padding: 8px 12px; border-radius: var(--pill); }
.s-nav a:hover, .s-nav a.on { background: var(--tile); color: var(--navy) !important; }
.s-auth { display: flex; align-items: center; gap: 10px; }
.s-link { text-decoration: none; font-weight: bold; font-size: 14px; padding: 8px 10px; }
.s-auth .btn { text-decoration: none; color: #fff !important; }
.s-burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: 50%; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.s-burger span { width: 16px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------- Start (Suche) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 90px 20px 110px; background: radial-gradient(1200px 520px at 50% 115%, var(--cyan-soft), transparent 70%), #fff; }
.hero-in { width: 100%; max-width: 680px; text-align: center; transition: transform .35s; }
.h-word { display: inline-flex; align-items: center; gap: 16px; font-family: var(--head); font-size: clamp(54px, 10vw, 96px); line-height: 1; color: var(--navy); letter-spacing: -.02em; margin: 0; }
.h-logo { display: inline-flex; width: .82em; height: .82em; }
.h-logo svg { width: 100%; height: 100%; }
.h-claim { margin: 14px 0 30px; color: var(--gray); font-size: 17px; }
.search { position: relative; background: #fff; border: 1px solid var(--mist); border-radius: 28px; box-shadow: 0 6px 28px rgba(9, 15, 41, .10); text-align: left; transition: box-shadow .2s, border-color .2s; }
.search:focus-within { border-color: var(--blue); box-shadow: 0 8px 34px rgba(9, 15, 41, .16); }
.search .s-from, .search .s-to { display: flex; align-items: center; gap: 12px; padding: 0 8px 0 22px; }
.search .s-from { height: 46px; border-bottom: 1px solid var(--line); }
.search .s-to { height: 62px; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); }
.search .s-from input { font-size: 14px; color: var(--slate); }
.search .s-to input { font-size: 19px; }
.search .dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.search .dot.a { background: var(--navy); box-shadow: 0 0 0 3px var(--cyan-soft); }
.search .dot.b { background: var(--bad); }
.s-geo { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--blue); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.s-geo:hover { background: var(--tile); }
.s-geo.on { color: var(--ok); }
.s-geo .icon, .s-go .icon { width: 18px; height: 18px; }
.s-go { width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--navy); color: var(--cyan); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.s-go:hover { background: var(--blue); }
.s-go .icon { width: 21px; height: 21px; }
.h-opts { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--gray); flex-wrap: wrap; }
.h-when { display: inline-flex; align-items: center; gap: 6px; }
.h-when select, .h-when input { border: 1px solid var(--line); background: #fff; border-radius: var(--pill); padding: 5px 10px; font: inherit; color: var(--slate); }
.h-hint button { border: 0; background: none; color: var(--blue); font: inherit; font-weight: bold; cursor: pointer; padding: 0; text-decoration: underline; }
.h-chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.h-chips button { border: 1px solid var(--line); background: #fff; border-radius: var(--pill); padding: 7px 14px; font: inherit; font-size: 13px; color: var(--slate); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.h-chips button:hover { border-color: var(--blue); color: var(--navy); }
.h-chips .icon { width: 14px; height: 14px; }
.more { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--gray) !important; font-size: 13px; font-weight: bold; }
.more i { width: 22px; height: 34px; border: 2px solid var(--mist); border-radius: 12px; position: relative; }
.more i::after { content: ''; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--blue); animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 80% { opacity: 0; transform: translateY(10px); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .more i::after { animation: none; } html { scroll-behavior: auto; } }

/* Mit Ergebnissen: Suche oben, Ergebnisse darunter */
.hero.has-results { justify-content: flex-start; min-height: 0; padding-top: 92px; padding-bottom: 40px; }
.hero.has-results .h-word { font-size: 42px; gap: 10px; }
.hero.has-results .h-claim, .hero.has-results .h-chips, .hero.has-results .more { display: none; }
.hero.has-results .hero-in { max-width: 760px; }
.results-wrap { width: 100%; max-width: 1240px; margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; text-align: left; }
.res-col { min-width: 0; }
.res-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.res-head b { font-family: var(--head); color: var(--blue); font-size: 16px; }
.res-map { position: sticky; top: 84px; height: calc(100vh - 110px); min-height: 420px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #E9EEF3; }
.res-map .map-canvas { position: absolute; inset: 0; }
#hp-detail { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 500; }
#hp-detail:empty { display: none; }
.hp-card { background: #fff; border-radius: var(--r); box-shadow: 0 12px 32px rgba(9, 15, 41, .18); padding: 14px 16px; max-height: 46vh; overflow: auto; }
.res-sum { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.results .opt { cursor: pointer; }
.opt .btn[data-book] { margin-left: auto; }
.res-loading { padding: 40px; text-align: center; color: var(--gray); }
@media (max-width: 960px) {
  .results-wrap { grid-template-columns: 1fr; }
  .res-map { position: relative; top: 0; height: 340px; min-height: 0; order: -1; }
}

/* ---------- Inhaltsbereiche ---------- */
.sec { padding: 96px 0; }
.sec.tint { background: var(--tile); }
.sec.dark { background: var(--navy); color: #fff; }
.sec.dark h2, .sec.dark h3 { color: #fff; }
.sec.dark .lead { color: rgba(255, 255, 255, .78); }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: bold; color: var(--blue); background: var(--cyan-soft); padding: 5px 12px; border-radius: var(--pill); margin-bottom: 16px; }
.sec.dark .eyebrow { color: var(--navy); background: var(--cyan); }
.sec h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.12; max-width: 820px; }
.lead { font-size: 18px; color: var(--slate); max-width: 720px; margin: 16px 0 28px; line-height: 1.55; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.split.rev { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.feat { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; background: #fff; }
.feat h3 { font-size: 16px; margin: 12px 0 6px; }
.feat p { margin: 0; color: var(--slate); font-size: 14px; line-height: 1.5; }
.feat.d { background: var(--navy-2); border-color: rgba(255, 255, 255, .08); }
.feat ul { margin: 6px 0 0; padding-left: 18px; color: rgba(255, 255, 255, .8); font-size: 14px; line-height: 1.6; }
.f-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--cyan-soft); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.f-ic .icon { width: 21px; height: 21px; }
.feat.d .f-ic { background: rgba(108, 253, 255, .14); color: var(--cyan); }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.steps3 .n { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--cyan); font-family: var(--head); align-items: center; justify-content: center; }
.steps3 h3 { margin: 14px 0 6px; font-size: 18px; }
.steps3 p { margin: 0; color: var(--slate); line-height: 1.55; }
.steps-sec { border-top: 1px solid var(--line); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.cta-row.center { justify-content: center; }
.site .btn { text-decoration: none; }
.site .btn:not(.ghost):not(.cyan):not(.ghost-light) { color: #fff; }
.site .btn.cyan { color: var(--navy); }
.phone { border-radius: 28px; overflow: hidden; box-shadow: 0 24px 60px rgba(9, 15, 41, .2); max-width: 420px; }
.phone img { display: block; width: 100%; height: auto; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; line-height: 1.5; color: var(--slate); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--cyan-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314314C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ticks b { color: var(--navy); }
.sub-h { margin: 46px 0 14px; font-size: 18px; }
.m-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.m-chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--pill); padding: 8px 14px 8px 8px; font-weight: bold; font-size: 14px; color: var(--navy); }
.m-chip .mode-ic { width: 28px; height: 28px; }
.wl { margin-top: 46px; display: flex; gap: 24px; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 28px; flex-wrap: wrap; }
.wl h3 { font-size: 18px; margin-bottom: 6px; }
.wl p { margin: 0; color: var(--slate); max-width: 720px; line-height: 1.55; }
.exp { position: relative; padding: 110px 0; color: #fff; background: linear-gradient(90deg, rgba(9, 15, 41, .92), rgba(9, 15, 41, .65)), url(../assets/site/city.jpg) center / cover no-repeat; }
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.exp .big { font-family: var(--head); font-size: clamp(48px, 7vw, 76px); color: var(--cyan); line-height: 1; margin-bottom: 8px; }
.exp-t { max-width: 760px; margin: 40px 0 0; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .86); }
.final { text-align: center; }
.final h2 { margin: 0 auto; }
.s-foot { background: var(--navy); color: rgba(255, 255, 255, .75); padding: 56px 0 26px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
.foot-grid > div { display: flex; flex-direction: column; gap: 7px; }
.foot-grid b { color: #fff; margin-bottom: 4px; }
.s-foot a { color: rgba(255, 255, 255, .8) !important; text-decoration: none; }
.s-foot a:hover { color: var(--cyan) !important; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; }

/* ---------- Cookie- und Standortabfrage ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1500; display: flex; justify-content: center; }
.consent[hidden] { display: none; }
.c-in { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 20px 60px rgba(9, 15, 41, .25); padding: 20px 22px; max-width: 640px; width: 100%; }
.c-in h3 { font-size: 16px; margin-bottom: 6px; }
.c-in p { margin: 0 0 12px; color: var(--slate); line-height: 1.5; }
.c-opts { display: grid; gap: 8px; margin: 4px 0 14px; }
.c-btns { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Handy ---------- */
@media (max-width: 1000px) {
  .s-nav { display: none; position: fixed; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 16px 18px; box-shadow: 0 12px 30px rgba(9, 15, 41, .12); }
  .s-nav.open { display: flex; }
  .s-burger { display: inline-flex; }
  .s-head .s-auth .btn { display: none; }
  .split, .split.rev, .cards3, .steps3, .exp-grid, .foot-grid { grid-template-columns: 1fr; }
  .split { gap: 32px; }
}
@media (max-width: 640px) {
  .s-head { padding: 0 16px; gap: 10px; }
  .s-head .s-auth { margin-left: auto; }
  .wrap { padding: 0 16px; }
  .cards2 { grid-template-columns: 1fr; }
  .sec { padding: 64px 0; }
  .hero { padding: 84px 16px 100px; }
  .search .s-to input { font-size: 17px; }
  .h-opts .h-sep { display: none; }
  .phone { max-width: 320px; margin: 0 auto; }
}
.results-wrap[hidden], .site [hidden] { display: none !important; }
