/* Sichtbar nach async-Load (vermeidet FOUC) */
html { visibility: visible; }

/* ----- Variables ----- */
:root {
  --bg: #f8f8f6;
  --bg-card: #f0efec;
  --bg-card-highlight: #e8eae9;
  --text: #2f2f2f;
  --text-muted: #6b6b6b;
  --text-light: #8a8a8a;
  --accent: #4a7c9c;
  --border: #e0e0de;
  --radius: 6px;
  --btn-radius: 12px;
  --font: 'DM Sans', system-ui, sans-serif;
  --font-logo: 'Coco Gothic', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* Skip-Link: Barrierefrei, nur bei Fokus sichtbar */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10001;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: var(--btn-radius);
  text-decoration: none;
  transform: translateY(-120%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ----- Parallax & Reveal ----- */
.hero-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.reveal .reveal-item {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

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

.principles.is-visible .principles-title { transition-delay: 0.05s; }
.principles.is-visible .cards .card:nth-child(1) { transition-delay: 0.1s; }
.principles.is-visible .cards .card:nth-child(2) { transition-delay: 0.2s; }
.principles.is-visible .cards .card:nth-child(3) { transition-delay: 0.3s; }
.principles.is-visible .cards .card:nth-child(4) { transition-delay: 0.4s; }

.about.is-visible .about-title { transition-delay: 0.05s; }
.about.is-visible .about-media { transition-delay: 0.15s; }
.about.is-visible .about-content { transition-delay: 0.25s; }

.cta-section.is-visible .cta-title { transition-delay: 0.05s; }
.cta-section.is-visible .cta-btn { transition-delay: 0.15s; }

.statement.is-visible .statement__text { transition-delay: 0.05s; }
.statement.is-visible .statement__line { transition-delay: 0.12s; }

.contact.is-visible .contact-info { transition-delay: 0.05s; }

.footer.is-visible .footer-brand { transition-delay: 0.05s; }
.footer.is-visible .footer-bottom { transition-delay: 0.15s; }

.hero-parallax__bg {
  will-change: transform;
}

.hero-parallax__image {
  will-change: transform;
}

/* ----- Header ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: max(1.25rem, env(safe-area-inset-top));
  padding-left: max(2rem, env(safe-area-inset-left));
  padding-right: max(2rem, env(safe-area-inset-right));
  background: rgba(248, 248, 246, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
}

.header__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-logo {
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
  min-width: 0;
}

.header-logo img {
  height: 32px !important;
  width: auto !important;
  max-width: 180px !important;
  max-height: 40px !important;
  display: block;
  object-fit: contain;
}

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

.nav-dots {
  width: 18px;
  height: 12px;
  background: radial-gradient(circle, var(--text) 1.5px, transparent 1.5px);
  background-size: 6px 6px;
  background-position: 0 0;
}

.nav-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.nav-toggle {
  width: 24px;
  height: 20px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hamburger: 3 Linien */
.nav-toggle::before,
.nav-toggle::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle::before {
  top: 3px;
}

.nav-toggle::after {
  bottom: 3px;
}

.nav-toggle__line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  top: 50%;
  margin-top: -1px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* Geöffnet: X-Form (obere/untere Linie rotieren, mittlere ausblenden) */
body.menu-open .nav-toggle::before {
  top: 50%;
  margin-top: -1px;
  transform: rotate(45deg);
}

body.menu-open .nav-toggle::after {
  bottom: 50%;
  margin-bottom: -1px;
  transform: rotate(-45deg);
}

body.menu-open .nav-toggle .nav-toggle__line {
  opacity: 0;
  transform: scaleX(0);
}

/* ----- Sections ----- */
.section {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 2.5rem;
  color: var(--text);
}

.section-title .muted {
  color: var(--text-muted);
  font-weight: 500;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 8rem 2rem 6rem;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 480px) 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 2rem 2.5rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
  z-index: -1;
}

/* Dezentes Hintergrund-Muster: Kreise + leichtes Gitter */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(74, 124, 156, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(230, 74, 55, 0.03) 0%, transparent 45%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.02) 100%);
  pointer-events: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-content {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  margin-top: -11rem;
}

/* Headline – gleiche Optik wie Section-Titel (z. B. Mehr als Training …) */
.hero-title {
  font-size: clamp(2.5rem, 6.5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem;
  max-width: 14ch;
  color: var(--text);
}

/* Akzent-Linie unter der Headline */
.hero-title::after {
  content: '';
  display: block;
  width: 4.5rem;
  height: 4px;
  margin-top: 0.6rem;
  background: #e64a37;
  border-radius: 2px;
}

/* Micro-line under headline – emotional direction, minimal visual weight */
.hero-micro-line {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 0.6rem;
  opacity: 0.72;
}

/* Subheadline – smaller, lighter, restrained */
.hero-subheadline {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 400;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  line-height: 1.5;
  max-width: 28ch;
}

/* Value line – calm chapter marker, minimal and quiet */
.hero-value-line {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin: 0 0 2.25rem;
  opacity: 0.75;
  text-transform: uppercase;
}

/* Primary CTA – dominant through spacing and color, central in text flow */
.hero-cta-primary {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: #fff;
  background: #e64a37;
  padding: 0.85rem 1.6rem;
  margin-top: 0.25rem;
  margin-bottom: 0;
  text-decoration: none;
  border-radius: 12px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta-primary:hover {
  background: #d44335;
  color: #fff;
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(230, 74, 55, 0.35);
}

.hero-cta-primary:focus-visible,
.cta-primary:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
}

/* Scroll transitional message – appears once on first scroll, then fades */
.hero-scroll-message {
  position: fixed;
  left: 50%;
  bottom: 20%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
  z-index: 100;
}

.hero-scroll-message.is-visible {
  opacity: 1;
}

.hero-scroll-message.is-fading {
  opacity: 0;
}

/* Sektions-Übergang: weiche Diagonale am unteren Hero-Rand */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background: var(--bg);
  clip-path: polygon(0 70%, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
  pointer-events: none;
}

.hero-image-wrap {
  grid-column: 2;
  grid-row: 1 / 4;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: visible;
}

/* Atmosphärische Tiefe – sehr dezenter volumetrischer Verlauf hinter der Figur */
.hero-image-wrap::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  max-width: 60vh;
  max-height: 60vh;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse 80% 70% at 50% 45%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.018) 0%, transparent 58%);
  pointer-events: none;
  z-index: 1;
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 95%;
  height: 95%;
  max-width: 56vh;
  max-height: 56vh;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at 45% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 45%);
  pointer-events: none;
  z-index: 2;
}

.hero-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 96%;
  height: 96%;
  max-width: 68vh;
  max-height: 68vh;
  pointer-events: none;
  z-index: 0;
  color: var(--text-muted);
  opacity: 0.72;
  transform: translate(-50%, -50%) perspective(800px) rotateX(65deg) rotateY(8deg);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.06));
}

.hero-orbit--breathe .hero-orbit__ellipse {
  animation: hero-orbit-breathe 8s ease-in-out infinite;
}

@keyframes hero-orbit-breathe {
  0%, 100% { opacity: 0.78; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orbit--breathe .hero-orbit__ellipse {
    animation: none;
    opacity: 0.9;
  }
}

.hero-image-inner {
  position: relative;
  z-index: 3;
  isolation: isolate;
  display: inline-block;
  line-height: 0;
}

.hero-image-inner picture {
  display: block;
}

.hero-image {
  max-height: 70vh;
  width: auto;
  object-fit: contain;
  transform: scale(1.5);
  display: block;
  opacity: 0.14;
  mix-blend-mode: multiply;
  filter: contrast(0.92) brightness(1.05);
}

.hero-logo {
  position: absolute;
  top: 72%;
  right: -72%;
  z-index: 3;
  display: block;
  line-height: 0;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.hero-logo:hover {
  opacity: 1;
}

.hero-logo img {
  height: 11rem !important;
  max-height: 11rem !important;
  width: auto !important;
  max-width: 240px !important;
  display: block;
  object-fit: contain;
}

/* Scroll-Indikator: kleiner Punkt, verschwindet nach erstem Scroll */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.hero-scroll-indicator.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.hero-scroll-indicator__dot {
  display: block;
  width: 6px;
  height: 6px;
  margin: 0 auto;
  background: var(--text-muted);
  border-radius: 50%;
  animation: hero-scroll-bounce 2s ease-in-out infinite;
}

@keyframes hero-scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.8; }
  50% { transform: translateY(6px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-indicator__dot {
    animation: none;
  }
}

@media (max-width: 900px) {
  .hero-logo {
    top: 65%;
    right: -35%;
  }

  .hero-logo img {
    height: 7.5rem !important;
    max-height: 7.5rem !important;
    max-width: 180px !important;
  }
}

/* Hero hotspots – einheitliche Typografie, klare Hierarchie, ruhig sekundär */
.hero-hotspot {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--font-logo);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.78;
  z-index: 4;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.hero-hotspot--active {
  color: var(--text);
  opacity: 0.92;
}

.hero-hotspot--active .hero-hotspot__dot {
  background: var(--text-muted);
  border-color: var(--text-muted);
}

.hero-hotspot--active .hero-hotspot__line {
  opacity: 0.95;
  color: var(--text-muted);
}

.hero-hotspot--active .hero-hotspot__line path {
  stroke-width: 1.2;
}

.hero-hotspot:hover {
  color: #e64a37;
  opacity: 1;
}

.hero-hotspot:hover .hero-hotspot__dot {
  background: rgba(230, 74, 55, 0.25);
  border-color: #e64a37;
}

.hero-hotspot:hover .hero-hotspot__line {
  color: #e64a37;
}

.hero-hotspot__dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e0e0de;
  border: 1.25px solid var(--text-muted);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-hotspot__line {
  width: 44px;
  height: 22px;
  color: var(--text-light);
  opacity: 0.72;
  flex-shrink: 0;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.hero-hotspot__line path {
  stroke-width: 1;
}

.hero-hotspot__line--right {
  transform: scaleX(-1);
}

.hero-hotspot__line--3 {
  width: 40px;
  height: 28px;
}

.hero-hotspot__line--3 path {
  stroke-width: 1;
}

.hero-hotspot__label {
  white-space: nowrap;
  text-transform: uppercase;
}

.hero-hotspot--1 {
  left: calc(76% - 6px);
  top: calc(38% - 6px);
  right: auto;
  flex-direction: row;
}

.hero-hotspot--1 .hero-hotspot__label {
  margin-left: 0.25rem;
}

.hero-hotspot--2 {
  left: calc(94% - 6px);
  top: calc(50% - 6px);
  flex-direction: row;
}

.hero-hotspot--2 .hero-hotspot__label {
  margin-left: 0.25rem;
}

.hero-hotspot--3 {
  right: calc(82% - 6px);
  bottom: calc(32% - 6px);
  top: auto;
  left: auto;
  flex-direction: row-reverse;
}

.hero-hotspot--3 .hero-hotspot__label {
  margin-right: 0.25rem;
}

.hero-stats-right {
  grid-column: 3;
  grid-row: 2;
  align-self: center;
  text-align: right;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    text-align: center;
    padding-top: 5.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 4rem;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-content {
    grid-column: 1;
    grid-row: 1;
    margin-top: 0;
  }

  .hero-title {
    max-width: none;
  }

  .hero-title::after {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subheadline {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image-wrap {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
  }

  .hero-hotspot--1 {
    right: calc(73.5% - 6px);
    top: calc(32% - 6px);
    left: auto;
  }

  .hero-hotspot--2 {
    left: calc(94% - 6px);
    top: calc(50% - 6px);
  }

  .hero-hotspot--3 {
    right: calc(82% - 6px);
    bottom: calc(32% - 6px);
    top: auto;
    left: auto;
  }

  .hero-hotspot__label {
    font-size: 0.65rem;
  }

  .hero-hotspot__line {
    width: 32px;
    height: 16px;
  }

  .hero-stats-right {
    grid-column: 1;
    grid-row: 2;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero-hotspot {
    display: none;
  }
}

/* ----- Principles / Cards ----- */
.principles {
  padding-top: 6rem;
  padding-bottom: 5rem;
  overflow: visible;
}

.principles-title {
  max-width: 18ch;
}

/* Akzent-Linie unter Principles-Überschrift */
.principles-title::after {
  content: '';
  display: block;
  width: 4rem;
  height: 4px;
  margin-top: 0.5rem;
  background: #e64a37;
  border-radius: 2px;
}

/* Zarte Trennlinie vor About */
.about::before {
  content: '';
  display: block;
  width: 100%;
  max-width: 1400px;
  height: 1px;
  margin: 0 auto 4rem;
  background: var(--border);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  overflow: visible;
}

.card {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  background: #ebebea;
  border-radius: 14px;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  min-height: 200px;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 5px #ebebea;
  pointer-events: none;
  z-index: 10;
  transition: box-shadow 0.25s ease;
}

.card:hover {
  z-index: 10;
  transform: translateY(-48px);
  background: #f5f6f7;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

@media (hover: none) and (pointer: coarse) {
  .card:hover {
    transform: none;
    box-shadow: none;
  }

  .card:active {
    transform: scale(0.99);
    background: #f0f0ef;
  }
}

.card:hover::before {
  box-shadow: inset 0 0 0 5px #f5f6f7;
}

.card-highlight {
  background: #ebebea;
}

.card-highlight:hover {
  background: #f5f6f7;
}

.card:not(.card-highlight) {
  opacity: 1;
}

.card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.4rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  transition: color 0.25s ease, font-weight 0.25s ease;
}

.card:hover .card-title {
  color: #333;
  font-weight: 600;
}

.card-desc {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
  flex: 1;
  transition: color 0.25s ease;
}

.card:hover .card-desc {
  color: #6f6f6f;
}

.card-num {
  font-size: 4.5rem;
  font-weight: 400;
  color: #e64a37;
  margin-top: auto;
  margin-bottom: 0.75rem;
  margin-right: 0.25rem;
  padding-top: 0.5rem;
  display: block;
  line-height: 0.95;
  letter-spacing: -0.03em;
  transform: translateY(72%);
  transition: color 0.25s ease;
}

.card:hover .card-num {
  color: #b0b5bb;
}

@media (max-width: 1000px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ----- Blog / Substack ----- */
.blog {
  padding-top: 6rem;
  padding-bottom: 5rem;
}

.blog-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.blog-title {
  max-width: 20ch;
  margin-bottom: 0.75rem;
}

.blog-intro {
  max-width: 40rem;
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.4rem;
  border-radius: 16px;
  background: #f0f0ee;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.blog-card:hover,
.blog-card:focus-visible {
  transform: translateY(-10px);
  background: #f7f7f6;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.blog-card:focus-visible {
  outline: 2px solid #e64a37;
  outline-offset: 3px;
}

.blog-card-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.blog-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.blog-card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.blog-card-excerpt {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.blog-card-footer {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #e64a37;
}

.blog-card-footer span {
  display: inline-block;
  transform: translateY(1px);
}

.blog-more {
  margin-top: 2.5rem;
}

.blog-fallback {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.blog-item--extra {
  display: none;
}

.blog-item--visible {
  display: flex;
}

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

@media (max-width: 700px) {
  .blog {
    padding-top: 4.5rem;
    padding-bottom: 3.5rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ----- About ----- */
.about {
  padding: 0 2rem;
  color: #fff;
}

.about-inner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  padding: 6rem 2rem;
}

.about-bg {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  /* Weicher Verlauf: oben heller, unten schwarz (Schwarz zieht höher) */
  background: linear-gradient(180deg, #4a4948 0%, #3a3938 25%, #2a2928 50%, #000 78% 100%);
  z-index: 0;
}

.about-inner .about-title,
.about-inner .about-grid {
  position: relative;
  z-index: 1;
}

.about-title {
  margin-bottom: 2rem;
  color: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.about-media {
  position: sticky;
  top: 6rem;
}

.about-media picture {
  display: block;
  width: 100%;
}

.about-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center 35%;
  max-height: 520px;
  display: block;
  vertical-align: middle;
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 1.25rem;
  color: #fff;
}

.about .accordion-item summary {
  opacity: 0.92;
}

.about .accordion-item[open] summary {
  opacity: 1;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.about .accordion-item {
  border-bottom-color: rgba(255, 255, 255, 0.25);
}

.accordion-item summary {
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem 1rem 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.2s;
}

.about .accordion-item summary::after {
  border-color: rgba(255, 255, 255, 0.7);
}

.accordion-item[open] summary::after {
  transform: translateY(-40%) rotate(-135deg);
}

.accordion-item p {
  margin: 0 0 1rem;
  padding-right: 2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.about .accordion-item p {
  color: rgba(255, 255, 255, 0.78);
}

.accordion-item[open] p {
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  opacity: 0.9;
}

.btn-dark:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(230, 74, 55, 0.3);
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.btn-dark {
  background: #e64a37;
  color: #fff;
}

.btn-dark:hover {
  background: #d44335;
}

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

.btn-outline:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.about-content .btn {
  margin-top: 1rem;
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-media {
    position: static;
  }
}

/* ----- CTA ----- */
.cta-section {
  text-align: center;
  padding: 4rem 2rem;
}

.cta-title {
  margin-bottom: 1.5rem;
}

.cta-btn {
  margin-top: 0.5rem;
}

.cta-section .btn-outline {
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  opacity: 0.9;
}

.cta-section .btn-outline:hover {
  opacity: 1;
}

/* ----- Statement (zwischen About und Contact) ----- */
.statement {
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
}

/* Wiederkehrende Form: dezenter Kreis im Hintergrund */
.statement::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(80vw, 420px);
  height: min(80vw, 420px);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(74, 124, 156, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.statement__inner {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

.statement__text {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}

.statement__line {
  display: block;
  width: 4rem;
  height: 4px;
  margin: 1rem auto 0;
  background: #e64a37;
  border-radius: 2px;
}

/* ----- Contact ----- */
.contact {
  padding: 0 2rem;
}

.contact-inner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  padding: 5rem 2rem 3rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.contact-bg {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #f2f2f0 0%, #ebebea 100%);
  z-index: 0;
}

.contact-inner .contact-layout {
  position: relative;
  z-index: 1;
}

.contact-layout {
  max-width: 640px;
  margin: 0 auto;
}

.contact-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.05;
}

.contact-intro {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 2rem;
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-light);
  margin: 0 0 0.25rem;
}

.contact-details p:last-child,
.contact-email {
  font-size: 1rem;
  color: var(--text);
  margin: 0;
}

.contact-email {
  font-weight: 600;
  margin-top: 0.5rem;
}

.contact-email-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-email-link:hover {
  color: var(--accent);
}

.contact-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
  line-height: 0;
}

.contact-icon svg {
  display: block;
}

.contact-email-link:hover .contact-icon {
  color: var(--accent);
}

.contact-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-ctas .btn {
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 700px) {
  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-ctas {
    flex-direction: column;
  }

  .contact-ctas .btn {
    width: 100%;
  }
}

/* ----- FAQ ----- */
.faq {
  padding-top: 5rem;
  padding-bottom: 6rem;
  position: relative;
  text-align: center;
}

/* Wiederkehrende Form: Diagonale vor dem Footer (wie im Hero) */
.faq::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background: var(--bg);
  clip-path: polygon(0 100%, 0 25%, 100% 0, 100% 100%);
  z-index: 0;
  pointer-events: none;
}

.faq-title,
.faq-intro,
.faq-list {
  position: relative;
  z-index: 1;
}

.faq-title {
  margin-bottom: 0.75rem;
}

.faq-intro {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  text-align: center;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  font-weight: 600;
  font-size: 1rem;
  padding: 1.1rem 2.5rem 1.1rem 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  color: var(--text);
  line-height: 1.4;
}

.faq-question:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
  transform: translateY(-40%) rotate(-135deg);
}

.faq-answer {
  margin: 0 0 1.25rem;
  padding: 0 0 0.5rem;
  padding-right: 2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .faq {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .faq-question {
    padding-right: 2rem;
  }

  .faq-answer {
    padding-right: 0;
  }
}

/* ----- Footer ----- */
.footer {
  position: relative;
  padding: 4rem 2rem 2rem;
  text-align: center;
}

/* Akzent-Linie oberhalb des Footers */
.footer::before {
  content: '';
  display: block;
  width: 100%;
  max-width: 200px;
  height: 3px;
  margin: 0 auto 3rem;
  background: #e64a37;
  border-radius: 2px;
}

/* Dezentes Punktmuster im Footer-Hintergrund */
/* Gleiches Karo-Muster wie im Hero (oben) */
.footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}

.footer-brand {
  font-size: clamp(3rem, 15vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.footer-descriptor {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin: 0 0 2rem;
  opacity: 0.85;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.footer-copy,
.footer-link {
  font-size: 0.8rem;
  color: var(--text-light);
}

.footer-link:hover {
  color: var(--text);
}

.footer-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 36px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  opacity: 0.6;
}

.footer-scroll::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 2px;
}

/* ----- Legal / Datenschutz-Seite ----- */
.legal-page {
  padding: 6rem 2rem 4rem;
  min-height: 100vh;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1.5rem;
  color: var(--text);
}

.legal-intro {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 2.5rem;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.75rem;
  letter-spacing: 0.01em;
}

.legal-section p,
.legal-section ul {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.legal-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-section li {
  margin-bottom: 0.35rem;
}

.legal-section p strong {
  color: var(--text);
}

.legal-updated {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 2rem;
  margin-bottom: 0;
}

.legal-back {
  margin-top: 2.5rem;
  margin-bottom: 0;
}

.legal-back a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-back a:hover {
  color: var(--text);
}

.legal-links {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.legal-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-links a:hover {
  color: var(--text);
}

/* ----- Menü: kleines Panel, Klick ins Leere schließt ----- */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

body.menu-open {
  overflow: hidden;
}

.nav-overlay__panel {
  position: absolute;
  top: max(4.5rem, calc(env(safe-area-inset-top) + 3.5rem));
  right: max(1.25rem, env(safe-area-inset-right));
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 10rem;
  padding: 0.6rem 0.5rem;
  background: #f8f8f6;
  border-radius: var(--btn-radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
}

.nav-overlay__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.5rem 0.75rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: var(--btn-radius);
  transition: background 0.15s, color 0.15s;
}

.nav-overlay__link:hover {
  color: var(--accent);
  background: rgba(0, 0, 0, 0.04);
}

.nav-toggle {
  position: relative;
  z-index: 10000;
}

@media (max-width: 900px) {
  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
    padding: 12px;
    box-sizing: border-box;
  }
}

@media (max-width: 560px) {
  .nav-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

/* ----- Sticky CTA (nur Mobile) ----- */
.sticky-cta {
  display: none;
}

@media (max-width: 560px) {
  main {
    padding-bottom: 5.5rem;
  }

  .sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    padding: 0.75rem max(1rem, env(safe-area-inset-left)) max(0.75rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-right));
    background: rgba(248, 248, 246, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }

  .sticky-cta.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .sticky-cta__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #fff;
    background: #e64a37;
    padding: 0.9rem 1rem;
    border-radius: var(--btn-radius);
    text-decoration: none;
    transition: background 0.2s ease;
  }

  .sticky-cta__link:hover {
    background: #d44335;
  }

  .sticky-cta__link:focus-visible {
    outline: 3px solid var(--text);
    outline-offset: 2px;
  }
}

/* ----- Mobile Optimierungen ----- */
@media (max-width: 640px) {
  body {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .header {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .header-logo img {
    height: 28px;
  }

  .section {
    padding: 3rem max(1.25rem, env(safe-area-inset-right)) 3rem max(1.25rem, env(safe-area-inset-left));
  }

  .section-title {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
    margin-bottom: 1.75rem;
  }

  .hero {
    padding-top: 4.5rem;
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
    padding-bottom: 3.5rem;
  }

  .hero-cta-primary {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .hero-image {
    max-height: 40vh;
    transform: scale(1.2);
  }

  .hero-logo {
    top: 70%;
    right: -45%;
  }

  .hero-logo img {
    height: 5.5rem !important;
    max-height: 5.5rem !important;
    max-width: 140px !important;
    opacity: 0.85;
  }

  .principles {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .about-inner {
    padding: 4rem max(1.25rem, env(safe-area-inset-right)) 4rem max(1.25rem, env(safe-area-inset-left));
  }

  .about-title {
    font-size: clamp(1.5rem, 8vw, 2.25rem);
  }

  .statement {
    padding: 3rem max(1.25rem, env(safe-area-inset-left)) 3rem max(1.25rem, env(safe-area-inset-right));
  }

  .statement__inner {
    padding: 2rem max(1.25rem, env(safe-area-inset-left)) 2rem max(1.25rem, env(safe-area-inset-right));
  }

  .blog-inner {
    padding: 2rem max(1.25rem, env(safe-area-inset-left)) 2rem max(1.25rem, env(safe-area-inset-right));
  }

  .cta-section {
    padding: 3rem max(1.25rem, env(safe-area-inset-right)) 3rem max(1.25rem, env(safe-area-inset-left));
  }

  .contact-inner {
    padding: 4rem max(1.25rem, env(safe-area-inset-right)) 2.5rem max(1.25rem, env(safe-area-inset-left));
  }

  .contact-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .contact-intro {
    font-size: 0.95rem;
  }

  .footer {
    padding: 3rem max(1.25rem, env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
  }

  .footer-brand {
    font-size: clamp(2rem, 12vw, 4rem);
    word-break: break-word;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .legal-page {
    padding: 5rem max(1.25rem, env(safe-area-inset-right)) 3rem max(1.25rem, env(safe-area-inset-left));
  }

  .nav-overlay__panel {
    top: max(4rem, calc(env(safe-area-inset-top) + 3rem));
    right: max(1rem, env(safe-area-inset-right));
    left: max(1rem, env(safe-area-inset-left));
    min-width: auto;
    padding: 0.5rem;
  }
}

/* Touch-Ziele mind. 44px */
@media (max-width: 900px) {
  .nav-toggle {
    width: 44px;
    height: 44px;
    margin: -0.5rem 0;
    padding: 0;
    min-width: 44px;
    min-height: 44px;
  }

  .nav-toggle::before,
  .nav-toggle::after {
    left: 50%;
    margin-left: -10px;
    width: 20px;
  }
}

@media (max-width: 640px) {
  .hero-cta-primary {
    min-height: 48px;
    padding: 0.9rem 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .btn {
    min-height: 48px;
    padding: 0.85rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .footer-bottom .footer-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0;
  }
}


/* Cards: etwas weniger Abstand auf schmalen Screens */
@media (max-width: 560px) {
  .cards {
    gap: 0.75rem;
  }

  .card {
    padding: 1.5rem 1.25rem;
  }
}

/* FAQ: Touch-Ziele für details/summary */
@media (max-width: 640px) {
  .faq-question {
    min-height: 48px;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-right: 2.5rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
  }
}

