/* Components. All values come from tokens.css (loaded before this file). */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: var(--weight-medium);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--color-selection-bg); color: var(--color-selection-text); }

.mono {
  font-family: var(--font-mono);
  font-size: var(--text-label);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--color-label);
}

/* ---------- WebGL layer ---------- */
html { background: var(--color-bg); }
body { background: transparent; }
.gl { position: fixed; top: 0; left: 0; z-index: var(--z-webgl); pointer-events: none; display: none; }  /* sized by JS */
.has-webgl .gl { display: block; }            /* only shown while the desktop effect runs (never an empty canvas) */
.page { position: relative; z-index: var(--z-page); }
/* JS scroll: the page is fixed and moved in the same frame as the WebGL images,
   so text and images can never drift apart (this was the "layers" issue on mobile) */
.js-scroll .page { position: fixed; top: 0; left: 0; right: 0; will-change: transform; }
/* When WebGL is running the canvas draws the images; the DOM boxes only reserve the space */
.has-webgl .card__media { visibility: hidden; }
.has-webgl [data-gl] { background: transparent !important; }   /* drawn by WebGL instead */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* Centered column */
.page > * { max-width: var(--page-max-width); margin-inline: auto; }

/* ---------- Privat / Business ---------- */
html:not([data-audience="business"]) [data-show="business"],
html[data-audience="business"] [data-show="private"] { display: none !important; }

.audience {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--color-text) 14%, transparent);
  background: var(--color-bg);
  cursor: pointer;                           /* the whole pill is clickable */
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.audience__thumb {                          /* the sliding indicator */
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--color-text);
  transition: transform .55s var(--ease-out);
}
.audience[data-target="business"] .audience__thumb { transform: translateX(100%); }   /* moves on click, not after the circle */
.audience:hover .audience__thumb { box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-text) 10%, transparent); }
.audience button {
  position: relative;
  z-index: 1;
  min-width: 112px;
  border: 0;
  background: transparent;
  padding: 11px 22px;
  font-family: var(--font-mono);
  font-size: var(--text-label);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--color-text);
  cursor: pointer;
  transition: color .3s var(--ease-out);
}
.audience button[aria-pressed="true"] { color: var(--color-bg); }
.audience button:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; border-radius: 999px; }

.info__cta {
  display: inline-block;
  margin-top: var(--space-lg);
  font-family: var(--font-mono);
  font-size: var(--text-label);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  transition: color var(--duration-fast), transform var(--duration-base) var(--ease-out);
}
.info__cta { text-align: center; }
.info__cta:hover { color: var(--color-accent); transform: translateX(4px); }

/* Switch animation: the cursor dot grows over the page (see switchAudience in script.js).
   White + difference = exact colour negative, which is what Business is. */
.flip-circle {
  position: fixed;
  z-index: 9999;
  border-radius: 50%;
  background: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  will-change: transform;
  transform-origin: 50% 50%;
}

/* title copy, cut to the same growing circle (under .flip-circle) */
.flip-clip { position: fixed; inset: 0; z-index: 9998; pointer-events: none; }

/* ---------- Header ---------- */
.header { padding: var(--space-lg) var(--gutter) var(--space-xl); }
.header__row { display: flex; justify-content: center; }
.title {
  font-family: var(--font-display);
  color: var(--color-title);
  line-height: var(--leading-display);
  white-space: nowrap;
  text-align: center;
  padding-top: .17em;              /* room for the Ü dots, scales with the font size */
  margin-top: clamp(20px, 2.5vw, 36px);   /* clear gap below the Privat/Business toggle (Ü dots never touch it) */
  font-size: 18vw;                 /* refined by fitText() in script.js */
}
/* first load: hidden until the font is ready, then the intro animation shows it (script.js) */
html.intro-wait .title, html.intro-wait .header__row, html.intro-wait .intro { opacity: 0; }
.title__br { display: none; }               /* desktop: one line */
/* Business only: small label next to SOUND. Positioned absolutely, so it never
   changes the size of the title (fitText measures the letters only). */
.title__sound { position: relative; }
.title__tag {
  position: absolute;
  right: 0;
  /* Anton: capital letters start 20.5 % below the top of the text box, the baseline
     sits at 78.2 % (percentages scale with the title size) */
  top: calc(20.5% - 10px);                    /* 10px above the tops of S-O-U-N-D */
  transform: translateY(-100%);
  font-family: var(--font-mono);
  font-size: clamp(11px, 1vw, 15px);
  font-weight: var(--weight-bold);
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.intro {
  margin-top: var(--intro-offset);
  text-align: center;
  font-size: var(--text-body);
  line-height: var(--leading-normal);
}
/* Privat: one readable sentence directly under the title (instead of the mono line) */
.intro.intro--lead {
  margin: clamp(14px, 2vw, 28px) auto 0;
  max-width: 56ch;
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1.35;
  letter-spacing: var(--tracking-tight);
  font-weight: var(--weight-medium);
}
.intro--lead { color: var(--color-text-muted); }
.intro__claim {                               /* the short headline above the sentence */
  display: block; margin-bottom: 10px;
  font-size: clamp(24px, 2.6vw, 38px); line-height: 1.1;
  letter-spacing: var(--tracking-tighter); color: var(--color-text);
}

/* ---------- Work ---------- */
.work { display: flex; flex-direction: column; gap: var(--grid-gap); padding: 0 var(--gutter); }
.row { display: flex; gap: var(--grid-gap); }

.card { flex: 1 0 0; position: relative; display: block; border-radius: var(--radius-card); overflow: hidden; }
.card__media {
  aspect-ratio: 4 / 3;
  background: var(--tint);                 /* flat colour (only visible if WebGL is unavailable) */
}
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__media[data-src] { background-size: cover; background-position: center; }   /* fallback without WebGL */
.card--hero { flex: none; }
.row .card__media { aspect-ratio: 16 / 9; }                        /* two boxes per row */
.row > .card:only-child .card__media { aspect-ratio: 4 / 1; }     /* a box alone in its row: slim banner */
.card--hero .card__media { aspect-ratio: 3 / 4; max-height: 120vh; width: 100%; }
@media (min-width: 810px) { .card--hero .card__media { aspect-ratio: 21 / 8; } }


/* ---------- Text inside the boxes ---------- */
.card__content {
  position: absolute;
  inset: 0;
  z-index: 1;                                  /* above the WebGL box */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-md);
  padding: clamp(18px, 2vw, 32px);
  color: var(--color-tile-light-text);
}
.card--dark .card__content { color: var(--color-tile-dark-text); }
.card__label { color: color-mix(in srgb, currentColor 55%, transparent); }
.card__title {
  font-size: clamp(22px, 2vw, 34px);
  line-height: 1.05;
  letter-spacing: var(--tracking-tighter);
  font-weight: var(--weight-medium);
}
.card--hero .card__title { font-size: clamp(32px, 4.2vw, 72px); }
.card__text {
  max-width: 40ch;
  margin-top: var(--space-sm);
  font-size: 15px;
  line-height: 1.4;
  opacity: .72;
}
.card--hero .card__text { font-size: clamp(15px, 1.2vw, 18px); }
.card__meta {
  display: inline-block;
  margin-top: var(--space-md);
  color: inherit;
  font-weight: var(--weight-bold);
  transition: color var(--duration-fast), transform var(--duration-base) var(--ease-out);
}
.card:hover .card__meta { color: var(--color-accent); transform: translateX(4px); }

/* ---------- About ---------- */
.about { padding: var(--section-about) 0; display: flex; justify-content: center; }
.about__text {
  max-width: var(--about-max-width);
  font-size: var(--text-lead);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-tight);
  font-weight: var(--weight-medium);
  text-align: center;
}

/* ---------- Info text: link to the other page, centred like .about ---------- */
.info {
  padding: var(--section-about) 0 0;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  color: var(--color-text);
}
.info__text {
  max-width: var(--about-max-width);
  font-size: var(--text-lead);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-tight);
  font-weight: var(--weight-medium);
  text-align: center;
}

/* ---------- FAQ ---------- */
.faq { padding: var(--section-about) 0 0; max-width: 820px; width: 100%; margin-inline: auto; }
.faq__head { text-align: center; margin-bottom: clamp(28px, 4vw, 56px); }
.faq__title { font-size: clamp(32px, 3.4vw, 52px); line-height: 1.05; letter-spacing: var(--tracking-tighter); font-weight: var(--weight-medium); }
.faq .faq__item summary { font-size: clamp(19px, 1.7vw, 24px); padding: clamp(18px, 1.8vw, 26px) 0; }
.faq .faq__item p { font-size: 16px; max-width: 62ch; }
.faq__more { margin-top: clamp(24px, 3vw, 40px); text-align: center; font-size: 15px; line-height: 1.45; color: var(--color-text-muted); }
.faq__more a { color: var(--color-text); text-decoration: underline; text-underline-offset: 3px; transition: color var(--duration-fast); }
.faq__more a:hover { color: var(--color-accent); }
.faq__item summary { transition: color var(--duration-fast); }
.faq__item summary:hover { color: var(--color-accent); }
.faq__item p { overflow: hidden; }            /* height is animated when opening/closing */

/* a row whose boxes keep their own height (delivery box + FAQ) */
.row--top { align-items: flex-start; }
.row > .faq-card { flex: 1 0 0; min-width: 0; }

/* FAQ as a compact box (Privat page): dark tile, light text, same flare as the other boxes */
.faq-card {
  --tint: var(--color-tile-dark);              /* read by WebGL */
  background: var(--color-tile-dark);
  color: var(--color-tile-dark-text);
  border-radius: var(--radius-card);
  padding: clamp(20px, 2vw, 32px);
}
.faq-card .faq__item summary { font-size: 16px; padding: 12px 0; }
.faq-card .faq__item p { font-size: 14px; padding-bottom: 12px; }
.faq-card .faq__label { color: color-mix(in srgb, currentColor 60%, transparent); font-size: var(--text-label); }
.faq-card .faq__item { border-color: color-mix(in srgb, currentColor 16%, transparent); }
.faq-card .faq__item summary::after { color: currentColor; opacity: .7; }
.faq-card .faq__item p { color: color-mix(in srgb, currentColor 70%, transparent); }
.faq__label { margin-bottom: var(--space-md); font-weight: var(--weight-bold); color: var(--color-accent); }
.faq__item { border-top: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent); border-bottom: 0; border-left: 0; border-right: 0; }
.faq__item:last-child { border-bottom: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent); }
.faq-card .faq__item:last-child { border-bottom-color: color-mix(in srgb, currentColor 16%, transparent); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: var(--tracking-tight);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  align-self: center;
  color: var(--color-accent);
  transition: transform var(--duration-base) var(--ease-out);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 var(--space-lg); max-width: 60ch; color: var(--color-text-muted); line-height: 1.5; }

/* ---------- Footer (dark card) ---------- */
.footer { padding: var(--section-footer-top) var(--gutter) var(--section-footer-end); }
.footer__card {
  --tint: var(--color-card-dark);              /* read by WebGL */
  background: var(--color-card-dark);
  color: var(--color-card-text);
  border-radius: var(--radius-card);
  padding: clamp(var(--space-xl), 4vw, var(--space-2xl));
  min-height: var(--footer-min-height);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-2xl);
}
.footer__title {
  font-size: var(--text-heading);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-tighter);
  font-weight: var(--weight-regular);
}
.footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-xl); flex-wrap: wrap; }
.footer__links { display: flex; flex-direction: column; gap: var(--space-xs); }
.footer__links a {
  color: var(--color-card-text);
  font-weight: var(--weight-bold);
  text-transform: none;
  font-size: var(--text-body);
  transition: opacity var(--duration-fast);
}
.footer__links a:hover { opacity: 1; color: var(--color-accent); }
.footer__faq {                                 /* looks like the WhatsApp link above it */
  all: unset; cursor: pointer;
  color: var(--color-card-text); font-family: var(--font-mono); font-weight: var(--weight-bold); font-size: var(--text-body);
  transition: color var(--duration-fast);
}
.footer__faq:hover { color: var(--color-accent); }
.footer__faq:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: var(--text-contact);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tighter);
  font-weight: var(--weight-regular);
}
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-xl); flex-wrap: wrap; }


.footer__note { margin-top: var(--space-md); font-size: var(--text-body); opacity: .85; }
.footer__address { font-size: .6em; letter-spacing: 0; margin-top: var(--space-xs); }
.footer__area { font-size: .6em; letter-spacing: 0; opacity: .7; }
.footer__legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-xl);
  padding-top: var(--space-lg);
  color: var(--color-text-muted);
}
.footer__legal-links { display: flex; gap: var(--space-lg); flex-wrap: wrap; }
.footer__copy { display: flex; flex-direction: column; gap: var(--space-xs); }
.footer__green { display: inline-flex; align-items: center; gap: var(--space-sm); }
.footer__flag { width: 14px; height: 14px; flex: none; }   /* SVG, not the 🇨🇭 emoji: Windows shows that as the letters "CH" */
.footer__legal a:hover { color: var(--color-accent); }
.footer__contact a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* ---------- Floating CTA ---------- */
/* ---------- Floating actions (bottom right): WhatsApp + request ---------- */
.float-actions {
  position: fixed;
  right: var(--float-inset);
  bottom: var(--float-inset);
  z-index: var(--z-float);
  display: flex;
  align-items: stretch;
  gap: var(--space-sm);
}
.float-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;             /* round logo button in the corner */
  padding: 0;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-whatsapp);
  box-shadow: var(--shadow-float);
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  transition: transform var(--duration-base) var(--ease-out);
}
.float-wa:hover { transform: scale(1.05); }
.float-wa svg { width: 26px; height: 26px; }

/* back-to-top: same white square as the WhatsApp button, appears after scrolling */
.float-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 0 10px;
  border-radius: var(--radius-control);
  background: var(--color-surface);
  color: var(--color-on-surface);
  box-shadow: var(--shadow-float);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}
.float-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
html.touch .float-top { display: none !important; }
@media (max-width: 809px) { .float-top { display: none !important; } }   /* desktop only */
.float-wa__label { display: none; }           /* desktop: logo only */

.float-top.is-visible:hover { transform: translateY(-2px); }
html.cursor-hidden .cursor { opacity: 0 !important; }



/* ---------- Language switch (footer, next to Impressum / Datenschutz) ----------
   The language is detected automatically (i18n.js); this is only the manual override. */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; }
.lang-switch span { opacity: .5; }
.lang-switch a { transition: color var(--duration-fast); }
.lang-switch a:hover { color: var(--color-accent); }
.lang-switch a[aria-current="true"] { color: var(--color-text); text-decoration: underline; text-underline-offset: 4px; }
.lang-switch a:focus-visible, .float-wa:focus-visible, .float-top:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* ---------- Cursor: white dot with difference blend (teal on red) ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: var(--cursor-size); height: var(--cursor-size);
  border-radius: var(--radius-round);
  background: var(--palette-white);   /* must stay white for the difference blend */
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: var(--z-cursor);
  opacity: 0; transition: opacity .2s;  /* shown with the first mouse move (html.cursor-on) */
}
html.cursor-on .cursor { opacity: 1; }
html.touch .cursor { display: none; }
/* the dot replaces the mouse pointer (desktop, set by script.js); text fields keep the text cursor */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor :is(input:not([type=checkbox], [type=radio], [type=range], [type=button], [type=submit]), textarea, [contenteditable]) { cursor: text !important; }
/* pop-ups (FAQ, Über uns) lie above the dot: there the normal pointer comes back */
html.has-cursor.faq-open .cursor { opacity: 0; }
html.has-cursor.faq-open, html.has-cursor.faq-open * { cursor: auto !important; }
html.has-cursor.faq-open :is(a, button, summary, label) { cursor: pointer !important; }

/* ---------- Mobile (max-width 809px) ---------- */
@media (max-width: 809px) {
  .title__br { display: inline; }           /* phones: ZÜRICH / SOUND stacked, each line as wide as possible */
  .title { line-height: .92; margin: 34px 6px 0; letter-spacing: -.01em; }   /* two-line title: a little air between the lines, letters and the screen edge */
  .title__tag { top: calc(78.2% + 10px); transform: none; }   /* phones: 10px under SOUND (ZÜRICH is above it) */
  .intro { margin-top: clamp(40px, 10vh, 96px); }
  .intro.intro--lead { margin-top: 28px; font-size: 16px; line-height: 1.45; padding: 0 6px; text-wrap: pretty; }
  .intro__claim { font-size: 23px; line-height: 1.15; margin-bottom: 12px; text-wrap: balance; }
  .row { flex-direction: column; }
  .card { flex: none; }            /* otherwise cards collapse to 0 height and stack on top of each other */
  .row .card__media, .row > .card:only-child .card__media { aspect-ratio: 4 / 3; }
  .card--hero .card__media { aspect-ratio: 1 / 1; }
  .footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
  .footer__contact { align-items: flex-start; }
  .footer__card { min-height: 0; }
}

/* phones: the WhatsApp logo stays in the corner, a bit smaller */
@media (max-width: 809px) {
  .float-wa { width: 52px; height: 52px; }
}

/* ---------- Impressum / Datenschutz ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) var(--gutter) 96px;
  line-height: 1.6;
}
.legal__back { display: inline-block; margin-bottom: var(--space-xl); color: var(--color-text-muted); }
.legal__back:hover { color: var(--color-accent); }
.legal__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 8vw, 96px);
  line-height: .95;
  color: var(--color-title);
  margin-bottom: var(--space-xl);
  hyphens: manual;
}
.legal section { padding: var(--space-lg) 0; border-top: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent); }
.legal h2 { font-size: 18px; font-weight: var(--weight-medium); letter-spacing: var(--tracking-tight); margin-bottom: var(--space-sm); }
.legal p { color: var(--color-text-muted); }
.legal p + p { margin-top: var(--space-sm); }
.legal a { color: var(--color-text); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--color-accent); }
.legal__meta { margin-top: var(--space-xl); color: var(--color-text-muted); }

/* ---------- Sections with a small head (quick finder, delivery map) ---------- */
.sec { margin-top: clamp(56px, 10vh, 120px); }
.about + .sec { margin-top: 0; }
.sec__head { margin-bottom: clamp(18px, 2.2vw, 32px); }
.sec__label { margin-bottom: var(--space-sm); }
.sec__title { font-size: clamp(28px, 3vw, 44px); line-height: 1.05; letter-spacing: var(--tracking-tighter); font-weight: var(--weight-medium); }
.sec__lead { margin-top: 10px; max-width: 52ch; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.45; color: var(--color-text-muted); }

/* ---------- Quick finder: three boxes, drawn by WebGL on desktop like the other boxes ---------- */
.finder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); }
.finder__tile {
  --tint: var(--color-tile-light);              /* read by WebGL */
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-lg);
  min-height: clamp(180px, 15vw, 240px); padding: clamp(18px, 1.8vw, 28px);
  border-radius: var(--radius-card); background: var(--tint); color: var(--color-tile-light-text);
}
.finder__tile--dark { --tint: var(--color-tile-dark); color: var(--color-tile-dark-text); }
.finder__tile .mono { color: inherit; opacity: .72; }      /* .mono is ink by default: would vanish on the dark box */
.finder__big { font-size: clamp(28px, 2.8vw, 44px); line-height: 1; letter-spacing: var(--tracking-tighter); }
.finder__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-md); }
.finder__rec { font-size: 14px; line-height: 1.4; opacity: .85; }
.finder__rec b { font-weight: var(--weight-medium); }
.finder__go { font-family: var(--font-mono); font-size: 18px; line-height: 1; transition: transform var(--duration-base) var(--ease-out), color var(--duration-fast); }
.finder__tile:hover .finder__go { color: var(--color-accent); transform: translateX(4px); }

/* ---------- Delivery zones: map + search (zonemap.js) ---------- */
.zm { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: var(--grid-gap); align-items: stretch; }
.zm__map {
  position: relative; z-index: 0; min-height: clamp(360px, 32vw, 480px); border-radius: var(--radius-card); overflow: hidden;   /* grows with the side column */
  background: var(--color-surface-soft);
}
/* OpenStreetMap tiles in the site's black & white */
.zm__map .leaflet-tile-pane { filter: grayscale(1) contrast(.92) brightness(1.06); }
.zm__map .leaflet-control-attribution { font-size: 10px; background: rgba(255, 255, 255, .8); color: #333; }
.zm__map .leaflet-control-attribution a { color: #333; }
.zm__map .leaflet-control-zoom a { border-radius: 8px !important; border: 0; color: var(--palette-ink); }
.zm__map .leaflet-bar { border: 0; box-shadow: var(--shadow-float); border-radius: 10px; }
.zm-ring { stroke: #0a0a0a; stroke-width: 1; stroke-opacity: .35; fill: #0a0a0a; fill-opacity: .035; transition: fill-opacity .4s, stroke-opacity .4s; }
.zm-ring--1 { fill-opacity: .07; }
.zm-ring--2 { stroke-dasharray: 4 4; }
.zm-ring--3 { stroke-dasharray: 2 6; }
.zm-ring--4 { stroke-dasharray: 1 8; }
.zm-ring.is-active { stroke: var(--palette-blue); stroke-opacity: 1; stroke-width: 2; fill: var(--palette-blue); fill-opacity: .045; stroke-dasharray: none; }   /* light: the big rings cover the whole map when zoomed in */
.zm-route { stroke: var(--palette-blue); stroke-width: 4; stroke-opacity: .9; fill: none; }
.zm-home span { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--palette-blue); box-shadow: 0 0 0 6px rgba(0, 153, 255, .2); }
.zm-pin span { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--palette-ink); border: 4px solid #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.zm-fail { padding: 40px; color: var(--color-text-muted); }

.zm__side { display: flex; flex-direction: column; gap: var(--space-md); min-width: 0; }
.zm__form label { display: block; margin-bottom: var(--space-sm); }
.zm__search { display: flex; gap: var(--space-sm); }
.zm__search input {
  flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: var(--radius-control);
  border: 1px solid transparent; background: var(--color-surface-soft); color: var(--color-text);
  font: var(--weight-medium) 16px/1 var(--font-sans); outline: none;     /* 16px: no zoom on iOS */
}
.zm__search input::placeholder { color: var(--color-text-muted); }
.zm__search input:focus { border-color: var(--color-text); background: var(--color-bg); }
.zm-btn {
  all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 0 20px; border-radius: var(--radius-control);
  font: var(--weight-medium) 14px/1.2 var(--font-sans);
  transition: transform var(--duration-base) var(--ease-out);
}
.zm-btn:hover { transform: translateY(-2px); }
.zm-btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.zm-btn--dark { background: var(--color-text); color: var(--color-bg); white-space: nowrap; }
.zm-btn--light { flex: 1; background: var(--color-tile-dark-text); color: var(--color-tile-dark); }
.zm-btn--soft { background: color-mix(in srgb, currentColor 14%, transparent); color: inherit; }

.zm__result {
  --tint: var(--color-tile-dark);               /* read by WebGL */
  flex: 1; min-height: 200px; padding: clamp(20px, 2vw, 28px); border-radius: var(--radius-card);
  background: var(--tint); color: var(--color-tile-dark-text);
  display: flex; flex-direction: column; gap: 10px;
}
.zm__result .mono, .zm-pill .mono { color: inherit; }     /* .mono is ink by default: unreadable on the dark box */
.zm-r__hint, .zm-r__busy { opacity: .85; line-height: 1.5; font-size: 16px; }
.zm-r__label { opacity: .8; overflow-wrap: anywhere; }
.zm-r__zone { font-size: clamp(40px, 4.4vw, 64px); line-height: .95; letter-spacing: var(--tracking-tighter); }
.zm-r__area, .zm-r__meta { font-size: 16px; line-height: 1.45; }
.zm-r__meta { opacity: .85; }
.zm-r__price { display: grid; gap: 4px; margin-top: 4px; padding: 14px 16px; border-radius: 10px; background: color-mix(in srgb, currentColor 9%, transparent); }
.zm-r__price .mono { opacity: .8; }
.zm-r__price b { font-size: 28px; font-weight: var(--weight-medium); letter-spacing: var(--tracking-tight); }
.zm-r__plus { font-size: 15px; line-height: 1.35; color: color-mix(in srgb, var(--palette-blue) 75%, currentColor); }
.zm-r__actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.zm-r__note { font-size: 13px; line-height: 1.45; opacity: .72; }

.zm__pills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-sm); }
.zm-pill {
  all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 3px; align-content: start; min-width: 0;
  padding: 12px; border-radius: 10px; background: var(--color-surface-soft); color: var(--color-text);
  transition: background var(--duration-fast), color var(--duration-fast);
}
.zm-pill:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.zm-pill span { font-size: 11px; opacity: .75; }
.zm-pill b { font-weight: var(--weight-medium); font-size: 16px; white-space: nowrap; }
.zm-pill small { font-size: 12px; line-height: 1.3; opacity: .75; overflow-wrap: anywhere; }
.zm-pill:hover { background: color-mix(in srgb, var(--color-text) 10%, var(--color-surface-soft)); }
.zm-pill.is-active { background: var(--palette-blue); color: #fff; }
.zm-pill.is-active span, .zm-pill.is-active small { opacity: .92; }

@media (max-width: 1100px) {
  .zm__pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .zm { grid-template-columns: 1fr; }
  .zm__side { display: contents; }                      /* phones: search, map, result, zones */
  .zm__form { order: 1; }
  .zm__map { order: 2; min-height: 0; height: 340px; }
  .zm__result { order: 3; min-height: 0; }
  .zm__pills { order: 4; }
}
@media (max-width: 809px) {
  .finder { grid-template-columns: 1fr; gap: 10px; }
  .finder__tile { min-height: 0; gap: 14px; padding: 18px; }
  .finder__big { font-size: 30px; }
}
@media (max-width: 480px) {
  .zm__map { height: 280px; }
  .zm__search { flex-direction: column; }
  .zm__search input { flex: none; width: 100%; }
  .zm__search .zm-btn { width: 100%; }
  .zm-r__actions { flex-direction: column; }
}

/* very small phones (≤ 350 px): the two floating buttons stay on one line */
@media (max-width: 350px) {
  .float-wa { width: 52px; height: 52px; }
}

/* phones: the page ends right after the footer, leaving just room for the WhatsApp / request bar */
@media (max-width: 809px) {
  .footer { padding-bottom: calc(52px + var(--float-inset) + 24px); }
}

/* ---------- FAQ pop-up ---------- */
.faq-modal {
  width: min(760px, calc(100vw - 32px)); max-width: none; max-height: min(86vh, 900px); max-height: min(86dvh, 900px);
  margin: auto; padding: 0; border: 0; border-radius: var(--radius-card);
  background: var(--color-bg); color: var(--color-text); box-shadow: 0 24px 80px rgba(0, 0, 0, .25);
  overflow: auto; overscroll-behavior: contain;
  opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .25s var(--ease-out), transform .35s var(--ease-out);
}
.faq-modal.is-open { opacity: 1; transform: none; }
.faq-modal::backdrop { background: rgba(10, 10, 10, .45); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s; }
.faq-modal.is-open::backdrop { opacity: 1; }
.faq-modal__inner { position: relative; padding: clamp(28px, 4vw, 56px); }
.faq-modal__close {
  all: unset; cursor: pointer; position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-size: 26px; line-height: 1; background: var(--color-surface-soft); color: var(--color-text);
}
.faq-modal__close:hover { background: color-mix(in srgb, var(--color-text) 10%, var(--color-surface-soft)); }
.faq-modal__close:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.faq-modal .faq__label { margin-bottom: var(--space-sm); }
.faq-modal .faq__title { margin-bottom: clamp(20px, 3vw, 32px); padding-right: 48px; }
.faq-modal .faq__more { text-align: left; }
.faq-open, .faq-open body { overflow: hidden; }       /* phones: the page behind does not scroll */
@media (max-width: 809px) {
  /* phones: a sheet that comes up from the bottom */
  .faq-modal { width: 100vw; max-height: 88vh; max-height: 88dvh; margin: auto 0 0; border-radius: 16px 16px 0 0; transform: translateY(40px); }
  .faq-modal__inner { padding: 28px 20px 40px; }
  .faq-modal .faq__item summary { font-size: 17px; }
}

/* ---------- Im Einsatz: photo band, two rows running in opposite directions ---------- */
.marquee__rows { display: grid; gap: var(--grid-gap); margin-inline: calc(var(--gutter) * -1); overflow: hidden; }
.marquee__track { display: flex; gap: var(--grid-gap); width: max-content; animation: marquee 80s linear infinite; }
.marquee__row--rev .marquee__track { animation-direction: reverse; }
.marquee__track img { flex: none; height: clamp(170px, 20vw, 300px); width: auto; border-radius: var(--radius-card); object-fit: cover; display: block; }
html:not(.touch) .marquee__rows:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__track { will-change: transform; }
.marquee.is-off .marquee__track { animation-play-state: paused; }    /* off screen (script.js) */
@media (max-width: 809px) {
  .marquee__track { animation-duration: 55s; gap: 10px; }
  .marquee__rows { gap: 10px; }
  .marquee__track img { height: 150px; }
}

/* ---------- Eventtechnik: services, process, why us, guide prices ---------- */
.about[data-show="business"] .about__text { max-width: 40ch; }
.svc + .svc { margin-top: clamp(32px, 4vw, 56px); }
.svc__group { font-size: clamp(18px, 1.5vw, 22px); font-weight: var(--weight-medium); letter-spacing: var(--tracking-tight); margin-bottom: 14px; color: var(--color-text-muted); }
.svc__grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gap); }
.svc__card { display: flex; flex-direction: column; gap: 10px; padding: clamp(18px, 1.8vw, 26px); border-radius: var(--radius-card); border: 1px solid color-mix(in srgb, var(--color-text) 16%, transparent); }
.svc__label { color: var(--color-text-muted); }
.svc__name { font-size: clamp(19px, 1.5vw, 22px); font-weight: var(--weight-medium); letter-spacing: var(--tracking-tight); line-height: 1.15; }
.svc__text { font-size: 15px; line-height: 1.5; color: var(--color-text-muted); flex: 1; }
.svc__cta { margin-top: 6px; font: var(--weight-bold) var(--text-label)/1 var(--font-mono); text-transform: uppercase; letter-spacing: var(--tracking-label); transition: color var(--duration-fast), transform var(--duration-base) var(--ease-out); align-self: flex-start; }
.svc__cta:hover { color: var(--color-accent); transform: translateX(4px); }
.proc { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gap); }
.proc li { display: grid; gap: 12px; align-content: start; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--color-text) 30%, transparent); }
.proc .mono { color: var(--color-text-muted); }
.proc p, .why li { font-size: 16px; line-height: 1.5; color: var(--color-text-muted); }
.proc strong, .why strong { color: var(--color-text); font-weight: var(--weight-medium); }
.why { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px var(--grid-gap); }
.why li { padding-left: 16px; border-left: 2px solid var(--color-text); }
.prices { display: grid; }
.prices__row { display: grid; grid-template-columns: auto minmax(24px, 1fr) auto; gap: 14px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid color-mix(in srgb, var(--color-text) 14%, transparent); font-size: 17px; }
.prices__row b { font-weight: var(--weight-medium); }
.prices__row small { display: block; margin-top: 3px; font-size: 14px; color: var(--color-text-muted); }
.prices__row i { border-bottom: 1px dotted color-mix(in srgb, var(--color-text) 30%, transparent); }
.prices__val { white-space: nowrap; }
.prices__note { margin-top: 16px; max-width: 70ch; font-size: 14px; line-height: 1.5; color: var(--color-text-muted); }
.biz-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 3vw, 40px); }
.biz-cta__mail { border: 1px solid color-mix(in srgb, var(--color-text) 35%, transparent); color: var(--color-text); }

@media (max-width: 1100px) {
  .svc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 809px) {
  .svc__grid, .proc, .why { grid-template-columns: 1fr; gap: 12px; }
  .proc, .why { gap: 20px; }
  .prices__row { grid-template-columns: 1fr auto; font-size: 16px; }
  .prices__row i { display: none; }
  .biz-cta .zs-btn { flex: 1 1 100%; justify-content: center; }
}
.sec.marquee { margin-top: clamp(8px, 2vh, 24px); }   /* right under the intro: the first thing you see */

/* ---------- Referenzen (Eventtechnik): one line with links ---------- */
.refline { font-size: clamp(18px, 1.8vw, 24px); line-height: 1.5; color: var(--color-text-muted); }
.refline a { color: var(--color-text); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color var(--duration-fast); }
.refline a:hover { color: var(--color-accent); }

/* ---------- Leistungen (Eventtechnik): big list, the text opens on hover / tap ---------- */
.svc-list { list-style: none; }
.svc-list li { display: grid; grid-template-columns: clamp(34px, 4vw, 60px) 1fr; column-gap: 16px; padding: clamp(10px, 1.2vw, 16px) 0; border-top: 1px solid color-mix(in srgb, var(--color-text) 16%, transparent); outline: none; }
.svc-list li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--color-text) 16%, transparent); }
.svc-list .mono { color: var(--color-text-muted); padding-top: .9em; }
.svc-list h3 { font-size: clamp(26px, 4vw, 56px); font-weight: var(--weight-medium); letter-spacing: var(--tracking-tighter); line-height: 1.05; transition: opacity var(--duration-base); }
.svc-list p { grid-column: 2; max-width: 60ch; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.5; color: var(--color-text-muted);
  max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease-out), opacity .4s, margin .4s; }
.svc-list li.is-open p, .svc-list li:focus-visible p { max-height: 10em; opacity: 1; margin-top: 8px; }
.svc-list li:focus-visible h3 { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
html:not(.touch) .svc-list li { cursor: default; }
html:not(.touch) .svc-list li:hover p { max-height: 10em; opacity: 1; margin-top: 8px; }
html:not(.touch) .svc-list:hover li:not(:hover) h3 { opacity: .35; }
.svc-pdf { text-align: left; }

/* ---------- Kontakt (Eventtechnik), after the guide prices: mail + number, big ---------- */
.biz-contact { display: grid; justify-items: start; gap: 4px; margin-top: clamp(40px, 6vw, 80px); }
.biz-contact__lead { font-size: clamp(18px, 1.8vw, 24px); color: var(--color-text-muted); margin-bottom: 10px; }
.biz-contact a { max-width: 100%; font-size: clamp(30px, 5vw, 72px); font-weight: var(--weight-medium); letter-spacing: var(--tracking-tighter); line-height: 1.05; overflow-wrap: anywhere; transition: opacity var(--duration-base); }
html:not(.touch) .biz-contact:hover a:not(:hover) { opacity: .35; }

/* ---------- "Über uns" pop-up (same frame as the FAQ) ---------- */
.about-modal__text { margin-top: var(--space-lg); max-width: 46ch; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; }
.about-modal__sign { margin-top: var(--space-lg); color: var(--color-text-muted); }
