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

:root {
--primary-blue: #2563eb;
--primary-green: #01c501;
--primary-black: #1f2937;
--light-gray: #f8fafc;
--medium-gray: #64748b;
--white: #ffffff;
--gradient: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
}

body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: var(--primary-black);
overflow-x: hidden;
}

.logo-img {
    height: 52px;
    max-width: 234px;
    object-fit: contain;
}

.logo-img:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Navigation */
.navbar {
position: fixed;
height: 120px;
top: 0;
width: 100%;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
z-index: 1000;
padding: 2rem 0;
transition: all 0.3s ease;
box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto; 
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
}

body.services-page .section:first-of-type { padding-top: 5rem; }

.logo {
font-size: 1.5rem;
font-weight: bold;
background: var(--gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.nav-menu {
display: flex;
list-style: none;
gap: 2rem;
margin-left: auto;
margin-right: 0rem;
}

.nav-link {
text-decoration: none;
color: var(--primary-black);
font-weight: 500;
transition: all 0.3s ease;
position: relative;
}

.nav-link:hover {
color: var(--primary-blue);
}

.nav-link.active {
color: var(--primary-blue);
}

.nav-link::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -5px;
left: 0;
background: var(--gradient);
transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
width: 100%;
}

.mobile-menu-btn {
display: none;
background: none;
border: none;
font-size: 1.5rem;
cursor: pointer;
color: var(--primary-black);
}

/* Main Content */
.main-content {
margin-top: 80px;
}

body.services-page .main-content {
    margin-top: 120px;
}

.page {
display: none;
min-height: calc(100vh - 80px);
}

.page.active {
display: block;
}

/* Hero Slider Section */
.hero-slider {
position: relative;
height: 100vh;
min-height: 600px;
overflow: hidden;
background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

@media (max-width: 768px) {
  .hero-slider {
    height: 70vh;
    min-height: 420px;
    margin-top: 120px;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 85vh;
    min-height: 360px;
  }
}

.pc-build-animation {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}

#pcBuildCanvas {
width: 100%;
height: 100%;
display: block;
}

.component-labels {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 2;
}

.label {
position: absolute;
background: rgba(37, 99, 235, 0.9);
color: white;
padding: 0.5rem 1rem;
border-radius: 20px;
font-size: 0.9rem;
font-weight: 600;
opacity: 0;
transform: translateY(20px);
transition: all 0.5s ease;
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}

.label.show {
opacity: 1;
transform: translateY(0);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Videohintergrund */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .hero-content {
    margin-top: -50px;
  }
  .partnercontact-title {
    font-size: 1.5rem !important;
  }
}

.hero-title {
  margin-bottom: 2rem;
}

.title-line {
  display: block;
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease 0.5s both;
}

@media (max-width: 768px) {
  .title-line {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .title-line {
    font-size: 1.8rem;
  }
}

.title-subtitle {
  display: block;
  font-size: 1.5rem;
  font-weight: 300;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.7s both;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.9s both;
}

@media (max-width: 768px) {
  .hero-description { margin-bottom: 1.5rem; }
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 1.1s both;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
  color: white;
  padding: 1.2rem 2.5rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 1.2rem 2.5rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .cta-secondary {
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
    gap: 0.4rem;
  }
}

@media (max-width: 480px) {
  .cta-secondary {
    padding: 0.7rem 1.2rem;
    border-radius: 35px;
    gap: 0.3rem;
  }
}

/* Intro Section */
.intro-section {
background: var(--light-gray);
}

.intro-content {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 4rem;
align-items: center;
}

.intro-text h2 {
font-size: 2.5rem;
margin-bottom: 1.5rem;
background: var(--gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.intro-description {
font-size: 1.1rem;
line-height: 1.8;
color: var(--medium-gray);
margin-bottom: 1.5rem;
}

.intro-highlight {
font-size: 1.1rem;
line-height: 1.8;
color: var(--primary-blue);
padding: 1.5rem;
background: white;
border-radius: 10px;
border-left: 4px solid var(--primary-blue);
}

.intro-stats {
display: flex;
flex-direction: column;
gap: 2rem;
}

@media (max-width: 768px) {
  .intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem !important;
    gap: 2rem;
  }

  .intro-content > div {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .intro-content img {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .intro-text {
    text-align: center;
    padding: 0 1rem;
  }

  .intro-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .intro-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--medium-gray);
    margin-bottom: 1rem;
  }

  .intro-highlight {
    padding: 1rem;
    font-size: 1rem;
    border-left: 4px solid var(--primary-blue);
    background: white;
    margin-top: 1rem;
  }

  .intro-stats {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.stat-item {
text-align: center;
padding: 1.2rem 1rem;
background: white;
border-radius: 15px;
box-shadow: 0 5px 20px rgba(0,0,0,0.1);
transition: all 0.3s ease;
border: 2px solid transparent;
}

.stat-item:hover {
transform: translateY(-10px);
background: white;
box-shadow: 0 20px 50px rgba(0,0,0,0.15);
border-color: var(--primary-blue);
}

.stat-number {
font-size: 3rem;
font-weight: bold;
background: var(--gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 0.5rem;
}

.stat-label {
color: var(--medium-gray);
font-weight: 600;
}

/* Core Services */
.core-services {
background: white;
}

.core-services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.core-service-card {
  background: var(--light-gray);
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  transform-style: preserve-3d;
  backface-visibility: hidden;

  transform: none;
  opacity: 1;   
  will-change: auto;
}

.core-service-card:hover {
transform: translateY(-10px);
background: white;
box-shadow: 0 20px 50px rgba(0,0,0,0.15);
border-color: var(--primary-blue);
}

.core-service-card.glow-effect {
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.8);
  border-color: var(--primary-blue);
  transition: box-shadow 0.6s ease-out, border-color 0.6s ease-out;
}

.service-icon-large {
font-size: 4rem;
background: var(--gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 1.5rem;
}

.core-service-card h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
color: var(--white);
background: var(--gradient);
border-radius: 25px;
padding: 2px;
}

.core-service-card p {
color: var(--medium-gray);
margin-bottom: 2rem;
line-height: 1.6;
}

.service-features {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
justify-content: center;
}

.service-features span {
background: var(--primary-blue);
color: white;
padding: 0.3rem 0.8rem;
border-radius: 15px;
font-size: 0.8rem;
font-weight: 500;
}

/* Benefits Section */
.benefits-section {
background: var(--light-gray);
}

.benefits-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 2rem;
}

.benefit-card {
background: white;
padding: 2.5rem;
border-radius: 20px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
text-align: center;
transition: all 0.3s ease;
border: 2px solid transparent;
}

.benefit-card:hover {
transform: translateY(-10px);
background: white;
box-shadow: 0 20px 50px rgba(0,0,0,0.15);
border-color: var(--primary-blue);
}

.benefit-icon {
font-size: 3rem;
background: var(--gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 1.5rem;
}

.benefit-card h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
color: var(--white);
background: var(--gradient);
border-radius: 25px;
padding: 2px;
}

.benefit-list {
list-style: none;
text-align: left;
}

.benefit-list li {
padding: 0.5rem 0;
display: flex;
align-items: center;
gap: 1rem;
color: var(--medium-gray);
}

.benefit-list li::before {
content: '✓';
color: var(--primary-green);
font-weight: bold;
font-size: 1.2rem;
}

/* Quick Contact */
.quick-contact {
background: var(--primary-black);
color: white;
}

.quick-contact-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
}

.contact-text h2 {
font-size: 2.5rem;
margin-bottom: 1.5rem;
background: linear-gradient(135deg, #60a5fa, #34d399);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.contact-text p {
font-size: 1.1rem;
line-height: 1.8;
color: #94a3b8;
}

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

.contact-info {
display: flex;
flex-direction: column;
gap: 1rem;
margin-top: 2rem;
text-align: center;
}

.contact-item {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
color: #94a3b8;
font-size: 1.1rem;
}

.contact-item i {
color: var(--primary-green);
}

.contact-item a {
    text-decoration: none;
    color: var(--white);
    margin-left: 0.5rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-item a:hover {
    color: linear-gradient(135deg, #60a5fa, #34d399);
    transform: translateY(-3px);
}

.contact-item:has(a:hover) i {
  transform: translateY(-3px);
  filter: drop-shadow(0 0 10px rgba(1,197,1,0.6));
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Section Styles */
.section {
padding: 4rem 0;
}

.container {
width: 100%;
max-width: 1440px;
margin: 0 auto;
padding: 0 2rem;
}

.section-title {
text-align: center;
font-size: 2.5rem;
margin-bottom: 3rem;
background: var(--gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

@media (max-width: 768px) {
  .quick-contact-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .contact-text h2 {
    font-size: 2rem;
  }

  .contact-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #cbd5e1;
  }

  .contact-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .contact-info {
    width: 100%;
    gap: 1rem;
  }

  .contact-item {
    justify-content: center;
    font-size: 1rem;
  }

  .cta-primary {
    width: auto;
    max-width: 280px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 40px;
    gap: 0.4rem;
  }
}

@media (max-width: 992px) {
  .quick-contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Services Grid */
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-top: 3rem;
}

.service-card {
background: white;
padding: 2rem;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
border: 1px solid rgba(37, 99, 235, 0.1);
text-align: center;
animation: fadeSlideUp 0.6s ease forwards;
opacity: 0;
position: relative;
}

.service-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* Icon-Wrapper-Styling */
.icon-wrapper {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-wrapper {
  background-color: transparent;
  border-radius: 5px;
  overflow: hidden;
}

.service-svg-icon {
  width: 100%;
  height: 100%;
  fill: url(#icon-gradient);
  transition: transform 0.3s ease;
}

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

.service-icon {
font-size: 3rem;
background: var(--gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 1rem;
}

.service-card h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
background: var(--gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.service-card p {
color: var(--medium-gray);
line-height: 1.6;
}

/* Animation */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2rem;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--medium-gray);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.about-features {
  list-style: none;
  margin-top: 2rem;
  padding-left: 0;
}

.about-features li {
  padding: 0.6rem 0;
  display: flex;
  align-items: center;
  font-weight: 500;
  color: var(--primary-blue);
}

.about-features i {
  color: var(--primary-green);
  font-size: 1.2rem;
}

/* Extras */
.about-extras {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(52,211,153,0.1), rgba(59,130,246,0.05));
  border-left: 4px solid var(--primary-green);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: transform 0.3s ease;
}

.highlight-box:hover {
  transform: translateY(-4px);
}

.highlight-box h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
}

.highlight-box p {
  margin: 0;
  color: var(--medium-gray);
  font-size: 0.95rem;
}

/* Animation */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

/* Contact Form */
.contact-form {
background: white;
padding: 3rem;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
max-width: 600px;
margin: 0 auto;
}

.form-group {
margin-bottom: 1.5rem;
}

.form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: 600;
color: var(--primary-black);
}

.form-group input,
.form-group textarea,
.form-group select {
width: 100%;
padding: 1rem;
border: 2px solid #e2e8f0;
border-radius: 8px;
font-size: 1rem;
transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
outline: none;
border-color: var(--primary-blue);
}

.checkbox-group {
display: flex;
align-items: flex-start;
gap: 0.5rem;
margin: 1.5rem 0;
}

.checkbox-group input[type="checkbox"] {
width: auto;
margin-top: 0.2rem;
}

.checkbox-group label {
font-size: 0.9rem;
line-height: 1.4;
}

.submit-btn {
background: var(--gradient);
color: white;
padding: 1rem 2rem;
border: none;
border-radius: 8px;
font-size: 1rem;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
width: 100%;
}

.submit-btn:hover {
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

/* FAQ Section */
.faq-item {
background: white;
margin-bottom: 1rem;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
overflow: hidden;
}

.faq-question {
background: var(--light-gray);
padding: 1.5rem;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
font-weight: 600;
transition: background-color 0.3s ease;
}

.faq-question:hover {
background: #e2e8f0;
}

.faq-answer {
padding: 0 1.5rem;
max-height: 0;
overflow: hidden;
transition: all 0.3s ease;
}

.faq-answer.active {
padding: 1.5rem;
max-height: 200px;
}

.faq-icon {
transform: rotate(0deg);
transition: transform 0.3s ease;
}

.faq-icon.active {
transform: rotate(180deg);
}

@media (max-width: 768px) {
  #faq .section-title {
    font-size: 1.8rem !important;
    text-align: center;
    margin-top: 2rem !important;
    margin-bottom: 2rem;
  }

  #faq .container {
    width: 100% !important;
    padding: 0 1rem !important;
  }

  #faq .faq-question {
    min-height: 80px;
    font-size: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  #faq .faq-answer {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  #faq .faq-item {
    margin-bottom: 1rem;
  }
}

/* Footer */
.footer {
background: var(--primary-black);
color: white;
padding: 3rem 0 1rem;
text-align: center;
}

.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}

.footer-section h3 {
margin-bottom: 1rem;
color: var(--primary-green);
}

.footer-section p,
.footer-section a {
color: #94a3b8;
text-decoration: none;
line-height: 1.6;
}

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

/* Animations */
@keyframes fadeInUp {
from {
    opacity: 0;
    transform: translateY(30px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

.footer-section h3 i {
  margin-right: 0.5rem;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .footer-section .link-grid {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
.nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 2rem 0;
}

.nav-menu.active {
    left: 0;
}

.mobile-menu-btn {
    display: block;
}

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

.hero p {
    font-size: 1rem;
}

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

.contact-form {
    padding: 2rem;
}

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


@media (max-width: 480px) {
.nav-container {
    padding: 0 1rem;
}

.container {
    padding: 0 1rem;
}

.hero {
    padding: 2rem 0;
}

.section {
    padding: 2rem 0;
}
}

.footer {
  background: rgba(255, 255, 255, 0.95);
  color: white;
  padding: 4rem 2rem 2rem;
  margin-top: 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h3 {
  margin-bottom: 1.2rem;
  color: var(--primary-blue);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.footer-section p,
.footer-section a {
  color: var(--primary-black);
  font-size: 0.95rem;
  line-height: 1.6;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  text-align: left;
}

.footer-section a:hover {
  color: var(--primary-green);
}

.link-grid {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-section .link-grid a {
  display: inline-block;
  width: max-content;
}

.footer-bottom {
  text-align: center;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: #64748b;
}

.footer-bottom .highlight {
  color: var(--primary-green);
  font-weight: 600;
}

.footer-section h3 i {
  color: var(--primary-blue);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .link-grid {
    align-items: center;
  }
}

.impressum-text {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--primary-black);
}

.impressum-text h3 {
  margin-top: 2rem;
  font-size: 1.4rem;
  color: var(--primary-blue);
}

.impressum-text h4 {
  margin-top: 1.5rem;
  font-size: 1.15rem;
  color: var(--primary-blue);
}

.impressum-text p {
  margin-top: 0.5rem;
}

.impressum-text a {
  color: var(--primary-blue);
  text-decoration: none;
}

.impressum-text a:hover {
  color: var(--primary-green);
  text-decoration: underline;
}

.impressum-page main {
  background-color: var(--light-gray);
}

.impressum-page main .section {
  background-color: transparent;
}

.impressum-text ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.impressum-text li {
  margin-bottom: 0.5rem;
  color: var(--primary-black);
  list-style-type: disc;
}
@media (max-width: 768px) {
  body.impressum-page main .section {
    padding-top: 2rem !important;
  }

  .impressum-text {
    padding: 2rem 1rem;
    font-size: 1rem;
    border-radius: 12px;
  }

  .impressum-text h3 {
    font-size: 1.3rem;
    text-align: left;
    margin-top: 0;
  }

  .impressum-text h4 {
    font-size: 1.1rem;
    text-align: left;
    margin-top: 0.2rem;
  }

  .impressum-text p {
    text-align: left;
    margin-bottom: 0.2rem;
  }

  .impressum-text a {
    word-break: break-word;
  }

  .title-section {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem !important;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.agb-text {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--primary-black);
}

.agb-text h3 {
  margin-top: 2rem;
  font-size: 1.4rem;
  color: var(--primary-blue);
}

.agb-text h4 {
  margin-top: 1.5rem;
  font-size: 1.15rem;
  color: var(--primary-blue);
}

.agb-text p {
  margin-top: 0.5rem;
}

.agb-text a {
  color: var(--primary-blue);
  text-decoration: none;
}

.agb-text a:hover {
  color: var(--primary-green);
  text-decoration: underline;
}

.agb-page main {
  background-color: var(--light-gray);
}

.agb-page main .section {
  background-color: transparent;
}

.agb-text ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.agb-text li {
  margin-bottom: 0.5rem;
  color: var(--primary-black);
  list-style-type: disc;
}

.clause-number {
  color: var(--primary-blue);
  font-weight: 600;
  margin-right: 0.25rem;
  display: inline-block;
}

.contact-overview {
  background: var(--light-gray);
}

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

.contact-overview .container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-box {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  height: 100%;
  min-height: 670px;
  max-height: 910px;
  overflow: hidden;
}

.contact-box {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.contact-box:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}

.contact-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-reveal {
  opacity: 0;
  transform: translateY(40px);
}

.contact-reveal.animated {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease-out;
}

.support-box p strong {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.location-box iframe {
  flex-grow: 1;
  margin-top: 1rem;
  border-radius: 8px;
}

.support-box p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.support-box p:first-of-type {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.support-box p:last-of-type {
  margin-bottom: 1rem;
}

.support-box em {
  font-size: 0.9rem;
  color: var(--medium-gray);
}

.support-box a {
  color: var(--primary-blue);
  text-decoration: none;
}

.support-box a:hover {
  color: var(--primary-green);
  text-decoration: none;
}

.support-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.phone-link {
  color: var(--primary-black);
  text-decoration: none;
  transition: color 0.3s ease;
}

.phone-link:hover {
  color: var(--primary-green);
  text-decoration: underline;
}

.opening-hours {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  font-size: 0.9rem;
}

.opening-hours li {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.opening-hours li span:first-child {
  color: var(--primary-black);
}

.opening-hours li span:last-child {
  color: var(--medium-gray);
}

.contact-form {
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  max-width: none;
  margin: 0;
  font-size: 0.9rem;
}

.contact-box p {
  font-size: 0.9rem;
}

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
  font-size: 0.9rem;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
}

.contact-form .form-group label {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.contact-form .submit-btn {
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem;
}

.contact-form .form-group {
  margin-bottom: 1rem;
}

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

.contact-form .checkbox-group {
  margin: 1rem 0;
}

.contact-form .submit-btn {
  margin-top: auto;
  align-self: stretch;
  width: 100%;
}

.location-box {
  justify-content: flex-start;
}

/* Responsiv */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-box {
    max-height: none;
    min-height: auto;
    margin-top: 2rem;
  }

  .contact-box h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .contact-form .form-group select {
    font-size: 0.8rem;
    padding: 0.4rem 0.5rem;
    height: 36px;
    max-width: 83%;
  }
}

@media (max-width: 768px) {
  .contact-form .form-group option {
    font-size: 0.8rem !important;
    line-height: 1.2;
  }
}

@media (max-width: 768px) {
  .contact-box:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}

@media (max-width: 768px) {
  .section.contact-overview {
    padding-bottom: 4rem;
  }
}

#message {
  height: 70px;
  resize: none;
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  left: auto;
  transform: none;
  background: var(--white);
  color: var(--primary-black);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 1.5rem 2rem;
  z-index: 9999;
  max-width: 600px;
  width: 90%;
  text-align: center;
  display: none;
  flex-direction: column;
  gap: 1rem;
}

.cookie-text {
  font-size: 0.95rem;
  color: var(--primary-black);
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-btn.accept {
  background: var(--gradient);
  color: white;
}

.cookie-btn.decline {
  background: var(--light-gray);
  color: var(--primary-black);
}

.cookie-btn:hover {
  transform: translateY(-2px);
}

.cookie-text .cookie-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.cookie-text .cookie-link:hover {
  color: var(--primary-green);
  text-decoration: none;
}

@media (max-width: 600px) {
  .cookie-buttons {
    flex-direction: column;
  }
}

/* Cookie-Banner */
@media (max-width: 600px) {
  .cookie-banner {
    position: fixed;
    bottom: 0.75rem;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(92vw, 420px);
    max-width: none;
    max-height: 70vh;      
    overflow: auto;       
    padding: 1rem 1.1rem;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.25);
    backdrop-filter: blur(6px);
    -webkit-overflow-scrolling: touch;
  }

  .cookie-text {
    font-size: 0.88rem;     
    line-height: 1.5;
    text-align: left;      
    margin: 0;            
  }

  .cookie-buttons {
    gap: 0.6rem;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    border-radius: 10px;
  }
}

@media (max-width: 380px) {
  .cookie-banner {
    width: 94vw;           
    padding: 0.9rem 1rem;
    border-radius: 14px;
  }

  .cookie-text {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .cookie-btn {
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
  }
}

#gmap-placeholder.map-loaded {
  height: 100%;
  flex-grow: 1;
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

#gmap-placeholder {
  width: 100%;
  height: 250px;
  background-color: var(--light-gray);
  border: 2px dashed var(--medium-gray);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--medium-gray);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  padding: 1rem;
  margin-top: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease-in-out;
}

#gmap-placeholder:not(.map-loaded):hover {
  border-color: var(--primary-green);
  background-color: #e2fbe6;
  cursor: default;
}

.core-service-card.glow-effect,
.benefit-card.glow-effect {
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.8);
  border-color: var(--primary-blue);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.quick-contact {
  opacity: 0;
  transform: scale(0.95) translateY(50px);
  transition: all 0.9s ease;
}

.quick-contact.reveal-contact {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.quick-contact .contact-item {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s ease;
}

.quick-contact.reveal-contact .contact-item {
  opacity: 1;
  transform: translateX(0);
}

.quick-contact .contact-item i {
  animation: glowContact 2s ease-in-out infinite alternate;
}

@keyframes glowContact {
  from {
    text-shadow: 0 0 5px #01c501, 0 0 10px #2563eb;
  }
  to {
    text-shadow: 0 0 15px #01c501, 0 0 30px #2563eb;
  }
}

.quick-contact h2,
.quick-contact p {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.quick-contact.reveal-contact h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.quick-contact.reveal-contact p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

/* Text & Button */
.quick-contact .cta-primary {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.quick-contact.reveal-contact .cta-primary {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.quick-contact .cta-text {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.quick-contact.reveal-contact .cta-text {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

.contact-info .contact-item {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.quick-contact.reveal-contact .contact-info .contact-item {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.quick-contact.reveal-contact .cta-primary:hover {
  transform: translateY(-3px);
  transition: all 0.3s ease;
}

.intro-section {
  position: relative;
  background: linear-gradient(135deg, #f9fafc, #eef2f7);
  overflow: hidden;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-green);
}

img {
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}
img:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.intro-text h2 {
  clip-path: inset(0 100% 0 0);
  opacity: 0;
}


.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 60px rgba(37, 99, 235, 0.25), 0 0 10px rgba(37, 99, 235, 0.1);
  transition: all 0.4s ease;
}

.service-card:hover h3,
.service-card:hover p {
  transform: translateY(-4px);
  transition: all 0.3s ease;
}

.service-card h3,
.service-card p {
  transition: transform 0.3s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at center, rgba(37,99,235,0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 20px;
  pointer-events: none;
  z-index: 0;
}

.service-card:hover::after {
  opacity: 1;
}

.hover-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.2rem;
  background: var(--primary-blue);
  color: white;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.service-card:hover .hover-button {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hover-button:hover {
  background: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.title-section {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  clip-path: inset(0 100% 0 0);
  opacity: 0;
}

.title-section.debug {
  background-color: rgba(255, 0, 0, 0.1);
  outline: 2px dashed red;
}

.faq-item {
  perspective: 1200px;
}

.faq-question {
  background: var(--light-gray);
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.faq-question:hover {
  background: #e0f2fe;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Glowing Rahmen */
.faq-item.active {
  border: 2px solid var(--primary-green);
  box-shadow: 0 0 18px rgba(1, 197, 1, 0.3);
  border-radius: 12px;
  transition: box-shadow 0.3s ease;
}

.faq-answer.typing::after {
  content: '|';
  animation: blink 0.9s infinite;
  color: var(--primary-green);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.faq-item {
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
  perspective: 1000px;
}

.faq-item:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.partner-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.partner-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.partner-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.partner-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.partner-nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.partner-nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.partner-nav-links a:hover {
    transform: translateY(-2px);
}

.partner-nav-links a.partner-active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00f5ff, #ff00ff);
    border-radius: 2px;
}

/* Hero Section */
.partner-hero {
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
}

.partner-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: partner-float 20s ease-in-out infinite;
}

.partner-hero-content {
    position: relative;
    z-index: 2;
}

.partner-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: partner-slideUp 1s ease-out;
}

.partner-hero p {
    font-size: 1.25rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: partner-slideUp 1s ease-out 0.2s both;
}

/* Partners Grid */
.partner-partners-section {
    padding: 4rem 0;
    position: relative;
}

.partner-section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.partner-section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
        color: white;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: partner-slideUp 1s ease-out;
}

.partner-section-title p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 500px;
    margin: 0 auto;
}

.partner-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.partner-card {
    background: white;
    color: var(--primary-black);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
    text-align: center;
    position: relative;
    animation: fadeSlideUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);

    position: relative;
    overflow: hidden;
    z-index: 0;
}

.partner-card:nth-child(1) { animation-delay: 0.1s; }
.partner-card:nth-child(2) { animation-delay: 0.3s; }
.partner-card:nth-child(3) { animation-delay: 0.5s; }

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.partner-card:hover::before {
    left: 100%;
}

.partner-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.partner-card-logo {
  width: 100%;
  height: 80px;           
  padding: 8px 12px;       
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border-radius: 12px;   
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.partner-card-logo-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;             
  height: auto;            
  object-fit: contain;    
  border-radius: 0;       
}

.partner-card:hover .partner-card-logo {
    transform: rotate(5deg) scale(1.1);
}

.partner-card-name {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.partner-card-type {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.partner-card-description {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.partner-card-features {
    list-style: none;
    margin-bottom: 2rem;
    color: var(--medium-gray);
}

.partner-card-features li {
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    text-align: left;
}

.partner-card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.partner-card-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.partner-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.partner-btn-secondary {
    background: var(--light-gray);
    color: var(--primary-black);
    border: 1px solid var(--medium-gray);
}

.partner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Statistics Section */
.partner-stats-section {
    padding: 4rem 0;
    text-align: center;
}

.partner-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.partner-stat-item {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
    text-align: center;
}

.partner-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.partner-stat-label {
    color: var(--medium-gray);
    font-weight: 500;
}

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

.partner-cta-content {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    border: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.partner-cta-content h3 {
    font-size: 2rem;
    background: linear-gradient(135deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.partner-cta-content p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

/* Animations */
@keyframes partner-slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes partner-cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes partner-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .partner-nav-links {
        display: none;
    }

    .partner-hero {
        padding: 6rem 0 3rem;
    }

    .partner-partners-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .partner-card {
        padding: 2rem;
    }

    .partner-card-actions {
        flex-direction: column;
    }

    .partner-btn {
        justify-content: center;
    }

    .partner-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-cta-content {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .partner-container {
        padding: 0 1rem;
    }

    .partner-nav-content {
        padding: 1rem;
    }

    .partner-stats-grid {
        grid-template-columns: 1fr;
    }
}

.partner-stat-item:hover,
.partner-cta-content:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-gradient-bg {
    background: linear-gradient(135deg, #60a5fa, #34d399);
    color: white;
    padding: 6rem 0;
    position: relative;
    text-align: center;
    min-height: 65vh;
}

.hero-label {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: white;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.partner-hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: white !important; 
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  background-clip: initial !important;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .partner-hero-content h1, .partner-section-title h2, .partner-cta-content h3 {
      font-size: 1.8rem;
    }

    .benefit-card h3 {
      font-size: 1.3rem;
    }
}

.partner-cta-primary {
    background-color: var(--primary-green);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.partner-cta-primary:hover {
    background-color: #00b100;
    transform: translateY(-2px);
}

.partner-cta-secondary {
    background-color: transparent;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.partner-cta-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}


.servicesspecial-section {
  background: var(--white);
  padding: 4rem 2rem;
  text-align: center;
  overflow: hidden;
}

.servicesspecial-title {
  font-size: 2.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 3rem;
}

.servicesspecial-carousel {
  perspective: 1500px;
  width: 100%;
  height: 400px;
  position: relative;
  overflow: visible;
}

.servicesspecial-slider-wrapper {
  perspective: 1200px;
  width: 100%;
  height: 340px;
  position: relative;
  overflow: visible;
}

.servicesspecial-track {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 1s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.servicesspecial-card {
  position: absolute;
  width: 300px;
  height: 280px;
  background: white;
  border-radius: 1rem;
  border: 2px solid black;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
  backface-visibility: hidden;
  transition: transform 0.5s ease;
}

.servicesspecial-track li {
  width: 300px;
  height: 280px;
  margin: 0 1rem;
  border: 2px solid black;
  border-radius: 1rem;
  background: var(--white);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: black;
  position: relative;
  transform-origin: center;
  transition: transform 0.6s ease, opacity 0.6s ease;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.servicesspecial-nav {
  background: var(--primary-black);
  color: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  font-size: 2rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.servicesspecial-nav:hover {
  background: var(--gradient);
}

.servicesspecial-left {
  left: 0.5rem;
}

.servicesspecial-right {
  right: 0.5rem;
}

.servicesspecial-button-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  width: 100%;
}

#scrollToTopBtn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: all 0.3s ease;
  z-index: 1000;
}

#scrollToTopBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

#scrollToTopBtn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.partnercontact-form-section {
  padding: 5rem 2rem;
  background: var(--white);
  animation: partnercontact-fadeInUp 0.8s ease;
}

.partnercontact-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  .partnercontact-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .partnercontact-title {
    font-size: 1.8rem;
  }
}

.partnercontact-container {
  max-width: 700px;
  margin: 0 auto;
}

.partnercontact-form {
  display: grid;
  gap: 1.5rem;
  animation: partnercontact-slideIn 1s ease;
}

.partnercontact-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  animation: partnercontact-fadeIn 0.6s ease;
}

.partnercontact-form-group input,
.partnercontact-form-group select,
.partnercontact-form-group textarea {
  padding: 0.75rem 1rem;
  border: 2px solid var(--medium-gray);
  border-radius: 8px;
  font-size: 1rem;
  background-color: var(--light-gray);
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.partnercontact-form-group input:focus,
.partnercontact-form-group select:focus,
.partnercontact-form-group textarea:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 5px rgba(1, 197, 1, 0.3);
  outline: none;
}

.partnercontact-checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.4;
  cursor: pointer;
}

.partnercontact-checkbox-group input {
  transform: scale(1.1);
  accent-color: var(--primary-green);
}

.partnercontact-checkbox-group a {
  color: var(--primary-blue);
  text-decoration: underline;
}

.partnercontact-submit-btn {
  background: var(--gradient);
  color: var(--white);
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partnercontact-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Animation Keyframes */
@keyframes partnercontact-fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes partnercontact-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes partnercontact-slideIn {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 992px) {
  .nav-container {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 1rem;
    margin-left: 0;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 99%;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 999;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    padding: 0.5rem 0;
  }

  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-black);
    cursor: pointer;
    margin-left: auto;
    z-index: 1000;
  }

  .mobile-menu-btn i {
    pointer-events: none;
  }
}
@media (max-width: 768px) {
  .intro-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .intro-text {
    width: 100%;
    order: 1;
  }

  .intro-stats {
    width: 100%;
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .intro-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .intro-description,
  .intro-highlight {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .stat-number {
    font-size: 1.8rem;
    font-weight: bold;
  }

  .stat-label {
    font-size: 1rem;
    color: #94a3b8;
  }
}

@media (max-width: 768px) {
  .nav-link {
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 0;
    position: relative;
  }

  .nav-menu li:last-child .nav-link {
    border-bottom: none;
  }

  .nav-link::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-green));
    opacity: 0.3;
  }

  .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -5px;
  left: 0;
  background: var(--gradient);
  transition: width 0.3s ease;
  }

  .nav-link:hover {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 6px;
  }
}

@media (max-width: 768px) {
  .intro-text h2 {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .services-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
  }

  .service-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-align: center;
  }

  .service-card p {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 1rem;
  }

  .hover-button {
    display: inline-block;
    margin: 0 auto;
    text-align: center;
  }

  .icon-wrapper {
    margin: 0 auto 1rem;
  }

  .service-svg-icon {
    width: 48px;
    height: 48px;
    display: block;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  #services .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  body.services-page .main-content {
    width: 100%;
    padding: 0;
    margin: 0;
    margin-top: 100px !important;
  }

  body.services-page .container {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
  }

  body.services-page .section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  body.services-page .services-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
  }

  body.services-page .service-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  body.services-page .service-svg-icon {
    width: 48px;
    height: 48px;
    display: block;
    margin: 0 auto 0rem;
  }

  body.services-page .hover-button {
    margin: 0 auto;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .dataprotection-wrapper .title-section {
    font-size: 1.8rem !important;
    text-align: center;
    margin-top: 2rem !important;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
  }

  .dataprotection-wrapper .container {
    width: 100% !important;
    padding: 0 1rem !important;
  }

  .dataprotection-wrapper .impressum-text h3 {
    font-size: 1.2rem !important;
  }

  .dataprotection-wrapper .impressum-text h4 {
    font-size: 1rem !important;
    margin-top: 1rem;
  }

  .dataprotection-wrapper .impressum-text p,
  .dataprotection-wrapper .impressum-text li {
    font-size: 0.95rem !important;
    line-height: 1.6;
  }

  .dataprotection-wrapper .impressum-text ul {
    padding-left: 1.2rem;
  }
}

@media (max-width: 768px) {
  body.impressum-page .title-section {
    font-size: 1.8rem !important;
    text-align: center;
    margin-top: 2rem !important;
    margin-bottom: 1.5rem;
    padding-top: 0;
  }

  body.impressum-page .container {
    width: 100% !important;
    padding: 0 1rem !important;
  }

  body.impressum-page .impressum-text h3 {
    font-size: 1.2rem !important;
    margin-top: 0rem;
  }

  body.impressum-page .impressum-text h4 {
    font-size: 1rem !important;
    margin-top: 1rem;
  }

  body.impressum-page .impressum-text p,
  body.impressum-page .impressum-text li {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #1299f3;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
}

.modal-content h2, .modal-content p {
    color: var(--primary-black);
}

.modal-content button {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    min-width: auto !important;
    width: 40px; height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px; line-height: 1;
    color: var(--primary-black);
    position: absolute; top: 12px; right: 16px;
    box-shadow: none !important;
}

.services-page .modal-content .modal-close {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    min-width: auto !important;
    width: 40px; height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px; line-height: 1;
    color: var(--primary-black);
    position: absolute; top: 12px; right: 16px;
    box-shadow: none !important;
}

.contact-page .contact-modal .modal-confirm {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  color: #fff;
  background: var(--gradient) !important;
  border: 1px solid #fff !important;
  border-radius: 6px;
  font-size: 16px;
  display: inline-block;
  min-width: 120px !important;
  padding: 10px 24px !important;
  margin: 16px auto 0;
  cursor: pointer;
  text-align: center;
}

@media (max-width: 768px) {

    .modal-content {
        width: 90%;
        max-width: 350px;
        padding: 15px;
    }

    .modal-content h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .modal-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .modal-content button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

.kontakt-form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.kontakt-form-group img {
    height: 40px;
    width: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
}

.kontakt-form-group img,
.kontakt-form-group button {
    display: inline-block;
}

.kontakt-form-group button {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    background-color: #f3f3f3;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}

.kontakt-form-group {
    position: relative;
}

.kontakt-form-group img,
.kontakt-form-group button {
    margin-bottom: 0;
}

.kontakt-form-group input[name="captcha"] {
    margin-top: 0.5rem;
    padding: 0.6rem;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
}

.kontakt-form-group img,
.kontakt-form-group button {
    vertical-align: middle;
}

.captcha-reload-btn {
    background: var(--gradient);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.captcha-reload-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    width: auto;
}

.hero-hover {
  position: relative;
  overflow: hidden;
}

.hero-hover .hover-wrapper {
  width: 100vw;           
  height: clamp(50vh, 70vh, 88vh);
  margin-left: 50%;
  transform: translateX(-50%); 
}

.hero-hover canvas {
  display: block;
  width: 100%;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .hero-hover * {
    animation: none !important;
    transition: none !important;
  }
}

/* Hover-Hero Overlay */
.hero-hover { position: relative; overflow: hidden; }

/* Wrapper */
.hero-hover .wrapper {
  width: 100vw;
  height: clamp(60vh, 80vh, 95vh);
  margin: 0 auto;
}

/* Overlay-Container */
.hero-overlay-content {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;            
  pointer-events: none;
  padding: 2rem;
}

.hero-overlay-content .hero-cta,
.hero-overlay-content a,
.hero-overlay-content button {
  pointer-events: auto;
}

.hero-overlay-content .hero-title,
.hero-overlay-content .hero-description {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

body {
  background-color: rgba(255, 255, 255, 0.95);
}

/* Responsive Anpassungen für Hover-Hero Content */
@media (max-width: 768px) {
  .hero-hover .hero-title {
    font-size: 1.6rem; 
    line-height: 1.3;
    text-align: center;
  }

  .hero-hover .title-subtitle {
    font-size: 1.2rem;
    display: block;
    margin-top: 0.5rem;
  }

  .hero-hover .hero-description {
    font-size: 1rem;
    line-height: 1.5;
    margin: 1rem 0;
    padding: 0 1rem;
  }

  .hero-hover .hero-cta a {
    font-size: 0.95rem;
    padding: 0.8rem 1.2rem;
    width: 90%;
    margin: 0.5rem auto;
    display: block;
  }
}

@media (max-width: 480px) {
  .hero-hover .hero-title {
    font-size: 1.4rem;
  }

  .hero-hover .hero-description {
    font-size: 0.9rem;
  }

  .hero-hover .hero-cta a {
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
  }
}

.section-title-carousel {
  margin-bottom: 0px;
  margin-top: 4rem;
}

.slotBody .hover-button {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.slotBody:hover .hover-button {
  opacity: 1;
  transform: translateY(0);
}

#home .carouselWrapper .slotBody .hover-button {
  margin-bottom: 1rem;
}

.modal.open { 
  display: flex;        
  z-index: 2000;
}

.services-page .modal-content {
  position: relative;
  background: #fff;             
  color: var(--primary-black);
  border-radius: 16px;
  padding: 24px;
  max-width: 720px;           
}

.services-page #serviceModalTitle {
  margin: 12px 0 8px;
  font-size: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-close {
  position: absolute;
  top: 10px; 
  right: 12px;
  background: transparent;
  border: 0;
  font-size: 28px;
  line-height: 1;
  color: var(--primary-black);
  cursor: pointer;
}

#service-modal .icon-wrapper { 
  width: 72px; 
  height: 72px; 
  margin: 0 auto 12px; 
}

.modal {
  display: none; 
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  max-width: 600px;
  width: 90%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

.services-page .modal {
  height: 100dvh;                 
  padding: 16px;                  
  overflow: auto;                
  overscroll-behavior: contain;   
  display: none;                 
  justify-content: center;
  align-items: center;
}

.services-page .modal.open {
  display: flex;
}

.services-page .modal-content {
  width: min(92vw, 560px);        
  max-height: 80dvh;              
  overflow: auto;                 
  -webkit-overflow-scrolling: touch; 
  border-radius: 16px;
  padding: 20px;
}

@media (max-width: 420px) {
  .services-page .modal-content {
    width: 94vw;
    max-height: 78dvh;
    padding: 16px;
  }
  .services-page .modal-close {
    top: 8px;
    right: 10px;
  }
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .services-page .modal {
    align-items: flex-start;          
    padding-top: 100px;                
  }
}

@media (max-width: 768px) {
  .services-page .modal-close {
    font-size: 28px;        
    top: 12px;              
    right: 14px;           
    width: 44px;            
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .services-page .modal-close {
    font-size: 30px;
    width: 48px;
    height: 48px;
    top: 10px;
    right: 10px;
  }
}

body.services-page .service-card {
  overflow: hidden;      
}

/* Service-Modal: Aufzählungen */
#serviceModalDesc ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.75rem 0 0.25rem;
  text-align: left;
}

#serviceModalDesc li {
  margin: 0.25rem 0;
  line-height: 1.6;
}

#serviceModalDesc p {
  margin: 0 0 0.5rem;
  text-align: left;
}

#serviceModalDesc .modal-list-heading {
  margin: 0.5rem 0 0.25rem;
  color: var(--primary-black);
  text-align: left;
}

/* Support-Box – Subheadings & Layout */
.support-box .subheading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-black);
  margin: 1.25rem 0 0.5rem;
}

.support-box .meta {
  font-size: 0.9rem;
  color: var(--medium-gray);
  margin-top: 0.25rem;
}

/* Kontakt-Chips */
.support-box .contact-chips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin: 0.5rem 0 1.2rem;
}

.support-box .chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #f8fafc;
  border: 1px solid rgba(37,99,235,0.12);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.support-box .chip i {
  color: var(--primary-green);
  font-size: 1rem;
}

.support-box .chip a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
}

.support-box .chip:hover {
  transform: translateY(-2px);
  border-color: rgba(37,99,235,0.35);
  box-shadow: 0 8px 20px rgba(37,99,235,0.12);
}

/* Adresse-Block */
.support-box .address-block {
  background: linear-gradient(135deg, rgba(59,130,246,0.06), rgba(52,211,153,0.04));
  border: 1px solid rgba(37,99,235,0.12);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  line-height: 1.5;
}

.leistungenmodal-cta {
  margin-top: 1rem;
  text-align: center;
}

.leistungenmodal-cta-btn {
  display: inline-block;
  padding: 0.3rem 1.6rem;
  border-radius: 9999px;
  background: var(--gradient);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .2px;
  box-shadow: 0 10px 30px rgba(37,99,235,.25);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.leistungenmodal-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(37,99,235,.35);
}

.leistungenmodal-cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 8px 24px rgba(37,99,235,.25);
}

/* Kontaktformular */
.contact-box { position: relative; }

.contact-modal {
  position: absolute;  
  inset: 0;            
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.45);
  z-index: 5;                   
}

.contact-modal[aria-hidden="false"],
.contact-modal.open {           
  display: flex;
}

.contact-modal-content {
  background: #fff;
  color: var(--primary-black);
  border-radius: 12px;
  padding: 20px;
  max-width: 520px;
  width: 92%;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .slotBody .icon-wrapper {
    height: auto;
    min-height: 64px;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .slotBody .service-svg-icon {
    height: 2.5rem;
    width: auto;
    max-width: 48px;
  }

  .slotBody h3 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 0.6rem;
  }

  .slotBody {
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
  }
}