/* Differenzen besser Klären — static site */

:root {
  --color-bg: #ffffff;
  --color-surface: #f4f4f2;
  --color-text: #111111;
  --color-text-muted: #3d3d3d;
  --color-inverse: #ffffff;
  --color-dark: #0a0a0a;
  --color-accent: #111111;
  --brand-blue: #1470af;
  /* Marker highlight behind text (#1470af at ~40–50% opacity) */
  --mark-highlight: linear-gradient(transparent 58%, rgba(20, 112, 175, 0.42) 58%);
  --mark-highlight-strong: linear-gradient(transparent 58%, rgba(20, 112, 175, 0.52) 58%);
  /* On dark hero/sections: slightly stronger blue bar under white text */
  --mark-on-dark: linear-gradient(transparent 64%, rgba(20, 112, 175, 0.68) 64%);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 2px;
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  --max: 1100px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

p {
  margin: 0 0 1rem;
}

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

a {
  color: inherit;
  text-underline-offset: 0.15em;
}

a:hover {
  opacity: 0.85;
}

.anchor {
  height: 0;
  scroll-margin-top: 1rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: var(--color-dark);
  color: var(--color-inverse);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: var(--gutter);
  top: var(--gutter);
}

/* Header */
.site-header {
  z-index: 100;
}

.site-header--solid {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow);
}

.site-header--over-hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-shell {
  position: relative;
}

.site-header__inner {
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 1.25rem var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header--over-hero .site-title {
  color: var(--color-inverse);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-size: clamp(1rem, 1.8vw, 1rem);
  line-height: 1.35;
}

.site-header--solid .site-title {
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-title {
  text-decoration: none;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile menu (home hero header only) */
.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--color-inverse);
}

.nav-burger__lines {
  position: relative;
  display: block;
  width: 1.35rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: background 0.2s ease;
}

.nav-burger__lines::before,
.nav-burger__lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-burger__lines::before {
  top: -7px;
}

.nav-burger__lines::after {
  top: 7px;
}

.nav-burger--open .nav-burger__lines {
  background: transparent;
}

.nav-burger--open .nav-burger__lines::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-burger--open .nav-burger__lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 5rem var(--gutter) var(--gutter);
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .mobile-nav {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.mobile-nav__panel {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  width: 100%;
  max-width: 22rem;
  padding: 1.25rem;
  background: var(--color-bg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.mobile-nav__cta {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .site-header--over-hero .site-header__nav--desktop {
    display: none;
  }

  .site-header--over-hero .nav-burger {
    display: flex;
  }

  body.menu-open .site-header--over-hero .site-header__inner {
    position: relative;
    z-index: 260;
  }
}

@media (min-width: 768px) {
  body.menu-open {
    overflow: auto;
  }

  .mobile-nav {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  line-height: 1.25;
}

.btn--outline {
  border-color: var(--color-text);
  color: var(--color-text);
  background: transparent;
}

.btn--outline:hover {
  background: var(--color-text);
  color: var(--color-inverse);
  opacity: 1;
}

.btn--cta {
  padding: 1rem 1.65rem;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-inverse);
  background: var(--brand-blue);
  border: none;
}

.btn--cta:hover {
  background: #0f5f96;
  opacity: 1;
}

.btn--primary {
  background: #0f5f96;
  color: var(--color-bright);
  font-weight: bold;
}

.btn--primary:hover {
  opacity: 0.92;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 52rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-inverse);
  overflow: hidden;
  padding: clamp(5.5rem, 12vw, 7rem) var(--gutter) clamp(3rem, 8vw, 5rem);
}

.hero__media {
  position: absolute;
  inset: 0;
  background:
    url("Images/zCxf7yUra8wT6j2ROMjH.jpg") center / cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  width: 100%;
  padding: 0;
  animation: hero-fade 0.8s ease-out both;
}

@keyframes hero-fade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.hero__title {
  margin: 0 0 clamp(1.5rem, 4vw, 2.25rem);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.hero__title-line {
  display: block;
  margin-bottom: 0.32em;
}

.hero__title-line:last-child {
  margin-bottom: 0;
}

.hero__lead {
  margin: 0 auto;
  max-width: 32rem;
  font-size: clamp(0.95rem, 2vw, 1.125rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
  opacity: 0.95;
}

.hero__lead-strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.hero__lead-text {
  display: block;
  font-weight: 400;
}

@media (max-width: 480px) {
  .hero__lead br {
    display: none;
  }
}

/* Sections */
.wrap {
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.25rem) var(--gutter);
}

.section--light {
  background: #eef1f4;
  scroll-margin-top: 1rem;
}

.section--muted {
  background: var(--color-surface);
  scroll-margin-top: 1rem;
}

.section__heading {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.02em;
}

.section__heading--spaced {
  margin-top: 2.75rem;
}

.section__heading--on-dark {
  color: var(--color-inverse);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.mark {
  display: inline;
  padding-bottom: 0.1em;
  background: var(--mark-highlight);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.mark--dark {
  background: var(--mark-highlight-strong);
}

.mark--inline {
  padding: 0 0.15em;
}

.mark--brand-text strong {
  font-weight: 700;
}

.section__heading--wer {
  margin-top: 0;
  margin-bottom: 1.75rem;
}

.mark-wer {
  display: inline-block;
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 0.1em;
  background: var(--mark-highlight-strong);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.mark--on-dark {
  background: var(--mark-on-dark);
  color: var(--color-inverse);
}

.prose {
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
}

.prose--center {
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.two-col-lists {
  display: grid;
  gap: 1.75rem 3rem;
  margin-top: 2.75rem;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .two-col-lists {
    grid-template-columns: 1fr 1fr;
  }
}

.checklist {
  margin: 0;
  padding-left: 1.25rem;
}

.checklist li {
  margin-bottom: 0.65rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.checklist li::marker {
  color: var(--color-accent);
}

/* Team */
.team__intro {
  margin: 0 0 2.5rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  text-align: center;
  letter-spacing: -0.02em;
}

.team-member {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 3rem;
}

.team-member:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .team-member {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 2.5rem;
    align-items: center;
  }

  .team-member--reverse .team-member__figure {
    order: 2;
  }

  .team-member--reverse .team-member__body {
    order: 1;
  }
}

.team-member__figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.team-member__figure img {
  width: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
}

.team-member__body {
  font-size: 1rem;
  color: var(--color-text-muted);
}

.team-member__body p {
  margin: 0;
}

/* Dark CTA section */
.section--dark {
  position: relative;
  color: var(--color-inverse);
  scroll-margin-top: 1rem;
}

.section--dark__media {
  position: absolute;
  inset: 0;
  background:
    url("Images/Bildschirmfoto+2025-01-08+um+19.23.42.png") center / cover no-repeat;
}

.section--dark__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.71);
}

.section--dark__content {
  position: relative;
  z-index: 1;
}

.reasons {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

@media (min-width: 900px) {
  .reasons {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
  }
}

.reason-card {
  padding: 1.25rem 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 900px) {
  .reason-card {
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.25rem;
  }

  .reason-card:first-child {
    border-left: none;
    padding-left: 0;
  }
}

.reason-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
}

.reason-card__text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  opacity: 0.92;
}

.und-banner {
  text-align: center;
  margin: 2.5rem 0 1.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
}

.closing-block {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
  padding-top: 0.5rem;
}

.closing-block__title {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.closing-block__text {
  margin: 0 0 1.75rem;
  opacity: 0.9;
  font-size: 0.98rem;
}

.closing-cta .btn {
  font-size: 0.75rem;
  padding: 0.85rem 1.35rem;
  white-space: normal;
  max-width: 100%;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--color-bg);
  padding: 2.5rem 0 3rem;
  scroll-margin-top: 1rem;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
  }
}

.site-footer__strong {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
}

.site-footer__muted {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-width: 28rem;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.site-footer__links a {
  text-decoration: underline;
}

.site-footer__email a {
  font-weight: 600;
  text-decoration: underline;
  word-break: break-all;
}

/* Kontakt page */
.page-contact {
  padding-bottom: 2rem;
}

/* Impressum / legal */
.page-legal {
  padding-bottom: 2.5rem;
}

.page-legal .contact-intro__title {
  margin-bottom: 0.35rem;
}

.page-legal__content {
  margin-top: 1.25rem;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.page-legal__content p {
  margin: 0 0 1rem;
}

.page-legal__content p:last-child {
  margin-bottom: 0;
}

.page-legal__address {
  font-style: normal;
  margin: 0 0 1rem;
}

.wrap--narrow {
  max-width: 38rem;
}

.contact-intro {
  margin-bottom: 1.75rem;
}

.contact-intro__title {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.form-status {
  min-height: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.98rem;
  font-weight: 500;
}

.form-status--success {
  color: #1b5e20;
}

.form-status--error {
  color: #b71c1c;
}

.form-status--error a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.form {
  margin: 0;
}

.form-fieldset {
  margin: 0 0 1.25rem;
  padding: 0;
  border: none;
}

.form-fieldset--privacy {
  margin-top: 0.5rem;
  padding: 1rem 1rem 1.1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
}

.form-legend {
  padding: 0;
  margin-bottom: 0.65rem;
  font-size: 1rem;
  font-weight: 600;
}

.form-field {
  margin: 0 0 1.25rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-label--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 500;
  cursor: pointer;
}

.form-label--checkbox input {
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.form-required {
  font-weight: 500;
  color: var(--color-text-muted);
}

.form-hint {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.form-input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius);
}

.form-input:focus {
  outline: 2px solid var(--color-text);
  outline-offset: 1px;
}

.form-textarea {
  min-height: 7rem;
  resize: vertical;
}

.form-field--checkbox {
  margin-bottom: 1rem;
}

.form-actions {
  margin-top: 1.5rem;
  padding-top: 0.25rem;
}

.btn--solid {
  background: #0f5f96;
  color: var(--color-inverse);
  min-width: 10rem;
}

.btn--solid:hover:not(:disabled) {
  opacity: 0.85;
}

.btn--solid:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
