/* ============================================================
   AC-Leadership Consulting – Design System
   Font: Raleway | Colors: Warm Earth Tones
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Raleway:wght@300;400;500;600;700&display=swap');

/* --- Design Tokens --- */
:root {
  --color-primary: #BAAF93;
  --color-primary-dark: #877329;
  --color-heading: #21201E;
  --color-text: #423B38;
  --color-text-faded: #8F8B88;
  --color-bg: #DDD5C8;
  --color-bg-alt: #EDE8E0;
  --color-border: #C8BFAF;
  --color-footer-bg: #2C3338;
  --color-footer-text: #D0D3D4;
  --color-footer-heading: #9AA0A3;
  --color-overlay: rgba(33,32,30,0.80);
  --color-accent-teal: #486060;
  --color-dark-section: #2F3639;

  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-family: 'Raleway', sans-serif;
  --font-size-base: 18px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --max-width: 1200px;
  --header-height: 80px;
  --radius: 10px;
  --shadow: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: var(--font-size-base);
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-normal);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Subtle grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

body > * { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h5, h6 {
  color: var(--color-heading);
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h1 { font-size: 3.4rem; font-weight: 500; letter-spacing: -0.02em; }
h2 { font-size: 2.4rem; letter-spacing: -0.01em; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.15rem; }

p { margin-bottom: 1em; }

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--color-heading); }

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

ul, ol { padding-left: 1.5em; margin-bottom: 1em; }
li { margin-bottom: 0.4em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: visible;
}

/* On dark hero pages: start transparent */
.has-dark-hero .site-header {
  background: transparent;
  border-bottom-color: transparent;
}

.site-header.scrolled {
  background: var(--color-bg) !important;
  border-bottom-color: var(--color-border) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Header on dark hero: light nav text + inverted logo
   Only active when body has .has-dark-hero class */
.has-dark-hero .site-header:not(.scrolled) .main-nav a {
  color: rgba(237,235,232,0.85);
}
.has-dark-hero .site-header:not(.scrolled) .main-nav a:hover,
.has-dark-hero .site-header:not(.scrolled) .main-nav a.active {
  color: #fff;
}
.has-dark-hero .site-header:not(.scrolled) .logo img {
  filter: brightness(0) invert(1);
}
.has-dark-hero .site-header:not(.scrolled) .menu-toggle span {
  background: #EDEBE8;
}
.has-dark-hero .site-header:not(.scrolled) .dropdown-toggle::after {
  border-top-color: rgba(237,235,232,0.6);
}

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

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

.logo img {
  height: auto;
  width: 200px;
}

.logo-text {
  font-size: 0.85rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-heading);
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.logo-text span {
  display: block;
  font-weight: var(--font-weight-normal);
  font-size: 0.75rem;
  color: var(--color-text-faded);
}

/* Main Navigation */
.main-nav { display: flex; align-items: center; gap: 0.5rem; }
.mobile-nav-cta { display: none; }

.main-nav a {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: var(--font-weight-medium);
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary-dark);
  background: rgba(186,175,147,0.1);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-dropdown .dropdown-toggle::after {
  content: '';
  border: 4px solid transparent;
  border-top-color: var(--color-text-faded);
  margin-top: 2px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  min-width: 260px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
  border-radius: 0;
  color: var(--color-text) !important;
}

.dropdown-menu a:hover {
  background: rgba(186,175,147,0.1);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-heading);
  margin: 5px 0;
  transition: all var(--transition);
}

/* --- Hero Section --- */
.hero {
  padding: 10rem 2rem 6rem;
  text-align: center;
  background: var(--color-bg);
  position: relative;
}

.hero-home {
  background: linear-gradient(160deg, #1a2428, #2A3A3A, #3D5555, #4A7068, #5A8878);
  background-size: 300% 300%;
  animation: heroGradient 12s ease infinite;
  padding: 10rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

@keyframes heroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-home::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(186,175,147,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrb 8s ease-in-out infinite;
  z-index: 1;
}

.hero-home::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(90,136,120,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatOrb 10s ease-in-out infinite reverse;
  z-index: 1;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.08); }
}

.hero-home h1 {
  color: #EDEBE8;
  text-shadow: 0 2px 30px rgba(0,0,0,0.15);
}

.hero-home .subtitle {
  color: #B8C0B8;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
  opacity: 0.7;
}

.hero-cta {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0;
  margin-top: 0.5rem;
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(237,235,232,0.3);
  color: #EDEBE8;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius);
  font-weight: var(--font-weight-medium);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-ghost:hover {
  background: rgba(237,235,232,0.1);
  border-color: rgba(237,235,232,0.5);
  color: #fff;
}

.hero-slogan {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: rgba(186,175,147,0.45);
  font-weight: 400;
  font-style: italic;
  margin-top: 1.2rem;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 1.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.25;
}

.hero .subtitle {
  font-size: 1.05rem;
  color: var(--color-primary-dark);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.7;
}

.hero-page {
  padding: 8rem 2rem 3rem;
  background: var(--color-bg);
}

.hero-page h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.hero-page .subtitle {
  font-size: 1.15rem;
  color: var(--color-primary-dark);
  font-weight: var(--font-weight-semibold);
}

/* --- Sections --- */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-dark {
  background: linear-gradient(160deg, #141c22 0%, #1e3038 35%, #28454e 65%, #306058 100%);
  color: var(--color-footer-text);
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(80,180,160,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.section-dark h2, .section-dark h3, .section-dark h4 {
  color: #F0EFED;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-text-faded);
}

.section-header .accent {
  color: var(--color-primary-dark);
  font-weight: var(--font-weight-medium);
}

/* --- Grid System --- */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

/* --- Cards --- */
.card {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-body {
  padding: 1.8rem;
}

.card-body h5 {
  margin-bottom: 0.75rem;
}

.card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

/* Service Cards (Consulting Overview) */
.service-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 2rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-card h4 {
  margin-bottom: 1rem;
}

.service-card p {
  flex: 1;
  color: var(--color-text);
  font-size: 0.95rem;
}

.service-card .card-link {
  margin-top: 1.5rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-card .card-link::after {
  content: '\2192';
  transition: transform var(--transition);
}

.service-card:hover .card-link::after {
  transform: translateX(4px);
}

/* --- Icon Boxes --- */
.iconbox {
  text-align: center;
  padding: 2rem 1.5rem;
}

.iconbox-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(186,175,147,0.15);
  color: var(--color-primary-dark);
  font-size: 1.8rem;
}

.iconbox h5 {
  margin-bottom: 0.5rem;
}

.iconbox p {
  font-size: 0.92rem;
  color: var(--color-text-faded);
}

/* Iconbox Left-aligned variant */
.iconbox-left {
  text-align: left;
  display: flex;
  gap: 1.2rem;
  padding: 1.5rem 0;
}

.iconbox-left .iconbox-icon {
  margin: 0;
  flex-shrink: 0;
}

/* --- Process Steps --- */
.process-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.process-card .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-weight: var(--font-weight-bold);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

.process-card h5 {
  margin-bottom: 0.75rem;
}

/* --- Zigzag Layout (Image + Text alternating) --- */
.zigzag {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 4rem;
}

.zigzag:nth-child(even) {
  flex-direction: row-reverse;
}

.zigzag-image {
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
}

.zigzag-image img {
  width: 100%;
  border-radius: var(--radius);
}

.zigzag-text {
  flex: 1;
}

.zigzag-text h3 {
  margin-bottom: 1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-family);
  font-size: 0.88rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

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

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

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

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-heading);
}

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

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

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

/* --- CTA Section --- */
.cta-section {
  padding: 4rem 0;
  text-align: center;
  background: var(--color-bg);
}

.cta-section h4 {
  margin-bottom: 0.5rem;
  color: var(--color-primary-dark);
}

/* --- Quick Links Row --- */
.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.quick-link:hover {
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.quick-link::before {
  content: '\2192';
  color: var(--color-primary);
  font-weight: bold;
}

/* --- Outcomes Grid --- */
.outcome-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--color-primary);
}

.outcome-card h5 {
  margin-bottom: 0.75rem;
  color: var(--color-accent-teal);
}

/* --- Typical Patterns --- */
.pattern-card {
  text-align: center;
  padding: 1.5rem;
}

.pattern-card .pattern-icon {
  font-size: 2rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
}

.pattern-card h5 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.pattern-card p {
  font-size: 0.88rem;
  color: var(--color-text-faded);
}

/* --- Footer --- */
.site-footer {
  background: linear-gradient(180deg, #1e2a2e 0%, #161e22 100%);
  color: var(--color-footer-text);
  padding: 4rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand .logo {
  display: block;
  margin-bottom: 1.5rem;
}

.footer-brand .logo img {
  width: 220px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1.6;
  padding-left: 2px;
}

.site-footer h5 {
  color: var(--color-bg-alt);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  color: var(--color-footer-text);
  font-size: 0.9rem;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--color-footer-heading);
}

.footer-bottom a {
  color: var(--color-footer-text);
}

.footer-bottom a:hover {
  color: white;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

/* --- Impressum / Datenschutz --- */
.legal-page {
  padding: 8rem 0 4rem;
}

.legal-page .container {
  max-width: 850px;
}

.legal-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-accent-teal);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.legal-card h3 {
  color: var(--color-accent-teal);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

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

.legal-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-border);
}

.legal-section h4 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

/* --- Modal / Popup --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  max-width: 680px;
  width: calc(100% - 2rem);
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform var(--transition);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem 1rem;
  border-bottom: 1px solid var(--color-border);
}

.modal-header h3 {
  margin: 0;
  font-size: 1.3rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-faded);
  padding: 0.25rem;
  line-height: 1;
  transition: color var(--transition);
}

.modal-close:hover {
  color: var(--color-heading);
}

.modal-body {
  padding: 1.5rem 2rem 2rem;
}

/* --- Forms --- */
.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: var(--font-weight-semibold);
  color: var(--color-heading);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(186,175,147,0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group .required::after {
  content: ' *';
  color: #c0392b;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--color-text-faded);
  margin-top: 0.3rem;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

/* Honeypot */
.hp-field { position: absolute; left: -9999px; }

/* Form status messages */
.form-status {
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-status.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Loading state */
.btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

.btn.loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 0.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Performance Check --- */
.check-question {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.check-question h5 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.radio-group label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.6rem 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all var(--transition);
  background: rgba(255,255,255,0.5);
  line-height: 1.3;
}

.radio-group label:hover {
  border-color: var(--color-primary);
  background: rgba(186,175,147,0.08);
}

.radio-group input {
  display: none;
}

.radio-group input:checked + label,
.radio-group label:has(input:checked) {
  background: var(--color-accent-teal);
  border-color: var(--color-accent-teal);
  color: #fff;
  font-weight: var(--font-weight-semibold);
}

@media (max-width: 480px) {
  .radio-group {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.35rem;
  }
  .radio-group label {
    font-size: 0.72rem;
    padding: 0.5rem 0.3rem;
  }
}

/* --- Service Page Hero with Background Image --- */
.hero-service {
  position: relative;
  padding: 10rem 2rem 4rem;
  text-align: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-service::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(33,32,30,0.85) 0%, rgba(33,32,30,0.75) 100%);
}

.hero-service .container {
  position: relative;
  z-index: 1;
}

.hero-service h1 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.hero-service .hero-tag {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-heading);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero-service .btn {
  font-size: 1rem;
  padding: 1rem 2.5rem;
}

/* --- Hero Quote (below hero image, always readable) --- */
.hero-quote-section {
  background: linear-gradient(135deg, #2A4040 0%, #3D6060 40%, #4A8878 100%);
  padding: 3rem 2rem;
  text-align: center;
}

.hero-quote-section blockquote {
  font-size: 1.6rem;
  color: #F0EFED;
  font-style: italic;
  font-weight: var(--font-weight-medium);
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.6;
}

.hero-quote-section blockquote::before,
.hero-quote-section blockquote::after {
  color: var(--color-primary);
  font-style: normal;
  font-weight: var(--font-weight-bold);
}

.hero-quote-section blockquote::before {
  content: '\201E';
}

.hero-quote-section blockquote::after {
  content: '\201C';
}

/* --- Content Split (Image + Text side by side) --- */
.content-split {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.content-split.reverse {
  flex-direction: row-reverse;
}

.content-split .content-text {
  flex: 1;
}

.content-split .content-image {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}

.content-split .content-image img {
  width: 100%;
  display: block;
}

/* --- Pain Box (Red accent) --- */
.pain-box {
  background: linear-gradient(135deg, #fdf6f0, #faf0e8);
  border-left: 4px solid #c0392b;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pain-box i {
  color: #c0392b;
  font-size: 1.3rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.pain-box p {
  margin: 0;
  font-weight: var(--font-weight-medium);
  color: #5a3a2a;
  line-height: 1.6;
}

/* --- Success Box (Green accent) --- */
.success-box {
  background: linear-gradient(135deg, #f0f7f0, #e8f5e8);
  border-left: 4px solid #27ae60;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.success-box i {
  color: #27ae60;
  font-size: 1.3rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.success-box p {
  margin: 0;
  font-weight: var(--font-weight-medium);
  color: #2a5a3a;
  line-height: 1.6;
}

/* --- Step Cards (for "Wie wir dahin kommen") --- */
.step-card {
  background: linear-gradient(165deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.02) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-top: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), inset 0 1px 1px rgba(255,255,255,0.15);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
  pointer-events: none;
  border-radius: 16px 16px 0 0;
}

.step-card:hover {
  background: linear-gradient(165deg, rgba(255,255,255,0.24) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 100%);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), inset 0 1px 1px rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.3);
  border-top-color: rgba(255,255,255,0.45);
}

.step-card .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, #D8CFC2 100%);
  color: var(--color-heading);
  font-weight: var(--font-weight-bold);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  position: relative;
}

.step-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.step-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.85;
}

/* --- Deliverable Cards --- */
.deliverable-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-top: 3px solid var(--color-accent-teal);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.deliverable-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.deliverable-card i {
  font-size: 1.8rem;
  color: var(--color-accent-teal);
  margin-bottom: 1.25rem;
  display: block;
}

.deliverable-card h3 {
  color: var(--color-accent-teal);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.deliverable-card p {
  font-size: 0.92rem;
  color: var(--color-text);
  line-height: 1.7;
}

/* --- Format Box --- */
.format-box {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}

.format-box h3 {
  background: var(--color-accent-teal);
  color: white;
  padding: 1.2rem 2rem;
  font-size: 1.2rem;
  margin: 0;
}

.format-grid {
  padding: 0.5rem 0;
}

.format-item {
  display: flex;
  align-items: center;
  padding: 1.15rem 2rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.2s ease;
}

.format-item:last-child {
  border-bottom: none;
}

.format-item:hover {
  background: rgba(72,96,96,0.03);
}

.format-item i {
  color: var(--color-accent-teal);
  width: 28px;
  margin-right: 1.25rem;
  font-size: 1.05rem;
  text-align: center;
  flex-shrink: 0;
}

.format-item strong,
.format-item .format-label {
  font-weight: var(--font-weight-semibold);
  color: var(--color-accent-teal);
  min-width: 140px;
  font-size: 0.92rem;
  flex-shrink: 0;
  margin-right: 1rem;
}

.format-item span,
.format-item .format-value {
  color: var(--color-text);
  font-size: 0.92rem;
  flex: 1;
}

/* --- Highlight Number / Stat --- */
.highlight-stat {
  text-align: center;
  padding: 2rem 1rem;
}

.highlight-stat .stat-number {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.highlight-stat .stat-label {
  font-size: 0.88rem;
  color: var(--color-text-faded);
  font-weight: var(--font-weight-medium);
}

/* --- Teal Section Variant --- */
.section-teal {
  background: var(--color-accent-teal);
  color: #e8eded;
}

.section-teal h2, .section-teal h3, .section-teal h4 {
  color: #fff;
}

/* --- CTA Banner (big visual) --- */
.cta-banner {
  background: linear-gradient(135deg, #1e3535 0%, #2e5555 40%, #3d7a6a 100%);
  padding: 5rem 2rem;
  text-align: center;
  color: #fff;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-banner .btn-white {
  font-size: 1rem;
  padding: 1rem 2.5rem;
}

.cta-banner .cta-note {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 1rem;
}

/* --- Fade-in Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Timeline --- */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-accent-teal), rgba(72,96,96,0.2));
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent-teal);
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-accent-teal);
}

.timeline-year {
  font-weight: 700;
  color: var(--color-accent-teal);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.timeline-title {
  font-weight: 600;
  color: var(--color-heading);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.timeline-text {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.7;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item:last-child::before {
  background: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary);
}

/* --- About Photo --- */
.about-photo {
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  width: 100%;
  max-width: 380px;
  height: auto;
}

/* --- Credential Note --- */
.credential-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--color-text);
  opacity: 0.7;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --font-size-base: 16px; --header-height: 60px; }

  /* Logo kleiner + besser zentriert auf Mobile */
  .logo img {
    width: 150px;
  }

  .header-inner {
    padding: 0 1rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.4rem; }

  .hero { padding: 7rem 1.5rem 3rem; }
  .hero-home { padding: 8rem 1.5rem 3rem; }
  .hero h1 { font-size: 1.9rem; }
  .hero-cta { gap: 0.8rem; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .btn-ghost { width: 100%; justify-content: center; }
  .hero-page { padding: 6rem 1.5rem 2rem; }

  .hero-service { padding: 8rem 1.5rem 4rem; }
  .hero-service h1 { font-size: 2.2rem; }

  .hero-quote-section blockquote { font-size: 1.15rem; }

  .content-split, .content-split.reverse {
    flex-direction: column;
    gap: 2rem;
  }

  .format-item .format-label { min-width: 100px; }
  .format-item { padding: 0.8rem 1.5rem; }

  .section { padding: 3rem 0; }
  .container { padding: 0 1.25rem; }

  .grid-2, .grid-3, .grid-4, .grid-6 {
    grid-template-columns: 1fr;
  }

  .zigzag, .zigzag:nth-child(even) {
    flex-direction: column;
    gap: 2rem;
  }

  /* Mobile Hero Orbs verkleinern */
  .hero-home::before { width: 300px; height: 300px; }
  .hero-home::after { width: 200px; height: 200px; }

  /* Quick Links 2-spaltig auf Tablets */
  .quick-links { grid-template-columns: 1fr 1fr; }

  /* Mobile Navigation */
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1a2428;
    background-image: url('../images/leadership.png');
    background-size: cover;
    background-position: center top;
    flex-direction: column;
    padding: 0;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    z-index: 999;
  }

  .main-nav::before {
    content: '';
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      180deg,
      rgba(26, 36, 40, 0.88) 0%,
      rgba(33, 45, 48, 0.93) 40%,
      rgba(26, 36, 40, 0.97) 100%
    );
    pointer-events: none;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  /* Nav Links */
  .main-nav > a,
  .main-nav > .nav-dropdown {
    position: relative;
    z-index: 1;
  }

  .main-nav a {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1rem 2rem;
    width: 100%;
    color: rgba(237, 235, 232, 0.9) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    letter-spacing: 0.3px;
    transition: color 0.2s ease, background 0.2s ease;
    text-align: left;
    background: none !important;
    border-radius: 0 !important;
  }

  .has-dark-hero .site-header:not(.scrolled) .main-nav a {
    color: rgba(237, 235, 232, 0.9) !important;
  }

  .main-nav a:hover,
  .main-nav a.active,
  .has-dark-hero .site-header:not(.scrolled) .main-nav a:hover,
  .has-dark-hero .site-header:not(.scrolled) .main-nav a.active {
    color: #BAAF93 !important;
    background: rgba(186, 175, 147, 0.08) !important;
  }

  /* Dropdown im Menue */
  .nav-dropdown .dropdown-toggle {
    text-align: left;
    justify-content: flex-start;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0.2rem 0 0.2rem 1rem;
    display: none;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 0;
    margin: 0;
  }

  .dropdown-menu a {
    color: rgba(237, 235, 232, 0.7) !important;
    font-size: 0.95rem !important;
    padding: 0.7rem 2rem !important;
    border-bottom: none !important;
  }

  .dropdown-menu a:hover {
    color: #BAAF93 !important;
  }

  .nav-dropdown .dropdown-toggle::after {
    border-top-color: rgba(237, 235, 232, 0.5);
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  /* CTA-Bereich unten im Menue */
  .mobile-nav-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid rgba(186, 175, 147, 0.15);
  }

  .mobile-nav-tagline {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-style: italic;
    color: rgba(186, 175, 147, 0.6);
    margin-bottom: 1.2rem;
    text-align: center;
  }

  .btn-cta-mobile {
    display: block !important;
    width: 100%;
    max-width: 280px;
    background: linear-gradient(135deg, #877329, #BAAF93) !important;
    color: #fff !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    padding: 0.9rem 1.5rem !important;
    border-radius: 50px !important;
    border: none !important;
    text-align: center;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(135, 115, 41, 0.35);
    margin-bottom: 1.2rem;
  }

  .mobile-nav-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }

  .mobile-nav-contact a {
    color: rgba(237, 235, 232, 0.5) !important;
    font-size: 0.8rem !important;
    border-bottom: none !important;
    padding: 0.25rem 0 !important;
    text-align: center;
    white-space: nowrap;
  }

  .mobile-nav-contact a i {
    margin-right: 0.4rem;
    width: 14px;
    text-align: center;
    color: rgba(186, 175, 147, 0.5);
  }

  .menu-toggle { display: block; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .btn-group { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .quick-links { grid-template-columns: 1fr 1fr; }

  .logo img {
    width: 130px;
  }
}

/* ============================================================
   Premium Animations & Effects
   ============================================================ */

/* --- Scroll animation variants --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Staggered children --- */
.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.35s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.4s; }

.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Parallax hero depth (nur Desktop, iOS unterstuetzt fixed nicht) --- */
@media (min-width: 769px) {
  .hero-service {
    background-attachment: fixed;
  }
}

/* --- Subtle section divider line --- */
.section::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  margin: 0 auto;
  opacity: 0;
  pointer-events: none;
}
.section:last-of-type::after {
  display: none;
}

/* --- Enhanced nav link underline (skip dropdown-toggle, it uses ::after for arrow) --- */
.main-nav a:not(.dropdown-toggle) {
  position: relative;
}
.main-nav a:not(.dropdown-toggle)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease, left 0.3s ease;
}
.main-nav a:not(.dropdown-toggle):hover::after,
.main-nav a:not(.dropdown-toggle).active::after {
  width: 100%;
  left: 0;
}

/* --- Smooth image reveal --- */
.content-image img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.content-image:hover img {
  transform: scale(1.02);
}

/* --- Credential/stat counter pulse --- */
@keyframes subtlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.deliverable-card i,
.credential i {
  transition: transform 0.3s ease, color 0.3s ease;
}
.deliverable-card:hover i,
.credential:hover i {
  transform: scale(1.15);
  color: var(--color-primary-dark);
}

/* --- Scroll progress bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent-teal), var(--color-primary));
  z-index: 1100;
  transition: none;
}

/* --- Stats bar --- */
.stats-bar {
  background: linear-gradient(160deg, #1e2e30 0%, #2A3E3E 50%, #3D5555 100%);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat {
  position: relative;
}

.stat::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(186,175,147,0.15);
}

.stat:last-child::after {
  display: none;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  display: inline;
}

.stat-suffix {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  color: rgba(208,211,212,0.6);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
  text-transform: uppercase;
}

/* --- Hero text reveal animation --- */
.hero-reveal .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-reveal .word.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .stat:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .stat-number, .stat-suffix {
    font-size: 2.2rem;
  }
}

/* ============================================================
   Trust Bar — Certifications
   ============================================================ */
.trust-bar {
  background: var(--color-bg-alt);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.trust-label {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-faded);
  margin-bottom: 1.2rem;
  font-weight: 600;
  opacity: 0.5;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-text-faded);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.trust-item:hover { color: var(--color-accent-teal); }

.trust-item i {
  font-size: 1.1rem;
  color: var(--color-accent-teal);
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.trust-item:hover i {
  opacity: 1;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .trust-inner { gap: 1.2rem; }
  .trust-item { font-size: 0.72rem; }
}

/* ============================================================
   Section Dividers — SVG angles & waves
   ============================================================ */
.divider-angle svg,
.divider-wave svg {
  display: block;
  width: 100%;
  height: 50px;
}

.divider-angle,
.divider-wave {
  margin-top: -1px;
  line-height: 0;
}

@media (max-width: 768px) {
  .divider-angle svg,
  .divider-wave svg {
    height: 30px;
  }
}

/* ============================================================
   Storytelling — "Warum AC-Leadership" Section
   ============================================================ */
.story-text {
  max-width: 750px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--color-text);
  text-align: center;
}

.story-text em {
  color: var(--color-accent-teal);
  font-style: normal;
  font-weight: 600;
}

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

.pillar-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 3px solid transparent;
  transition: all var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--color-primary);
}

.pillar-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(72,96,96,0.08);
  color: var(--color-accent-teal);
  font-size: 1.6rem;
  transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.1);
}

.pillar-card h4 {
  font-family: var(--font-heading);
  color: var(--color-accent-teal);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 1rem;
}

.pillar-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-faded);
  background: rgba(186,175,147,0.12);
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
}

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

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

.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem 2rem 2rem;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}

.testimonial-card::before {
  content: '\201E';
  position: absolute;
  top: 1.2rem;
  left: 1.8rem;
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-primary);
  opacity: 0.3;
  line-height: 1;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 1.2rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-teal), #6a8a8a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-heading);
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--color-text-faded);
}

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

/* ============================================================
   SMART CHAT WIDGET
   ============================================================ */
.chat-trigger {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5A8878, #3D5555);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(90,136,120,0.4);
  transition: all 0.3s ease;
  z-index: 2000;
  border: none;
}
.chat-trigger:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(90,136,120,0.5); }
.chat-trigger .chat-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: #E74C3C;
  border-radius: 50%;
  border: 2px solid white;
}
.chat-trigger .chat-close-icon { display: none; }
.chat-trigger.open .chat-open-icon { display: none; }
.chat-trigger.open .chat-close-icon { display: block; font-size: 1.1rem; }
.chat-trigger.open .chat-badge { display: none; }

.chat-window {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  width: 380px;
  max-height: 520px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 12px 50px rgba(0,0,0,0.15);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease;
}
.chat-window.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-window-header {
  background: linear-gradient(135deg, #3D5555, #5A8878);
  padding: 1.1rem 1.3rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}
.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.chat-header-info h5 { font-size: 0.88rem; font-weight: 600; margin: 0; }
.chat-header-info span {
  font-size: 0.7rem;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.chat-online-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5BDB7E;
  display: inline-block;
}

.chat-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 200px;
  max-height: 300px;
}
.chat-msg {
  max-width: 82%;
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  font-size: 0.84rem;
  line-height: 1.55;
}
.chat-msg.incoming {
  background: #F0EFED;
  color: var(--color-text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-msg.outgoing {
  background: #5A8878;
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-msg .chat-time {
  font-size: 0.62rem;
  opacity: 0.5;
  margin-top: 0.2rem;
  display: block;
}
.chat-typing {
  align-self: flex-start;
  padding: 0.6rem 1rem;
  background: #F0EFED;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  font-size: 0.8rem;
  color: var(--color-text-faded);
  display: none;
}
.chat-typing.visible { display: block; }
.chat-typing span {
  animation: typingDot 1.4s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%, 60%, 100% { opacity: 0.3; }
  30% { opacity: 1; }
}

.chat-quick-replies {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  padding: 0 1rem 0.6rem;
  flex-shrink: 0;
}
.chat-chip {
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--color-border);
  border-radius: 50px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--color-text);
  font-family: var(--font-family);
}
.chat-chip:hover {
  background: #5A8878;
  color: white;
  border-color: #5A8878;
}

.chat-input-area {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.8rem;
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}
.chat-input-area input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-family);
  font-size: 0.84rem;
  color: var(--color-text);
  padding: 0.4rem 0.5rem;
  background: transparent;
}
.chat-input-area input::placeholder { color: #B0B0B0; }
.chat-input-area button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #5A8878;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: background 0.3s ease;
  flex-shrink: 0;
}
.chat-input-area button:hover { background: #3D5555; }

/* Chat email capture */
.chat-email-capture {
  padding: 0.8rem 1rem;
  background: #F8F6F2;
  border-top: 1px solid var(--color-border);
  display: none;
  flex-shrink: 0;
}
.chat-email-capture.visible { display: block; }
.chat-email-capture p {
  font-size: 0.75rem;
  color: var(--color-text-faded);
  margin-bottom: 0.5rem;
}
.chat-email-capture form {
  display: flex;
  gap: 0.4rem;
}
.chat-email-capture input {
  flex: 1;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.8rem;
  font-family: var(--font-family);
}
.chat-email-capture button {
  padding: 0.5rem 1rem;
  background: #5A8878;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-family);
}

@media (max-width: 480px) {
  .chat-window {
    width: calc(100% - 1.5rem);
    right: 0.75rem;
    bottom: 5rem;
    max-height: 70vh;
  }
}

/* ============================================================
   FLOATING CONTACT BAR
   ============================================================ */
.floating-contact-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--color-border);
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
  z-index: 1500;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.floating-contact-bar.visible { transform: translateY(0); }
.floating-contact-bar a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 0.45rem 0.8rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.floating-contact-bar a:hover {
  background: var(--color-bg-alt);
  color: #5A8878;
}
.floating-contact-bar a i { color: #5A8878; font-size: 0.85rem; }
.floating-contact-bar .bar-divider {
  width: 1px;
  height: 18px;
  background: var(--color-border);
  flex-shrink: 0;
}
.floating-contact-bar .bar-close {
  position: absolute;
  right: 0.8rem;
  background: none;
  border: none;
  color: var(--color-text-faded);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.3rem;
}

@media (max-width: 768px) {
  .floating-contact-bar { gap: 0.3rem; padding: 0.5rem 0.8rem; }
  .floating-contact-bar a span { display: none; }
  .floating-contact-bar a { padding: 0.5rem; font-size: 1rem; }
  .floating-contact-bar a i { font-size: 1.1rem; }
  .floating-contact-bar .bar-divider { display: none; }
}

/* ============================================================
   EXTENDED ERSTGESPRAECH MODAL (Multi-Step)
   ============================================================ */
.modal-extended { max-width: 720px; }
.modal-extended .modal-body { padding: 1.5rem 2rem 2rem; }

/* Step indicator */
.form-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 1.8rem;
}
.form-step-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--color-text-faded);
  position: relative;
}
.form-step-item + .form-step-item { margin-left: 1.8rem; }
.form-step-item + .form-step-item::before {
  content: '';
  position: absolute;
  left: -1.3rem;
  top: 50%;
  width: 0.8rem;
  height: 1px;
  background: var(--color-border);
}
.form-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.68rem;
  flex-shrink: 0;
}
.form-step-item.active .form-step-num { background: #5A8878; color: white; }
.form-step-item.active { color: var(--color-heading); font-weight: 500; }
.form-step-item.done .form-step-num { background: #5A8878; color: white; }

/* Step panels */
.form-step-panel { display: none; }
.form-step-panel.active { display: block; }

/* Category grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}
.category-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}
.category-option:hover { border-color: #5A8878; background: #F6FAF8; }
.category-option.selected {
  border-color: #5A8878;
  background: #EDF5F1;
  box-shadow: 0 0 0 1px #5A8878;
}
.category-option .cat-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background: var(--color-bg-alt);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.category-option.selected .cat-icon { background: #5A8878; color: white; }
.category-option .cat-label { font-size: 0.82rem; font-weight: 500; color: var(--color-heading); }
.category-option .cat-desc { font-size: 0.68rem; color: var(--color-text-faded); margin-top: 0.05rem; }

/* Urgency */
.urgency-bar {
  display: flex;
  gap: 0;
  margin-bottom: 1.2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.urgency-option {
  flex: 1;
  text-align: center;
  padding: 0.6rem 0.3rem;
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  border-right: 1px solid var(--color-border);
}
.urgency-option:last-child { border-right: none; }
.urgency-option:hover { background: var(--color-bg-alt); }
.urgency-option.selected { background: #5A8878; color: white; }
.urgency-option .urgency-icon { font-size: 0.9rem; display: block; margin-bottom: 0.15rem; }

/* Preferred contact */
.preferred-contact {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}
.pref-option {
  flex: 1;
  text-align: center;
  padding: 0.65rem 0.4rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}
.pref-option:hover { border-color: #5A8878; }
.pref-option.selected { border-color: #5A8878; background: #EDF5F1; }
.pref-option i { display: block; font-size: 1rem; margin-bottom: 0.2rem; color: #5A8878; }
.pref-option span { font-size: 0.7rem; font-weight: 500; color: var(--color-heading); }

/* Form field label */
.form-label-sm {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
  display: block;
}

/* Form rows */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

/* Character counter */
.char-count {
  font-size: 0.65rem;
  color: var(--color-text-faded);
  text-align: right;
  margin-top: 0.2rem;
}

/* Form navigation buttons */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}
.btn-form-back {
  background: none;
  border: 1px solid var(--color-border);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--color-text);
  cursor: pointer;
  font-family: var(--font-family);
  transition: all 0.3s ease;
}
.btn-form-back:hover { border-color: var(--color-text); }
.btn-form-next {
  background: #5A8878;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.82rem;
  color: white;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-form-next:hover { background: #3D5555; }

/* Trust line */
.form-trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.7rem;
  color: var(--color-text-faded);
  margin-top: 1rem;
}
.form-trust-line span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.form-trust-line i { color: #5A8878; font-size: 0.65rem; }

/* Contextual CTA bar */
.context-cta-bar {
  background: linear-gradient(135deg, #2A4040 0%, #3D6060 50%, #4A8878 100%);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: white;
  margin: 2rem 0;
}
.context-cta-bar h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.context-cta-bar p { font-size: 0.82rem; opacity: 0.8; margin: 0; }
.context-cta-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}
.btn-cta-ghost {
  padding: 0.6rem 1.2rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-family);
}
.btn-cta-ghost:hover { background: rgba(255,255,255,0.22); }
.btn-cta-solid {
  padding: 0.6rem 1.2rem;
  background: white;
  color: #3D5555;
  border: none;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: var(--font-family);
}
.btn-cta-solid:hover { background: var(--color-primary); }

@media (max-width: 768px) {
  .category-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .preferred-contact { flex-wrap: wrap; }
  .preferred-contact .pref-option { flex: 0 0 calc(50% - 0.25rem); }
  .context-cta-bar { flex-direction: column; text-align: center; padding: 1.5rem; }
  .context-cta-actions { width: 100%; flex-direction: column; }
  .context-cta-actions a { justify-content: center; }
  .modal-extended .modal-body { padding: 1rem 1.2rem 1.5rem; }
}
