/* ============================================
   MUELLER STRATEGY — Global Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Primary */
  --black: #1A1A1A;
  --orange: #E8602C;
  --orange-dark: #C44D1E;
  --blue-deep: #1B3A5C;
  --blue-mid: #2A5580;

  /* Neutral */
  --gray-dark: #2D2D2D;
  --gray-mid: #6B6B6B;
  --gray-light: #E8E8E8;
  --orange-light: #FBEEE8;
  --blue-light: #E6EDF4;
  --white: #FFFFFF;

  /* Typography */
  --font-headline: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Courier New', monospace;

  /* Spacing */
  --section-padding: 6rem 1.5rem;
  --container-max: 1140px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--black);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.15;
  color: var(--black);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
}

h4 {
  font-size: 1.15rem;
}

p {
  margin-bottom: 1rem;
  color: var(--gray-dark);
}

.text-orange {
  color: var(--orange);
}

.text-blue {
  color: var(--blue-deep);
}

.kpi {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--black);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn:focus-visible {
  outline: 3px solid var(--blue-mid);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--orange-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}

.btn-secondary:hover {
  background-color: var(--black);
  color: var(--white);
}

.btn-white {
  background-color: var(--white);
  color: var(--black);
}

.btn-white:hover {
  background-color: var(--gray-light);
}

/* --- Orange Accent Line --- */
.accent-line {
  width: 60px;
  height: 3px;
  background-color: var(--orange);
  margin-bottom: 1.5rem;
}

/* --- Section Spacing --- */
.section {
  padding: var(--section-padding);
}

.section-dark {
  background-color: var(--black);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: var(--gray-light);
}

.section-light {
  background-color: var(--gray-light);
}

.section-label {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-light);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 70px;
}

/* Logo / Wortmarke */
.logo {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.footer .logo-mark {
  width: 24px;
  height: 24px;
}

.logo-first {
  color: var(--black);
}

.logo-last {
  color: var(--orange);
}

/* Desktop Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-dark);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--black);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--orange);
}

.nav-link:focus-visible {
  outline: 2px solid var(--blue-mid);
  outline-offset: 4px;
}

.nav-cta {
  margin-left: 0.5rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--black);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hamburger:focus-visible {
  outline: 2px solid var(--blue-mid);
  outline-offset: 4px;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav.open {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
  }
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}

/* Body offset for fixed header */
body {
  padding-top: 70px;
}

/* ============================================
   BACKDROP TEXT (emotional background words)
   ============================================ */
[data-backdrop] {
  position: relative;
  overflow: hidden;
}

[data-backdrop]::after {
  content: attr(data-backdrop);
  position: absolute;
  right: -0.03em;
  bottom: -0.1em;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(6rem, 15vw, 14rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--black);
  opacity: 0.035;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  z-index: 0;
}

.section-dark[data-backdrop]::after,
.hero[data-backdrop]::after,
.cta-section[data-backdrop]::after {
  color: var(--white);
  opacity: 0.04;
}

.section-light[data-backdrop]::after {
  color: var(--black);
  opacity: 0.04;
}

[data-backdrop] > .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  [data-backdrop]::after {
    font-size: clamp(4rem, 20vw, 7rem);
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding: 5rem 1.5rem 6rem;
  background-color: var(--black);
  color: var(--white);
}

.hero .container {
  max-width: var(--container-max);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.hero h1 .highlight {
  color: var(--orange);
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--gray-light);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

/* ============================================
   CARDS / GRID LAYOUTS
   ============================================ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

/* Service Card */
.card {
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  padding: 2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--orange);
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
}

.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
  transition: color 0.2s ease;
}

.card-link:hover {
  color: var(--orange-dark);
}

.card-link::after {
  content: ' \2192';
}

/* Case Study Card — Teaser (Index) */
.case-card {
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  padding: 2.5rem 2rem;
  position: relative;
}

.case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--orange);
}

.case-tag {
  font-family: var(--font-headline);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-mid);
  margin-bottom: 0.75rem;
}

.case-card h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.case-card p {
  font-size: 0.95rem;
}

/* ============================================
   CASE STUDY — Full Page Cards
   ============================================ */
.case-full {
  padding: 4rem 0;
  border-bottom: 1px solid var(--gray-light);
}

.case-full:last-child {
  border-bottom: none;
}

.case-full-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .case-full-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Left sidebar */
.case-sidebar {
  position: sticky;
  top: 100px;
}

.case-number {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--gray-light);
  margin-bottom: 1.25rem;
  transition: color 0.4s ease;
}

.case-full.revealed .case-number {
  color: var(--orange);
}

.case-category {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-mid);
  line-height: 1.5;
}

/* Right content */
.case-content h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1.25rem;
}

.case-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--orange);
}

.case-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 600px) {
  .case-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.case-step {
  position: relative;
}

.case-step-label {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.case-step-label::before {
  content: '';
  width: 16px;
  height: 2px;
  background-color: var(--orange);
  flex-shrink: 0;
}

.case-step p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.case-result-full {
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  background-color: var(--black);
  position: relative;
}

.case-result-full::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background-color: var(--orange);
}

.case-result-label {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.case-result-full p {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Case teaser result (index page) */
.case-result {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background-color: var(--orange-light);
  border-left: 3px solid var(--orange);
}

.case-result p {
  color: var(--black);
  font-weight: 500;
  margin-bottom: 0;
}

.case-section-label {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
}

/* ============================================
   KPI / NUMBERS SECTION
   ============================================ */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}

@media (max-width: 768px) {
  .kpi-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.kpi-icon {
  width: 28px;
  height: 28px;
  color: var(--orange);
  margin: 0 auto 0.75rem;
}

.kpi-item .kpi {
  display: block;
  margin-bottom: 0.5rem;
}

.kpi-item .kpi-label {
  font-size: 0.95rem;
  color: var(--gray-mid);
}

.section-dark .kpi-item .kpi {
  color: var(--white);
}

.section-dark .kpi-item .kpi-label {
  color: var(--gray-light);
}

/* ============================================
   PRICING
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.pricing-card {
  border: 1px solid var(--gray-light);
  padding: 2rem;
  position: relative;
}

.pricing-icon {
  width: 32px;
  height: 32px;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.pricing-card.featured {
  border: 2px solid var(--orange);
}

.pricing-card.featured::after {
  content: 'Beliebt';
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background-color: var(--orange);
  color: var(--white);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
}

.pricing-name {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--black);
  margin-bottom: 0.25rem;
}

.pricing-detail {
  font-size: 0.85rem;
  color: var(--gray-mid);
  margin-bottom: 1rem;
}

.pricing-desc {
  font-size: 0.95rem;
  color: var(--gray-dark);
}

/* ============================================
   MODULE SECTION (Leistungen)
   ============================================ */
.module {
  padding: 3rem 0;
  border-bottom: 1px solid var(--gray-light);
  position: relative;
  overflow: hidden;
}

.module-deco {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  height: 260px;
  pointer-events: none;
  user-select: none;
  opacity: 0.55;
  z-index: 0;
}

.module-header,
.module > p,
.module > [style],
.module > .module-tags {
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .module-deco {
    width: 200px;
    height: 200px;
    opacity: 0.35;
    right: -2%;
  }
}

@media (max-width: 768px) {
  .module-deco {
    width: 150px;
    height: 150px;
    opacity: 0.2;
    right: -5%;
  }
}

.module:last-child {
  border-bottom: none;
}

.module-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.module-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  color: var(--orange);
  margin-top: 0.15rem;
}

.module-meta {
  flex: 1;
}

.module-number {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--orange);
  margin-bottom: 0.35rem;
}

.module h3 {
  margin-bottom: 0;
}

.module > p,
.module > [style],
.module > .module-tags {
  margin-left: calc(44px + 1.25rem);
}

@media (max-width: 768px) {
  .module > p,
  .module > [style],
  .module > .module-tags {
    margin-left: 0;
  }
}

.module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.module-tag {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  background-color: var(--gray-light);
  color: var(--gray-dark);
  border-radius: 2px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-intro {
  max-width: 700px;
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.about-stat {
  text-align: center;
}

.about-stat .kpi {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.about-stat span:last-child {
  font-size: 0.85rem;
  color: var(--gray-mid);
}

.about-block {
  margin-bottom: 3rem;
}

.about-block h3 {
  margin-bottom: 1rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

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

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--orange);
}

.contact-item a {
  color: var(--gray-dark);
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: var(--orange);
}

.calendly-inline-widget {
  min-height: 700px;
  border: 1px solid var(--gray-light);
  overflow: hidden;
}

.calendly-inline-widget iframe {
  border: none;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  text-align: center;
  padding: 5rem 1.5rem;
  background-color: var(--black);
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--gray-light);
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--black);
  color: var(--gray-light);
  padding: 3rem 1.5rem 1.5rem;
  border-top: 3px solid var(--orange);
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.footer .logo {
  margin-bottom: 1rem;
}

.footer .logo-first {
  color: var(--white);
}

.footer p {
  font-size: 0.9rem;
  color: #A0A0A0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #B0B0B0;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.footer-contact a {
  color: #B0B0B0;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #3A3A3A;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #A0A0A0;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #B0B0B0;
  transition: color 0.2s ease;
}

.social-link:hover {
  color: var(--white);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   PAGE HEADER (for inner pages)
   ============================================ */
.page-header {
  background-color: var(--black);
  color: var(--white);
  padding: 4rem 1.5rem 3rem;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-header p {
  color: var(--gray-light);
  max-width: 600px;
  font-size: 1.1rem;
}

/* ============================================
   SKIP LINK (Accessibility)
   ============================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background-color: var(--orange);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0.5rem;
}

/* ============================================
   UTILITIES
   ============================================ */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.text-center { text-align: center; }

/* ============================================
   EDITORIAL PHOTO LAYOUTS
   Foto neben Text mit versetzter Orange-Box hinten
   ============================================ */

/* --- Hero with photo --- */
.hero.hero-split .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 4rem;
  align-items: center;
  max-width: var(--container-max);
}

.hero-photo {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  justify-self: end;
}

.hero-photo img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
}

.hero-photo::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--orange);
  z-index: 1;
  pointer-events: none;
}

/* --- Editorial Split: 2-spaltig, Foto + Text mit Akzent-Box --- */
.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 4rem;
  align-items: center;
}

.editorial-split.reverse {
  grid-template-columns: 380px minmax(0, 1fr);
}

.editorial-text {
  position: relative;
}

.editorial-photo {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
  justify-self: end;
}

.editorial-split.reverse .editorial-photo {
  justify-self: start;
}

.editorial-photo img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
}

.editorial-photo::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--orange);
  z-index: 1;
  pointer-events: none;
}

.editorial-split.reverse .editorial-photo::before {
  left: auto;
  right: -16px;
}

/* Headline-Style: gross, mit orangem Akzent-Wort */
.editorial-headline {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.1;
  margin-top: 0.5rem;
}

.editorial-headline .accent {
  color: var(--orange);
}

@media (max-width: 768px) {
  .hero.hero-split .container,
  .editorial-split,
  .editorial-split.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-photo,
  .editorial-photo,
  .editorial-split.reverse .editorial-photo {
    max-width: 280px;
    justify-self: start;
    order: -1;
  }
  .editorial-photo::before,
  .editorial-split.reverse .editorial-photo::before,
  .hero-photo::before {
    left: -10px;
    right: auto;
    top: 12px;
  }
}

/* ============================================
   OBJECTION-BLOCK (Einwand-Brecher / Pull-Quote)
   ============================================ */
.objection-block {
  max-width: 760px;
  margin: 0 auto;
  padding-left: 2rem;
  border-left: 3px solid var(--orange);
}

.objection-label {
  font-family: var(--font-headline, "Barlow Condensed", sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.objection-quote {
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--gray-mid);
  margin: 0 0 1.75rem;
}

.objection-answer {
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.25;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

/* Base state: hidden */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Revealed state */
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid children */
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.3s; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* Fade in only (no movement) */
.reveal-fade {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.reveal-fade.revealed {
  opacity: 1;
}

/* Accent line grow animation */
.accent-line {
  width: 0;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.revealed .accent-line,
.hero .accent-line,
.page-header .accent-line {
  width: 60px;
}

/* Hero entrance animation */
.hero .accent-line {
  animation: lineGrow 0.6s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero h1 {
  animation: fadeUp 0.7s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-sub {
  animation: fadeUp 0.7s 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero .btn {
  animation: fadeUp 0.7s 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Page header entrance */
.page-header .accent-line {
  animation: lineGrow 0.6s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-header .section-label {
  animation: fadeUp 0.6s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-header h1 {
  animation: fadeUp 0.7s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-header > .container > p:last-child {
  animation: fadeUp 0.7s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* KPI count-up animation */
.kpi-item .kpi {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.kpi-item.counted .kpi {
  animation: kpiPop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* CTA section reveal */
.cta-section h2,
.cta-section p,
.cta-section .btn {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-section.revealed h2 { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.cta-section.revealed p { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.cta-section.revealed .btn { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineGrow {
  from { width: 0; }
  to { width: 60px; }
}

@keyframes kpiPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* --- Decorative Illustrations --- */
.section-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  opacity: 0.12;
}

.hero,
.section,
.page-header,
.cta-section {
  position: relative;
  overflow: hidden;
}

.hero .section-deco {
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 340px;
  opacity: 0.15;
}

.section .section-deco {
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
}

.section .section-deco.deco-left {
  right: auto;
  left: 2%;
}

.page-header .section-deco {
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  height: 260px;
}

.section-deco.deco-large {
  width: 380px;
  height: 380px;
}

@media (max-width: 768px) {
  .section-deco {
    opacity: 0.06;
  }
  .hero .section-deco {
    width: 200px;
    height: 200px;
    right: -2%;
    opacity: 0.1;
  }
  .section .section-deco,
  .section-deco.deco-large {
    width: 160px;
    height: 160px;
  }
  .page-header .section-deco {
    width: 140px;
    height: 140px;
  }
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > *,
  .reveal-fade,
  .cta-section h2,
  .cta-section p,
  .cta-section .btn {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }

  .accent-line {
    width: 60px !important;
    transition: none !important;
  }

  .hero h1,
  .hero-sub,
  .hero .btn,
  .hero .accent-line,
  .page-header .accent-line,
  .page-header .section-label,
  .page-header h1,
  .page-header > .container > p:last-child {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .case-number {
    color: var(--orange) !important;
    transition: none !important;
  }

  .kpi-item.counted .kpi {
    animation: none !important;
  }
}
