/* =======================
   Global Styles
======================= */

@font-face {
  font-family: 'Urbanist';
  src: url('/fonts/urbanist-v17-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: 'Urbanist';
  src: url('/fonts/urbanist-v17-latin-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: optional;
}

@font-face {
  font-family: 'Urbanist';
  src: url('/fonts/urbanist-v17-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: 'Urbanist';
  src: url('/fonts/urbanist-v17-latin-500italic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: optional;
}

@font-face {
  font-family: 'Urbanist';
  src: url('/fonts/urbanist-v17-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: 'Urbanist';
  src: url('/fonts/urbanist-v17-latin-600italic.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: optional;
}

@font-face {
  font-family: 'Urbanist';
  src: url('/fonts/urbanist-v17-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: optional;
}


:root {
  --bg: linear-gradient(145deg, #0e1116, #1a1f24);
  --bg-alt: #1e252b;
  --text-color: #e4e4e4;
  --text-muted: #a5a5a5;
  --primary: #d69f4d;
  --primary-dark: #b48433;
  --header-bg: rgba(18, 22, 27, 0.5);
  --header-bg-scrolled: rgba(18, 22, 27, 0.9);
  /* NEU: verlässlicher Offset für den fixen Header */
  --header-offset: clamp(52px, 8vh, 72px);
}

body {
  margin: 0;
  font-family: 'Urbanist', sans-serif;
  background: var(--bg);
  color: var(--text-color);
  scroll-behavior: smooth;
  /* NEU: Platz für den fixen Header schaffen */
  padding-top: var(--header-offset);
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

p {
  line-height: 1.7;
  margin-bottom: 0.9em;
}


/* =======================
   Header
======================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
}

.header-inner {
  width: 100%;
  max-width: 1100px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border-radius: 16px;
  margin: 16px 0 0 0;
  transition: all 0.3s cubic-bezier(.4,1,.4,1);
}

.logo {
  height: 42px;
  padding: 0 18px;
  object-fit: contain;
  width: auto;
  transition: height 0.3s;
}

.nav-link-whatsapp a {
  display: flex;
  align-items: center;
  height: 100%; /* übernimmt die Höhe der Navigation */
  margin-left: 12px; /* kleiner als bisher (22px) */
}

.nav-link-whatsapp img {
  height: 50px;   /* gleiche Höhe wie dein goldener Button */
  width: auto;
  display: block;
 }

/* WhatsApp-Logo wie Button-Hover */
.nav-link-whatsapp a:hover img {
  transform: translateY(2px);
  transition: transform 0.2s cubic-bezier(.4,1,.4,1);
}

/* Verhindert den Zoom aus .main-nav li a:hover */
.nav-link-whatsapp a:hover {
  transform: none !important;
}

.main-nav li a.nav-link.active {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.3rem;
}

.navbar {
  display: flex;
  align-items: center;
}

.main-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li a {
  display: flex;
  align-items: center;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 400;
  font-size: 1.1rem;
  transition: color 0.2s, transform 0.2s cubic-bezier(.4,1,.4,1);
  padding: 10px 16px;
}

.main-nav li a:not(.btn-primary):not(.active):hover {
  color: var(--primary);
  transform: scale(1.12);
  z-index: 1;
}


/* =======================
   Header Scrolled
======================= */
.header.scrolled .header-inner {
  padding: 16px 20px;
  background: rgba(255,255,255,0.075);
  backdrop-filter: blur(16px);
  border-radius: 50px;
  box-shadow:
    0 8px 24px 0 rgba(0,0,0,0.5),
    0 0 0 2px rgba(255,255,255,0.07);
  margin: 16px 0 0 0;
}

/* =======================
   Buttons
======================= */
.btn,
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.05rem;
  cursor: pointer;
  color: #1A1A1A !important;
  transition: all 0.2s cubic-bezier(.4,1,.4,1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(0);
}

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

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

.btn:hover,
.btn-primary:hover,
.btn-secondary:hover {
  background: var(--primary-dark);
  box-shadow: none;
  color: #1A1A1A !important;
  transform: translateY(2px);
}

.main-nav li .btn-primary {
  padding: 10px 16px;
  margin-left: 22px;  /* Abstand zu "Pro Bono" */
  box-shadow:
    0 8px 24px 0 rgba(0,0,0,0.5),
    0 0 0 2px rgba(255,255,255,0.07);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}


.main-heading {
  color: #f4b042;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.center-text {
  text-align: center;
  margin-bottom: 4rem;
  color: #ffffff;
}

.section-subheading {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section-subheading::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background-color: #f4b042;
  margin-top: 6px;
}


/* =======================
   Utility
======================= */
.text-center {
  text-align: center;
}

/* =======================
   Hero (basic base for redesign)
======================= */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  /* GEÄNDERT: weniger eigenes Top-Padding, da body den Offset trägt. H1 ist nun oben bündig. */
  padding: 0 clamp(24px, 6vw, 80px) 0 clamp(24px, 6vw, 80px);
  position: relative;
  z-index: 1;
  background: transparent;
  /* NEU: verhindert Margin-Kollaps sicherheitshalber */
  display: flow-root;
}

.hero-split {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 1200px;
  gap: 40px;
  align-items: flex-start;
}

.hero-left {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  gap: 12px;
  padding-bottom: 0px;
}

.hero-right {
  flex: 1;
  display: flex;
  align-items: stretch;         /* Bild nutzt volle Höhe */
  justify-content: flex-end;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;            /* streckt proportional */
  object-position: top;         /* Kopf bündig mit H1 */
  display: block;
}

.hero-buttons {
  flex-direction: row;
  gap: 20px;
  justify-content: flex-start;
}

.hero h1 {
  /* vorher: font-size: 3rem; */
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  /* optional: begrenzt die Zeilenlänge für bessere Lesbarkeit */
  max-width: 62ch;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Standard Desktop-Layout: Bild rechts */
.hero-split {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 1200px;
  gap: 40px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .hero-right {
    display: none !important;
  }
}

/* =======================
   Problems Section
======================= */
.problems {
  background: linear-gradient(to bottom, #2a2f36, #1f2329);
  padding: 40px 20px 60px 20px;
}

.problems h2 {
  font-size: 2rem;
  margin-bottom: 60px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.problem-box {
  background: rgba(255, 255, 255, 0.03);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.2s;
}

.problem-box:hover {
  transform: translateY(-6px);
}

.problem-box h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.problem-box p {
  color: var(--text-muted);
  line-height: 1.5;
  font-size: 1.2rem;
}

/* =======================
   Timeline Section (mit Text rechts/links und Bild gegenüberliegend)
======================= */

.timeline-section {
  position: relative;
  background: linear-gradient(120deg, #191d23 0%, #232732 60%, #15181d 100%);
  padding: 60px 0;
  overflow: hidden;
}

.timeline-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.timeline-headline {
  color: #fff;
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.timeline-lead {
  color: #e4e4e4;
  text-align: center;
  font-size: 1.15rem;
  max-width: 800px;
  margin: 0 auto 48px auto;
  line-height: 1.6;
}

.timeline {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 100%;
  background: #fff;
  transform: translateX(-50%);
  z-index: 1;
  border-radius: 2px;
  opacity: 0.4;
}

.timeline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 60px 0;
  position: relative;
}

.timeline-row.step-1 .timeline-content {
  order: 2;
  text-align: left;
}
.timeline-row.step-1 .timeline-image {
  order: 1;
  text-align: right;
}

.timeline-row.step-2 .timeline-content {
  order: 1;
  text-align: right;
}
.timeline-row.step-2 .timeline-image {
  order: 2;
  text-align: left;
}

.timeline-row.step-3 .timeline-content {
  order: 2;
  text-align: left;
}
.timeline-row.step-3 .timeline-image {
  order: 1;
  text-align: right;
}

.timeline-row.step-4 .timeline-content {
  order: 1;
  text-align: right;
}
.timeline-row.step-4 .timeline-image {
  order: 2;
  text-align: left;
}

.timeline-content,
.timeline-image {
  width: 48%;
  z-index: 2;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-content.active,
.timeline-image.active {
  opacity: 1;
  transform: translateY(0);
}

.timeline-content h3 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.timeline-content p {
  color: #e4e4e4;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

.timeline-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

@media (max-width: 900px) {
  .timeline-row {
    flex-direction: column;
    text-align: center;
  }

  .timeline-content,
  .timeline-image {
    width: 100%;
    order: unset !important;
    margin-bottom: 24px;
    text-align: center !important;
  }


.timeline::before{
    display:none;
  }
}


/* Testimonials Section */
.testimonials {
  background: linear-gradient(to bottom, #232732, #181b1f);
  padding: 60px 20px 70px 20px;
}

.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 50px;
  color: #fff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 40px;
}

.testimonial-box {
  background: rgba(255,255,255,0.03);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.20);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s cubic-bezier(.4,1,.4,1), box-shadow 0.2s;
}

.testimonial-box:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 32px rgba(0,0,0,0.25);
  z-index: 2;
}

.testimonial-box h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 22px;
  text-align: center;
  width: 100%; /* Wichtig für zentrierte Ausrichtung im Flex-Container */
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-img-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 14px;
}

.testimonial-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  object-fit: cover;
}

.testimonial-quote {
  color: #e4e4e4;
  font-size: 1.13rem;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}

/* Responsive */
@media (max-width: 900px) {
  .testimonial-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .testimonial-grid {
    gap: 28px;
  }
  .testimonials {
    padding: 38px 0 44px 0;
  }
}

/* =======================
   Projekte Slider Section
======================= */

.projects-section {
  padding: 80px 0;
  background: #1b1f26;
  overflow: hidden;
}

.projects-headline {
  color: #fff;
  text-align: center;
  font-size: 2.2rem;
  margin-top: 20px;
  margin-bottom: 80px;
  font-weight: 700;
  letter-spacing: 0.01em;
}


.projects-track {
  display: flex;
  gap: 24px;
  animation: scrollProjects 40s linear infinite;
  overflow: visible;
  padding: 20px 0;
  min-width: 200%;
}


.projects-wrapper {
  overflow: visible;
  white-space: nowrap;
  position: relative;
}

.project-item {
  flex: 0 0 260px; /* oder 240px je nach Wunsch */
  position: relative;
  transition: transform 0.3s ease, z-index 0s;
  z-index: 1;
  overflow: visible;
}

.project-item img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.project-item:hover {
  z-index: 10;
}

.project-item:hover img {
  transform: scale(1.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}


.project-item::after {
  content: attr(data-name);
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 12px;
  font-size: 0.95rem;
  border-radius: 6px;
}

.projects-wrapper:hover .projects-track {
  animation-play-state: paused;
}

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

@media (max-width: 900px) {
  .projects-wrapper{
    overflow-x: auto;            /* wieder echte Scrollfläche */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* flüssiges iOS-Scrollen */
    cursor: grab;
    scroll-behavior: smooth;     /* fürs Script, wenn du willst */
  }
  .projects-track{
    animation: scrollProjects 10s linear infinite;
  }
/* -------- Mobile-Tap: aktives Bild -------- */
  .project-item.active{
    z-index: 10;
  }
  .project-item.active img{
    transform: scale(1.3);
    box-shadow: 0 12px 30px rgba(0,0,0,.5);
  }
}


.cta-section {
  background: linear-gradient(120deg, #1f2329, #2a2f36);
  padding: 80px 20px;
}

.cta-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-left {
  flex: 2;
  color: #fff;
}

.cta-left h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.cta-left p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e4e4e4;
}

.cta-right {
  flex: 1;
  text-align: right;
}

.cta-right .btn {
  padding: 16px 32px;
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .cta-container {
    flex-direction: column;
    text-align: left;
  }

  .cta-right {
    text-align: center;
    margin-top: 20px;
  }
}



/* --- Burger-Icon (mobile menu toggle) --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 30;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 4px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile: Burger sichtbar, Menü als Drawer und Logo anpassen */
@media (max-width: 900px) {
  
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .header-inner .logo {
    margin-top: 4px;   /* nur das Logo minimal nach unten schieben */
  }
  .logo {
    height: 28px;
    max-width: 65vw;
    padding: 0 8px;
  }

  .menu-toggle {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 78vw;
    max-width: 340px;
    height: 100vh;
    background: rgba(22, 24, 32, 0.99);
    box-shadow: -10px 0 30px rgba(0,0,0,0.26);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(.4,1,.4,1);
    z-index: 20;
    padding: 64px 24px 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
  }
  .main-nav.open {
    transform: translateX(0);
  }
   .main-nav.open .logo {
    display: block !important;
    position: absolute;
    top: 38px !important;
    left: 24px;
    height: 24px !important;
    width: auto;
    margin-bottom: 0;
  }
  .main-nav.open ul {
    margin-top: 60px;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 28px;
    width: 100%;
    align-items: flex-end;
  }
  .main-nav li {
    width: 100%;
    text-align: right;
    margin-left: 0 !important;
  }
  .main-nav li .btn-primary {
  width: auto !important;
  text-align: center;
  margin-top: 24px;
  padding: 12px 24px;
  align-self: center;
}

.main-nav li:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* silbergrau, leicht transparent */
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.main-nav .logo {
  display: none !important;
 }
}

/* Optional: Hintergrund bei offenem Menü fixieren */
body.menu-open {
  overflow: hidden;
}

@media (min-width: 901px) {
  .main-nav .logo {
    display: none;
  }
}



/* =======================
   Footer (Re-Design 2025)
======================= */

/* 1 | Layout & Grundfarben */
.site-footer{
  background:linear-gradient(120deg,#15181d,#1e222a);
  color:#ccc;
  font-size:1rem;
  padding:80px 20px 40px;
}

.footer-heading {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
  margin-top: 4px;
}

/* 2 | Grid-Container & Spalten-Alignment */
.footer-container{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:40px;
  justify-content:center;        /* symmetrische Seitenränder */
  align-items:flex-start;        /* alle Grid-Items gleiche Oberkante */
}
.footer-col{
  min-width:0;                   /* Flex-Reset für alte Browser */
  display:flex;                  /* Flex-Column → kollabiert Baseline-Offset */
  flex-direction:column;
  align-items:flex-start;
}
.footer-col > *:first-child{margin-top:0 !important;} /* kein versehentlicher Top-Margin */

/* 3 | Typo-Heading + Akzent */
.footer-col h4{
  color:#fff;
  font-size:1.15rem;
  margin-bottom:18px;
  position:relative;
}
.footer-col h4::after{
  content:"";
  position:absolute;
  bottom:-6px;left:0;
  width:32px;height:2px;
  background:var(--primary);
}

/* 4 | Brand-Section */
.footer-logo{width:200px;margin-bottom:24px;}
.footer-tagline{
  color:var(--text-muted);
  font-size:1.05rem;
  margin:0 0 24px 0;
  max-width:260px;
}
.footer-cta{
  padding:12px 28px;
  border-radius:40px;
  box-shadow:0 6px 14px rgba(0,0,0,.35);
  transition:transform .25s cubic-bezier(.4,1,.4,1);
}
.footer-cta:hover{transform:translateY(2px);}

/* 5 | Links (Legal · Social · Contact) ----------------------------- */
.footer-links a,
.footer-social a,
.footer-contact a{
  color:#e0b15d;
  text-decoration:none;
  display:inline-block;
  margin:6px 12px 6px 0;            /* einheitlicher Abstand */
  font-size:.95rem;
  transition:
    color .25s ease,
    transform .25s cubic-bezier(.4,1,.4,1);
}
/* Besucht */
.footer-links a:visited,
.footer-social a:visited,
.footer-contact a:visited{
  color:#cfa14f;                    /* dunkleres Gold */
}
/* Hover */
.footer-links a:hover,
.footer-social a:hover,
.footer-contact a:hover{
  color:#fff;                       /* heller */
  transform:scale(1.05);            /* dezenter Zoom */
}
/* Kontakt-Absätze */
.footer-contact p{margin:4px 0;}
.footer-contact p a{margin:0 4px;}

/* 6 | Trust-Widget & Bottom-Bar ----------------------------------- */

/* ===== Google-Badge im Footer – neuer Schatten & smoother Hover ===== */
#googleBadge{
  display:block;
  width:160px;
  margin:60px auto 0;            /* ausreichend Abstand nach oben */
  border-radius:10px;
  overflow:hidden;

  /* kräftiger, weicher Schatten – ähnlich Header-Bar */
  box-shadow:
      0 8px 24px rgba(0,0,0,.45), /* Hauptschatten */
      0 3px  8px rgba(0,0,0,.25); /* sanfter Saum */

  /* sanfte Übergänge für Schatten + Bewegung */
  transition:
     transform .25s cubic-bezier(.25,.8,.25,1),
     box-shadow .25s ease;
}
#googleBadge img{
  display:block;
  width:100%;
  height:auto;
}

/* Modernes Hover-Feeling:
   leicht anheben + dezent vergrößern + mehr Shadow */
#googleBadge:hover{
  transform:translateY(-6px) scale(1.05);
  box-shadow:
      0 12px 32px rgba(0,0,0,.55),
      0 6px  14px rgba(0,0,0,.30);
}

.footer-bottom{
  text-align:center;
  margin-top:60px;
  padding-top:30px;
  font-size:.85rem;
  color:#777;
  border-top:1px solid rgba(255,255,255,.05);
}

/* 7 | Responsive ≤ 768 px ----------------------------------------- */
@media(max-width:768px){
  .footer-container{grid-template-columns:1fr;}
  .footer-col{text-align:center;align-items:center;}
  .footer-col h4::after{left:50%;transform:translateX(-50%);}
  .footer-tagline{margin-left:auto;margin-right:auto;}
}




/* ---------------------------------------------------
   Warum-wir Seite
---------------------------------------------------- */


@media (max-width: 768px) {
  .hero-reversed {
    flex-direction: column !important;
  }

  .hero-right {
    display: none;
  }

  .hero-left {
    padding: 1.5rem;
    text-align: left;
  }

  .hero-left h1 {
    font-size: 2rem;
  }

  .hero-left .lead {
    font-size: 1rem;
    line-height: 1.6;
  }

}

.warum-kartenabschnitt {
  background: linear-gradient(120deg, #191d23 0%, #232732 50%, #15181d 100%);
  padding: 80px 20px;
}

.warum-karten-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.warum-karte {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  color: #e4e4e4;
}

.warum-karte h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #E7AD52;
}

.warum-karte p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #cfd2d6;
}



.chatbot-hero {
  background: #0e1116);
  padding: 40px 20px 80px 20px;
}

.chatbot-hero-split {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  /* HIER WURDE align-items GEÄNDERT, um das Bild unten auszurichten */
  align-items: flex-end; 
  gap: 60px;
  padding: 0 20px;
}

.chatbot-hero-left {
  flex: 1.2;
  min-width: 0;
  color: #e4e4e4;
}

.chatbot-hero-left h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 32px;
  line-height: 1.2;
}

.chatbot-hero-left p.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #cfcfcf;
  margin-bottom: 30px;
}

.chatbot-hero-left .btn {
  margin-top: 30px;
}

.hakenliste {
  list-style: none;
  padding: 0;
  margin: 20px 0 40px 0;
}

.hakenliste li {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #e4e4e4;
}

.chatbot-hero-right {
  flex: 0.9;
  display: flex;
  justify-content: flex-end;
  /* Sicherstellen, dass das Bild auch im .hero-right Container unten ist */
  align-items: flex-end; 
  padding-right: 30px;
}

.chatbot-hero-right img {
  max-width: 100%;
  max-height: 520px;
  height: auto;
  object-fit: contain;
}

/* Mobile Ansicht */
@media (max-width: 900px) {
  .chatbot-hero-split {
    flex-direction: column;
    text-align: left;
    gap: 40px;
    align-items: flex-start; /* Auf Mobilgeräten wieder normal ausrichten */
  }

  .chatbot-hero-left {
    width: 100%;
    padding: 0;
  }

  .chatbot-hero-left h1 {
    font-size: 2rem;
  }

  .chatbot-hero-left p.lead {
    font-size: 1.05rem;
  }

  .chatbot-hero-right {
    justify-content: center;
    padding-right: 0;
  }

  .chatbot-hero-right img {
    max-width: 80%;
    height: auto;
  }
}

.chatbot-vorteile {
  background: linear-gradient(120deg, #1e2228, #1a1e23);
  padding: 60px 20px;
  color: #e4e4e4;
}

.chatbot-vorteile-container {
  max-width: 1200px;
  margin: 0 auto;
}

.chatbot-vorteile-header {
  text-align: center;
  margin-bottom: 60px;
}

.chatbot-vorteile-header h2 {
  font-size: 2.4rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: #ffffff;
}

.chatbot-vorteile-header p {
  font-size: 1.15rem;
  color: #cfcfcf;
}

.chatbot-vorteile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.chatbot-karte {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.chatbot-karte:hover {
  transform: translateY(-6px);
}

.chatbot-karte h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: #E7AD52;
}

.chatbot-karte p {
  font-size: 1.1rem;
  color: #d4d4d4;
  line-height: 1.6;
}

.chatbot-preis {
  background: linear-gradient(120deg, #1b1f25, #15191e);
  padding: 80px 20px;
  color: #e4e4e4;
}

.chatbot-preis-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.chatbot-preis-links {
  flex: 1;
  min-width: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preis-gross {
  font-size: 10rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.chatbot-preis-rechts {
  flex: 1;
  min-width: 300px;
}

.chatbot-preis-rechts h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
}

.chatbot-preis-rechts p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #d0d0d0;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .chatbot-preis-container {
    flex-direction: column;
    text-align: center;
  }

  .chatbot-preis-links {
    justify-content: center;
  }

  .preis-gross {
    font-size: 4rem;
  }

  .chatbot-preis-rechts {
    text-align: left;
    padding: 0 10px;
  }
}

.floating-img {
  max-width: 120%;
  max-height: 100vh;
  height: auto;
  width: auto;
  display: block;
  object-fit: contain;
  animation: floatUpDown 3.5s ease-in-out infinite;
  will-change: transform;
}

@keyframes floatUpDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0);
  }
}

.betreuung-wer {
  background: linear-gradient(120deg, #1b1f25, #15191e);
  padding: 80px 20px;
  color: #e4e4e4;
}

.betreuung-wer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.betreuung-wer-links {
  flex: 1;
  min-width: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wer-gross {
  font-size: 4rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.betreuung-wer-rechts {
  flex: 1;
  min-width: 300px;
}

.betreuung-wer-rechts h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
}

.betreuung-wer-rechts p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #d0d0d0;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .betreuung-wer-container {
    flex-direction: column;
    text-align: center;
  }

  .betreuung-wer-links {
    justify-content: center;
  }

  .wer-gross {
    font-size: 4rem;
  }

  .betreuung-wer-rechts {
    text-align: left;
    padding: 0 10px;
  }
}


/* ==================================================
   Registrierungsseite  (page-scoped Styles)
   – gilt nur in Wrapper .reg-wrapper –
================================================== */

/* ---- Grundaufbau --------------------------------------------------- */
.reg-wrapper{
  padding:150px 20px 90px;            /* Abstand für fixed Header + Footer */
  max-width:1200px;
  margin:0 auto;
  box-sizing:border-box;
}

.reg-heading{
  color:var(--primary);
  text-align:center;
  font-size:2.4rem;
  font-weight:700;
  margin:0 0 1.2rem 0;
}

.reg-intro{
  max-width:860px;
  margin:0 auto 48px auto;
  text-align:center;
  line-height:1.75;
  color:var(--text-color);
}

/* ---- Fehlermeldung -------------------------------------------------- */
.form-error{
  background:#7c2525;
  color:#fff;
  border-radius:12px;
  padding:18px 26px;
  margin:0 auto 32px;
  max-width:960px;
  text-align:center;
  font-weight:500;
}

/* ---- Card / Container ---------------------------------------------- */
.form-card{
  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,0.09);
  border-radius:24px;
  padding:56px 44px;
  box-shadow:0 14px 40px rgba(0,0,0,0.45);
  max-width:960px;
  margin:0 auto;
}

/* Hinweis oben im Card-Body */
.info-note{
  color:var(--primary);
  font-style:italic;
  margin:-24px 0 40px 0;
  line-height:1.6;
}

/* ---- Formular-Gruppen ---------------------------------------------- */
.form-group{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:26px;
}

.form-group label{
  font-weight:500;
  font-size:1rem;
  color:var(--text-color);
}

.form-group label span{                    /* Sternchen Pflichtfeld */
  color:var(--primary);
}

/* Mehrzeilige Beschreibung */
.form-group small{
  font-size:.88rem;
  color:var(--text-muted);
}

/* ---- Input-Elemente (Text, Date, Select, Textarea) ------------------ */
.form-group input,
.form-group select,
.form-group textarea{
  width:100%;
  padding:14px 16px;
  font-size:1rem;
  border:1px solid rgba(255,255,255,.20);
  border-radius:12px;
  background:#32373e;                      /* heller Kontrast           */
  color:var(--text-color);
  box-sizing:border-box;
  box-shadow:inset 0 1px 3px rgba(0,0,0,.35);
  transition:background .2s ease, box-shadow .2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder{
  color:rgba(255,255,255,.55);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  outline:none;
  background:#383d45;
  box-shadow:0 0 0 2px var(--primary);
}

/* ---- Checkbox-Zeile ------------------------------------------------- */
.form-group.checkbox{
  margin:34px 0;
}

.form-group.checkbox label{
  flex-direction:row;
  align-items:flex-start;
  gap:14px;
}

.form-group.checkbox input{
  width:22px;
  height:22px;
  flex:0 0 auto;
  accent-color:var(--primary);
  cursor:pointer;
}

/* ---- Layout-Reihen (Spalten) --------------------------------------- */
.form-row{
  display:flex;
  flex-wrap:wrap;
  gap:24px;
}

.form-row .half{
  flex:1 1 300px;                          /* min 300px, sonst Umbrechen */
}

.form-row .third{
  flex:1 1 200px;
}

/* ---- Absende-Button ------------------------------------------------- */
.reg-wrapper .btn-primary{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;

  display:inline-block;
  padding:14px 28px;
  border:none;
  border-radius:50px;

  background:linear-gradient(135deg,#e7b35b 0%,#d69f4d 80%);
  color:#1a1a1a !important;
  font-weight:600;
  font-size:1.05rem;
  cursor:pointer;

  box-shadow:0 6px 14px rgba(0,0,0,.30);
  transition:
    transform .18s cubic-bezier(.4,1,.4,1),
    box-shadow .18s ease,
    background .18s ease;
}

.reg-wrapper .btn-primary:hover{
  background:linear-gradient(135deg,#d9a247 0%,#b78533 80%);
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(0,0,0,.40);
}

.reg-wrapper .btn-primary:focus-visible{
  outline:2px solid var(--primary);
  outline-offset:3px;
}

/* ---- Datei-Upload (modernes „Dateien auswählen“) -------------------- */
.reg-wrapper input[type="file"]{
  width:100%;
  padding:10px;
  border:1px solid rgba(255,255,255,.20);
  border-radius:12px;
  background:#32373e;
  color:var(--text-color);
  font-size:1rem;
  box-shadow:inset 0 1px 3px rgba(0,0,0,.35);
  cursor:pointer;
}

/* Standard-Pseudo-Element (Chromium, Firefox ≥ 98, Safari ≥ 15.4) */
.reg-wrapper input[type="file"]::file-selector-button{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  margin-right:18px;
  padding:12px 26px;
  border:none;
  border-radius:50px;
  background:linear-gradient(135deg,#e7b35b 0%,#d69f4d 80%);
  color:#1a1a1a;
  font-weight:600;
  cursor:pointer;
  box-shadow:0 6px 14px rgba(0,0,0,.30);
  transition:
    transform .18s cubic-bezier(.4,1,.4,1),
    box-shadow .18s ease,
    background .18s ease;
}

.reg-wrapper input[type="file"]::file-selector-button:hover{
  background:linear-gradient(135deg,#d9a247 0%,#b78533 80%);
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(0,0,0,.40);
}

.reg-wrapper input[type="file"]::file-selector-button:focus-visible{
  outline:2px solid var(--primary);
  outline-offset:3px;
}

/* WebKit-Fallback (ältere Safari / Chrome <99) */
.reg-wrapper input[type="file"]::-webkit-file-upload-button{
  appearance:none;
  margin-right:18px;
  padding:12px 26px;
  border:none;
  border-radius:50px;
  background:linear-gradient(135deg,#e7b35b 0%,#d69f4d 80%);
  color:#1a1a1a;
  font-weight:600;
  cursor:pointer;
  box-shadow:0 6px 14px rgba(0,0,0,.30);
  transition:
    transform .18s cubic-bezier(.4,1,.4,1),
    box-shadow .18s ease,
    background .18s ease;
}

.reg-wrapper input[type="file"]::-webkit-file-upload-button:hover{
  background:linear-gradient(135deg,#d9a247 0%,#b78533 80%);
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(0,0,0,.40);
}

.reg-wrapper input[type="file"]::-webkit-file-upload-button:focus-visible{
  outline:2px solid var(--primary);
  outline-offset:3px;
}

/* ==================================================
   Registrierungsseite – Pflichtfeld-Styles
================================================== */

/* Rahmen / Outline für Textfelder & Select */
.reg-wrapper .field-error{
  border:1px solid #c53a3a !important;
  box-shadow:0 0 0 2px rgba(197,58,58,.45);
}

/* Checkbox: roter Schein um das Kästchen */
.reg-wrapper .field-error[type="checkbox"]{
  outline:2px solid #c53a3a;
  outline-offset:2px;
}

.reg-wrapper .checkbox-error{
  color:#c53a3a;                          /* roter Text */
}

/* roter Rahmen + rotes Häkchen */
.reg-wrapper .checkbox-error input{
  accent-color:#c53a3a;                   /* modernes Häkchen */
  outline:2px solid #c53a3a;              /* sichtbarer Rahmen */
  outline-offset:2px;
}

/* Rahmen zurück-setzen, sobald ausgefüllt/angeklickt */
.reg-wrapper .field-error:focus,
.reg-wrapper .field-error:not(:placeholder-shown),
.reg-wrapper .field-error[type="checkbox"]:checked{
  border:1px solid rgba(255,255,255,.20);
  box-shadow:none;
  outline:none;
}

/* Banner oben im Formular (wird per JS ein/ausgeblendet) */
.reg-wrapper .client-error{
  display:none;                           /* JS setzt auf block */
  background:#7c2525;
  color:#fff;
  border-radius:12px;
  padding:18px 26px;
  margin:0 auto 32px;
  max-width:960px;
  text-align:center;
  font-weight:500;
}


/* ---- Responsives Verhalten ----------------------------------------- */
@media(max-width:900px){
  .reg-heading{font-size:2rem;}

  .form-card{padding:40px 28px;}

  .form-row{flex-direction:column;}

  .form-row .half,
  .form-row .third{flex:1 1 100%;}
}

/* Button in der Top-Navi: Text sicher schwarz halten */
.header .btn.btn-primary,
.main-nav .btn.btn-primary{
  color:#000 !important;
}

.header .main-nav li a.nav-link.active,
.header .main-nav li a.nav-link.active:visited {
  color: #d69f4d !important; /* Gold-Orange */
  font-weight: 700;
  font-size: 1.3rem;
}

/* =============================
   FIX: Mobile Menü Chaos
============================= */

/* 1. WhatsApp- und Chatbot-Button ausblenden, wenn Menü offen */
body.menu-open .whatsapp-btn,
body.menu-open .chatbot-btn {
  display: none !important;
}

/* 2. Overlay aktivieren – verhindert, dass der Seiteninhalt sichtbar bleibt */
body.menu-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 10;
}

/* 3. Mobile-Menü linksbündig und klar strukturiert */
.main-nav.open {
  align-items: flex-start !important;
  text-align: left !important;
}

.main-nav.open ul {
  align-items: flex-start !important;
}

/* 4. Abstand der Links optimieren */
.main-nav.open li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  width: 100%;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.main-nav.open li:last-child {
  border-bottom: none;
}

/* 5. Button im Menü mittig */
.main-nav.open .btn-primary {
  margin: 24px auto 0;
  display: block;
  text-align: center;
  width: auto;
}

/* ==================================================
   Endgültiger Layout-Fix:
   Hintergrund bleibt vollflächig, Inhalt zentriert
================================================== */

/* Jede Section bleibt 100% breit */
section {
  width: 100%;
}

/* Inhalt innerhalb der Section (direkte oder verschachtelte Divs)
   wird auf 1200px begrenzt und mittig ausgerichtet */
section > .container,
section > div:not([class*="footer"]):not([class*="header"]):not(.site-footer):not(.footer-container) {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* ==================================================
   Fix: Hintergründe wieder vollflächig anzeigen
   (z. B. bei .problems, .timeline-section usw.)
================================================== */

/* 1. Sicherstellen, dass Sections sich immer über die volle Breite ziehen */
.problems,
.timeline-section,
.testimonials,
.projects-section,
.cta-section,
.warum-kartenabschnitt,
.chatbot-vorteile,
.chatbot-preis,
.betreuung-wer {
  width: 100%;
  max-width: 100% !important;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

/* 2. Nur den Inhalt in diesen Sektionen zentrieren */
.problems > .container,
.timeline-section > .timeline-container,
.testimonials > .testimonial-grid,
.projects-section > .projects-wrapper,
.cta-section > .cta-container,
.warum-kartenabschnitt > .warum-karten-container,
.chatbot-vorteile > .chatbot-vorteile-container,
.chatbot-preis > .chatbot-preis-container,
.betreuung-wer > .betreuung-wer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* =============================================
   FIX: LÜCKE UNTER GRAFIK (betreuung.php)
   (Selektor jetzt korrekt)
============================================= */

/* Zielt auf die Bild-Spalte (hero-right) NUR auf der Betreuungsseite */
.hero-right {
    /* Zwingt diese Spalte, sich am UNTEREN Rand auszurichten */
    align-self: flex-end !important;
}

/* Entfernt die "Baseline"-Lücke des Bildes selbst */
.hero-right img {
    display: block !important;
    vertical-align: bottom !important;
}


/* --------------------------------------------------------- */
/* SCHEELNET – Input Fix + Cleaner Send Button + Emoji Off   */
/* --------------------------------------------------------- */

/* Emoji & File Button entfernen */
.sc-user-input--emoji-icon-wrapper,
.sc-user-input--file-icon-wrapper {
    display: none !important;
}

/* Eingabefeld: Höhe, Line-Height & Padding fixieren */
.sc-user-input--text {
    padding: 12px 14px !important;
    line-height: 20px !important;
    min-height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

/* Placeholder mittig (Aminos Hack) */
.sc-user-input--text[placeholder]:empty:before {
    content: attr(placeholder);
    color: #888;
    line-height: 20px !important;
    pointer-events: none;
    display: block;
}

/* Input Bar etwas schöner */
form.sc-user-input {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 14px 18px !important;
    background: rgba(255,255,255,0.92) !important;
    backdrop-filter: blur(12px) !important;
}

/* ---------------------------- */
/* SEND BUTTON außen & groß     */
/* ---------------------------- */

.sc-user-input--button-icon-wrapper {
    background: #d6a85b !important;
    border-radius: 12px !important;
    border: none !important;
    padding: 0 !important;
    width: 44px !important;
    height: 44px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-shadow: 0 4px 14px rgba(0,0,0,0.25) !important;
    transition: 0.2s ease;
}

.sc-user-input--button-icon-wrapper svg {
    fill: #fff !important;
    width: 20px !important;
    height: 20px !important;
}

/* Hover Effekt */
.sc-user-input--button-icon-wrapper:hover {
    transform: scale(1.05);
}

/* Wrapper für den Sende-Button vertikal zentrieren */
.sc-user-input--buttons {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
}

/* Sicherstellen, dass der Button selbst nicht verrutscht */
.sc-user-input--button-icon-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.sc-header {
    background: linear-gradient(
        135deg,
        #e0b469 0%,
        #d6a85b 35%,
        #c89234 65%,
        #b97b22 100%
    ) !important;
}

