/*!
 * bollhalder-reinigung.ch – Gestaltung
 * Dunkle Bühne, roter Akzent, ruhige Typografie. Ohne Framework.
 */

/* ── Schriften ─────────────────────────────────────────── */
@font-face {
  font-family: 'Open Sans';
  src: url('/assets/fonts/open-sans-var-latin.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
                 U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  src: url('/assets/fonts/open-sans-var-latin-ext.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
                 U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── Grundwerte ────────────────────────────────────────── */
:root {
  --bg:          #191919;
  --bg-deep:     #0f0f0f;
  --bg-soft:     #212121;
  --card:        #242424;
  --line:        rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .22);

  --ink:         #f4f4f4;
  --ink-soft:    #c3c3c3;
  --ink-mute:    #909090;

  --accent:      #a01d18;
  --accent-hi:   #c4281f;   /* Flächen: weisse Schrift liegt darauf */
  --accent-text: #e56a60;   /* Schrift und Symbole auf dunklem Grund */
  --accent-ink:  #ffffff;

  --radius:      3px;
  --radius-lg:   6px;
  --shadow:      0 18px 48px rgba(0, 0, 0, .45);

  --wrap:        1180px;
  --gap:         clamp(1.5rem, 4vw, 3.5rem);
  --pad-y:       clamp(4rem, 9vw, 7.5rem);
  --top-h:       78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.75 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, picture, svg { max-width: 100%; }
img { display: block; height: auto; }

h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
  color: #fff;
}
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.85rem); }
h4 { font-size: 1.1rem; }
h5 { font-size: 1rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  padding: .8rem 1.2rem; background: var(--accent); color: #fff;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
.container--narrow { width: min(100% - 2.5rem, 760px); }

.eyebrow {
  margin: 0 0 .9rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: var(--ink-soft);
  max-width: 62ch;
}
.muted { color: var(--ink-mute); }

/* ── Schaltflächen ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 2.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: .84rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .65rem 1.3rem; font-size: .74rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hi); }
.btn--ghost { background: transparent; border-color: var(--line-strong); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .07); }
.btn--outline { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--outline:hover { border-color: var(--accent-hi); color: #fff; }
.btn--light { background: #fff; color: #191919; }
.btn--light:hover { background: #ececec; }
.btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.textlink {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; font-size: .9rem; letter-spacing: .04em;
  color: var(--accent-text); text-decoration: none;
}
.textlink:hover { color: #fff; }
.textlink .icon { transition: transform .18s ease; }
.textlink:hover .icon { transform: translateX(3px); }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--sm { width: 1.05em; height: 1.05em; }
.icon--xs { width: .9em; height: .9em; }

.iconlink {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink-soft);
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
.iconlink:hover { color: #fff; border-color: var(--accent-hi); background: var(--accent); }

/* ── Kopfbereich ───────────────────────────────────────── */
.site-top {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: rgba(15, 15, 15, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 78px;
}
.brand { flex: none; display: block; }
.brand img { width: clamp(150px, 18vw, 205px); height: auto; }

.nav { margin-left: auto; }
.nav__list {
  display: flex; gap: clamp(1rem, 2.4vw, 2.2rem);
  margin: 0; padding: 0; list-style: none;
}
.nav__link {
  position: relative;
  font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft);
  padding-block: .4rem;
  transition: color .18s ease;
}
.nav__link:hover, .nav__link.is-current { color: #fff; }
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--accent-hi);
  transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: .7rem; }
.site-header__cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle__bar {
  display: block; width: 20px; height: 2px; margin: 4px auto;
  background: #fff; transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.topbar { background: var(--accent); color: #fff; font-size: .88rem; }
.topbar--dunkel { background: #000; }
.topbar--sand { background: #d8c7a8; color: #191919; }
.topbar__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .3rem 1rem; padding: .6rem 0;
}
.topbar__link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed; inset: var(--top-h) 0 0; z-index: 99;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 2rem 1.6rem 2.5rem;
  background: var(--bg-deep);
  opacity: 0; transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease;
  overflow-y: auto;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav.is-open { opacity: 1; transform: none; }
.mobile-nav__list { margin: 0; padding: 0; list-style: none; }
.mobile-nav__link {
  display: block; padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.15rem; font-weight: 600; text-decoration: none;
}
.mobile-nav__foot { display: grid; gap: 1rem; justify-items: start; margin-top: 2rem; }
.mobile-nav__foot .btn { width: 100%; }
.mobile-nav__phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; text-decoration: none; color: var(--ink-soft);
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex; align-items: center;
  min-height: min(92vh, 780px);
  padding: calc(var(--top-h) + 5rem) 0 5rem;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(15, 15, 15, .95) 0%, rgba(15, 15, 15, .82) 46%, rgba(15, 15, 15, .35) 100%),
    linear-gradient(to top, rgba(15, 15, 15, .95), transparent 55%);
}
.hero__inner { position: relative; max-width: 46rem; }
.hero__title { margin-bottom: .5em; }
.hero__text { color: var(--ink-soft); max-width: 40rem; font-size: clamp(1rem, 1.4vw, 1.1rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

/* ── Stellenband ───────────────────────────────────────── */
.jobs { background: var(--accent); color: #fff; }
.jobs__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem 2.5rem; padding: clamp(2rem, 4vw, 3rem) 0;
}
.jobs__title { margin: 0 0 .25em; font-size: clamp(1.35rem, 2.6vw, 2rem); }
.jobs__text { margin: 0; font-size: 1.05rem; opacity: .92; }
.jobs__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ── Abschnitte ────────────────────────────────────────── */
.section { padding: var(--pad-y) 0; }
.section--dark { background: var(--bg-deep); }
.section--contact { background: var(--bg-soft); }
.section--legal { padding-top: calc(var(--top-h) + 4rem); }
.section--legal h2 { margin-top: 2.4rem; font-size: 1.3rem; }
.section--legal address { font-style: normal; color: var(--ink-soft); margin-bottom: 1rem; }
.section--legal p { color: var(--ink-soft); }
.legal-back { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 3rem; }

.section__head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.chip {
  display: inline-block; padding: .5rem 1rem;
  border: 1px solid var(--line); border-radius: 100px;
  font-size: .82rem; text-decoration: none; color: var(--ink-soft);
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}
.chip:hover { color: #fff; border-color: var(--accent-hi); background: rgba(160, 29, 24, .22); }

/* ── Dienstleistungen ──────────────────────────────────── */
.service { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.service + .service { border-top: 1px solid var(--line); }
.service__inner {
  display: grid; gap: var(--gap);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
.service--flip .service__media { order: -1; }
.service__no {
  margin: 0 0 .6rem;
  font-size: .85rem; font-weight: 800; letter-spacing: .22em;
  color: var(--accent-text);
}
.service__text h3 { margin-bottom: .8rem; }
.service__sub {
  display: block; margin-top: .25rem;
  font-size: .68em; font-weight: 400; letter-spacing: 0; color: var(--ink-mute);
}
.service__text p { color: var(--ink-soft); }
.service__text .textlink { margin-top: .8rem; }

/* Bildergalerie */
.slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--card); }
.slider__track { display: flex; transition: transform .45s cubic-bezier(.4, .04, .2, 1); }
.slider__slide { flex: 0 0 100%; }
.slider__slide picture,
.slider__slide img { width: 100%; }
.slider__slide img { aspect-ratio: 4 / 3; object-fit: cover; }
.slider__nav {
  position: absolute; top: 50%; translate: 0 -50%;
  display: grid; place-items: center;
  width: 42px; height: 42px; padding: 0;
  border: none; border-radius: 50%;
  background: rgba(15, 15, 15, .62); color: #fff;
  cursor: pointer; opacity: 0; transition: opacity .2s ease, background-color .2s ease;
}
.slider:hover .slider__nav, .slider__nav:focus-visible { opacity: 1; }
.slider__nav:hover { background: var(--accent); }
.slider__nav--prev { left: .7rem; rotate: 180deg; }
.slider__nav--next { right: .7rem; }
.slider__dots {
  position: absolute; left: 0; right: 0; bottom: .8rem;
  display: flex; justify-content: center; gap: .4rem;
}
.slider__dot {
  width: 8px; height: 8px; padding: 0;
  border: none; border-radius: 50%;
  background: rgba(255, 255, 255, .4); cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.slider__dot.is-active { background: #fff; transform: scale(1.35); }

.outro {
  max-width: 68ch; margin: clamp(2rem, 5vw, 3.5rem) auto 0;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg-soft);
  text-align: center;
}
.outro p { color: var(--ink-soft); }
.outro .btn { margin-top: 1rem; }

/* ── Über uns & Team ───────────────────────────────────── */
.about {
  display: grid; gap: var(--gap);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
.about__media img { border-radius: var(--radius-lg); width: 100%; }
.about__text p { color: var(--ink-soft); }

.team__title {
  margin: clamp(3rem, 7vw, 5rem) 0 2rem;
  padding-top: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid var(--line);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}
.team__gruppe {
  margin: 2.4rem 0 1.1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--line);
  font-size: .82rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-text);
}
.team__gruppe:first-of-type { margin-top: 0; }

.team {
  display: grid; gap: 1.6rem;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  margin: 0; padding: 0; list-style: none;
}
/* Personen ohne Kategorie stehen am Schluss und brauchen eine Abgrenzung,
   damit sie nicht zur letzten Kategorie zu gehören scheinen. */
.team--ohne-kategorie {
  margin-top: 2.4rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
}
.team:first-of-type.team--ohne-kategorie { margin-top: 0; padding-top: 0; border-top: 0; }

.member {
  padding: 1.4rem;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--card);
  transition: border-color .2s ease, transform .2s ease;
}
.member:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.member__photo { display: block; margin-bottom: 1.1rem; }
.member__photo img {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--line-strong);
}
.member__name { margin: 0 0 .35rem; font-size: 1.08rem; line-height: 1.25; }
.member__name span { display: block; font-weight: 400; color: var(--ink-soft); }
.member__role { margin: 0 0 .9rem; font-size: .85rem; color: var(--ink-mute); line-height: 1.5; }
.member__links { display: grid; gap: .35rem; margin: 0; font-size: .85rem; }
.member__links a {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--ink-soft); text-decoration: none;
}
.member__links a:hover { color: var(--accent-text); }

/* ── Kontakt ───────────────────────────────────────────── */
.contact {
  display: grid; gap: var(--gap);
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: start;
}
.contact__form {
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg);
}
.field { margin-bottom: 1.1rem; }
.field label,
.checkline { font-size: .88rem; }
.field label { display: block; margin-bottom: .4rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem .95rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft); color: var(--ink);
  font: inherit; font-size: .95rem;
  transition: border-color .18s ease, background-color .18s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--accent-hi); background: #1c1c1c; }
.field textarea { resize: vertical; min-height: 150px; }
.grid2 { display: grid; gap: 0 1.1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.checkline {
  display: flex; align-items: flex-start; gap: .6rem;
  margin-bottom: 1.4rem; color: var(--ink-soft); line-height: 1.6;
}
.checkline input { margin-top: .35rem; accent-color: var(--accent); flex: none; }
.checkline a { color: var(--accent-text); }
.formnote { margin: .9rem 0 0; font-size: .78rem; color: var(--ink-mute); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
  margin: 0 0 1.4rem; padding: .9rem 1.1rem;
  border-radius: var(--radius); font-size: .92rem; line-height: 1.6;
}
.alert--ok    { background: rgba(58, 140, 70, .18); border: 1px solid rgba(88, 190, 100, .45); color: #b8f0c0; }
.alert--error { background: rgba(160, 29, 24, .18); border: 1px solid rgba(196, 40, 31, .5); color: #ffc9c5; }
.alert--info  { background: rgba(255, 255, 255, .07); border: 1px solid var(--line); color: var(--ink-soft); }

.contact__side { display: grid; gap: 1.6rem; }
.contact-item { display: flex; gap: 1rem; }
.contact-item__icon {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(160, 29, 24, .18); color: var(--accent-text);
}
.contact-item h3 { margin: 0 0 .35rem; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; }
.contact-item address { font-style: normal; color: var(--ink-soft); }
.contact-item p { margin: 0; color: var(--ink-soft); }
.contact-item a { color: var(--ink-soft); text-decoration: none; }
.contact-item a:hover { color: var(--accent-text); }

.hours { margin: 0; padding: 0; list-style: none; font-size: .92rem; color: var(--ink-soft); }
.hours li { display: flex; flex-wrap: wrap; gap: .2rem 1rem; justify-content: space-between; padding: .25rem 0; }
.hours li span:first-child { font-weight: 600; }

/* ── Fussbereich ───────────────────────────────────────── */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); }
.site-footer__grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 2.5rem;
}
.site-footer__brand img { width: 200px; margin-bottom: 1.2rem; }
.site-footer__claim { color: var(--ink-mute); font-size: .92rem; max-width: 34ch; }
.site-footer__social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.site-footer__title { margin: 0 0 1rem; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.site-footer__col { text-align: left; }
.site-footer__nav { margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.site-footer__nav a { display: block; padding: .22rem 0; color: var(--ink-mute); text-decoration: none; }
.site-footer__nav a:hover { color: #fff; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  padding: 1.4rem 0 2rem; border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--ink-mute);
}
.site-footer__bottom p { margin: 0; }
.site-footer__credit a { color: var(--ink-mute); text-decoration: none; }
.site-footer__credit a:hover { color: var(--accent-text); }

/* ── Hinweis-Popup ─────────────────────────────────────── */
.notice-modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: 1.5rem;
}
.notice-modal[hidden] { display: none; }
.notice-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .72); backdrop-filter: blur(3px); }
.notice-modal__panel {
  position: relative;
  width: min(100%, 560px); max-height: calc(100vh - 3rem);
  overflow: auto;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow);
  animation: pop .32s cubic-bezier(.2, .9, .3, 1);
}
.notice-modal--dunkel .notice-modal__panel { border-top-color: #fff; }
.notice-modal--sand .notice-modal__panel { border-top-color: #d8c7a8; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.notice-modal__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.notice-modal__body { padding: clamp(1.6rem, 4vw, 2.4rem); }
.notice-modal__close {
  position: absolute; top: .7rem; right: .7rem; z-index: 2;
  display: grid; place-items: center;
  width: 36px; height: 36px; padding: 0;
  border: none; border-radius: 50%;
  background: rgba(15, 15, 15, .6); color: #fff; cursor: pointer;
}
.notice-modal__close:hover { background: var(--accent); }
.notice-modal__title { margin-bottom: .7rem; }
.notice-modal__text { color: var(--ink-soft); }
.notice-modal__meta { margin-top: 1rem; font-size: .82rem; color: var(--ink-mute); }
.notice-modal__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }

/* ── PDF-Betrachter ────────────────────────────────────── */
.pdfview {
  position: fixed; inset: 0; z-index: 210;
  display: grid; place-items: center;
  padding: clamp(.75rem, 3vw, 2rem);
}
.pdfview[hidden] { display: none; }
.pdfview__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .78); backdrop-filter: blur(3px); }
.pdfview__panel {
  position: relative;
  display: flex; flex-direction: column;
  width: min(100%, 1040px); height: min(100%, 92vh);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
  animation: pop .28s cubic-bezier(.2, .9, .3, 1);
}
.pdfview__bar {
  display: flex; align-items: center; gap: 1.2rem;
  padding: .7rem 1rem .7rem 1.2rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
}
.pdfview__title {
  margin: 0; flex: 1 1 auto; min-width: 0;
  font-size: .95rem; letter-spacing: .02em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pdfview__link {
  flex: none;
  font-size: .82rem; font-weight: 600; color: var(--ink-soft);
  text-decoration: underline; text-underline-offset: 3px;
}
.pdfview__link:hover { color: #fff; }
.pdfview__close {
  flex: none;
  display: grid; place-items: center;
  width: 34px; height: 34px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%;
  background: transparent; color: #fff; cursor: pointer;
}
.pdfview__close:hover { background: var(--accent); border-color: var(--accent); }
.pdfview__frame { flex: 1 1 auto; width: 100%; border: 0; background: #2a2a2a; }

@media (max-width: 700px) {
  /* Dort öffnet der Link die eingebaute Anzeige des Geräts. */
  .pdfview { display: none; }
  .pdfview__bar { flex-wrap: wrap; gap: .5rem 1rem; }
}

/* ── Nach oben ─────────────────────────────────────────── */
.to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90;
  display: grid; place-items: center;
  width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 50%;
  background: rgba(15, 15, 15, .85); color: #fff; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.to-top:hover { background: var(--accent); border-color: var(--accent); }
.to-top[hidden] { display: none; }

/* ── Einblenden beim Scrollen ──────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* ── Anpassungen für kleinere Bildschirme ──────────────── */
@media (max-width: 620px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .site-header__cta { display: none; }
  .site-header__inner { justify-content: space-between; }
  .site-header__actions { margin-left: auto; }
  .service__inner, .about, .contact { grid-template-columns: minmax(0, 1fr); }
  .service--flip .service__media { order: 0; }
  .slider__nav { opacity: 1; }
}
@media (max-width: 620px) {
  .hero { min-height: auto; padding-top: calc(var(--top-h) + 3.5rem); }
  .hero__actions .btn { flex: 1 1 auto; }
  .team { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
  .member { padding: 1.1rem; }
  .member__photo img { width: 72px; height: 72px; }
}
