/* Sigi-Bike — Fahrradwerkstatt Konstanz-Litzelstetten
   Farbwelt: Nachtblau, Elektroblau, Weiß. Kein Grün, kein Orange. */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); }

:root {
  --ink: #0a0f2c;
  --blue: #2438ff;
  --blue-deep: #1626c9;
  --ice: #b9c6ff;
  --paper: #f3f4fa;
  --card: #fff;
  --sky: #dde3ff;
  --muted: #565d7e;
  --line: #d9ddee;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 80rem;
  --r-lg: clamp(20px, 2.4vw, 32px);
  --r-md: 16px;
  --block: clamp(4rem, 9vw, 8rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.nav :focus-visible, .hero[data-time="nacht"] :focus-visible, .hours__card :focus-visible, .find__card :focus-visible, .foot :focus-visible, .lightbox :focus-visible, .quick :focus-visible, .tile--blue :focus-visible { outline-color: #fff; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: var(--ink); padding: .75rem 1rem; z-index: 100; font-weight: 600; }
.skip:focus { left: 0; }

.display { font-family: var(--display); font-weight: 800; line-height: .98; letter-spacing: -.035em; }
h2.display { font-size: clamp(2.5rem, 5.6vw, 4.75rem); }
h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.08; letter-spacing: -.02em; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; padding: .8rem 1.6rem; border-radius: 999px; border: 0; background: var(--blue); color: #fff; font: 600 1.0625rem/1.1 var(--text); text-decoration: none; cursor: pointer; transition: transform .18s ease, background-color .18s ease, color .18s ease; }
.btn:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn--light, .nav .btn, .hero[data-time="nacht"] .btn, .hours__card .btn, .find__card .btn { background: #fff; color: var(--ink); }
.btn--light:hover, .nav .btn:hover, .hero[data-time="nacht"] .btn:hover, .hours__card .btn:hover, .find__card .btn:hover { background: var(--sky); color: var(--ink); }
.btn:active { transform: translateY(0); }
.btn--glass, .hero[data-time="nacht"] .btn--glass { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--glass:hover, .hero[data-time="nacht"] .btn--glass:hover { background: #fff; color: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--line, .btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--line:hover, .btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--blue); color: #fff; }

/* ---------- Navigation: schwebende Leiste ---------- */
.nav { position: fixed; z-index: 50; top: 14px; left: 0; right: 0; pointer-events: none; }
.nav__bar { pointer-events: auto; display: flex; align-items: center; gap: 1.5rem; min-height: 62px; padding: .5rem .6rem .5rem 1.4rem; border-radius: 999px; background: rgba(10, 15, 44, .78); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); color: #fff; }
.nav__logo { display: block; flex: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%); mask-image: linear-gradient(90deg, transparent, #000 22%); }
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); margin-left: auto; }
.nav__links a { color: #fff; text-decoration: none; font-weight: 500; font-size: 1rem; padding: .6rem 0; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .3rem; height: 2px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__call { min-height: 46px; padding: .6rem 1.2rem; font-size: 1rem; flex: none; }
.nav__menu { display: none; }

/* ---------- Hero: großes, bewegtes Kopfbild ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: -4% 0; z-index: -2; transform: translate3d(0, calc(var(--scroll, 0) * 9%), 0) scale(calc(1 + var(--scroll, 0) * .1)); will-change: transform; }
.hero__media video, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(10, 15, 44, .88) 0%, rgba(10, 15, 44, .55) 38%, rgba(10, 15, 44, 0) 68%),
  linear-gradient(0deg, rgba(10, 15, 44, .92) 0%, rgba(10, 15, 44, 0) 46%),
  linear-gradient(180deg, rgba(10, 15, 44, .55) 0%, rgba(10, 15, 44, 0) 22%); }
.hero__inner { width: 100%; padding-block: 8rem clamp(2rem, 5vw, 4rem); display: grid; gap: 2rem; align-items: end; }
.hero__copy { transform: translate3d(0, calc(var(--scroll, 0) * -40px), 0); opacity: calc(1 - var(--scroll, 0) * 1.3); }
.hero h1 { font-size: clamp(3.1rem, 9.2vw, 8.5rem); line-height: .9; margin-top: 1.4rem; }
.hero h1 span { display: block; }
.hero__lead { font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.45; max-width: 34rem; margin-top: 1.6rem; color: #e6e9ff; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.status { display: inline-flex; align-items: center; gap: .6rem; padding: .55rem 1.1rem .55rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 1rem; line-height: 1.25; color: #fff; }
.status__dot { width: .7rem; height: .7rem; border-radius: 50%; background: #aab; flex: none; }
.status[data-open="true"] .status__dot { background: #fff; animation: pulse 2.2s ease-out infinite; }
.status[data-open="false"] .status__dot { background: transparent; box-shadow: inset 0 0 0 2px #aab1d6; }
.status strong { font-weight: 600; }
@keyframes pulse { from { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); } to { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); } }

.hero__facts { display: none; }
.hero__tools { position: absolute; right: var(--gutter); top: 6.2rem; z-index: 2; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; }
.daynight { display: flex; padding: 4px; border-radius: 999px; background: rgba(10, 15, 44, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.daynight button { display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; padding: .35rem .85rem; border: 0; border-radius: 999px; background: transparent; color: #fff; font-size: .9375rem; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.daynight svg { width: 1.05rem; height: 1.05rem; }
.daynight button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.hero__film { min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 0; background: rgba(10, 15, 44, .55); color: #fff; font-size: .9375rem; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero__film:hover { background: #fff; color: var(--ink); }

/* Tagsüber: helles Kopfbild, dunkle Schrift auf hellem Verlauf */
.hero[data-time="tag"] { background: var(--paper); color: var(--ink); }
.hero[data-time="tag"]::before { background:
  linear-gradient(90deg, rgba(243, 244, 250, .94) 0%, rgba(243, 244, 250, .8) 40%, rgba(243, 244, 250, 0) 62%),
  linear-gradient(0deg, rgba(243, 244, 250, .9) 0%, rgba(243, 244, 250, 0) 40%),
  linear-gradient(180deg, rgba(243, 244, 250, .6) 0%, rgba(243, 244, 250, 0) 20%); }
.hero[data-time="tag"] .hero__lead { color: #232a4d; }
.hero[data-time="tag"] .status { background: rgba(10, 15, 44, .9); box-shadow: none; }
.hero[data-time="tag"] .btn { background: var(--ink); color: #fff; }
.hero[data-time="tag"] .btn:hover { background: var(--blue); color: #fff; }
.hero[data-time="tag"] .btn--glass:hover { background: var(--ink); color: #fff; }
.hero[data-time="tag"] .btn--glass { background: rgba(255, 255, 255, .7); color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(10, 15, 44, .55); }
.hero[data-time="tag"] .hero__film { background: rgba(10, 15, 44, .7); color: #fff; box-shadow: none; }
.hero[data-time="tag"] .daynight { background: rgba(10, 15, 44, .7); box-shadow: none; }
.hero[data-time="tag"] .hero__film:hover { background: var(--ink); color: #fff; }

/* ---------- Laufband ---------- */
.ticker { background: var(--blue); color: #fff; overflow: hidden; padding-block: clamp(.9rem, 1.8vw, 1.4rem); }
.ticker__track { display: flex; width: max-content; }
.ticker__group { display: flex; flex: none; }
.ticker__group span { font: 700 clamp(1.5rem, 3.4vw, 2.75rem)/1.1 var(--display); letter-spacing: -.02em; white-space: nowrap; padding-left: clamp(2rem, 4vw, 3.5rem); display: inline-flex; align-items: center; gap: clamp(2rem, 4vw, 3.5rem); }
.ticker__group span::after { content: ""; width: .42em; height: .42em; border-radius: 50%; background: var(--ice); }

/* ---------- Abschnitte ---------- */
.block { padding-block: var(--block); }
.block__head { margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 46rem; }
.block__head p { margin-top: 1rem; font-size: 1.1875rem; color: var(--muted); }

/* ---------- Leistungen: Kachelraster ---------- */
.bento { display: grid; gap: clamp(.75rem, 1.4vw, 1.25rem); }
.tile { border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.75rem); background: var(--card); position: relative; overflow: hidden; }
.tile--blue { background: var(--blue); color: #fff; }
.tile--blue h3 { font-size: clamp(2rem, 3.6vw, 3.25rem); font-weight: 800; letter-spacing: -.03em; }
.tile--blue ul { margin-top: 1.5rem; }
.tile--blue li { display: flex; align-items: center; gap: .9rem; padding: .85rem 0; border-top: 1px solid rgba(255, 255, 255, .22); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); font-weight: 500; }
.tile--blue li::before { content: ""; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232438ff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.7 3.7 7.3-8'/%3E%3C/svg%3E") center / 72% no-repeat; }
.partner { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem; background: #fff; color: var(--ink); border-radius: var(--r-md); padding: 1rem 1.25rem; }
.partner p { font-weight: 600; }
.partner img { width: 250px; max-width: 100%; }
.tile--img { padding: 0; min-height: 15rem; }
.tile--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile--img:hover img { transform: scale(1.04); }
.tile--ink { background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: 13rem; }
.tile--ink h3 { font-size: clamp(2rem, 3.6vw, 3.25rem); font-weight: 800; letter-spacing: -.03em; }
.tile--small { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; min-height: 11rem; }
.tile--small h3 { font-size: clamp(1.375rem, 1.8vw, 1.75rem); }
.tile--small small { display: block; font: 400 1rem/1.4 var(--text); letter-spacing: 0; color: var(--muted); margin-top: .35rem; }
.tile__icon { width: 3rem; height: 3rem; border-radius: 50%; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.tile__icon svg { width: 1.5rem; height: 1.5rem; }

/* ---------- Öffnungszeiten ---------- */
.hours { padding-top: 0; }
.hours__card { background: var(--ink); color: #fff; border-radius: var(--r-lg); overflow: hidden; display: grid; }
.hours__body { padding: clamp(1.75rem, 4.5vw, 4rem); }
.hours h2.display { font-size: clamp(2.25rem, 4.2vw, 3.75rem); }
.hours table { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.hours th, .hours td { text-align: left; vertical-align: baseline; padding: 1.1rem 0; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 1.1875rem; }
.hours th { font: 700 1.375rem/1.2 var(--display); letter-spacing: -.01em; padding-right: 1.25rem; white-space: nowrap; }
.hours td { text-align: right; color: #e6e9ff; font-variant-numeric: tabular-nums; }
.hours td span { display: block; white-space: nowrap; }
.hours td.closed { color: #aab1d6; }
.hours tr.is-today th::after { content: "heute"; display: inline-block; margin-left: .6rem; background: #fff; color: var(--ink); font: 600 .875rem/1 var(--text); letter-spacing: 0; padding: .3rem .6rem; border-radius: 999px; vertical-align: .15em; }
.hours__note { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hours__photo { position: relative; min-height: 17rem; overflow: hidden; }
.hours__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

/* ---------- Action / News ---------- */
.action { background: var(--card); }
.trip + .trip { margin-top: clamp(2.5rem, 5vw, 4rem); }
.trip__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: 1.1rem; }
.trip__count { background: var(--sky); color: var(--blue-deep); font-weight: 600; font-size: .9375rem; padding: .3rem .8rem; border-radius: 999px; }
.shots { display: flex; flex-wrap: wrap; gap: 10px; }
.shot { flex: var(--r) 1 calc(var(--r) * 170px); max-width: calc(var(--r) * 360px); aspect-ratio: var(--r); overflow: hidden; background: var(--sky); display: block; border-radius: var(--r-md); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.shot:hover img { transform: scale(1.05); }

.lightbox { border: 0; padding: 0; background: var(--ink); color: #fff; width: 100vw; height: 100dvh; max-width: none; max-height: none; }
.lightbox::backdrop { background: var(--ink); }
.lightbox__stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 4.5rem 1rem 5rem; }
.lightbox__stage img { max-width: calc(100vw - 2rem); max-height: calc(100dvh - 9.5rem); width: auto; height: auto; object-fit: contain; border-radius: 12px; }
.lightbox__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; }
.lightbox__caption { font: 600 1.0625rem/1.2 var(--text); }
.lightbox button { background: #fff; color: var(--ink); border: 0; font: 600 1rem/1 var(--text); padding: .8rem 1.2rem; min-height: 46px; border-radius: 999px; cursor: pointer; }
.lightbox button:hover { background: var(--sky); }
.lightbox__close { position: absolute; right: 1rem; top: .9rem; z-index: 2; }
.lightbox__nav { display: flex; gap: .5rem; }

/* ---------- Anfahrt & Kontakt ---------- */
.find__grid { display: grid; gap: clamp(.75rem, 1.4vw, 1.25rem); }
.find__card { background: var(--blue); color: #fff; border-radius: var(--r-lg); padding: clamp(1.75rem, 4vw, 3.25rem); display: flex; flex-direction: column; }
.card-list { display: grid; gap: 1.4rem; margin-top: 2.25rem; }
.card-list dt { font-size: .9375rem; font-weight: 500; color: #c9d0ff; }
.card-list dd { font: 600 clamp(1.25rem, 1.9vw, 1.5rem)/1.35 var(--display); letter-spacing: -.01em; }
.card-list dd a { display: inline-block; padding: .3rem 0; text-decoration-color: rgba(255, 255, 255, .55); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.card-list dd a:hover { text-decoration-color: #fff; }
.find__cta { margin-top: 2rem; }
.find__photo { margin-top: 2.5rem; border-radius: var(--r-md); overflow: hidden; }
.find__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; }
.map { position: relative; border-radius: var(--r-lg); background-color: var(--sky); min-height: 26rem; height: 100%; display: grid; place-items: center; text-align: center; padding: 1.5rem; overflow: hidden;
  background-image: linear-gradient(rgba(36, 56, 255, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(36, 56, 255, .12) 1px, transparent 1px); background-size: 44px 44px; }
.map__inner { background: #fff; padding: 2rem 1.75rem; max-width: 25rem; border-radius: var(--r-md); }
.map__inner p { margin: .6rem 0 1.4rem; color: var(--muted); }
.map__inner small { display: block; margin-top: 1.1rem; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.map__inner small a { display: inline-block; padding: .6rem 0; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map--live { padding: 0; }

/* ---------- Fußzeile ---------- */
.foot { background: var(--ink); color: #fff; padding-top: clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.foot__row { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; align-items: center; }
.foot ul { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; }
.foot a { display: inline-block; padding: .7rem 0; text-underline-offset: 4px; }
.foot a:hover { color: var(--ice); }
.foot__logo { margin-top: clamp(1.5rem, 3vw, 2.5rem); width: 100%; }

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */
.legal__top { background: var(--ink); color: #fff; padding: clamp(8rem, 14vw, 11rem) 0 clamp(2.5rem, 5vw, 4rem); }
.legal__top .display { font-size: clamp(2.75rem, 7.5vw, 5.5rem); }
.legal { padding-block: clamp(2rem, 5vw, 4rem) var(--block); }
.legal__text { max-width: 46rem; background: var(--card); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 3.25rem); }
.legal__text h2 { font: 700 1.5rem/1.15 var(--display); letter-spacing: -.02em; margin: 2.25rem 0 .6rem; }
.legal__text h2:first-child { margin-top: 0; }
.legal__text p { margin-bottom: 1rem; }
.legal__text a { color: var(--blue-deep); text-underline-offset: 3px; }

/* ---------- Mobile Schnellleiste ---------- */
.quick { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(10, 15, 44, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.quick a { color: #fff; background: rgba(255, 255, 255, .14); text-decoration: none; text-align: center; padding: .85rem .5rem; border-radius: 999px; font-weight: 600; }
.quick a:first-child { background: #fff; color: var(--ink); }

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__media video, .hero__media img { animation: drift 22s ease-in-out infinite alternate; }
  .hero h1 span { animation: rise .9s cubic-bezier(.16, 1, .3, 1) both; }
  .hero h1 span:nth-child(2) { animation-delay: .09s; }
  .status, .hero__lead, .hero__cta, .hero__facts { animation: fade .8s ease .35s both; }
  .ticker__track { animation: ticker 38s linear infinite; }
  .ticker:hover .ticker__track { animation-play-state: paused; }
  /* Einblenden beim Scrollen: nur wenn das Skript läuft (Klasse .js am html-Element) */
  .js [data-reveal] { opacity: 0; transform: translate3d(0, 36px, 0) scale(.985); transition: opacity .7s ease, transform .9s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .hours__photo img { transform: scale(1.12); transition: transform 1.6s cubic-bezier(.16, 1, .3, 1); }
  .js .hours__card.is-in .hours__photo img { transform: none; }
  @keyframes drift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.5%, 0, 0); } }
  @keyframes rise { from { transform: translate3d(0, 60%, 0); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes fade { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
  @keyframes ticker { to { transform: translate3d(-50%, 0, 0); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media, .hero__copy, .hero__facts { transform: none !important; opacity: 1 !important; }
  .status[data-open="true"] .status__dot { animation: none; }
  .ticker__track { flex-wrap: wrap; width: auto; }
  .ticker__group[aria-hidden="true"] { display: none; }
  .ticker__group { flex-wrap: wrap; row-gap: .5rem; }
  .btn, .shot img, .tile--img img { transition: none; }
}

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 899px) {
  body { padding-bottom: 5rem; }
  .nav { top: 10px; }
  .nav__bar { gap: .75rem; padding-left: 1.1rem; }
  .nav__links { display: none; }
  .nav__call { display: none; }
  .nav__menu { display: block; margin-left: auto; position: relative; }
  .nav__menu summary { list-style: none; cursor: pointer; min-height: 46px; padding: .7rem 1.2rem; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; display: flex; align-items: center; }
  .nav__menu summary::-webkit-details-marker { display: none; }
  .nav__menu[open] summary { background: var(--sky); }
  .nav__panel { position: absolute; right: -.1rem; top: calc(100% + .9rem); width: min(19rem, calc(100vw - 2rem)); background: var(--ink); border-radius: 24px; padding: .75rem; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 24px 60px rgba(10, 15, 44, .45); }
  .nav__panel a { display: block; color: #fff; text-decoration: none; font: 700 1.375rem/1.2 var(--display); letter-spacing: -.02em; padding: .9rem 1rem; border-radius: 16px; }
  .nav__panel a:hover, .nav__panel a:focus-visible { background: rgba(255, 255, 255, .1); }
  .hero__media video, .hero__media img { object-position: 74% 50%; }
  .hero::before { background:
    linear-gradient(0deg, rgba(10, 15, 44, .96) 0%, rgba(10, 15, 44, .72) 42%, rgba(10, 15, 44, .05) 78%),
    linear-gradient(180deg, rgba(10, 15, 44, .55) 0%, rgba(10, 15, 44, 0) 20%); }
  .hero[data-time="tag"]::before { background:
    linear-gradient(0deg, rgba(243, 244, 250, .97) 0%, rgba(243, 244, 250, .82) 44%, rgba(243, 244, 250, 0) 80%),
    linear-gradient(180deg, rgba(243, 244, 250, .5) 0%, rgba(243, 244, 250, 0) 18%); }
  .hero__inner { padding-bottom: 6.5rem; }
  .hero__cta { display: none; }
  .hero__tools { top: 5.4rem; }
  .shots { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .shots::-webkit-scrollbar { display: none; }
  .shot { flex: none; width: 78%; max-width: none; aspect-ratio: 4 / 3; scroll-snap-align: start; }
  .hours td { font-size: 1.0625rem; }
  .hours th { font-size: 1.1875rem; padding-right: .75rem; }
}

/* ---------- Breite Bildschirme ---------- */
@media (min-width: 900px) {
  .quick { display: none; }
  .hero__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .hero__media video, .hero__media img { width: 124%; max-width: none; object-position: 50% 50%; }
  .hero h1 { font-size: clamp(3.5rem, 7vw, 7.25rem); }
  .hero__facts { display: grid; gap: 0; min-width: 19rem; border-radius: 24px; padding: .5rem 1.4rem; color: #fff; background: rgba(10, 15, 44, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .hero__facts div { padding: .95rem 0; }
  .hero__facts div + div { border-top: 1px solid rgba(255, 255, 255, .18); }
  .hero__facts dt { font-size: .875rem; color: #c9d0ff; }
  .hero__facts dd { font: 600 1.125rem/1.3 var(--display); letter-spacing: -.01em; }
  .hero__facts a { text-decoration: none; }
  .hero__facts a:hover { color: var(--ice); }
  .hero[data-time="tag"] .hero__facts { background: rgba(10, 15, 44, .86); box-shadow: none; }
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(13.5rem, auto); }
  .tile--bosch { grid-column: 1 / span 7; grid-row: 1 / span 2; }
  .tile--diag { grid-column: 8 / span 5; grid-row: 1; }
  .tile--brake { grid-column: 8 / span 5; grid-row: 2; }
  .tile--service { grid-column: 1 / span 12; min-height: 11rem; }
  .tile--small { grid-column: span 4; }
  .shots { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .shots--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shot { aspect-ratio: 4 / 3; max-width: none; }
  .shots--5 .shot:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .hours__card { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .find__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
}


/* ---------- Scroll-Fortschritt ---------- */
.progress { position: fixed; z-index: 60; left: 0; right: 0; top: 0; height: 3px; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--ice)); transform: scaleX(0); transform-origin: left; }

/* ---------- Lichtkegel auf Kacheln ---------- */
@media (hover: hover) {
  .tile::after, .find__card::after, .hours__body::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s ease; background: radial-gradient(22rem circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .16), transparent 60%); }
  .tile:not(.tile--blue):not(.tile--ink):not(.tile--img)::after { background: radial-gradient(22rem circle at var(--mx, 50%) var(--my, 50%), rgba(36, 56, 255, .09), transparent 60%); }
  .tile:hover::after, .find__card:hover::after, .hours__card:hover .hours__body::after { opacity: 1; }
  .find__card, .hours__body { position: relative; }
  .hours__card { --mx: 50%; --my: 50%; }
}

/* ---------- Leistungs-Kachel mit Termin-Button, Wetter-Kachel ---------- */
.tile--service { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; }
.tile--weather { background: var(--sky); color: var(--ink); display: flex; flex-direction: column; gap: .35rem; }
.tile--weather[hidden] { display: none; }
.weather__label { font-weight: 600; color: var(--blue-deep); }
.weather__now { display: flex; align-items: center; gap: 1rem; margin-top: .5rem; }
.weather__icon { width: 3.5rem; height: 3.5rem; color: var(--blue); flex: none; }
.weather__icon svg { width: 100%; height: 100%; display: block; }
.weather__temp { font: 800 clamp(3rem, 5vw, 4.25rem)/1 var(--display); letter-spacing: -.04em; }
.weather__text { font-weight: 500; }
.weather__stats { display: flex; gap: 2rem; margin-top: auto; padding-top: 1rem; }
.weather__stats dt { font-size: .875rem; color: var(--muted); }
.weather__stats dd { font: 700 1.25rem/1.2 var(--display); }
.tile--weather small { color: var(--muted); font-size: .8125rem; margin-top: .6rem; }

/* ---------- Service-Pakete ---------- */
.pakete { padding-top: 0; }
.plans { display: grid; gap: clamp(.75rem, 1.4vw, 1.25rem); }
.plan { background: var(--card); border-radius: var(--r-lg); padding: clamp(1.75rem, 3vw, 2.5rem); display: flex; flex-direction: column; }
.plan h3 { font-size: 1.5rem; }
.plan__price { font: 500 1.5rem/1 var(--display); margin-top: 1.25rem; }
.plan__price span { font-weight: 800; font-size: clamp(4rem, 6.5vw, 5.5rem); letter-spacing: -.05em; }
.plan__for { margin-top: .9rem; color: var(--muted); }
.plan ul { margin: 1.5rem 0 2rem; display: grid; gap: .75rem; }
.plan li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.4; }
.plan li svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .12rem; color: var(--blue); }
.plan .btn { margin-top: auto; align-self: stretch; }
.plan--main { background: var(--blue); color: #fff; }
.plan--main .plan__for { color: #dfe4ff; }
.plan--main li svg { color: #fff; }
.steps { counter-reset: none; display: grid; gap: 1.5rem 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(1.75rem, 3vw, 2.5rem); border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: start; }
.steps__no { grid-row: span 2; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 1.125rem/1 var(--display); }
.steps h3 { font-size: 1.25rem; align-self: center; }
.steps p { color: var(--muted); margin-top: .2rem; }

/* ---------- Öffnungszeiten: Uhr und Countdown ---------- */
.hours__live { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between; padding: .9rem 1.2rem; border-radius: var(--r-md); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.hours__live[hidden] { display: none; }
.hours__clock { color: #c9d0ff; font-variant-numeric: tabular-nums; }
.hours__count strong { font: 700 1.25rem/1.2 var(--display); margin-left: .25rem; font-variant-numeric: tabular-nums; }
.find__cta { display: flex; flex-wrap: wrap; gap: .6rem; }
.find__card .btn--glass:hover, .hours__card .btn--glass:hover { background: #fff; color: var(--ink); }
.find__card .btn--glass, .hours__card .btn--glass { background: rgba(255, 255, 255, .14); color: #fff; }

/* ---------- Termin-Dialog ---------- */
.booking { border: 0; padding: 0; width: min(44rem, calc(100vw - 1.5rem)); max-height: calc(100dvh - 1.5rem); border-radius: var(--r-lg); background: var(--card); color: var(--ink); overflow: auto; }
.booking::backdrop { background: rgba(10, 15, 44, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.booking__form { padding: clamp(1.25rem, 4vw, 2.5rem); }
.booking__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.booking__head .display { font-size: clamp(2rem, 5vw, 3rem); }
.booking__close { flex: none; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 0; background: var(--paper); color: var(--ink); font-weight: 600; cursor: pointer; }
.booking__close:hover { background: var(--sky); }
.booking__intro { margin-top: .75rem; color: var(--muted); }
.booking fieldset { border: 0; padding: 0; margin: 1.5rem 0 0; min-width: 0; }
.booking legend { padding: 0; font: 700 1.125rem/1.2 var(--display); margin-bottom: .7rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: 46px; padding: .5rem 1.05rem; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 500; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
.chips input:hover + span { box-shadow: inset 0 0 0 1.5px var(--blue); }
.chips input:checked + span { background: var(--blue); color: #fff; box-shadow: none; }
.chips input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.chips--days { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: thin; }
.chips--days label { flex: none; }
.chips--days span { flex-direction: column; border-radius: 16px; min-width: 4.4rem; padding: .55rem .7rem; line-height: 1.15; }
.chips--days span b { font: 800 1.375rem/1.1 var(--display); }
.chips--days span small { font-size: .8125rem; opacity: .8; }
.booking__fields { display: grid; gap: 1rem; margin-top: 1.5rem; }
.booking__fields label { display: grid; gap: .35rem; font-weight: 600; font-size: .9375rem; }
.booking__fields input, .booking__fields textarea { width: 100%; min-height: 50px; padding: .75rem 1rem; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 400 1.0625rem/1.4 var(--text); }
.booking__fields input:focus, .booking__fields textarea:focus { outline: 3px solid var(--sky); border-color: var(--blue); }
.booking__error { margin-top: 1rem; padding: .8rem 1rem; border-radius: 14px; background: #ffe9ea; color: #8a1220; font-weight: 500; }
.booking__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.booking__note { margin-top: 1rem; font-size: .875rem; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .booking[open] { animation: pop .35s cubic-bezier(.16, 1, .3, 1); }
  .booking[open]::backdrop { animation: veil .3s ease; }
  .plan { transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
  .plan:hover { transform: translateY(-6px); }
  @keyframes pop { from { opacity: 0; transform: translate3d(0, 24px, 0) scale(.97); } to { opacity: 1; transform: none; } }
  @keyframes veil { from { opacity: 0; } to { opacity: 1; } }
}
@media (min-width: 900px) {
  .tile--service { grid-column: 1 / span 12; }
  .bento:has(.tile--weather:not([hidden])) .tile--service { grid-column: 1 / span 7; }
  .tile--weather { grid-column: span 5; }
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .booking__fields { grid-template-columns: 1fr 1fr; }
  .booking__wide { grid-column: 1 / -1; }
}


/* ---------- Ein-Mann-Betrieb ---------- */
.about { padding-top: 0; }
.about__grid { display: grid; gap: clamp(.75rem, 1.4vw, 1.25rem); }
.about__text { background: var(--card); border-radius: var(--r-lg); padding: clamp(1.75rem, 4.5vw, 4rem); display: flex; flex-direction: column; align-items: flex-start; }
.about__text > p { margin-top: 1.25rem; font-size: 1.1875rem; max-width: 34rem; }
.about__facts { margin: 2rem 0; display: grid; gap: 0; width: 100%; }
.about__facts li { display: grid; gap: .15rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.about__facts strong { font: 700 1.25rem/1.2 var(--display); letter-spacing: -.01em; }
.about__facts span { color: var(--muted); }
.about__photo { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 20rem; }
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }

/* ---------- Häufige Fragen ---------- */
.faq { background: var(--card); }
.faq__grid { display: grid; gap: 1.5rem clamp(2rem, 5vw, 5rem); }
.faq .block__head { margin-bottom: 0; }
.faq .block__head a { color: var(--blue-deep); font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; font: 700 clamp(1.125rem, 1.6vw, 1.375rem)/1.25 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0f2c' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 55% no-repeat; transition: transform .25s ease, background-color .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--sky); }
.faq summary:hover::after { background-color: var(--sky); }
.faq details p { padding: 0 3.5rem 1.4rem 0; color: #2a3052; max-width: 40rem; }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .faq__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
  .faq .block__head { position: sticky; top: 7rem; }
}
