
/* Startseite: flächiger grafischer Hero, Text bleibt vollständig im HTML. */
.hero-section {
  --accent-text: var(--accent-text-on-gray);
  position: relative;
  isolation: isolate;
  background-color: var(--hero-ground);
  color: var(--ink);
  padding-block: 3rem;
}
.hero-section::before,
.appointment-request-section::before,
.locations-overview::before,
.location-detail-hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: var(--hero-glow);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  gap: 2rem;
  max-width: 87.5rem;
  margin-inline: auto;
}

.hero-content {
  grid-row: 1;
  min-width: 0;
  max-width: none;
  text-align: left;
}

.hero-content h1 {
  color: var(--accent);
  text-transform: none;
  text-wrap: balance;
}

.hero-subtitle {
  margin-top: 1.5rem;
  color: var(--accent);
  font-family: var(--font-ui);
  font-weight: var(--weight-text);
  font-size: clamp(1.5rem, 2.1vw, 1.875rem);
  line-height: 1.35;
}

.hero-copy {
  max-width: var(--copy-max);
  margin-top: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
}

.hero-cta > .text-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--control-min);
  font-size: var(--type-button);
  line-height: 1.3;
}

.hero-trust {
  margin-top: 1.5rem;
  font-size: var(--type-meta);
  line-height: 1.55;
}

.hero-locations {
  align-self: center;
  justify-self: center;
  width: min(100%, 19.5rem);
  container: hero-locations / inline-size;
}

.hero-graphic {
  --hero-glasses-size: 4.5rem;
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1;
}

/* Beide Linienfelder teilen sich die volle Höhe hinter der Filialgrafik. */
.hero-decoration {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.2;
  pointer-events: none;
}

.hero-decoration-field {
  position: absolute;
  top: max(-13%, -3rem);
  bottom: max(-13%, -3rem);
  display: flex;
  gap: 16px;
  width: 43%;
  overflow: hidden;
}

.hero-decoration-field--left { left: -4%; }
.hero-decoration-field--right { right: -4%; }

.hero-decoration-line {
  flex: 0 0 2px;
  background: var(--ink);
}

.hero-circle {
  position: absolute;
  width: 50%;
  border-radius: 50%;
  aspect-ratio: 1;
}

.hero-circle--pink {
  top: 0;
  left: 0;
}

.hero-circle--blue {
  bottom: 0;
  right: 0;
}

.hero-location-link {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background-color: var(--accent);
  color: var(--hero-foreground);
  text-align: center;
  transition: none;
  -webkit-tap-highlight-color: transparent;
}

.hero-circle--blue .hero-location-link {
  background-color: var(--hero-blue);
}

.hero-location-link:focus-visible {
  outline-color: var(--ink);
  outline-offset: 0.25rem;
}

.hero-circle-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  pointer-events: none;
}

.hero-glasses {
  display: grid;
  place-items: center;
  width: var(--hero-glasses-size);
  height: 3.75rem;
  margin-bottom: 0.1875rem;
}

.hero-glasses-art {
  position: relative;
  width: var(--hero-glasses-size);
  height: var(--hero-glasses-size);
}

.hero-glasses-icon {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: currentColor;
  mask: url('/assets/img/icons/glasses-outline-w.svg') center / contain no-repeat;
}

.hero-lens {
  position: absolute;
  top: 45.833333%;
  width: 33.333333%;
  height: 33.333333%;
  overflow: hidden;
  border-radius: 50%;
  background: transparent;
  transition: background-color 600ms ease;
}

.hero-lens--left { left: 8.333333%; }
.hero-lens--right { right: 8.333333%; }

.hero-lens::after {
  content: '';
  position: absolute;
  inset: -20% auto -20% -65%;
  width: 46%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--hero-foreground) 48%, transparent), transparent);
  transform: translateX(0) skewX(-24deg);
  opacity: 0;
}

.hero-location-name {
  font-family: var(--font-display);
  font-size: clamp(0.875rem, 4.4cqw, 1.375rem);
  font-weight: var(--weight-display);
  line-height: 1.2;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.hero-location-arrow {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.0625rem;
  overflow: hidden;
}

.hero-location-arrow-glyph {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  background: currentColor;
  mask: url('/assets/img/icons/arrow-up-right-outline-w.svg') center / contain no-repeat;
}

/* Gemeinsame Ringzeichnung aus den Komponenten; nur Stärke und Timing sind Hero-spezifisch. */
.hero-circle-ring {
  position: absolute;
  inset: 0.3125rem;
  padding: 0.125rem;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: conic-gradient(from -45deg,
    color-mix(in srgb, var(--hero-foreground) 72%, transparent) 0deg var(--phone-switch-ring-angle),
    transparent var(--phone-switch-ring-angle) 360deg);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  transition: opacity 450ms ease;
}

.hero-location-link:is(:hover, :focus-visible) .hero-circle-ring {
  opacity: 1;
  animation: phone-switch-ring-draw 1100ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-location-link:is(:hover, :focus-visible) .hero-lens {
  background: color-mix(in srgb, var(--hero-foreground) 7%, transparent);
}

.hero-location-link:is(:hover, :focus-visible) .hero-lens::after {
  animation: hero-lens-reflection 1400ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero-location-link:is(:hover, :focus-visible) .hero-lens--right::after {
  animation-delay: 130ms;
}

.hero-location-link:is(:hover, :focus-visible) .hero-location-arrow-glyph {
  animation: hero-arrow-flow 1150ms cubic-bezier(0.45, 0, 0.2, 1) both;
}

.hero-diagonal {
  position: absolute;
  /* Gleich große Kreise liegen symmetrisch zur mittigen Trennlinie. */
  top: 50%;
  left: 50%;
  width: 105%;
  height: 0.125rem;
  transform: translate(-50%, -50%) rotate(-45deg);
  pointer-events: none;
}

.hero-diagonal-line {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform-origin: center;
}

.hero-address {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(0.8125rem, 3.45cqw, 1.0625rem);
  font-weight: var(--weight-display);
  line-height: 1.3;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.hero-address--city { left: 0; bottom: 0.4375rem; color: var(--accent); }
.hero-address--pesch { right: 0; top: 0.4375rem; color: var(--hero-blue-text); }

@keyframes hero-lens-reflection {
  0%, 8% { opacity: 0; transform: translateX(0) skewX(-24deg); }
  18%, 82% { opacity: 1; }
  100% { opacity: 0; transform: translateX(480%) skewX(-24deg); }
}

@keyframes hero-arrow-flow {
  0%, 12% { transform: translate(0, 0); opacity: 1; }
  44% { transform: translate(1.625rem, -1.625rem); opacity: 0; }
  45% { transform: translate(-1.625rem, 1.625rem); opacity: 0; }
  55% { opacity: 1; }
  100% { transform: translate(0, 0); opacity: 1; }
}

/* Zentrierter Unterseiten-Hero nach der Impressumsreferenz; Hermes-Hintergrund bleibt gemeinsam. */
.hero-section.page-hero {
  display: grid;
  align-items: center;
  min-height: calc(50rem - var(--header-measured-height, var(--header-height)));
  padding-block: var(--breadcrumb-inset, 6rem) 6rem;
  text-align: center;
}
.page-hero > .container-wide { position: relative; z-index: 1; min-width: 0; }
.page-hero.has-breadcrumb { align-items: stretch; }
.page-hero.has-breadcrumb > .container-wide { display: grid; grid-template-rows: auto 1fr; }
.page-hero.has-breadcrumb .breadcrumb { width: 100%; }
.page-hero__content { align-self: center; }
.page-hero__heading { max-width: 62.5rem; margin-inline: auto; color: var(--accent); text-wrap: balance; }
.page-hero__cta { justify-content: center; margin-top: 2.5rem; }
.page-hero__subtitle {
  max-width: 62.5rem;
  margin: 2.5rem auto 0;
  font-family: var(--font-ui);
  font-weight: var(--weight-text);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.4;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

/* Geschwungene Nadelstreifen: gemeinsames Motiv mit versetzter Datenschutz-Variante. */
.page-hero__stripes {
  --stripe-field-width: clamp(57.5rem, 80vw, 100rem);
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(90deg, #000, #000 12%, transparent 40% 60%, #000 88%);
}
.page-hero__stripes > span {
  position: absolute;
  width: var(--stripe-field-width);
  aspect-ratio: 23 / 18;
  border-radius: 50%;
  background: repeating-radial-gradient(ellipse at center,
    transparent 0 0.75rem, var(--page-hero-line) 0.8125rem 0.875rem, transparent 0.9375rem 1.4375rem);
  opacity: 0.32;
}
.page-hero__stripes > span:first-child {
  left: calc(var(--stripe-field-width) * -0.7065);
  top: -30%;
  transform: rotate(-28deg);
}
.page-hero__stripes > span:last-child {
  right: calc(var(--stripe-field-width) * -0.739);
  bottom: -40%;
  background: repeating-radial-gradient(ellipse at center,
    transparent 0 0.75rem, var(--accent) 0.8125rem 0.875rem, transparent 0.9375rem 1.4375rem);
  opacity: 0.2;
  transform: rotate(157deg);
}
.page-hero--privacy .page-hero__stripes > span:first-child {
  top: auto;
  bottom: -40%;
  transform: rotate(28deg);
}
.page-hero--privacy .page-hero__stripes > span:last-child {
  top: -30%;
  bottom: auto;
  transform: rotate(-157deg);
}

/* Impressum: drei Inhaltsgruppen; das Raster folgt Platz und Schriftgröße. */
.impressum-section { container: impressum / inline-size; padding-block: 8rem; background: var(--faq-ground); }
.impressum-grid {
  --accent-text: var(--accent-text-on-gray);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem clamp(2rem, 3vw, 3rem);
  align-items: start;
  max-width: 87.5rem;
  margin-inline: auto;
  font-size: 1.2rem;
  line-height: 1.7;
  text-align: left;
  overflow-wrap: anywhere;
}
.impressum-col { min-width: 0; }
.impressum-col p { max-width: var(--copy-max); margin-block: 1rem 1.5rem; }
.impressum-contact-row { display: flex; align-items: baseline; gap: 0.25rem; }
.impressum-contact-row > img { flex: 0 0 auto; transform: translateY(2px); }
.impressum-contact-row > :is(a, span:not(.visually-hidden)) { min-width: 0; }

.impressum-credit {
  --accent-text: var(--mindforge-link);
  position: relative;
  display: grid;
  gap: clamp(1rem, 1.8vw, 1.5rem);
  max-width: 87.5rem;
  margin: clamp(2.5rem, 5vw, 5rem) auto 0;
  padding-top: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--hairline);
}
.impressum-credit__line {
  position: absolute;
  inset: -1px 0 auto;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}
.impressum-credit__logo { display: block; width: min(100%, clamp(16.5rem, 30vw, 20rem)); height: auto; }
.impressum-credit h2 { margin: 0; color: var(--mindforge-link); font-size: var(--type-subhead); line-height: var(--leading-subhead); text-wrap: balance; }
@media screen and (forced-colors: none) {
  .impressum-credit {
    border-image: linear-gradient(90deg, color-mix(in srgb, var(--mindforge-accent) 30%, transparent), rgb(47 140 255 / 30%)) 1;
  }
  html[data-theme="dark"] .impressum-credit {
    background: radial-gradient(ellipse 50% 72% at center top, color-mix(in srgb, var(--mindforge-accent) 13%, transparent), transparent 96%) top / 100% min(100%, 21rem) no-repeat;
  }
  @supports (background-clip: text) {
    .impressum-credit h2 > span {
      display: inline-block;
      background-image: linear-gradient(90deg, var(--mindforge-accent) 0%, var(--mindforge-heading-end) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
  }
}
.impressum-credit p { margin: 0; max-width: none; }
.impressum-credit .btn-arrow { --btn-arrow-size: 0.9em; margin-inline-end: 0.25em; vertical-align: -0.08em; }

@media screen and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  .impressum-credit__line.is-revealing::after {
    content: '';
    display: block;
    width: 27%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--mindforge-accent), transparent);
    animation: impressum-credit-sweep 1.1s cubic-bezier(.22, .62, .38, 1) 0.25s both;
  }
}
@keyframes impressum-credit-sweep {
  from { transform: translateX(-103%); }
  to { transform: translateX(380%); }
}

/* Mindforge-Fließtextlinks: einfahrende Unterstreichung statt Navigationscursor. */
:is(main p, .impressum-grid, .privacy-content, .kontakt-privacy-text, .form-feedback, .newsletter-form__privacy, .breadcrumb, .editorial-copy, .editorial-link-row, .page-directory__links, .editorial-lead, .location-detail-page :where(main)) .text-link:is(:hover, :focus-visible),
:is(.home-page, .kontakt-page) .testimonial-card__source:is(:hover, :focus-visible) {
  background: var(--inline-link-active-ground, none);
  -webkit-text-fill-color: currentColor;
  text-shadow: var(--contrast-text-shadow, none);
  filter: none;
  animation: none;
}
:is(main p, .impressum-grid, .privacy-content, .kontakt-privacy-text, .form-feedback, .newsletter-form__privacy, .breadcrumb, .editorial-copy, .editorial-link-row, .page-directory__links, .editorial-lead, .location-detail-page :where(main)) .text-link::after,
.appointment-panel__map::after,
:is(.home-page, .kontakt-page) .testimonial-card__source::after {
  content: '';
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  color: inherit;
  opacity: 1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
  pointer-events: none;
}
:is(main p, .impressum-grid, .privacy-content, .kontakt-privacy-text, .form-feedback, .newsletter-form__privacy, .breadcrumb, .editorial-copy, .editorial-link-row, .page-directory__links, .editorial-lead, .location-detail-page :where(main)) .text-link:is(:hover, :focus-visible)::after,
.appointment-panel__map:is(:hover, :focus-visible)::after,
:is(.home-page, .kontakt-page) .testimonial-card__source:is(:hover, :focus-visible)::after {
  animation: none;
  transform: scaleX(1);
  transform-origin: left;
}
.appointment-panel__map::after { bottom: 0.6875rem; }
@media screen and (prefers-reduced-motion: no-preference) {
  .impressum-credit .btn-arrow { transition: transform 0.25s cubic-bezier(.22, 1, .36, 1); }
  .impressum-credit .text-link:is(:hover, :focus-visible) .btn-arrow { transform: translateX(3.9px); }
  .impressum-credit .text-link::after { transition-delay: 85ms; }
}
:is(.impressum-page, .datenschutz-page) .faq-answer-inner { overflow-wrap: anywhere; }

/* Datenschutzhinweise: Lesebreite und Gliederung aus der Mindforge-Vorlage. */
.privacy-section { padding-block: 8rem; background: var(--faq-ground); }
.privacy-content {
  --accent-text: var(--accent-text-on-gray);
  max-width: 65ch;
  margin-inline: auto;
  font-size: 1.2rem;
  line-height: 1.7;
  text-align: left;
  overflow-wrap: anywhere;
}
.privacy-content :is(h2, h3, h4) { margin-block: 2.5rem 1rem; overflow-wrap: anywhere; }
.privacy-content > h2:first-child { margin-top: 0; }
.privacy-content h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.privacy-content h4 { font-size: inherit; }
.privacy-content p { margin-block: 1rem 1.5rem; }
.privacy-content :is(ul, ol) { margin-block: 1rem 1.5rem; padding-inline-start: 1.5rem; }
.privacy-content li + li { margin-top: 0.5rem; }
.privacy-content .fw-600 { font-family: var(--font-ui); font-weight: var(--weight-text); }
.privacy-content .mt-4 { margin-top: 2rem; }
.privacy-content .mb-1 { margin-bottom: 0.5rem; }
.privacy-content .mb-4 { margin-bottom: 2rem; }

/* Kontakt: geometrischer Wegweiser, Nutzenbox und zwei direkte Kontaktwege. */
.hero-section.hero-kontakt { padding-block: var(--breadcrumb-inset, clamp(4rem, 7vw, 7rem)) 4rem; overflow: hidden; }
.hero-kontakt, .kontakt-form-section { overflow-wrap: anywhere; hyphens: auto; }
.hero-kontakt > .container-wide { position: static; }
.contact-hero__intro { position: relative; z-index: 1; max-width: 87.5rem; margin-inline: auto; }
.contact-hero__body { max-width: 56.25rem; margin: 5rem auto 0; }
.contact-hero__graphic-wrap { position: absolute; left: calc((100% - 56.25rem) / 4); top: clamp(4rem, 7vw, 7rem); bottom: 4rem; width: max(0px, min(23rem, calc((100% - 56.25rem) / 2 - 3rem))); transform: translateX(-50%); pointer-events: none; }
.contact-hero__graphic { height: 100%; aspect-ratio: auto; }
.contact-hero__graphic .hero-decoration-field { inset: 0; width: 100%; }
.contact-hero__triangle { position: absolute; inset: 50% 0 auto; translate: 0 -50%; width: 100%; aspect-ratio: 10 / 11; background: var(--contact-triangle); mask: url('/assets/img/icons/triangle-rounded.svg') center / contain no-repeat; }
.contact-hero__copy { position: relative; z-index: 1; min-width: 0; text-align: center; }
.contact-hero__copy .headline-break { display: block; }
.hero-content-box { position: relative; width: 100%; max-width: 56.25rem; margin-inline: auto; padding: 3rem 2rem; border-radius: 50px 15px 50px 15px; background: color-mix(in srgb, var(--paper) 55%, transparent); text-align: center; }
.hero-content-box__copy { max-width: 40rem; margin: 1.5rem auto 0; text-align: left; }
.hero-content-box__copy > p { font-size: 1.25rem; }
.hero-content-box .feature-list { font-size: 1.125rem; }
.kontakt-form-section { padding-block: clamp(4rem, 7vw, 7rem); background: var(--faq-ground); }
.kontakt-page .testimonials-section { --testimonial-card-ground: var(--faq-ground); background: var(--paper); }
:is(.home-page, .kontakt-page) .testimonial-card__source { --review-accent-text: var(--accent); position: relative; color: var(--accent); text-decoration: none; }
:is(.home-page, .kontakt-page) .testimonial-card__source::after { bottom: max(0px, calc((2.75rem - 1lh) / 2)); }
.kontakt-page .locations-section { background-color: var(--faq-ground); }
.kontakt-page .faq-section { background-color: var(--faq-ground); }
.kontakt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; align-items: stretch; max-width: 87.5rem; margin-inline: auto; }
.kontakt-col-left, .kontakt-col-right { min-width: 0; }
.kontakt-col-left { display: flex; }
.kontakt-col-right { padding: clamp(1.5rem, 3vw, 3rem); border-radius: 1.25rem; background: var(--newsletter-panel-ground); }
.kontakt-form-panels { display: grid; }
.kontakt-form-panels > .form-wrapper { grid-area: 1 / 1; align-self: start; }
.kontakt-form-panels > .form-wrapper[hidden] { display: block; visibility: hidden; pointer-events: none; }
.form-feedback .text-link { --accent-text: var(--accent); }
.appointment-panel.contact-trust-panel { display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; width: 100%; padding: clamp(1.5rem, 3vw, 3rem); text-align: center; }
.contact-trust-panel .appointment-panel__heading { font-size: var(--type-section); max-width: none; }
.contact-trust-panel .appointment-panel__content { width: 100%; }
.contact-trust-panel .appointment-panel__media { width: min(75%, 21rem); flex: 0 0 auto; margin: 1rem auto; }
.contact-trust-panel__benefits { font-size: 1rem; }
.contact-trust-panel__locations { --contact-location-gap: 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem var(--contact-location-gap); margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgb(255 255 255 / 15%); }
.contact-trust-panel__location { min-width: 0; }
.contact-trust-panel__location + .contact-trust-panel__location { position: relative; }
.contact-trust-panel__location + .contact-trust-panel__location::before { content: ''; position: absolute; left: calc(var(--contact-location-gap) / -2); top: 0.25rem; bottom: 0.25rem; width: 1px; background: color-mix(in srgb, var(--appointment-ink) 20%, transparent); }
.contact-trust-panel__location h3 { display: flex; align-items: center; justify-content: center; gap: 0.5em; margin-bottom: 0.75rem; font-family: var(--font-ui); font-size: 1.25rem; line-height: 1.4; }
.contact-trust-panel__location .status-dot { flex-shrink: 0; margin: 0; }
.contact-trust-panel__location address { font-style: normal; font-size: 1rem; line-height: 1.6; }
.contact-trust-panel__row { display: flex; align-items: flex-start; justify-content: center; gap: 0.5rem; }
.contact-trust-panel__row + .contact-trust-panel__row { margin-top: 0.625rem; }
.contact-trust-panel__row > img { flex: 0 0 auto; width: 1rem; height: 1rem; margin-top: 0.3rem; }
.contact-trust-panel a { min-width: 0; color: inherit; overflow-wrap: anywhere; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.contact-trust-panel a:is(:hover, :focus-visible) { color: var(--accent); }
.contact-trust-panel a:is([href^="tel:"], [href^="mailto:"]) { font-family: var(--font-display); font-weight: var(--weight-display); }
.contact-trust-panel .contact-trust-panel__whatsapp { --whatsapp-icon-size: 45px; display: flex; width: 45px; min-height: 45px; margin: 1.5rem auto 0; }
.kontakt-privacy-text { margin-top: 1.5rem; font-size: 0.9rem; line-height: 1.6; overflow-wrap: anywhere; }
.kontakt-privacy-text .text-link { --accent-text: var(--accent); }

/* Terminvereinbarung: direkter Einstieg ins Formular ohne zusätzlichen Hero. */
.appointment-request-section { position: relative; isolation: isolate; padding-block: var(--breadcrumb-inset, clamp(2rem, 4vw, 4rem)) clamp(2rem, 4vw, 4rem); background: var(--hero-ground); }
#appointment-form { scroll-margin-block-start: calc(var(--header-measured-height, var(--header-height)) + 1rem); }
/* Beim Sprung von oben blendet der aktive Scroll-Header aus. */
body:has(.main-header[data-scroll-header-initialized="true"]) #appointment-form { scroll-margin-block-start: 1rem; }
.appointment-request-stripes { position: absolute; z-index: -1; inset: 0; overflow: clip; mask-image: linear-gradient(90deg, #000 0 7rem, transparent min(28vw, 26rem)); pointer-events: none; }
.appointment-request-stripes .hero-graphic { height: 100%; aspect-ratio: auto; }
.appointment-request-stripes .hero-decoration { inset: auto; top: -40%; left: clamp(7rem, 10vw, 12rem); width: clamp(12rem, 28vw, 28rem); height: 180%; transform: translateX(-50%) rotate(28deg); opacity: 1; }
.appointment-request-stripes .hero-decoration-field { inset: 0; width: 100%; gap: 25px; }
.appointment-request-stripes .hero-decoration-line { flex-basis: 1px; background: var(--locations-stripe); }
.appointment-request-container { max-width: 83.5rem; }
.appointment-request-intro { margin: 0 0 2rem; text-align: left; }
.appointment-request-intro h1 { max-width: 59rem; margin: 0; color: var(--accent); font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.15; text-wrap: balance; }
.appointment-request-intro > p { max-width: 49rem; margin: 1rem 0 0; font-size: 1.125rem; line-height: 1.6; }
.appointment-request-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: start; gap: 2rem; }
.appointment-request-card { min-width: 0; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 1.25rem; background: var(--newsletter-panel-ground); }
.appointment-request-card__intro { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.appointment-request-card__intro h2 { margin: 0; color: var(--accent); font-size: 1.5rem; }
.appointment-request-card__intro p { margin: 0; font-size: 0.875rem; }
.appointment-branch-hours { color: color-mix(in srgb, var(--ink) 72%, transparent); }
.appointment-request-extra { margin-bottom: 1.5rem; border-block: 1px solid var(--hairline); }
.appointment-request-extra > summary { padding-block: 1rem; cursor: pointer; font-family: var(--font-ui); font-size: 1rem; }
.appointment-request-extra > summary span { font-family: var(--font-body); }
.appointment-request-extra > summary:is(:hover, :focus-visible) { color: var(--accent); }
.appointment-request-extra > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 0.25rem; }
.appointment-request-extra[open] > summary { margin-bottom: 0.5rem; }
.appointment-request-aside { min-width: 0; }
.appointment-request-note { padding: clamp(1.5rem, 3vw, 2rem); border-radius: 1.25rem; background: var(--appointment-gradient); color: var(--appointment-ink); }
.appointment-request-note__heading { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.appointment-request-note__heading > img { flex: 0 0 2rem; width: 2rem; height: 2rem; }
.appointment-request-note h2 { margin: 0; color: inherit; font-size: 1.75rem; line-height: 1.2; }
.appointment-request-note p { margin: 0; font-size: 1rem; line-height: 1.65; }
.appointment-request-note__confirmation { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--appointment-ring); }
.appointment-request-note__confirmation strong { display: block; margin-bottom: 0.5rem; font-size: 1.0625rem; }
.appointment-request-direct { margin-top: 2rem; padding-inline: 0.5rem; }
.appointment-request-direct h3 { margin: 0 0 1.25rem; color: var(--accent); font-size: 1.25rem; }
.appointment-request-direct h4 { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.375rem; font-size: 1.0625rem; }
.appointment-request-direct h4 > img { flex: 0 0 1.25rem; width: 1.25rem; height: 1.25rem; }
.appointment-request-direct address { margin: 0 0 0.625rem; font-size: 0.9375rem; font-style: normal; }
.appointment-request-direct > div + div { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--hairline); }
.appointment-request-direct .loc-contact { margin-inline: 0; font-size: 1rem; }
.appointment-request-direct .loc-contact a { justify-content: start; }
.appointment-request-page .faq-section { background: var(--faq-ground); }

/* Filialdetails: Markenseiten-Hero, feste Filialdaten und bestehende Kontaktbausteine. */
.brand-intro.location-detail-hero { --brand-hero-glow: none; --hero-glow: none; position: relative; isolation: isolate; background: var(--faq-ground); }
.location-detail-hero .brand-intro__heading,
.location-detail-hero .brand-intro__copy { max-width: 42rem; width: 100%; }
.location-detail-hero .brand-intro__inner { row-gap: 1.5rem; }
.location-detail-hero h1 > .location-detail-hero__name { display: inline-flex; align-items: center; gap: 0.25em; max-width: 100%; margin: 0; color: inherit; font: inherit; }
.location-detail-hero .location-detail-hero__pin { --portal-icon: url('../img/icons/location-pin-b.svg'); flex: 0 0 0.68em; width: 0.68em; height: 0.8em; }
.location-detail-hero__facts { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: baseline; gap: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--hairline); }
.location-detail-hero .location-detail-hero__label { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.75rem; font-family: var(--font-ui); font-size: 1.0625rem; font-weight: var(--weight-text); line-height: 1.4; color: var(--ink); letter-spacing: normal; }
.location-detail-hero .location-detail-hero__visit-heading { margin: 2rem 0 0.625rem; color: var(--accent); }
.location-detail-hero__label .location-portal__icon { width: 1.125rem; height: 1.125rem; flex-basis: 1.125rem; }
.location-detail-hero__address address { font-style: normal; }
.location-detail-address { display: grid; grid-template-columns: 1rem minmax(0, 1fr); gap: 0.25rem 0.5rem; color: var(--ink); font-size: 1.125rem; line-height: 1.4; }
.location-detail-address > span:not(.visually-hidden) { grid-column: 2; min-width: 0; }
.location-detail-address > span:first-child { font-family: var(--font-ui); font-weight: var(--weight-text); }
.location-detail-hero a.location-detail-address[href][target]::before { grid-column: 1; grid-row: 1; align-self: start; width: 1rem; height: 1rem; margin: calc(0.5lh - 0.5rem) 0 0; transform: none; background: currentColor; mask: url('../img/icons/external-link-icon-b.svg') center / contain no-repeat; }
.location-detail-hero .hero-cta a.text-link[href][target]::before { background: var(--ink); mask: url('../img/icons/external-link-icon-b.svg') center / contain no-repeat; transform: none; }
.location-detail-hero .location-portal__hours-grid { font-size: 1.125rem; line-height: 1.4; }
.location-detail-hero .location-portal__hours-grid > div { grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0.5rem; padding-block: 0; }
.location-detail-hero .location-portal__hours-grid > div + div { margin-top: 0.25rem; }
.location-detail-status { margin-top: 1rem; font-size: 0.9375rem; line-height: 1.5; }
.location-detail-status > p { display: flex; align-items: baseline; gap: 0.625rem; }
.location-detail-status .status-dot { flex: 0 0 0.625rem; width: 0.625rem; height: 0.625rem; margin: 0; }
.location-detail-status > small { display: block; margin-top: 0.25rem; font-size: 0.8125rem; color: color-mix(in srgb, var(--ink) 72%, var(--brands-ground)); }
.location-detail-hero__contacts { display: flex; flex-wrap: wrap; gap: 0.375rem 1.5rem; margin-top: 1.25rem; font-size: 1.0625rem; }
.location-detail-hero__contacts > a { display: inline-flex; align-items: center; gap: 0.625rem; min-height: 2.75rem; color: var(--ink); transition: color 250ms ease; }
.location-detail-hero__contacts > a > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.location-detail-hero__contacts > a:hover,
.location-detail-address:hover { color: var(--accent); }
.location-detail-hero__contacts .location-portal__icon { width: 1.125rem; height: 1.125rem; flex-basis: 1.125rem; }
.location-detail-hero .brand-intro__art { --location-stripe-rise: clamp(2rem, 3vw, 2.5rem); aspect-ratio: auto; }
.location-detail-hero__media { position: relative; isolation: isolate; border-radius: inherit; }
.location-detail-hero__art > figcaption { display: flex; justify-content: center; align-items: center; gap: 0.625rem; margin-top: 1.25rem; font-size: 1rem; line-height: 1.5; }
.location-detail-hero__media .brand-intro__stripes { inset-block: calc(-1 * var(--location-stripe-rise)) 5%; }
.location-detail-portrait,
.editorial-section,
.location-detail-arrival { padding-block: clamp(4rem, 7vw, 7rem); }
.location-detail-portrait { background: var(--paper); }
.location-detail-portrait__inner,
.location-detail-arrival__inner { display: grid; gap: 2.5rem clamp(2.5rem, 5vw, 5rem); max-width: 87.5rem; margin-inline: auto; }
.location-detail-portrait__inner > *,
.location-detail-arrival__inner > * { min-width: 0; }
.location-detail-portrait__copy,
.editorial-copy,
.location-detail-arrival__copy > p { font-size: clamp(1.125rem, 1.5vw, 1.25rem); line-height: 1.65; overflow-wrap: anywhere; }
.location-detail-page main .text-link:not(.testimonial-card__source) { font-family: inherit; font-size: inherit; font-weight: inherit; }
.location-detail-arrival { position: relative; isolation: isolate; background: var(--faq-ground); scroll-margin-block-start: calc(var(--header-height) + 2rem); }
.location-detail-arrival__copy { width: 100%; max-width: 56.25rem; margin-inline: auto; }
.location-detail-arrival__copy > p { margin-top: 1.5rem; }
.location-detail-arrival__group { margin-top: 2rem; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.65; overflow-wrap: anywhere; }
.location-detail-arrival__group h3 { margin-bottom: 1rem; color: var(--accent); font-size: clamp(1.25rem, 1.75vw, 1.5rem); }
.location-detail-arrival__group ul { margin: 0 0 1.25rem; padding-inline-start: 1.25em; }
.location-detail-arrival__group li + li { margin-top: 0.875rem; }
.location-detail-arrival__group li::marker { color: var(--accent); }
.location-detail-arrival__note { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--hairline); }
.location-detail-arrival__note h3 { margin-bottom: 0.625rem; font-size: 1.125rem; }
.location-detail-arrival__note p { font-size: 1.0625rem; line-height: 1.65; }
.location-detail-map { --location-map-ground: #f1eef7; --location-map-footer-ground: #f1f2f4; position: relative; isolation: isolate; align-self: center; min-width: 0; margin-top: clamp(1.5rem, 3vw, 3rem); border: 1px solid var(--hairline); border-radius: var(--carousel-radius); background: var(--location-map-ground); box-shadow: var(--testimonial-card-shadow); overflow: hidden; }
.location-detail-page [data-location-map] [hidden],
.location-detail-page [data-branch-status][hidden] { display: none; }
.location-detail-map__stage { position: relative; display: grid; min-height: 31.25rem; border-radius: var(--carousel-radius) var(--carousel-radius) 0 0; overflow: hidden; }
.location-detail-map__placeholder,
.location-detail-map__stage > iframe { grid-area: 1 / 1; }
.location-detail-map__placeholder { align-self: center; padding: clamp(1.5rem, 3vw, 3rem); text-align: center; }
/* Die Fassade reserviert auch nach dem Laden ihren Platz, einschließlich Textvergrößerung. */
.location-detail-page [data-location-map] [data-map-placeholder][hidden] { display: block; visibility: hidden; pointer-events: none; }
.location-detail-page [data-map-placeholder][hidden] [data-map-load] { display: inline-flex; }
.location-detail-map__pin { display: block; width: 3.5rem; height: 3.5rem; margin: 0 auto 1.5rem; background: var(--accent); mask: url('../img/icons/location-pin-b.svg') center / contain no-repeat; }
.location-detail-map__placeholder h3 { margin-bottom: 0.625rem; font-size: 1.5rem; }
.location-detail-map__placeholder > p { font-size: 1.0625rem; line-height: 1.6; }
.location-detail-map__placeholder .location-detail-map__notice { max-width: 42ch; margin: 1.5rem auto; font-size: 0.9375rem; }
.location-detail-map__stage > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: inherit; }
.location-detail-map__footer { position: relative; display: flex; justify-content: center; padding-inline: 1rem; border-top: 1px solid var(--hairline); background: var(--location-map-footer-ground); font-size: 0.9375rem; text-align: center; }
.location-detail-map__footer > a { padding-block: 0.75rem; }
.location-detail-map__footer > .text-link::after { bottom: 0.75rem; }
.location-detail-map__status { margin: 0; background: var(--location-map-footer-ground); font-size: 0.9375rem; line-height: 1.5; text-align: center; }
.location-detail-map__status:not(:empty):not(.visually-hidden) { padding: 0.25rem 1.5rem 1.5rem; }
.location-detail-page .testimonials-section { background: var(--paper); }
.ueber-uns-page .testimonial-card__source {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  font: var(--weight-display) 1.1875rem/1.5 var(--font-display);
}
.ueber-uns-page .testimonial-card__head { flex-wrap: wrap; }
:is(.location-detail-page, .ueber-uns-page) .testimonial-card__branch { min-width: 0; overflow-wrap: anywhere; }
.location-detail-page .testimonial-card__source { text-decoration: none; }
.location-detail-page .appointment-section { padding-block-start: clamp(4rem, 7vw, 7rem); background: var(--faq-ground); }
.location-detail-page .faq-section { background: var(--paper); }
.location-detail-appointment__phone { margin-top: 1.5rem; font-size: 1rem; }
.location-detail-appointment__phone .text-link { color: var(--appointment-ink); }
.location-detail-appointment__phone .location-portal__icon { display: inline-block; width: 1em; height: 1em; margin-inline-end: 0.35em; vertical-align: -0.1em; }

/* Bildstrecken und Glasvergleich der Brillenberatung. */
.editorial-section { background: var(--paper); }
.editorial-section--tinted,
.consultation-section.editorial-section--tinted { --media-caption-ink: var(--caption-on-brands-ground); background: var(--brands-ground); }
.editorial-section > .container-wide { max-width: calc(87.5rem + 2 * var(--gutter)); }
.editorial-split,
.editorial-pair { display: grid; align-items: center; gap: 2rem clamp(2.5rem, 5vw, 5rem); }
.editorial-copy { min-width: 0; max-width: 54ch; }
.editorial-section .section-heading { display: block; text-align: center; text-wrap: balance; }
.editorial-copy .text-link { font: inherit; }

.brand-intro__description.editorial-lead { font-size: 1.5rem; }
.editorial-link-row,
.page-directory__links {
  font: var(--weight-display) 1.25rem/1.55 var(--font-display);
}
.editorial-link-row > .text-link { font: inherit; }

/* Beratungsgrundsätze und nummerierte Untersuchungen. */
.advice-section > .container-wide {
  container: advice / inline-size;
  max-width: calc(75rem + 2 * var(--gutter));
}
.advice-section .section-heading {
  max-width: 26ch;
  margin-inline: auto;
  scroll-margin-block-start: calc(var(--header-measured-height, var(--header-height)) + 1.5rem);
  background: none;
  -webkit-text-fill-color: currentColor;
  font-size: clamp(1.8125rem, 4.65cqi, 3rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.advice-section__phrase { white-space: nowrap; }
.advice-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.875rem, 4.7cqi, 3.375rem) clamp(1.4375rem, 4.2cqi, 3rem);
  margin: clamp(2.125rem, 5.6cqi, 3.875rem) 0 0;
  padding: 0;
}
/* Das innere Raster zeigt die gestaltete Ziffer. Das li behält seinen nativen Listenmarker. */
.advice-principles > li::marker { font-size: 0; }
.advice-principles[role="list"] > li,
.advice-principles__item {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-content: start;
  gap: 0.72rem clamp(0.6875rem, 1.65cqi, 1.125rem);
}
.advice-principles__number {
  grid-row: 1 / span 2;
  align-self: start;
  min-width: 0.66em;
  color: var(--accent);
  font: var(--weight-display) clamp(4.0625rem, 9.7cqi, 6.875rem)/0.82 "Arial Black", var(--font-display);
  font-variant-numeric: lining-nums tabular-nums;
  text-align: center;
  user-select: none;
}
@supports (-webkit-text-stroke: 1px currentColor) {
  .advice-principles__number {
    color: transparent;
    -webkit-text-stroke: clamp(1.4px, 0.19cqi, 2px) var(--accent);
  }
}
.advice-principles h3 {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: clamp(1.375rem, 3.05cqi, 2rem);
  line-height: 1.09;
  letter-spacing: -0.045em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.advice-principles mark {
  color: inherit;
  background: linear-gradient(transparent 72%, color-mix(in srgb, var(--accent) 42%, transparent) 72% 94%, transparent 94%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.advice-principles p {
  font-size: clamp(1rem, 1.65cqi, 1.25rem);
  line-height: 1.55;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.advice-principles--stacked {
  container: advice / inline-size;
  grid-template-columns: minmax(0, 1fr);
  row-gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0;
}
.advice-principles--stacked p { font: inherit; }
.advice-principles--steps .advice-principles__number { grid-row: 1; }
.advice-principles--steps .advice-principles__number + p { grid-area: 1 / 2; }
.advice-principles--stacked .editorial-link-row { grid-column: 2; margin-block-start: 0.75rem; }

/* Wegweiser der Fehlerseite. */
.page-directory__body { max-width: 62rem; margin: 2rem auto 0; font-size: clamp(1.125rem, 1.5vw, 1.25rem); line-height: 1.65; }
.page-directory__filter { max-width: 36rem; margin: 0 auto 2rem; text-align: center; }
.page-directory__filter[hidden], .page-directory__links li[hidden] { display: none; }
.page-directory__filter .site-search__row { justify-content: center; }
.page-directory__status { min-height: 1.65em; font-size: 1rem; }
.page-directory__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 0 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-directory__links li { padding: 0.85rem 0; border-top: 1px solid var(--hairline); }
.page-directory__links a { font: inherit; }
.diopter-readout {
  position: relative;
  display: flex;
  align-items: baseline;
  column-gap: clamp(0.75rem, 1.4vw, 1.375rem);
  max-width: 25rem;
  padding-bottom: 1.5rem;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  color: var(--ink);
}
.diopter-readout::before {
  content: "";
  position: absolute;
  inset: auto 0 0.25rem;
  height: 0.6875rem;
  border-bottom: 1px solid var(--hairline);
  color: var(--caption-on-brands-ground);
  opacity: 0.65;
  background:
    repeating-linear-gradient(to right, currentColor 0 1px, transparent 1px 0.5rem) left bottom / 100% 0.25rem no-repeat,
    repeating-linear-gradient(to right, currentColor 0 1px, transparent 1px 2.5rem) left bottom / 100% 0.5625rem no-repeat;
  mask-image: linear-gradient(to right, transparent, black 7%, black 86%, transparent);
}
.diopter-readout__value {
  display: inline-flex;
  align-items: baseline;
  font-family: "CircularXXWeb-Light", var(--font-body);
  font-weight: 300;
  font-size: clamp(4.75rem, 8.25vw, 8rem);
  line-height: 1.02;
  letter-spacing: -0.085em;
}
.diopter-readout__comma { position: relative; color: var(--accent); }
.diopter-readout__unit {
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.2;
  color: var(--caption-on-brands-ground);
}
.diopter-readout__marker {
  position: absolute;
  bottom: -1.25rem;
  width: 1.6875rem;
  height: 0.8125rem;
  border-bottom: 1px solid;
}
.diopter-readout__marker--left {
  right: 50%;
  border-right: 1px solid;
  color: var(--ink);
  --marker-offset: -2.375rem;
}
.diopter-readout__marker--right {
  left: 50%;
  border-left: 1px solid;
  --marker-offset: clamp(4.25rem, 10vw, 7.125rem);
}
@keyframes diopter-align {
  from { transform: translateX(var(--marker-offset)); opacity: 0.35; }
  to { transform: translateX(0); opacity: 1; }
}
.lens-signature {
  --bracket-depth: clamp(0.4375rem, 1.2vw, 1.125rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(0.5rem, 1.1vw, 1rem);
  margin-top: clamp(1.25rem, 2.5vw, 2.5rem);
}
.lens-signature::before,
.lens-signature::after {
  content: "";
  height: var(--bracket-depth);
  margin-block-start: var(--bracket-depth);
  border: 0 solid color-mix(in srgb, var(--hairline) 78%, var(--ink));
  border-block-start-width: 1px;
}
.lens-signature::before {
  border-inline-start-width: 1px;
  border-start-start-radius: 0.375rem;
}
.lens-signature::after {
  border-inline-end-width: 1px;
  border-start-end-radius: 0.375rem;
}
.lens-signature img {
  width: clamp(5.2rem, 7.8vw, 7.15rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
/* Erst die Horizontale vom Logo aus zeichnen, dann die gerundeten Enden nach unten. */
@keyframes lens-bracket-open {
  from {
    clip-path: inset(var(--bracket-closed));
    animation-timing-function: cubic-bezier(.32, .06, .2, .94);
  }
  74% {
    clip-path: inset(0 0 calc(100% - 1px) 0);
    animation-timing-function: ease-out;
  }
  to { clip-path: inset(0); }
}
.editorial-pair { align-items: start; margin-top: 0.75rem; }
.editorial-pair.lens-options,
.editorial-pair--illustrated { margin-top: clamp(1.75rem, 4vw, 3.5rem); }
.editorial-pair--illustrated .editorial-media { margin-block: 1.25rem; }
.editorial-pair--illustrated .lindberg-feature__media,
.editorial-media > .nuance-audio-photo { aspect-ratio: 16 / 9; }
.editorial-pair--illustrated .lindberg-feature__media {
  margin: 0;
  border-radius: var(--carousel-radius);
}
.editorial-media > .nuance-audio-photo {
  object-fit: contain;
  background: linear-gradient(#cddce8, #cedde9 45%, #c5d9e9);
}
.lens-fitting-steps { margin: 0; padding-inline-start: 1.65em; }
.lens-fitting-steps li { padding-inline-start: 0.35em; }
.lens-fitting-steps li + li { margin-top: 0.75em; }
.lens-fitting-steps li::marker { color: var(--accent-text-on-gray); font-family: var(--font-ui); }
.editorial-copy > h3,
.repayment-offer > h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); }
.editorial-copy > h3 { margin-bottom: 0.75rem; }
.editorial-copy > p + h3 { margin-top: 1.5rem; }
.repayment-example,
.repayment-offer { display: grid; gap: 1rem clamp(2.5rem, 5vw, 5rem); }
.repayment-example { align-items: start; margin-block-start: clamp(1.75rem, 4vw, 3.5rem); }
.repayment-example .repayment-plan { margin-block-end: 0; }
.repayment-offer {
  align-items: center;
  margin-block-start: clamp(1.75rem, 3.5vw, 3rem);
  padding-block-start: clamp(1.25rem, 2.5vw, 2rem);
  border-block-start: 1px solid var(--hairline);
}
@media (min-width: 56.25rem) {
  .repayment-example,
  .repayment-offer { grid-template-columns: minmax(0, 9fr) minmax(0, 11fr); }
}
.repayment-notice { border-inline-start: 2px solid var(--accent); padding-inline-start: 0.875rem; }
.repayment-plan { margin-block: 1.5rem; font-variant-numeric: tabular-nums; }
.repayment-plan__summary,
.repayment-plan__limits { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.repayment-plan__caption { margin: 0 0 0.75rem; font-size: 1rem; }
.repayment-plan__caption em, .repayment-notice em { font-family: "CircularXXWeb-Italic", var(--font-body); }
.repayment-plan__summary { align-items: start; }
.repayment-plan small { display: block; font-size: 0.9375rem; }
.repayment-plan output { text-align: end; }
.repayment-plan [data-remaining] { display: block; color: var(--accent); font: var(--weight-display) clamp(2.25rem, 4vw, 3.25rem)/1.1 var(--font-display); }
.repayment-plan input[type="range"] { display: block; width: 100%; height: 2.75rem; margin: 0.5rem 0 0; accent-color: var(--accent); cursor: pointer; }
.repayment-plan__limits { align-items: center; margin-block-start: 0.375rem; }
.repayment-plan__limits > small { flex: none; white-space: nowrap; }
.repayment-plan__end { display: grid; justify-items: end; align-items: center; min-width: 0; text-align: end; }
.repayment-plan__end > small { grid-area: 1 / 1; }
.repayment-plan .repayment-plan__complete {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.625rem 0.375rem 0.875rem;
  border-radius: 1rem;
  background: #15271d;
  color: #25d366; /* Grün des Häkchens in der Kontaktformular-Bestätigung. */
  font-family: var(--font-ui);
  line-height: 1.35;
  text-wrap: balance;
  visibility: hidden;
}
.repayment-plan__complete img { flex: none; }
.repayment-plan[data-repaid] .repayment-plan__end-label { visibility: hidden; }
.repayment-plan[data-repaid] .repayment-plan__complete { visibility: visible; }
@media (prefers-reduced-motion: no-preference) {
  .repayment-plan[data-repaid] .repayment-plan__complete {
    animation: repayment-complete-in 360ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  @keyframes repayment-complete-in {
    from { opacity: 0; transform: translateY(-0.25rem); clip-path: inset(0 0 0 calc(100% - 2rem) round 1rem); }
    to { opacity: 1; transform: translateY(0); clip-path: inset(0 round 1rem); }
  }
}
.editorial-media {
  min-width: 0;
  margin: 0;
}
.editorial-media > img,
.lens-light-wave > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--carousel-radius);
  background: var(--brand-model-ground);
}
.editorial-film {
  display: grid;
  gap: clamp(1.5rem, 3vw, 3rem);
}
.editorial-film .lindberg-feature__media {
  /* Vier Quellpixel je Seite ausblenden: Das MP4 enthält dort dunkle Randstreifen. */
  aspect-ratio: 1579 / 720;
  margin: 0;
  border-radius: var(--carousel-radius);
  background: #f1f1f1;
}
.editorial-film .lindberg-feature__video { object-fit: cover; }
.editorial-film .editorial-pair { margin: 0; row-gap: 1.25rem; }
.editorial-film .editorial-copy { max-width: none; margin: 0; }
.editorial-film__closing { text-align: center; text-wrap: balance; }
.oakley-films,
.image-sequence {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--carousel-radius);
}
.oakley-films { --sequence-ratio: 1; background: #090808; }
.image-sequence { --sequence-ratio: 4 / 3; background: var(--brand-model-ground); }
.image-sequence.image-curtain { --sequence-ratio: 16 / 9; }
@media (max-width: 359px) {
  .editorial-media > .media-carousel__controls { column-gap: 8px; padding-inline: 0; }
}
.oakley-films > video,
.image-sequence > :is(img, video),
.image-sequence > a > img {
  width: 100%;
  aspect-ratio: var(--sequence-ratio);
  object-fit: contain;
}
.image-sequence > a, .image-sequence > a > img { display: block; }
.image-sequence > a { position: relative; }
.image-sequence > a:focus-visible::after {
  content: '';
  position: absolute;
  inset: 5px;
  border: 2px solid white;
  outline: 2px solid black;
  border-radius: var(--carousel-radius);
  pointer-events: none;
}
.image-sequence > video { background: var(--brand-model-ground); }
.image-sequence > .dior-bow-film { background: #ececec; }
.image-sequence > .even-g2-film { background: #000; }
.image-sequence > .even-lenses-film { background: #f4f4f4; }
.image-sequence > .ray-ban-clubmaster-film { background: #f0eeec; }
:is(.oakley-films, .image-sequence).is-enhanced { aspect-ratio: var(--sequence-ratio); }
.oakley-films.is-enhanced > video,
.image-sequence.is-enhanced > :is(img, video, a, .editorial-placeholder) { position: absolute; inset: 0; height: 100%; }
/* Beim Gleiten hält die Animation auch das ausgehende Motiv sichtbar. */
.image-sequence.is-enhanced > :is(img, video, a, .editorial-placeholder):not([data-current]) { visibility: hidden; }
:is(.oakley-films, .image-sequence) > [data-current] { z-index: 1; }
.image-sequence__caption { display: block; margin: 0.25rem 0.75rem 1rem; }
.oakley-films__model,
.image-sequence.is-enhanced > .image-sequence__caption {
  display: none;
  position: absolute;
  z-index: 2;
  left: clamp(0.75rem, 2vw, 1.25rem);
  right: clamp(0.75rem, 2vw, 1.25rem);
  bottom: clamp(0.875rem, 2vw, 1.5rem);
  width: fit-content;
  margin: 0;
  padding: 0.25em 0.65em;
  border-radius: 0.5rem;
  background: rgb(12 12 13 / 78%);
  color: #fff;
  pointer-events: none;
}
.image-sequence.is-enhanced > .image-sequence__caption--end { margin-left: auto; }
.oakley-films.is-enhanced > video[data-current] + .oakley-films__model,
.image-sequence.is-enhanced > :is(img, video)[data-current] + .image-sequence__caption { display: block; }
:is(.oakley-films, .image-sequence) [data-sequence-toggle] { z-index: 2; }
.lens-light-wave { position: relative; }
.lens-light-wave > canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--carousel-radius);
  pointer-events: none;
}
.editorial-placeholder {
  --placeholder-line: color-mix(in srgb, var(--hero-blue-text) 21%, transparent);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: clamp(1.25rem, 7%, 3rem);
  border-radius: var(--carousel-radius);
  background:
    radial-gradient(ellipse 66% 112% at 110% 118%, transparent calc(90% - 1px), var(--placeholder-line) 90%, transparent calc(90% + 1px)),
    radial-gradient(ellipse 66% 112% at 110% 118%, transparent calc(98% - 1px), var(--placeholder-line) 98%, transparent calc(98% + 1px)),
    linear-gradient(135deg, var(--brand-model-ground) 30%, color-mix(in srgb, var(--hero-blue) 13%, var(--brand-model-ground)));
  color: var(--ink);
  text-align: center;
  overflow-wrap: anywhere;
}
.brand-intro__art > .editorial-placeholder { aspect-ratio: inherit; border-radius: inherit; }

/* Gutschein-Hero: einfallender Lichtstrahl und Spektrum treffen sich im Prisma. */
.voucher-prism {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  width: 100%;
  aspect-ratio: 1122 / 936;
  overflow: hidden;
  border-radius: inherit;
  color: #fff8fd;
  background: radial-gradient(ellipse at 81% 56%, #263247 0, #151a26 39%, #0c0e15 83%);
  font: 500 1rem/1.2 "Segoe UI", Arial, sans-serif;
  text-align: left;
}
.voucher-prism__amount { position: absolute; z-index: 2; left: 8%; top: 8.5%; }
.voucher-prism__amount > span { display: block; font-size: max(11px, 3.1cqw); font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; }
.voucher-prism__amount strong {
  display: block;
  color: var(--accent);
  font: 700 26.5cqw/0.94 Arial, sans-serif;
  letter-spacing: -0.065em;
  white-space: nowrap;
}
.voucher-prism__currency { letter-spacing: normal; }
.voucher-prism__caption {
  position: absolute;
  inset: auto 2.5% 8%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2cqw;
  color: #e8e9f6;
  font-size: max(11px, 2.8cqw);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}
.voucher-prism__caption::before,
.voucher-prism__caption::after {
  content: "";
  flex: 0 0 3.6cqw;
  height: 1.2px;
  background-color: #c3deff;
}
.voucher-prism__art, .voucher-prism__art > span { position: absolute; inset: 0; pointer-events: none; }
.voucher-prism__incident {
  clip-path: polygon(0 76%, 62.7% 51.55%, 62.7% 52.15%, 0 76.5%);
  background: linear-gradient(90deg, #98b1c6, #f5f3ff 58%);
}
.voucher-prism__crystal {
  clip-path: polygon(63% 25%, 83% 62.5%, 47% 65%);
  background: linear-gradient(125deg, #ded8fa, #97a5ca 38%, #f0f1ff 57%, #a0a6d4 73%, #fcf4ff);
}
.voucher-prism__crystal::before, .voucher-prism__crystal::after { content: ""; position: absolute; inset: 0; }
.voucher-prism__crystal::before {
  clip-path: polygon(63.02% 25.85%, 82.26% 62.16%, 47.66% 64.59%);
  background: conic-gradient(from 54deg at 62.7% 52%, #546276, #242a40 75deg, #303f51 153deg, #151a27 254deg, #546276);
}
.voucher-prism__crystal::after {
  clip-path: polygon(54% 55%, 62.7% 51.6%, 62.7% 52.1%, 54% 55.5%);
  background: linear-gradient(90deg, #fff0, #fff9);
}
.voucher-prism__spectrum {
  clip-path: polygon(62.7% 51.7%, 100% 35.8%, 100% 75%, 62.7% 52.2%);
  background: conic-gradient(from 0deg at 62.7% 52%, transparent 67deg, #cde8ff 69deg, #62a3e0 76deg, #8c93db 81deg, #ae8bcd 87deg, #d88bc6 92deg, #eb58a1 102deg, #e5006d 109deg, #ff9acb 119deg, transparent 120deg);
  opacity: 0.94;
  transform-origin: 62.7% 52%;
}
@media (prefers-reduced-motion: no-preference) {
  .voucher-prism {
    --prism-arrival: 420ms;
    --prism-easing: cubic-bezier(.65, 0, .35, 1);
  }
  @supports (animation-timing-function: linear(0, 1)) {
    .voucher-prism {
      /* S-Kurve des Markensliders (Exponent 2.34312), in 5-%-Schritten abgetastet. */
      --prism-easing: linear(
        0, .00101, .00578, .01688, .03739, .07082, .12075, .18993, .27887, .38457,
        .5, .61543, .72113, .81007, .87925, .92918, .96261, .98312, .99422, .99899, 1
      );
    }
  }
  .voucher-prism.is-refracting .voucher-prism__incident {
    animation: prism-incident var(--prism-arrival) var(--prism-easing) both;
  }
  .voucher-prism.is-refracting .voucher-prism__spectrum {
    animation: prism-spectrum 720ms var(--prism-easing) var(--prism-arrival) both;
  }
}
@keyframes prism-incident {
  from { clip-path: polygon(0 76%, 0 76%, 0 76.5%, 0 76.5%); }
}
@keyframes prism-spectrum {
  from { transform: scale(0); opacity: 0; }
  to { transform: none; opacity: .94; }
}

/* Finanzierung: feste Grundplatte, zwei Klappen mit gemeinsamer Mittelachse. */
.finance-board {
  position: absolute;
  inset: 0;
  container-type: inline-size;
  overflow: hidden;
  border-radius: inherit;
  color: #fff8ee;
  background: #97182a;
  background-image: linear-gradient(112deg, color-mix(in srgb, #97182a 58%, #240714), #97182a 62%, color-mix(in srgb, #97182a 85%, #fe6952));
}
.finance-board__intro, .finance-board__offer, .finance-board__benefits { position: absolute; margin: 0; }
.finance-board__intro { inset: 7% 7% auto; text-align: center; font: var(--weight-text) clamp(0.875rem, 2.8cqw, 1.1875rem)/1.2 var(--font-ui); }
.finance-board__replay,
.voucher-prism__replay {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
}
:is(.finance-board__replay, .voucher-prism__replay):focus-visible { outline: 2px solid currentColor; outline-offset: -5px; }
.finance-board__offer { inset: 60% 3% auto; text-align: center; }
.finance-board__offer strong { display: block; font-size: 7.8cqw; line-height: 1.04; letter-spacing: -0.045em; }
.finance-board__offer span { display: block; margin-block-start: 0.35em; font-size: clamp(0.875rem, 3.05cqw, 1.3125rem); line-height: 1.2; }
.finance-board__benefits {
  inset: auto 7% 6%;
  display: flex;
  justify-content: space-between;
  gap: 0.375rem;
  padding: 2.6% 0 0;
  border-block-start: 1px solid currentColor;
  list-style: none;
  font: var(--weight-text) clamp(0.8125rem, 2.55cqw, 1.0625rem)/1.2 var(--font-ui);
}
@container (max-width: 25rem) {
  .finance-board__benefits { inset-inline: 5%; }
  .finance-board__benefits li span { display: block; }
}
@container (max-width: 20rem) {
  .finance-board .finance-board__flaps { inset-block-start: 17%; height: 35%; }
  .finance-board__offer { inset-block-start: 56%; }
  .finance-board__benefits { bottom: 5%; padding-block-start: 1.6%; }
}
.finance-board__flaps {
  position: absolute;
  inset: 19% 19% auto;
  height: 37%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5%;
}
.finance-flap {
  --flip-delay: 0ms;
  position: relative;
  perspective: 80cqw;
  border-radius: 1.35cqw;
  background: #691326;
  box-shadow: 0 0.65cqw 1.3cqw rgb(39 5 16 / 27%);
  font: 700 25cqw/1 Arial, Helvetica, sans-serif;
}
.finance-flap + .finance-flap { --flip-delay: 115ms; }
.finance-flap__top, .finance-flap__bottom, .finance-flap::before {
  position: absolute;
  inset-inline: 0;
  height: 50%;
  overflow: hidden;
  backface-visibility: hidden;
}
.finance-flap__top, .finance-flap::before {
  top: 0;
  border-radius: 1.35cqw 1.35cqw 0 0;
  background: linear-gradient(#7f2032, #701526);
}
.finance-flap__bottom {
  bottom: 0;
  border-radius: 0 0 1.35cqw 1.35cqw;
  background: linear-gradient(#851e30, #7b1b2d);
  transform-origin: center top;
}
/* Beide Hälften zeigen denselben, exakt im ganzen Feld zentrierten Schriftkegel. */
.finance-flap__top > span, .finance-flap__bottom > span {
  position: absolute;
  inset-inline: 0;
  height: 200%;
  display: grid;
  place-items: center;
}
.finance-flap__top > span { top: 0; }
.finance-flap__bottom > span { bottom: 0; }
.finance-flap::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: calc(50% - 1px) 0 auto;
  height: 2px;
  background: rgb(53 9 21 / 82%);
  pointer-events: none;
}
@media screen and (prefers-reduced-motion: no-preference) {
  /* Gleiche Rasterung der Buchstaben im letzten Animationsbild und in Ruhe. */
  .finance-flap__bottom { will-change: transform, filter; }
  .finance-board.is-flipping .finance-flap::before {
    content: "";
    z-index: 1;
    transform-origin: center bottom;
    animation: finance-flap-release 710ms var(--flip-delay) both;
  }
  .finance-board.is-flipping .finance-flap__bottom {
    animation: finance-flap-close 710ms var(--flip-delay) both;
  }
  @keyframes finance-flap-release {
    0%, 8% { transform: none; animation-timing-function: cubic-bezier(.55, .08, .9, .5); }
    44% { transform: rotateX(-90deg); visibility: visible; }
    45%, 100% { transform: rotateX(-90deg); visibility: hidden; }
  }
  @keyframes finance-flap-close {
    0%, 43% { transform: rotateX(90deg); filter: brightness(.74); }
    44% { transform: rotateX(89deg); filter: brightness(.74); animation-timing-function: cubic-bezier(.16, .68, .25, 1); }
    85%, 100% { transform: none; filter: none; }
  }
}
.editorial-placeholder__format {
  font-family: var(--font-body);
  font-size: var(--type-meta);
  line-height: 1.4;
}
.editorial-placeholder__subject {
  max-width: 28ch;
  font-family: var(--font-ui);
  font-weight: var(--weight-text);
  font-size: clamp(1.125rem, 2vw, 1.625rem);
  line-height: 1.35;
  text-wrap: balance;
}

/* Erster Inhaltsbereich der Startseite: zwei gleichberechtigte Standorte. */
.locations-section {
  container: locations / inline-size;
  position: relative;
  isolation: isolate;
  background-color: var(--locations-ground);
  background-image: var(--locations-glow);
  padding-block: var(--intro-top) var(--section-pad);
  scroll-margin-block-start: calc(2rem - var(--intro-top));
}
.ueber-uns-page .locations-section { --locations-ground: var(--paper); }

/* Die Standortübersicht beginnt direkt mit der Auswahl der beiden Filialen. */
.locations-overview { padding-block-start: var(--breadcrumb-inset); scroll-margin-block-start: 2rem; background: var(--hero-ground); }
.locations-overview h1 { color: var(--accent); font-size: var(--type-display); }

/* Gemeinsame Standortportale auf allen Seiten mit Filialauswahl. */
.locations-grid-large.location-portals {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
  /* Gestapelte Karten erhalten 50 % mehr Abstand; der Spaltenabstand bleibt gleich. */
  gap: 3rem 2rem;
  max-width: 75rem;
  margin-top: clamp(2.5rem, 4vw, 4rem);
}
/* Fächerfarben und Fallback-Winkel der Kartenfassade auf den Filialdetailseiten. */
.location-detail-map {
  --portal-fan-a: #f0f1f3;
  --portal-fan-b: #e4e7eb;
  --portal-fan-c: #dce1e6;
  --fan-edge-1: 4%;
  --fan-edge-2: 38%;
  --fan-edge-3: 71%;
}
.location-portal {
  --portal-color: var(--accent);
  --portal-radius: 1.5rem;
  --testimonial-card-shadow-hover: 0 12px 32px color-mix(in srgb, var(--accent) 16%, transparent);
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--portal-radius);
  outline: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  background: var(--newsletter-panel-ground);
  color: var(--ink);
  text-align: left;
}
.location-portal--pesch {
  --portal-color: var(--hero-blue-text);
}
.location-portal .location-portal__media {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  width: 100%;
  max-width: none;
  min-height: min-content;
  aspect-ratio: 8 / 5;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: var(--portal-radius) var(--portal-radius) 0 0;
  background: var(--portal-color);
  box-shadow: none;
  filter: none;
  transition: none;
}
.location-portal .location-portal__image {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.location-portal__heading {
  position: relative;
  margin-inline-start: auto;
  background-color: rgb(255 255 255 / 85%);
  font-size: clamp(1.5rem, 9.25cqi, 5rem);
}
.location-portal__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.35em;
  width: fit-content;
  margin-bottom: 0.375rem;
  padding: 0.1em 0.35em;
  border-radius: 0.25em;
  background: rgb(255 255 255 / 75%);
  color: #000;
  font-family: var(--font-ui);
  font-weight: var(--weight-text);
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.location-portal__eyebrow::before {
  content: '';
  flex: 0 0 1em;
  width: 1em;
  height: 1em;
  background: currentColor;
  mask: url('../img/icons/location-pin-b.svg') center / contain no-repeat;
}
.location-portal__title {
  display: flex;
  align-items: center;
  gap: 0.3em;
  margin: 0;
  color: var(--accent);
  font-size: inherit;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.location-portal__title > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.location-portal__title .status-dot { flex-shrink: 0; margin: 0; }
.location-portal__body {
  --portal-body-padding: clamp(1.25rem, 2.5vw, 2rem);
  --portal-ring: #a4b5c5;
  --portal-arrival-ground: #f1f2f2;
  --portal-arrival-ink: #000;
  --portal-address-hover-ink: #000;
  background-color: #f9f9f9;
  position: relative;
  isolation: isolate;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
  overflow: hidden;
  border-radius: 0 0 var(--portal-radius) var(--portal-radius);
  padding: var(--portal-body-padding);
  padding-bottom: 0.5rem;
  font-size: 1.25rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.location-portal__fan {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.location-portal__fan > span {
  position: absolute;
  /* Gemeinsamer Ursprung unten links; rechts und unten über den Rand hinaus. */
  inset: 0 -2px -2px 0;
  clip-path: polygon(0 calc(100% - 2px), 100% var(--fan-edge), 100% 100%);
}
.location-portal__fan > span:nth-child(1) {
  --fan-edge: var(--fan-edge-1);
  background: var(--portal-fan-a);
}
.location-portal__fan > span:nth-child(2) {
  --fan-edge: var(--fan-edge-2);
  background: var(--portal-fan-b);
}
.location-portal__fan > span:nth-child(3) {
  --fan-edge: var(--fan-edge-3);
  background: var(--portal-fan-c);
}

/* Dezente Fresnelringe im Adressbereich der Standortkacheln. */
.location-portal__body::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset-block-start: 0;
  pointer-events: none;
  inset-inline-end: 0;
  width: clamp(55px, 24%, 122px);
  height: clamp(82px, 20%, 124px);
  background: repeating-radial-gradient(circle at calc(100% + 42px) 4%,
    transparent 0 9.1px, var(--portal-ring) 9.6px 10.3px, transparent 10.9px 12px);
  mask-image: linear-gradient(90deg, transparent, #0008 50%, #000d),
    linear-gradient(180deg, black 0 30%, #000d 57%, transparent);
  mask-composite: intersect;
}
.location-portal__body .loc-summary { min-height: 6.5rem; }
.location-portal__body .loc-address .location-address {
  display: grid;
  grid-template-columns: 1.125rem minmax(0, 1fr);
  gap: 0.25rem 0.625rem;
  max-width: 100%;
  margin: 0;
  color: var(--accent);
  font-size: clamp(1.25rem, 4.1cqi, 1.5rem);
  line-height: 1.25;
}
.location-portal__body .location-address:is(:hover, :focus-visible) {
  --portal-city-ink: var(--portal-address-hover-ink);
  color: var(--portal-address-hover-ink);
}
/* Das externe Icon auch bei Umbruch an der ersten Straßenzeile zentrieren. */
.location-portal__body .loc-address > a.location-address[href][target]::before {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  width: 1.125rem;
  height: 1.125rem;
  margin: calc(0.5lh - 0.5625rem) 0 0;
  background: currentColor;
  mask: url('../img/icons/external-link-icon-b.svg') center / contain no-repeat;
  transform: none;
}
.location-portal__street {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: inherit;
  line-height: inherit;
  letter-spacing: -0.025em;
}
.location-portal__city {
  grid-column: 2;
  grid-row: 2;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--portal-city-ink, color-mix(in srgb, var(--accent) 84%, var(--ink)));
  transition: inherit;
}
.location-portal__body .loc-description { font-size: 1rem; }
.location-portal__arrival {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5625rem;
  color: var(--portal-arrival-ink);
  background-color: var(--portal-arrival-ground);
}
.location-portal__arrival::before {
  content: '';
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
  background: currentColor;
  mask: url('../img/icons/location-pin-b.svg') center / contain no-repeat;
}
.location-portal__arrival > span { min-width: 0; }
.location-portal__body .loc-hours { margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--hairline); }
.location-portal__body .loc-hours :is(h3, h4),
.location-portal__body .loc-contact { margin-inline: 0; }
.location-portal__icon {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  background: currentColor;
  mask: var(--portal-icon) center / contain no-repeat;
}
.location-portal__icon--hours { --portal-icon: url('../img/icons/time-icon-b.svg'); }
.location-portal__icon--phone { --portal-icon: url('../img/icons/phone-icon-b.svg'); }
.location-portal__icon--mail { --portal-icon: url('../img/icons/email-icon-b.svg'); }
.location-portal__hours-grid { margin: 0; }
.location-portal__hours-grid > div {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: baseline;
  gap: 0.75rem;
  padding-block: 0.375rem;
  border-bottom: 1px solid var(--hairline);
}
.location-portal__hours-grid dd {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  column-gap: 0.3em;
  min-width: 0;
  margin: 0;
  font-family: var(--font-ui);
  font-weight: var(--weight-text);
  text-align: right;
}
.location-portal__hours-grid dd > span { white-space: nowrap; }
.location-portal__contacts { display: grid; gap: 0.25rem; }
.location-portal__footer {
  display: grid;
  gap: 0.75rem;
  margin-top: auto;
  /* Mailblock bis CTA: 4.25rem → 5.1rem (+20 %), inklusive persönlichem Abschluss. */
  padding-top: 1.35rem;
}
.location-portal__welcome {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  color: color-mix(in srgb, var(--ink) 75%, var(--newsletter-panel-ground));
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
}
.location-portal__welcome-icon {
  flex: 0 0 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  background: currentColor;
  mask: url('../img/icons/glasses-outline-w.svg') center / contain no-repeat;
}
.location-portal__actions.hero-cta {
  flex-direction: column;
  align-items: stretch;
  /* Den bisherigen unteren Freiraum oberhalb des Textlinks halten. */
  gap: calc(var(--portal-body-padding) - 0.5rem + 0.375rem);
  margin-top: 0;
  padding-top: 0;
}
.location-portal__button { width: 100%; }
.location-portal__info-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-height: var(--control-min);
  min-inline-size: min(100%, 8.75rem);
  max-width: 100%;
  border-radius: 0.25rem;
  font-family: var(--font-ui);
  font-size: 0.805rem;
  font-weight: var(--weight-text);
  line-height: 1.4;
  text-align: center;
}

/* Ein einzelnes nach links gespiegeltes Diagonalband; mobil beim ersten Bild. */
.locations-decoration {
  --stripe-step: 26px;
  --stripe-width: 1px;
  --stripe-offset: 0px;
  --stripe-band-position: 30%;
  --stripe-band-half-width: clamp(6rem, 14vw, 14rem);
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: clip;
  -webkit-mask-image: linear-gradient(135deg,
    transparent calc(var(--stripe-band-position) - var(--stripe-band-half-width)),
    #000 calc(var(--stripe-band-position) - var(--stripe-band-half-width)),
    #000 calc(var(--stripe-band-position) + var(--stripe-band-half-width)),
    transparent calc(var(--stripe-band-position) + var(--stripe-band-half-width)));
  mask-image: linear-gradient(135deg,
    transparent calc(var(--stripe-band-position) - var(--stripe-band-half-width)),
    #000 calc(var(--stripe-band-position) - var(--stripe-band-half-width)),
    #000 calc(var(--stripe-band-position) + var(--stripe-band-half-width)),
    transparent calc(var(--stripe-band-position) + var(--stripe-band-half-width)));
  transform: scaleX(-1);
  pointer-events: none;
}

/* Aufgelöste Bandbreite für die Zeichnung, ohne sichtbare Fläche oder Layouteinfluss. */
.locations-decoration::before {
  content: '';
  position: absolute;
  width: var(--stripe-band-half-width);
  height: 0;
}

.locations-decoration-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: repeating-linear-gradient(135deg,
    var(--locations-stripe) 0 var(--stripe-width),
    transparent var(--stripe-width) var(--stripe-step));
}

/* Nur während der Zeichnung ersetzen Einzellinien den identischen statischen Verlauf. */
.locations-decoration-field.is-drawing { background: none; }

.locations-decoration-line {
  flex: 0 0 var(--stripe-width);
  width: 100%;
  background: var(--locations-stripe);
}

.locations-decoration-field > .locations-decoration-line {
  position: absolute;
  height: var(--stripe-width);
  transform: translateY(-50%) rotate(-45deg);
  transform-origin: left center;
}

.locations-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 1.5rem;
  max-width: var(--feature-max);
  margin: 0 auto 1rem;
  overflow-wrap: anywhere;
  text-align: center;
}

.locations-intro :is(h1, h2) { max-width: min(100%, 28ch); text-wrap: balance; }
.locations-intro p { max-width: 52ch; }

/* Vier Angebotsbereiche in der freigegebenen Mediengalerie. */
.offers-section {
  padding-block: var(--section-pad);
  background: var(--paper);
}

.offers-intro {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}

.offers-intro h2 { max-width: 28ch; text-wrap: balance; }
.offer--glasses { --offer-background: var(--offer-glasses); }
.offer--contacts { --offer-background: var(--offer-contacts); }
.offer--smart { --offer-background: var(--offer-smart); }
.offer--screening { --offer-background: var(--offer-screening); }

/* Persönliche Beratung: ruhiger Bild-Text-Abschnitt nach den Marken. */
.consultation-section,
.services-section,
.appointment-section {
  padding-block: clamp(4rem, 7vw, 7rem);
  background: var(--paper);
  scroll-margin-block-start: calc(var(--header-height) + 2rem);
}

.consultation-feature {
  display: grid;
  gap: 2.5rem;
  max-width: 87.5rem;
  margin-inline: auto;
  align-items: center;
}

/* Kurzer Textabschnitt zwischen Augenvorsorge und Angebotskarten. */
.service-aftercare {
  padding-block: clamp(2rem, 4vw, 3.5rem);
  background: var(--brands-ground);
}

/* Die Servicekarten darüber liefern bereits den gemeinsamen Weißraum. */
.appointment-section { padding-block-start: 0; }
/* Auf Unterseiten beginnt die Terminbox in ihrem eigenen Abschnitt. */
.editorial-section--tinted + .appointment-section,
:is(.impressum-page, .datenschutz-page, .brands-page, .brand-detail-page, .locations-page, .glasses-page, .contact-lenses-page, .smart-glasses-page) .appointment-section { padding-block-start: clamp(4rem, 7vw, 7rem); }

.faq-section {
  --faq-section-space: clamp(4rem, 7vw, 7rem);
  padding-block: var(--faq-section-space);
  background: var(--faq-ground);
  scroll-margin-block-start: calc(var(--header-height) + 2rem);
}
.glasses-page .faq-section { padding-block-end: calc(var(--faq-section-space) / 3); }
.faq-section__heading { display: block; width: fit-content; margin-inline: auto; text-align: center; text-wrap: balance; }
.faq-accordion,
.faq-footnote { max-width: 87.5rem; margin-inline: auto; }
.faq-accordion { margin-block: clamp(2.5rem, 5vw, 4rem) 0; }
.faq-footnote {
  margin-block: clamp(2.5rem, 4vw, 4rem) 0;
  color: var(--faq-footnote-ink);
  font-family: "CircularXXWeb-Italic", var(--font-body);
  font-size: 0.8rem;
  font-style: italic;
  line-height: 1.6;
  text-align: center;
  scroll-margin-block-start: calc(var(--header-height) + 2rem);
}
.footnote-marker { color: var(--accent-text); }
/* Eine feine Kontrastkante erhält das Originalpink auch auf den getönten Flächen. */
.glasses-page :is([role="doc-noteref"], .footnote-marker) {
  -webkit-text-stroke: 2px light-dark(white, black);
  paint-order: stroke fill;
}

/* Double-Opt-in: konzentrierte Statusansicht, danach die vollständige Danke-Seite. */
.newsletter-confirm-page {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--paper);
}
.newsletter-confirm {
  max-width: 48rem;
  min-height: 75vh;
  min-height: 75svh;
  margin-inline: auto;
  padding-block: clamp(3rem, 7vw, 6rem);
  text-align: center;
}
.newsletter-confirm__logo { display: inline-block; width: min(15rem, 100%); margin-bottom: 2rem; }
.newsletter-confirm__logo img { width: 100%; height: auto; }
.newsletter-confirm h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); text-wrap: balance; }
.newsletter-confirm p { max-width: 55ch; margin: 1.5rem auto; line-height: 1.7; }
.newsletter-confirm .editorial-link-row { font: inherit; }
.newsletter-confirm form + .editorial-link-row { font-size: 70%; }
.newsletter-confirm form { margin-block: 2rem; }
.newsletter-confirm .btn { max-width: 100%; white-space: normal; }
.newsletter-confirm__footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; padding: 2rem; }
.newsletter-confirm__footer > .text-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--control-min);
  font: var(--weight-body) var(--type-meta)/1.5 var(--font-body);
}

.newsletter-success { padding-top: clamp(2.5rem, 5vw, 5rem); text-align: center; }
.newsletter-success h1 { font-size: var(--type-display); line-height: var(--leading-display); text-wrap: balance; }
.newsletter-success__intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 75rem;
  margin: clamp(2rem, 4vw, 4rem) auto 0;
}
.newsletter-success__media {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 28rem;
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 1.5rem;
}
.newsletter-success__media .hero-decoration-line { background: var(--hero-blue-text); }
.newsletter-success__copy { width: 100%; min-width: 0; max-width: 52ch; margin-inline: auto; text-align: start; }
.newsletter-success__copy p {
  font-family: "CircularXXWeb-Light", var(--font-body);
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.8;
}
.newsletter-success__copy .newsletter-success__lead {
  margin-bottom: 1.75rem;
  font-family: var(--font-ui);
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  font-weight: var(--weight-text);
  line-height: 1.6;
}
.newsletter-success__reviews {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem clamp(2rem, 5vw, 5rem);
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  scroll-margin-top: var(--header-height);
}
.newsletter-success__review { flex: 0 1 16rem; min-width: 0; margin: 0; }
.newsletter-success__review a { display: inline-block; }
.newsletter-success__review img { display: block; width: 12rem; max-width: 100%; height: auto; }
.newsletter-success__review figcaption { margin: 1rem auto 0; }
.newsletter-success__reviews + .section-divider { margin-block-start: clamp(4rem, 7vw, 7rem); }
.newsletter-success__articles { padding-block: clamp(4rem, 7vw, 7rem) clamp(4rem, 6vw, 6rem); text-align: center; }
.article-teaser-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  width: 100%;
  max-width: var(--container-max);
  margin: clamp(3rem, 6vw, 4.5rem) auto 2.5rem;
  padding: 0;
  list-style: none;
  text-align: left;
}

.article-teaser-list__item {
  display: flex;
  min-width: 0;
}

.newsletter-success__articles .article-teaser-list__item:only-child {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: 40rem;
}

.article-teaser {
  --article-teaser-tint: #a456f1;
  --article-teaser-glow-opacity: 0.2;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3vw, 2.25rem);
  width: 100%;
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2rem);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--article-teaser-tint) 9%, transparent), transparent 38%),
    color-mix(in srgb, var(--article-teaser-tint) 3%, var(--paper));
  box-shadow: 0 18px 48px rgb(18 19 23 / 8%);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.article-teaser::before {
  content: "";
  position: absolute;
  inset: -70%;
  z-index: 0;
  pointer-events: none;
  background: conic-gradient(from 180deg at 50% 50%,
      transparent 0%,
      rgb(164 86 241 / 0%) 54%,
      rgb(164 86 241 / 32%) 72%,
      var(--article-teaser-tint) 90%,
      rgb(0 229 255 / 40%) 96%,
      transparent 100%);
  opacity: 0;
  filter: blur(22px);
  transform: rotate(0deg) scale(0.88);
  transition: opacity 480ms ease;
  animation: article-teaser-glow-drift 7s ease-in-out infinite;
  animation-play-state: paused;
}

.article-teaser > * {
  position: relative;
  z-index: 1;
}

.article-teaser:is(:hover, :focus-within) {
  border-color: color-mix(in srgb, var(--accent) 48%, transparent);
  box-shadow:
    0 28px 64px color-mix(in srgb, var(--accent) 16%, transparent),
    0 0 28px color-mix(in srgb, var(--accent) 12%, transparent);
  transform: translateY(-4px);
}

.article-teaser:is(:hover, :focus-within)::before {
  opacity: var(--article-teaser-glow-opacity);
  animation-play-state: running;
}

@keyframes article-teaser-glow-drift {
  0%,
  100% {
    transform: rotate(0deg) scale(0.88);
  }

  50% {
    transform: rotate(180deg) scale(1.04);
  }
}

.article-teaser__image-link.media-frame {
  display: block;
  width: 100%;
  max-width: 1200px;
  border-radius: 12px;
  box-shadow:
    0 0 0 12px color-mix(in srgb, var(--accent) 12%, transparent),
    0 20px 40px color-mix(in srgb, var(--accent) 8%, transparent);
  overflow: hidden;
  line-height: 0;
}

.article-teaser__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: inherit;
  object-fit: cover;
  transition: transform 320ms ease;
}

.article-teaser__image-link:is(:hover, :focus-visible) .article-teaser__image {
  transform: scale(1.025);
}

.article-teaser__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.article-teaser__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.article-teaser__category-link {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  border-radius: var(--radius-btn);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: var(--weight-text);
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.article-teaser__title {
  max-width: none;
  margin: 0 0 1rem;
  color: var(--ink);
  font-family: var(--font-headline);
  font-size: clamp(1.65rem, 2.5vw, 2rem);
  line-height: 1.15;
}

.article-teaser__title a,
.article-teaser__author {
  color: var(--ink);
}

.article-teaser__excerpt {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.7;
}

.article-teaser__content > .editorial-link-row { margin-block-start: auto; padding-block-start: 1em; }

.article-teaser__excerpt + .article-teaser__excerpt { margin-block-start: 1em; }

.article-teaser__meta {
  --article-teaser-meta-gap: 1.5rem;
  --article-teaser-track-color: color-mix(in srgb, var(--ink) 18%, transparent);
  --article-teaser-arrow-zone: 22px;
  --article-teaser-line-duration: 720ms;
  --article-teaser-arrow-duration: 180ms;
  --article-teaser-arrow-fade-in-duration: 540ms;
  --article-teaser-arrow-delay: 540ms;
  --article-teaser-line-ease: cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 0.8rem;
  margin-top: var(--article-teaser-meta-gap);
  padding-top: var(--article-teaser-meta-gap);
  box-shadow: inset 0 1px 0 var(--article-teaser-track-color);
  transition: box-shadow var(--article-teaser-line-duration) var(--article-teaser-line-ease);
}

.article-teaser__meta::before,
.article-teaser__meta::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.article-teaser__meta::before {
  top: -1px;
  left: 0;
  width: 0;
  height: 3px;
  border-radius: var(--radius-btn);
  background: linear-gradient(90deg,
      var(--accent-text-on-gray) 0%,
      var(--accent) 58%,
      var(--hero-blue) 82%,
      var(--accent) 100%);
  box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 42%, transparent);
  opacity: 0;
  transition:
    width var(--article-teaser-line-duration) var(--article-teaser-line-ease),
    opacity 160ms ease;
}

.article-teaser__meta::after {
  top: 0.5px;
  right: 2px;
  width: 10px;
  height: 10px;
  border-top: 2.5px solid var(--accent);
  border-right: 2.5px solid var(--accent);
  border-radius: 1px;
  opacity: 0;
  transform: translate(-6px, -50%) rotate(45deg);
  transition:
    transform var(--article-teaser-arrow-duration) var(--article-teaser-line-ease),
    opacity var(--article-teaser-arrow-duration) ease;
}

.article-teaser:has(.article-teaser__image-link:is(:hover, :focus-visible),
  .article-teaser__title a:is(:hover, :focus-visible)) .article-teaser__meta {
  box-shadow: inset 0 1px 0 transparent;
}

.article-teaser:has(.article-teaser__image-link:is(:hover, :focus-visible),
  .article-teaser__title a:is(:hover, :focus-visible)) .article-teaser__meta::before {
  opacity: 1;
  width: calc(100% - var(--article-teaser-arrow-zone));
}

.article-teaser:has(.article-teaser__image-link:is(:hover, :focus-visible),
  .article-teaser__title a:is(:hover, :focus-visible)) .article-teaser__meta::after {
  opacity: 1;
  transform: translate(0, -50%) rotate(45deg);
  transition:
    transform var(--article-teaser-arrow-duration) var(--article-teaser-line-ease) var(--article-teaser-arrow-delay),
    opacity var(--article-teaser-arrow-fade-in-duration) ease var(--article-teaser-arrow-delay);
}

.article-teaser__author,
.article-teaser__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.article-teaser__author {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
}

.article-teaser__author-image {
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  width: 2.75rem;
  height: 2.75rem;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}

.article-teaser__meta-item {
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.35;
}

.article-teaser__meta-icon {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
}

.article-teaser__category-link:is(:hover, :focus-visible),
.article-teaser__title a:is(:hover, :focus-visible),
.article-teaser__author:is(:hover, :focus-visible) {
  color: var(--accent-text-on-gray);
}

.article-teaser__image-link:focus-visible,
.article-teaser__category-link:focus-visible,
.article-teaser__title a:focus-visible,
.article-teaser__author:focus-visible {
  outline: 3px solid var(--accent-text-on-gray);
  outline-offset: 4px;
}

.article-teaser__image-link:focus-visible {
  outline-offset: 13px;
}

html[data-theme="dark"] .article-teaser {
  --article-teaser-tint: #c18cff;
  --article-teaser-glow-opacity: 0.1;
  border-color: color-mix(in srgb, var(--accent) 22%, transparent);
  background:
    radial-gradient(circle at 100% 0%, rgb(193 140 255 / 24%), transparent 38%),
    var(--service-card-ground);
  box-shadow: 0 18px 48px rgb(0 0 0 / 30%);
}

html[data-theme="dark"] .article-teaser:is(:hover, :focus-within) {
  border-color: color-mix(in srgb, var(--accent) 58%, transparent);
  box-shadow: 0 0 36px color-mix(in srgb, var(--accent) 24%, transparent), 0 28px 64px rgb(0 0 0 / 36%);
}

html[data-theme="dark"] .article-teaser__category-link {
  border-color: color-mix(in srgb, var(--accent) 38%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

html[data-theme="dark"] .article-teaser__meta {
  --article-teaser-track-color: var(--hairline);
}

html[data-theme="dark"] .article-teaser :is(.article-teaser__category-link, .article-teaser__author):is(:hover, :focus-visible) {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.2em;
}

@media (max-width: 47.99rem) {
  .article-teaser-list {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .article-teaser {
    padding: clamp(1.25rem, 5vw, 1.5rem);
  }

  .article-teaser__meta {
    --article-teaser-meta-gap: 1.25rem;
  }
}

@media (min-width: 80rem) {
  .article-teaser__meta {
    flex-flow: row wrap;
    align-items: center;
    gap: 0.9rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-teaser,
  .article-teaser::before,
  .article-teaser__image,
  .article-teaser__meta,
  .article-teaser__meta::before,
  .article-teaser__meta::after {
    animation: none;
    transition: none;
  }

  .article-teaser:is(:hover, :focus-within),
  .article-teaser__image-link:is(:hover, :focus-visible) .article-teaser__image {
    transform: none;
  }
}

@media (max-width: 47.99rem) {
  .newsletter-success__intro { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .newsletter-success__media { max-width: 22rem; }
  .newsletter-success__copy p { font-size: 1.1rem; }
  .newsletter-success__copy .newsletter-success__lead { font-size: 1.25rem; }
}

.consultation-heading {
  max-width: 22ch;
  text-wrap: balance;
}

/* Ein einzelnes, ruhiges Diagonalband hinter dem Beratungsinhalt. */
.consultation-section { position: relative; isolation: isolate; overflow: clip; }
.consultation-decoration {
  --stripe-step: 18px;
  --stripe-width: 2px;
  --stripe-offset: 0px;
  --consultation-stripe: color-mix(in srgb, var(--accent) 12%, transparent);
  position: absolute;
  display: flex;
  gap: calc(var(--stripe-step) - var(--stripe-width));
  z-index: -1;
  top: -40%;
  left: 78px;
  width: clamp(12rem, 28vw, 28rem);
  height: 180%;
  overflow: hidden;
  background: repeating-linear-gradient(90deg, var(--consultation-stripe) 0 var(--stripe-width), transparent var(--stripe-width) var(--stripe-step));
  transform: translateX(-50%) rotate(28deg);
  pointer-events: none;
}
.consultation-decoration.is-drawing { background: none; }
.consultation-decoration > .locations-decoration-line {
  width: var(--stripe-width);
  height: 100%;
  background: var(--consultation-stripe);
}

.consultation-media {
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  background: var(--surface);
}

.consultation-media > img,
.consultation-media > picture,
.consultation-media > picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consultation-copy { min-width: 0; max-width: 65ch; }
.consultation-copy > .btn { margin-top: 2rem; }

/* Ausgewählte Kundenstimmen aus beiden Filialen. */
.testimonials-section {
  padding-block: clamp(4rem, 7vw, 7rem);
  background: var(--brands-ground);
  scroll-margin-block-start: calc(var(--header-height) + 2rem);
}
.testimonials-intro,
.services-intro { max-width: var(--feature-max); margin-inline: auto; text-align: center; }
/* Mindforge-Sternmotiv: gleiche Größe; 0,5rem Nettoabstand zur H2. */
.stars-img { width: 280px; margin: 0 auto 0.5rem; }
.testimonials-grid,
.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  max-width: 87.5rem;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
}
