/* SHL Richter – Theme */
@import url("shared/client-theme-base.css");

:root {
  --brand-primary: #E30613;
  --brand-primary-dark: #B8050F;
  --brand-primary-light: #F2F2F2;
  --brand-text: #1A1A1A;
  --brand-gray: #5C5C5C;

  --wf-accent: var(--brand-primary);
  --wf-text: var(--brand-text);
  --wf-border: #D9D9D9;
  --wf-border-strong: var(--brand-primary);

  --wf-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --site-h1: 2rem;
  --site-h2: 1.75rem;
  --site-h3: 1rem;
  --site-body: 1rem;
  --site-body-sm: 0.9375rem;
}

body {
  font-family: var(--wf-font);
  font-size: var(--site-body);
}

html {
  scroll-behavior: smooth;
}

.site-logo {
  display: block;
  line-height: 0;
}

.site-logo img {
  display: block;
  height: 80px;
  width: auto;
  max-width: min(340px, 85vw);
}

.site-logo--hero img {
  height: 140px;
  max-width: min(480px, 94vw);
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
}

.site-logo--page img {
  height: 110px;
  max-width: min(420px, 75vw);
}

/* Hero F – vollflächig */
.wf-hero--f {
  border-bottom: 4px solid var(--brand-primary);
}

.wf-hero--f .site-hero__surface {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55)),
    url("hero-fernsehturm.jpg") center / cover no-repeat;
}

.wf-hero--f .wf-hero__subheadline:not(.wf-hero__subheadline--lead) {
  color: var(--brand-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--site-body-sm);
  margin-bottom: var(--wf-space-sm);
}

.wf-hero--f .wf-hero__subheadline--lead {
  font-size: var(--site-body);
  font-weight: 400;
  line-height: 1.6;
  margin-top: var(--wf-space-md);
}

.wf-hero--f .wf-hero__nav-link {
  cursor: pointer;
  transition: color 0.2s;
}

.wf-hero--f .wf-hero__nav-link:hover,
.wf-hero--f .wf-hero__nav-link--active {
  color: #fff;
}

.wf-hero--f .wf-hero__nav-link--active::after {
  background: var(--brand-primary);
}

.wf-hero--f .wf-hero__header-btn {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  text-decoration: none;
  border-radius: 0;
  text-transform: none;
  letter-spacing: normal;
}

.wf-hero--f .wf-hero__header-btn:hover {
  background: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
}

.wf-hero--f .wf-placeholder-button--hero {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

.wf-hero--f .wf-placeholder-button--hero:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: #fff;
}

.wf-hero--f .wf-hero__actions .wf-placeholder-button {
  text-decoration: none;
}

.wf-hero--f .wf-hero__actions .wf-placeholder-button:first-child {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

.wf-hero--f .wf-hero__actions .wf-placeholder-button:first-child:hover {
  background: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
}

.wf-hero--f .wf-hero__actions .wf-placeholder-button:last-child:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

/* Unterseiten-Navigation */
.site-page-header {
  background: var(--brand-text);
  border-bottom: 4px solid var(--brand-primary);
  padding: var(--wf-space-md) var(--wf-container-padding);
}

.site-page-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--wf-space-lg);
  max-width: var(--wf-max-width);
  margin: 0 auto;
}

.site-page-header__nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--wf-space-xl);
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-page-header__nav-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: var(--site-body-sm);
  transition: color 0.2s;
}

.site-page-header__nav-link:hover,
.site-page-header__nav-link--active {
  color: #fff;
}

.site-page-header__nav-link--active {
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--brand-primary);
}

.site-page-header__actions {
  display: flex;
  justify-content: flex-end;
}

.site-page-header__cta {
  font-size: var(--site-body-sm);
  text-decoration: none;
  border-radius: 0;
  text-transform: none;
  letter-spacing: normal;
}

@media (max-width: 900px) {
  .site-page-header__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-page-header__nav-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--wf-space-md);
  }

  .site-page-header__actions {
    justify-content: center;
  }

  .site-logo--hero img {
    height: 110px;
  }

  .site-logo--page img {
    height: 88px;
  }
}

.wf-placeholder-button--outline {
  background: transparent;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
}

.wf-placeholder-button--outline:hover {
  background: var(--brand-primary);
  color: #fff;
}

.wf-placeholder-button,
.wf-form .wf-placeholder-button,
button.wf-placeholder-button {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.wf-placeholder-button:hover {
  background: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
}

a.wf-placeholder-button {
  display: inline-block;
  text-decoration: none;
}

.wf-hero__headline {
  font-size: var(--site-h1);
  font-weight: 700;
  line-height: 1.2;
}

.wf-hero__subheadline {
  font-size: var(--site-body);
  font-weight: 600;
}

.wf-hero__text,
.wf-teaser__intro,
.wf-teaser-item__text,
.wf-review-card__text,
.wf-contact-info__value,
.wf-form__label,
.wf-form__checkbox span {
  font-size: var(--site-body);
}

.wf-teaser__title,
.wf-reviews__title,
.wf-contact__title {
  font-size: var(--site-h2);
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: normal;
}

.wf-teaser-item__title,
.wf-review-card__name,
.wf-footer__heading {
  font-size: var(--site-h3);
  font-weight: 700;
  line-height: 1.3;
}

.wf-reviews__kicker,
.wf-contact__kicker,
.wf-review-card__date,
.wf-contact-info__label {
  font-size: var(--site-body-sm);
  color: var(--brand-gray);
}

.wf-teaser--c .wf-teaser__divider,
.wf-teaser--d .wf-teaser__divider,
.wf-contact__divider,
.wf-reviews__divider {
  background: var(--brand-primary);
}

.wf-placeholder-icon {
  border: none;
}

/* Echte SVG-Icons in Teasern sichtbar halten (client-theme-base blendet
   leere Wireframe-.wf-placeholder-icon sonst aus) */
.wf-teaser--c .wf-placeholder-icon,
.wf-teaser--d .wf-placeholder-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--brand-primary);
  border: 2px solid var(--wf-border);
}

.wf-icon {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}

.wf-teaser--c .wf-teaser-item__title,
.wf-teaser--d .wf-teaser-item__title {
  color: var(--brand-text);
}

.wf-teaser--d .wf-teaser__list-col {
  background: #fff;
  border-color: var(--wf-border);
}

.wf-reviews--c .wf-review-stars__star {
  width: auto;
  height: auto;
  border: none;
  background: none;
  font-size: 1rem;
  line-height: 1;
  color: #F5A623;
}

.wf-reviews--c .wf-review-stars__star::before {
  content: "★";
}

.wf-reviews--c .wf-review-card--row {
  border: 2px solid var(--wf-border);
  background: #fff;
}

.wf-reviews--c .wf-review-card__source {
  color: var(--brand-gray);
  font-size: var(--site-body-sm);
}

.wf-reviews--c .wf-reviews__header--center {
  margin-bottom: var(--wf-space-2xl);
}

.wf-form__input,
.wf-form__textarea,
.wf-form__select-trigger {
  border: 2px solid var(--wf-border) !important;
  background: #fff !important;
  border-radius: 0;
  color: var(--brand-text);
}

.wf-form__input:focus,
.wf-form__textarea:focus,
.wf-form__select-trigger:focus {
  border-color: var(--brand-primary) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.15);
}

.wf-form__select-options {
  border: 2px solid var(--wf-border);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.wf-form__select-option:hover {
  background: var(--brand-primary-light);
  color: var(--brand-primary-dark);
}

.wf-form__upload-btn {
  border: 2px solid var(--wf-border) !important;
  background: #fff !important;
  color: var(--brand-text);
  cursor: pointer;
}

.wf-form__upload-btn:hover {
  border-color: var(--brand-primary) !important;
  color: var(--brand-primary);
}

/* Jobs / Karriere */
.site-jobs.wf-jobs--c {
  padding: 3.5rem var(--wf-container-padding) 5rem;
  background: var(--brand-primary-light);
}

.site-jobs .wf-jobs-detail,
.site-jobs .wf-jobs-application {
  border-color: var(--wf-border);
  background: #fff;
}

.site-jobs .wf-jobs-detail__tag,
.site-jobs .wf-jobs__kicker {
  color: var(--brand-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: var(--site-body-sm);
}

.site-jobs .wf-jobs-detail__title,
.site-jobs .wf-jobs__title,
.site-jobs .wf-jobs-detail__section-title {
  color: var(--brand-text);
}

.site-jobs .wf-jobs-list--check li::before {
  color: var(--brand-primary);
}

.site-jobs .wf-placeholder-button--outline {
  text-decoration: none;
}

.wf-footer--c {
  background: var(--brand-text);
  color: #fff;
  border-top: 4px solid var(--brand-primary);
}

.wf-footer--c .wf-footer__heading {
  color: var(--brand-primary);
}

.wf-footer--c .wf-footer__link,
.wf-footer--c .wf-footer__text {
  color: rgba(255, 255, 255, 0.85);
}

.wf-footer--c .wf-footer__link:hover {
  color: var(--brand-primary);
}

.wf-footer--c .wf-footer__bottom {
  border-top-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
}

.site-footer__logo {
  display: block;
  height: auto;
  width: min(200px, 100%);
  margin-bottom: var(--wf-space-md);
}

.site-footer__logo-link {
  display: inline-block;
  line-height: 0;
}

.wf-contact-map {
  margin-top: var(--wf-space-lg);
  border: 2px solid var(--wf-border);
  border-radius: 8px;
  overflow: hidden;
  min-height: 240px;
}

.wf-contact-map iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
}

.wf-contact-info__value a {
  color: var(--brand-primary-dark);
  text-decoration: none;
}

.wf-contact-info__value a:hover {
  text-decoration: underline;
}

.site-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.site-section--light {
  background: #fff;
}

.site-section--alt {
  background: var(--brand-primary-light);
}

.wf-reviews.site-section {
  background: #fff;
  padding: 5rem var(--wf-container-padding);
}

.wf-contact.site-section {
  background: var(--brand-primary-light);
  padding: 5rem var(--wf-container-padding);
}

.site-section__inner {
  max-width: var(--wf-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--wf-container-padding);
  padding-right: var(--wf-container-padding);
}

.wf-teaser__actions--intro {
  margin-top: var(--wf-space-xl);
}

/* Mobile-Reihenfolge: Titel/Text → Boxen → Button */
.wf-teaser--c .wf-teaser__split {
  grid-template-areas:
    "intro list"
    "actions list";
}

.wf-teaser--c .wf-teaser__intro-col { grid-area: intro; }
.wf-teaser--c .wf-teaser__list-col { grid-area: list; }
.wf-teaser--c .site-teaser-actions {
  grid-area: actions;
  margin-top: var(--wf-space-lg);
}

.wf-teaser--d--mirror .wf-teaser__split {
  grid-template-areas:
    "list intro"
    "list actions";
}

.wf-teaser--d--mirror .wf-teaser__list-col {
  grid-area: list;
  order: unset;
}

.wf-teaser--d--mirror .wf-teaser__intro-col {
  grid-area: intro;
  order: unset;
  padding-left: var(--wf-space-lg);
}

.wf-teaser--d--mirror .site-teaser-actions {
  grid-area: actions;
  margin-top: var(--wf-space-lg);
  padding-left: var(--wf-space-lg);
}

@media (max-width: 768px) {
  .wf-teaser--c .wf-teaser__split,
  .wf-teaser--d--mirror .wf-teaser__split {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "list"
      "actions";
  }

  .wf-teaser--d--mirror .wf-teaser__intro-col,
  .wf-teaser--d--mirror .site-teaser-actions {
    padding-left: 0;
  }

  .wf-teaser--c .site-teaser-actions,
  .wf-teaser--d--mirror .site-teaser-actions {
    margin-top: var(--wf-space-md);
  }
}

.wf-about--d .wf-about__title,
.wf-ref-page__title,
.wf-leistung__title {
  font-size: var(--site-h1);
  color: var(--brand-text);
}

.wf-about--d .wf-about__section-title {
  color: var(--brand-text);
}

.wf-about--d .wf-about__section + .wf-about__section {
  border-top-color: var(--brand-primary);
}

.wf-about--d .wf-about__cert-item {
  border-left: 3px solid var(--brand-primary);
  padding-left: var(--wf-space-md);
}

.wf-leistung__kicker,
.wf-ref-page__kicker {
  color: var(--brand-primary);
}

.wf-leistung__header {
  border-bottom-color: var(--brand-primary);
}

.wf-leistung-zigzag__content h2 {
  color: var(--brand-text);
}

.wf-leistung-list li::before {
  color: var(--brand-primary);
}

.site-leistung-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border: 2px solid var(--wf-border);
}

.wf-leistung-zigzag__media {
  overflow: hidden;
}

.wf-about.site-about-content {
  padding-top: 0;
}

.wf-ref-page--a {
  padding-top: 0;
}

.wf-ref-masonry__item--text {
  padding: var(--wf-space-lg);
  background: #fff;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: var(--wf-space-sm);
  height: 100%;
}

.site-ref-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--wf-space-lg);
  align-items: stretch;
}

.site-ref-grid .wf-ref-masonry__item--text {
  min-height: 220px;
  border: 2px solid var(--wf-border);
}

.site-ref-grid .wf-ref-card__text {
  flex: 1;
}

@media (max-width: 900px) {
  .site-ref-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-ref-grid {
    grid-template-columns: 1fr;
  }
}

.wf-ref-card__meta {
  font-size: var(--site-body-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-primary);
}

.wf-ref-card__title {
  font-size: var(--site-h3);
  font-weight: 700;
  color: var(--brand-text);
  line-height: 1.3;
}

.wf-ref-card__text {
  font-size: var(--site-body-sm);
  color: var(--brand-gray);
  line-height: 1.55;
}

.wf-teaser--d.site-section {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.wf-teaser--d.site-section .site-section__inner {
  padding-left: 0;
  padding-right: 0;
}

.wf-teaser--c.site-section {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.wf-teaser--c .wf-teaser__intro + .wf-teaser__intro {
  margin-top: var(--wf-space-md);
}

.site-leistungen-extra {
  margin-top: var(--wf-space-xl);
  padding-top: var(--wf-space-lg);
  border-top: 1px solid var(--wf-border);
}

.site-leistungen-extra__label {
  font-size: var(--site-body-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
  margin-bottom: var(--wf-space-md);
}

.site-leistungen-extra__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--wf-space-md);
}

.site-leistungen-extra__item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-left: var(--wf-space-md);
  border-left: 3px solid var(--brand-primary);
}

.site-leistungen-extra__title {
  font-size: var(--site-body-sm);
  font-weight: 700;
  color: var(--brand-text);
}

.site-leistungen-extra__text {
  font-size: var(--site-body-sm);
  color: var(--brand-gray);
  line-height: 1.5;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.wf-module-label {
  display: none;
}

#leistungen,
#ueber-uns,
#rezensionen {
  scroll-margin-top: 2rem;
}

#kontakt {
  scroll-margin-top: 1.5rem;
}
