/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
  /* CIVIS Brand */
  --color-primary: #2F3E56;
  --color-accent: #5E8F8B;
  --color-white: #ffffff;
  --color-bg: #ffffff;

  /* UI Colors */
  --bg-body: #F7F8FA;
  --bg-card: #ffffff;
  --bg-soft: #F4F6F8;
  --text-main: #334155;
  --text-muted: #64748B;
  --border-color: #E2E8F0;

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;

  /* Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(47, 62, 86, 0.06);
  --shadow-md: 0 8px 24px rgba(47, 62, 86, 0.08);
  --shadow-lg: 0 14px 30px rgba(47, 62, 86, 0.12);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-height);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

main {
  flex: 1;
}

/* =========================================
   2. NAVIGATION (HEADER / BANNER)
   ========================================= */
.nav-so12-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: #ffffff;
  border-top: 3px solid var(--color-accent);
  border-bottom: 1px solid var(--border-color);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: none;
}

/* Mobile Padding Fix */
@media (max-width: 900px) {
  .nav-so12-header {
    padding: 0 1rem;
  }
}


.nav-so12-logo-group a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

/* Menu Icon Rotation */
.nav-so12-logo-group img:first-child {
  height: 32px;
  width: auto;
  border-radius: 0;
  object-fit: contain;
}

.nav-so12-logo-group img:not(:first-child) {
  height: 32px;
  width: auto;
  border-radius: 0;
  object-fit: contain;
}

.nav-so12-desktop-nav {
  display: none;
  position: absolute; 
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
  
  /* ÄNDERUNG 1: Abstand verringern (von 3rem auf 1.5rem oder 2rem) */
  gap: 1.5rem; 
  
  height: 100%;
  
  /* ÄNDERUNG 2: Verhindert, dass "Über uns" umbricht */
  white-space: nowrap; 
}

@media (min-width: 1100px) {
  .nav-so12-desktop-nav { display: flex; }
}

.nav-so12-desktop-nav > a, 
.nav-so12-dropdown > a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-so12-desktop-nav > a:hover,
.nav-so12-dropdown:hover > a {
  color: var(--color-primary);
  background-color: rgba(34, 146, 142, 0.08);
  transform: none;
  box-shadow: none;
}

.nav-so12-dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.nav-so12-dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% - 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
  flex-direction: column;
  min-width: 220px;
  padding: 0.5rem 0;
  overflow: hidden;
  margin-top: 10px;
}

.nav-so12-dropdown:hover .nav-so12-dropdown-content {
  display: flex;
}

.nav-so12-dropdown-content a {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-main);
  text-align: left;
  font-weight: 500;
  background-color: transparent; 
  transform: none; 
  box-shadow: none;
}

.nav-so12-dropdown-content a:hover {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

.nav-so12-pro-button {
  flex: 0 0 auto;
  z-index: 1001;
}

.nav-so12-pro-button a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  border: 1px solid var(--color-primary);
  box-shadow: none;
}

.nav-so12-pro-button a:hover {
  background-color: #243247;
  color: #ffffff;
  transform: none;
  box-shadow: none;
}

.nav-so12-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--color-primary);
  margin-left: auto;
  padding: 5px;
}

@media (min-width: 900px) {
  .nav-so12-toggle { display: none; }
  .nav-so12-pro-button { display: block; }
}
@media (max-width: 899px) {
  .nav-so12-pro-button { display: none !important; }
}

/* MOBILE MENU OVERLAY */
.nav-so12-mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100vh - var(--header-height));
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
  z-index: 999;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.nav-so12-show { display: flex !important; }

.nav-so12-mobile-cta-container {
  padding-bottom: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.nav-so12-mobile-cta-btn {
  display: flex !important;
  justify-content: center;
  align-items: center;
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  padding: 0.9rem 1rem !important;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--color-primary) !important;
  box-shadow: none;
  width: 100%;
}

.nav-so12-mobile-nav > a,
.nav-so12-mobile-dropdown > button {
  font-size: 1.1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  width: 100%;
  text-align: left;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
  color: var(--text-main);
  font-weight: 600;
  cursor: pointer;
}

.nav-so12-mobile-submenu {
  display: none;
  flex-direction: column;
  padding-left: 1rem;
  background: rgba(0,0,0,0.03);
  margin-bottom: 0.5rem;
  border-radius: var(--radius-sm);
}

.nav-so12-mobile-submenu a {
  padding: 0.75rem 0;
  color: var(--text-muted);
}

/* =========================================
   3. UTILITIES & LAYOUT
   ========================================= */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

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

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

h1, h2, h3 {
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.15;
}

h1 { font-size: 2.8rem; margin-bottom: 1.25rem; letter-spacing: -0.03em; }
h2 { font-size: 2rem; margin-bottom: 1rem; letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-main);
}

.text-center { text-align: center; }
.bold { font-weight: 700; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.875rem; font-weight: 600; }

.btn, .cta-button, .booking-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  background-color: var(--color-primary);
  color: #ffffff;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid var(--color-primary);
  box-shadow: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover, .cta-button:hover, .booking-button:hover {
  background-color: #243247;
  border-color: #243247;
  transform: none;
  box-shadow: none;
}
.btn-secondary {
  background: #ffffff;
  color: var(--color-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-soft);
  border-color: var(--color-accent);
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* =========================================
   4. SECTIONS & COMPONENTS
   ========================================= */
.section {
  background-color: var(--bg-card);
  padding: 3rem 2rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 900px) {
  .section {
    flex-direction: row;
    align-items: center;
    padding: 4rem;
  }
  .section.column {
    flex-direction: column;
  }
}

.text-half, .img-half {
  flex: 1;
}

.img-half {
  display: flex;
  justify-content: center;
  align-items: center;
}
.img-half img {
    box-shadow: none;
}

.section_logo .logo_div {
  background-color: var(--color-primary);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  display: inline-flex;
}

.card,
.so12-product-card,
.eco-card,
.section {
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: none;
  border-radius: 16px;
}

.card:hover,
.so12-product-card:hover,
.eco-card:hover {
  transform: none;
  box-shadow: 0 6px 18px rgba(47, 62, 86, 0.06);
}

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

.legal-content {
  max-width: 800px;
  margin: 2rem auto;
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) {
  .legal-content { padding: 4rem; }
}

.legal-content ul {
  padding-left: 1.5rem;
  list-style-type: disc;
  margin-bottom: 1.5rem;
}

.info-block {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: #f9fafb;
  border-radius: var(--radius-sm);
}

.back-button-wrapper {
  margin-top: 3rem;
  text-align: center;
}
.back-button {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 600;
}
.back-button:hover {
  text-decoration: underline;
}

.contact-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.office-hours {
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  width: 100%; 
  max-width: 600px; 
}

.hidden { display: none; }

/* =========================================
   5. LOGO MARQUEE
   ========================================= */
.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  padding: 3rem 0; 
  background: var(--bg-card);
}

.marquee-content {
  display: flex;
  width: max-content; 
  gap: 0;
}

.marquee-items {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 5rem; 
  padding-right: 5rem; 
  animation: scroll 40s linear infinite;
}

.marquee-container:hover .marquee-items {
  animation-play-state: paused;
}

.marquee-items a {
  width: auto; 
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.marquee-items a:hover {
  transform: scale(1.1);
}

.marquee-items img {
  height: 70px; 
  width: auto;
  max-width: 250px; 
  object-fit: contain;
  opacity: 1;
  filter: none;
  display: block;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* =========================================
   6. FOOTER (Optimiert & Responsive)
   ========================================= */
.footer-so12-footer {
  background-color: #1f2937;
  color: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-md);
  margin-top: 2rem;

  
  /* Breite begrenzen & zentrieren */
  width: calc(100% - 2rem);
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.15);
}

.footer-so12-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem; /* Abstand zwischen den Zeilen */
}

/* --- Obere Zeile: Hauptlinks --- */
.footer-main-nav {
  display: flex;
  flex-wrap: wrap; /* Wichtig für Handy-Umbruch */
  justify-content: center;
  gap: 1.5rem;
}

.footer-main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.2s ease;
}
.civis-approach-header {
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
}

.civis-approach-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Grid etwas luftiger */
.civis-approach-grid {
  gap: 1.5rem;
}

/* Cards */
.civis-approach-card {
  position: relative;
  padding: 1.8rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: #ffffff;

  transition: all 0.25s ease;
}

/* das ist dein Markenelement */
.approach-accent {
  width: 40px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  margin-bottom: 1rem;
}

/* Typography */
.civis-approach-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.civis-approach-card p {
  color: var(--text-muted);
  line-height: 1.5;
}

/* Hover = subtil, nicht verspielt */
.civis-approach-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(47, 62, 86, 0.08);
  border-color: transparent;
}
.footer-main-nav a {
  color: #ffffff;
  text-decoration: none;
  position: relative;
}

.footer-main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.25s ease;
}

.footer-main-nav a:hover::after {
  width: 100%;
}

/* --- Trennlinie --- */
.footer-divider {
  width: 100%;
  max-width: 200px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
}

/* --- Untere Zeile: Rechtliches --- */
.footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #9ca3af; /* Hellgrau für weniger Wichtigkeit */
}

.footer-legal-nav a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-legal-nav .separator {
  opacity: 0.5;
  margin: 0 2px;
}

/* --- Mobile Optimierung (Handy) --- */
@media (max-width: 600px) {
  .footer-so12-footer {
    padding: 1.5rem 1rem;
    width: 100%;
    margin-bottom: 0;
    border-radius: 0; /* Eckig am unteren Rand */
  }
  
  .footer-main-nav {
    flex-direction: column; /* Links untereinander */
    align-items: center;
    gap: 1rem;
  }
  
  .footer-legal-nav {
    flex-direction: column; /* Auch Rechtliches untereinander */
    gap: 0.5rem;
  }
  
  .footer-legal-nav .separator {
    display: none; /* Punkte auf Handy ausblenden */
  }
}
/* =========================================
   7. HERO SECTION (Professional & Clean)
   ========================================= */
.hero-content {
  max-width: 820px;
  padding: 3rem 0 2rem 0;
}

.hero-headline {
  font-size: 3.2rem;
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-primary);
  letter-spacing: -0.03em;
}

.hero-text-limit {
  max-width: 680px;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 auto 2rem auto;
  line-height: 1.65;
}
.hero-section {
  position: relative;
  padding: 6rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7f8 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/back_1.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% auto;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}


/* Icon Wrapper: Zentriert & Stabil */
.hero-icon-wrapper {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem; /* Mehr Abstand zur Überschrift */
}

.hero-section {
  position: relative;
  padding: 6rem 1.5rem;
  margin-bottom: 2rem;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7f8 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/back_1.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}
/* Die Hauptüberschrift */
.hero-headline {
  font-size: 3.5rem; /* Größer und selbstbewusster */
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  letter-spacing: -0.02em; /* Modernes "Tight" Spacing */
}

.hero-section-inner {
  min-height: auto;
  padding: 4.5rem 2rem;
}

.hero-content-left {
  max-width: 760px;
  margin: 0;
  text-align: left;
}

.hero-content-left .section-tagline {
  justify-content: flex-start;
}

.hero-content-left .hero-text-limit {
  margin: 0;
}

.civis-service-grid {
  align-items: center;
  gap: 2rem;
}

.civis-feature-card {
  padding: 2rem;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 25px rgba(47, 62, 86, 0.06);
}

.civis-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.civis-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.9rem;
  color: var(--text-main);
  line-height: 1.6;
}

.civis-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
}

.civis-approach-header {
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
}

.civis-approach-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.civis-focus-grid {
  gap: 1.5rem;
}

.civis-focus-card {
  padding: 2rem;
  min-height: 260px;
  border-radius: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.civis-focus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(47, 62, 86, 0.08);
}

.civis-focus-card.featured {
  border-color: rgba(34, 146, 142, 0.25);
  box-shadow: 0 14px 32px rgba(47, 62, 86, 0.08);
}

.civis-product-grid .civis-approach-card {
  padding: 1.5rem;
}

.civis-approach-card {
  position: relative;
  padding: 1.8rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  transition: all 0.25s ease;
}

.approach-accent {
  width: 40px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  margin-bottom: 1rem;
}

.civis-approach-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.civis-approach-card p {
  color: var(--text-muted);
  line-height: 1.5;
}

.civis-approach-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(47, 62, 86, 0.08);
  border-color: transparent;
}

.civis-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
}

.civis-step {
  position: relative;
  padding-top: 1rem;
}

.civis-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}

.civis-step-number {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.civis-cta {
  background: #ffffff;
  padding: 4rem 2rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(47, 62, 86, 0.06);
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.civis-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 2px;
}

.civis-cta h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.civis-cta p {
  max-width: 650px;
  margin: 0 auto 2rem auto;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.6;
}

.civis-cta .btn {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 0.9rem 1.4rem;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid var(--color-primary);
  box-shadow: none;
}

.civis-cta .btn:hover {
  background-color: #243247;
}

@media (max-width: 900px) {
  .civis-steps {
    grid-template-columns: 1fr;
  }

  .hero-content-left {
    text-align: left;
  }
}
.civis-project-section {
  gap: 2rem;
}
.civis-founder-section {
  gap: 2rem;
}

.civis-founder-profile {
  text-align: center;
}

.civis-founder-image-wrap {
  width: 220px;
  height: 220px;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(34, 146, 142, 0.2);
  box-shadow: 0 10px 30px rgba(47, 62, 86, 0.08);
}

.civis-founder-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.civis-founder-role {
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.2rem;
}

.civis-architecture-card {
  padding: 2rem;
}

.civis-architecture {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.civis-arch-box {
  width: 100%;
  max-width: 320px;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: #ffffff;
  text-align: center;
  font-weight: 600;
  color: var(--text-main);
}

.civis-arch-core {
  width: 100%;
  max-width: 360px;
  padding: 1.2rem 1.4rem;
  border-radius: 14px;
  background: var(--color-primary);
  color: #ffffff;
  text-align: center;
  box-shadow: 0 12px 28px rgba(47, 62, 86, 0.12);
}

.civis-arch-core strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.civis-arch-core span {
  font-size: 0.9rem;
  opacity: 0.82;
}

.civis-arch-line {
  width: 2px;
  height: 26px;
  background: var(--border-color);
}
.civis-evolution {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
}

.civis-evolution-step {
  position: relative;
  padding-top: 1rem;
}

.civis-evolution-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
}
.civis-connection-card {
  padding: 2rem;
}

.civis-connection-visual {
  position: relative;
  height: 320px;
  margin-top: 1.5rem;
}

.civis-connection-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.civis-connection-lines line {
  stroke: rgba(34, 146, 142, 0.45);
  stroke-width: 2.5;
}

.civis-node,
.civis-core-node {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 999px;
}

.civis-node {
  width: 110px;
  height: 110px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--color-primary);
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(47, 62, 86, 0.06);
  z-index: 2;
}

.civis-node span {
  display: block;
  padding: 0 0.8rem;
  line-height: 1.2;
}

.civis-node-top-left {
  top: 20px;
  left: 20px;
}

.civis-node-top-right {
  top: 20px;
  right: 20px;
}

.civis-node-bottom {
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.civis-core-node {
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  background: linear-gradient(180deg, var(--color-primary) 0%, #243247 100%);
  color: #ffffff;
  flex-direction: column;
  padding: 1rem;
  box-shadow: 0 18px 36px rgba(47, 62, 86, 0.18);
  z-index: 3;
}

.civis-core-node strong {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.civis-core-node small {
  font-size: 0.85rem;
  line-height: 1.4;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .civis-connection-visual {
    height: 420px;
  }

  .civis-node {
    width: 96px;
    height: 96px;
    font-size: 0.95rem;
  }

  .civis-core-node {
    width: 160px;
    height: 160px;
    top: 135px;
  }

  .civis-node-top-left {
    left: 10px;
  }

  .civis-node-top-right {
    right: 10px;
  }
}
.civis-evolution-step h3 {
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.civis-evolution-step p {
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .civis-evolution {
    grid-template-columns: 1fr;
  }
}
.civis-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  background: #ffffff;
  color: var(--color-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-soft);
  color: var(--color-primary);
}
.civis-project-image-wrap {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.civis-project-image {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  border-radius: 12px;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
  .hero-headline { 
    font-size: 2.4rem; 
  }
  .hero-text-limit {
    font-size: 1.1rem;
  }
  .hero-icon-wrapper { 
    width: 60px; 
    height: 60px; 
    margin-bottom: 1.5rem;
  }
}

/* =========================================
   8. MODERN PRICING (5-COLUMN LAYOUT)
   ========================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem; 
  margin-top: 2rem;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--color-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem 1rem; 
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -5px rgba(0,0,0,0.1);
  border-color: var(--color-accent);
  z-index: 10;
}

.pricing-card.popular {
  border: 2px solid var(--color-accent);
  box-shadow: 0 8px 20px -5px rgba(0,0,0,0.1);
  background: linear-gradient(to bottom, #ffffff, #fafafa);
  transform: scale(1.02); 
  z-index: 2;
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-accent);
  color: var(--color-primary);
  font-size: 0.7rem; 
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.8rem;
  border-radius: 99px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  white-space: nowrap;
}
.civis-contact-grid {
  gap: 1.5rem;
  align-items: stretch;
}

.civis-contact-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
}

.civis-contact-card-featured {
  border-color: rgba(34, 146, 142, 0.25);
  box-shadow: 0 12px 28px rgba(47, 62, 86, 0.08);
}

.civis-contact-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.civis-contact-main {
  margin-top: 0.5rem;
}

.civis-contact-main a {
  font-weight: 600;
  text-decoration: underline;
}

.civis-contact-meta {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.civis-contact-meta a {
  color: var(--color-primary);
}

.civis-contact-times {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--color-primary);
}

.civis-contact-times strong {
  font-size: 1.5rem;
  font-weight: 800;
}

.civis-status-badge {
  align-self: center;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.25rem;
}

@media (max-width: 900px) {
  .civis-contact-grid {
    grid-template-columns: 1fr;
  }
}
.pricing-header h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  white-space: nowrap; 
  overflow: hidden;
  text-overflow: ellipsis;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
  min-height: 50px; 
  margin-bottom: 1rem;
}

.pricing-price {
  font-size: 2.5rem; 
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.pricing-period {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features {
  margin-top: auto; 
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 0.6rem;
  font-size: 0.85rem; 
  color: var(--text-main);
  line-height: 1.3;
}

.check-icon {
  color: #10b981; 
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card.enterprise {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
}

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr); 
  }
  .pricing-grid > :nth-last-child(2):nth-child(4),
  .pricing-grid > :nth-last-child(1):nth-child(5) {
    grid-column: auto / span 1; 
  }
}

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

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

/* =========================================
   NEU: Akzentuierte Unterüberschrift
   ========================================= */
.section-tagline {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* Abstand zwischen Strich und Text */
  
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  
  /* Textfarbe: Dunkelgrau für perfekte Lesbarkeit */
  color: #4b5563; /* Entspricht var(--text-muted) */
  margin-bottom: 1rem;
}

/* Der neongelbe Akzent-Strich davor */
.section-tagline::before {
  content: '';
  display: block;
  width: 30px;  /* Länge des Strichs */
  height: 3px;  /* Dicke des Strichs */
  background-color: var(--color-accent); /* Das SO12 Neongelb */
  border-radius: 2px;
  flex-shrink: 0; /* Verhindert, dass der Strich schrumpft */
}

/* =========================================
   9. SPEZIAL: PRODUKT KARTEN (Final Layout)
   ========================================= */
.so12-product-card {
  /* Grundlayout der Karte */
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  height: 100%; /* Wichtig für Grid-Stretch */
  
  /* Flexbox für vertikale Ausrichtung */
  display: flex;
  flex-direction: column;
  
  /* Der feste Innenabstand (Padding) */
  padding: 4rem 2rem; 
  
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.so12-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Oberer Bereich (Icon + Text) */
.so12-card-body {
  flex: 1; /* Nimmt den verfügbaren Platz ein */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Icon Wrapper */
.so12-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  color: var(--color-primary); /* Stellt sicher, dass SVGs die Farbe erben */
}

.so12-icon svg {
  display: block;
}

/* Unterer Bereich (Button) */
.so12-card-footer {
  margin-top: 2rem; /* Abstand zum Text darüber */
  width: 100%;
}

/* =========================================
   ECOSYSTEM CARDS (NEUBAU - ADDITIVE)
   ========================================= */

/* Grid Layout für die Karten */
.eco-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch; /* Wichtig: Zieht alle Karten auf gleiche Höhe */
}

@media (min-width: 900px) {
  .eco-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Die Karte selbst */
.eco-card {
  background-color: var(--bg-card, #ffffff);
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: var(--radius-md, 1rem);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column; /* Stapelt Inhalt vertikal */
  height: 100%; /* Füllt die Grid-Zelle komplett aus */
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.eco-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

/* Farbige Ränder oben */
.eco-card.border-black { border-top: 5px solid var(--color-primary, #000); }
.eco-card.border-neon { border-top: 5px solid var(--color-accent, #e8f855); }
.eco-card.border-dark { border-top: 5px solid #1f2937; }

/* OBERER BEREICH: Wächst automatisch */
.eco-card-body {
  padding: 3rem 2rem 1rem 2rem; /* Viel Abstand oben */
  flex: 1; /* DAS IST DER SCHLÜSSEL: Nimmt allen freien Platz ein */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Icon Styling */
.eco-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  color: var(--color-primary, #000);
}

.eco-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke-width: 1.5px;
}

/* Typografie in der Karte */
.eco-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-main, #1f2937);
  font-weight: 700;
}

.eco-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted, #4b5563); 
  margin-bottom: 1.5rem;
}

.eco-text {
  font-size: 0.95rem;
  color: var(--text-muted, #4b5563);
  line-height: 1.6;
  width: 100%;
  text-align: left; /* Text linksbündig für bessere Lesbarkeit */
}

.eco-text ul {
  padding-left: 1.2rem;
  margin-top: 1rem;
  list-style-type: disc;
}

.eco-text li {
  margin-bottom: 0.5rem;
}

/* UNTERER BEREICH: Button */
.eco-card-footer {
  padding: 1rem 2rem 3rem 2rem; /* Viel Abstand unten */
  width: 100%;
  margin-top: auto; /* Zur Sicherheit */
}

.eco-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0.8rem;
  background-color: #f3f4f6;
  color: var(--text-main, #1f2937);
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.2s;
}

.eco-btn:hover {
  background-color: #e5e7eb;
}

.hero-line-small {
  font-size: 0.75em;   /* kleiner */
  font-weight: 400;    /* weniger fett */
}

.hero-line-large {
  font-size: 1em;
  font-weight: 700;    /* kräftiger */
}
.civis-cta {
  background: #ffffff;
  padding: 4rem 2rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(47, 62, 86, 0.06);
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

/* dezenter Akzent oben */
.civis-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 2px;
}

/* Typo optimieren */
.civis-cta h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.civis-cta p {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.6;
}

/* Button sauber */
.civis-cta .btn {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 0.9rem 1.4rem;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid var(--color-primary);
  box-shadow: none;
}

.civis-cta .btn:hover {
  background-color: #243247;
}
.civis-connection-card {
  padding: 2rem;
  height: 100%;
}

.civis-connection-split {
  align-items: stretch;
}

.civis-connection-visual {
  position: relative;
  width: 100%;
  height: 480px; /* mehr Platz */
  margin-top: 1.5rem;
}

.civis-connection-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.civis-connection-lines line {
  stroke: rgba(34, 146, 142, 0.45);
  stroke-width: 2.5;
}

/* gleiche Größe */
.civis-node,
.civis-core-node {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  text-align: center;
  z-index: 2;
}

.civis-node {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--color-primary);
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(47, 62, 86, 0.06);
}

.civis-core-node {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, var(--color-primary) 0%, #243247 100%);
  color: #ffffff;
  z-index: 3;
}

/* 👉 DEUTLICH WEITER WEG */

/* oben links */
.civis-node-top-left {
  top: 10px;
  left: 10px;
}

/* oben rechts */
.civis-node-top-right {
  top: 10px;
  right: 10px;
}

/* unten mittig */
.civis-node-bottom-center {
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

/* responsive */
@media (max-width: 900px) {
  .civis-connection-visual {
    height: 420px;
  }

  .civis-node,
  .civis-core-node {
    width: 108px;
    height: 108px;
  }
}
.partner-logos-footer {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);

  width: 100%;
  margin-top: 2rem;
  padding: 2.5rem 2rem;
}

.partner-logos-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.partner-title {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem 3rem;
  align-items: center;
  justify-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.partner-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.partner-grid img {
  height: 60px; /* vorher ~40px → jetzt deutlich größer */
  width: auto;
  object-fit: contain;
  opacity: 0.95;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.partner-grid img:hover {
  opacity: 1;
  transform: translateY(-3px);
}

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

  .partner-grid img {
    height: 50px;
  }
}