:root {
  /* Primäre Textfarben */
  --color-white:                    #fff;
  --color-light-gray:               #ccc;
  --color-gray:                     #bbb;
  --color-dark-gray:                #333;
  --color-medium-gray:              #444;
  --color-dark-blue:                #0B1C4D;
  --color-orange:                   #FFA15C;
  --color-light-orange:             #ff751f;
  --color-yellow:                   #ffeb3b;
  --color-light-blue:               #1E90FF;
  --color-dark-blue-hover:          #0066ff;

/* Buttons / Hover Effekte */
  --btn-gradient-start:             #ff914d;
  --btn-gradient-end:               #ff6f3c;
  --btn-contact-gradient-start:     #38bdf8;
  --btn-contact-gradient-end:       #0ea5e9;
  --btn-contact:                    #0284c7;
  --btn-success:                    #22c55e;
  --btn-error:                      #ef4444;

    /* Border / Linien */
  --border-accent-orange:           #FFA15C;
  --border-dark-blue:               #0B1C4D;
  --border-green:                   #27ae60;
  --border-green-dark:              #16a085;
  --border-card:                    rgba(0,0,0,0.05);

  /* Hintergründe / Gradients */
  --bg-topbar-footer-gradient: linear-gradient(135deg,          #1e3c72, #2a5298);
  --bg-step-number-gradient: linear-gradient(135deg,            #FFA15C, #0B1C4D);
  --bg-button-gradient: linear-gradient(135deg,                 #0B1C4D, #FFA15C);
  --bg-hero-radial: radial-gradient(circle at 20% 20%,          #eef4ff, #ffffff 70%);
  --bg-card-overlay:                                            rgba(255,255,255,0.6);
  --bg-overlay-dark:                                            rgba(0,0,0,0.2);
  --bg-banner-dark:                                             rgba(51, 43, 1, 0.8);
  --bg-banner-black:                                            rgba(0,0,0,0.7);

  /* Text / Box Shadows */
  --shadow-light:                                               rgba(0,0,0,0.15);
  --shadow-medium:                                              rgba(0,0,0,0.25);
  --shadow-contact-hover:                                       rgba(14,165,233,0.35);
  --shadow-success:                                             rgba(34,197,94,0.3);
  --shadow-error:                                               rgba(239,68,68,0.3);
}


body, html {
    max-width: 100%;
    overflow-x: hidden;
}

.slide-in-right {
    opacity: 0;
    transform: translate3d(40px, 0, 0);
    transition: all 0.6s ease-out;
}

.slide-in-left {
    opacity: 0;
    transform: translate3d(-40px, 0, 0);
    transition: all 0.6s ease-out;
}

.slide-in-right.active,
.slide-in-left.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (max-width: 480px) {
    .slide-in-right {
        transform: translate3d(0px, 0, 0);
    }

    .slide-in-left {
        transform: translate3d(-20px, 0, 0);
    }
}

/* Grundlegende Paragraphen-Styling */
p {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5em;
    /* letter-spacing: 0.5px; */
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    /* transition: all 0.3s ease; */
}

/* Optional: Glas-Hintergrund für spezielle Absätze */
p.glass {
    background: rgba(255, 255, 255, 0.05); 
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Link-Styling in Paragraphen */
p a {
    color: #fd9901;
    text-decoration: underline;
    transition: color 0.3s ease;
}
p a:hover {
    color: #fff;
}

/* Responsive Anpassung */
@media (max-width: 768px) {
    p {
        font-size: 16px;
        line-height: 1.6;
    }
    p.glass {
        padding: 12px 15px;
    }
}


.top-bar {
    width: auto;

    background:
        radial-gradient(circle at 20% 10%, rgba(255,111,60,0.15), transparent 40%),
        radial-gradient(circle at 80% 90%, rgba(37,99,235,0.15), transparent 40%),
        linear-gradient(160deg, #0f172a, #020617);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 20px;
    font-size: 18px;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);

    display: flex;
    justify-content: space-between; /* links/rechts korrekt */
    align-items: center;
}

/* Links: Telefon */
.top-left {
    display: flex;
    align-items: center;
}

.top-left i {
    margin-right: 8px;
    font-size: 20px;
}

.top-left a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

.top-left a:hover {
    color: orangered;
    transform: scale(1.05);
}

.top-right {
    font-weight: 500;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.8px;
}
.top-right:hover {
    color: orangered;
    cursor: default;
    transition: color 0.3s ease;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        text-align: center;
    }
    .top-left, .top-right {
        margin: 5px 0;
    }
}
/* ========================= */

.intro-container h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2B2A29;
    text-transform: uppercase;

}

@media(max-width: 1024px) {
    .intro-container h1 {
        font-size: 2rem;
    }
}

.contact .intro-container h1 {
    margin-top: 10px;
    position: relative;
    background: linear-gradient(135deg, rgba(51, 43, 1, 0.8), rgba(0, 0, 0, 0.7));
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    color: #ccc;
}

/*=== intro-Container ===*/
.intro-container {
    text-align: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    color: #bbb;
    margin-top: 2%;
}


@media (max-width: 840px) {
.intro-container {
    margin-top: 30%;
}

}

.intro-container > h1 {
    font-size: 1.6rem;
    text-transform: uppercase;
}

.intro-container > p {
    font-size: 1.2rem;
}

@media (max-width: 1366px) {

    .intro-container {
        width: 90%;
    }
    .intro-container > p {
        margin-bottom: .5rem;
    }
}

@media (max-width: 1024px) {
    .intro-container {
        width: 100%;
    }
    .intro-container > p {
        margin-bottom: 0;
    }
}

@media (max-width: 1024px) {
    .intro-container {
        margin-bottom: 1rem;
    }
}

.container-text-new, .span-banner1 {
    text-align: center;
}

.container-text-new, .span-banner1 {
    text-align: center;
}

.span-banner1 > strong {
    color: #a1a1a1 !important;
    margin-top: 10px;
}

.span-banner1 {
    margin-top: 10px;
    position: relative;
    background: linear-gradient(135deg, rgba(51, 43, 1, 0.8), rgba(0, 0, 0, 0.7));
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

.span-banner1::before {
    content: "";
    position: absolute;
    background-image: url('https://www.transparenttextures.com/patterns/pw-maze.png');
    opacity: 0.15;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.span-banner1 span {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .span-banner1 {
        font-size: 1.2em;
        padding: 10px 20px;
    }

    .span-banner1 > strong {
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .span-banner1 {
        font-size: 1em;
        padding: 8px 16px;
    }
}

/* VIDEO HINTERGRUND */
#hero-video {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 90vh;
    object-fit: cover;
    z-index: -2;
    overflow: hidden;
    filter: blur(3px) brightness(0.7);
    transition: all 0.5s ease;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(3px) brightness(0.7);
    transition: all 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero-wrapper {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

/* Hero Section (Text) linksbündig */
.hero-section {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding-left: 30px;
    box-sizing: border-box;
}

/* Overlay bleibt wie bisher */
.overlay {
    background: rgba(255, 255, 255, 0.8);
    padding: 80px 60px;
    border-radius: 0 300px 300px 0;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
    height: 400px;
}

.overlay {
    opacity: 0;
    transform: translateX(-80px) scale(0.95);
    filter: blur(10px);
    transition: 
        opacity 0.8s ease,
        transform 1s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.8s ease;
}


.overlay.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
}

/* TEXT ANIMATION (gestaffelt = modern) */
.overlay h1,
.overlay p {
    opacity: 0;
    transform: translateY(30px);
}

.overlay.active h1 {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

/* Text */
.overlay.active p {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.7s;
}

/* KEYFRAMES */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Normaler Content danach */
#content {
    padding: 50px;
}

/* Border nicht Beweglich
.overlay::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 0 310px 310px 0;
    padding: 10px;
    background: linear-gradient(to top,#0B1C4D, #FFA15C);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    z-index: -1;
} */

.overlay::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 0 310px 310px 0;
    padding: 10px;

    background: linear-gradient(
        270deg,
        #0B1C4D,
        #FFA15C,
        #0B1C4D,
        #FFA15C
    );
    background-size: 400% 400%;

    animation: borderFlow 10s linear infinite;
    
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    z-index: -1;
}

@keyframes borderFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.overlay h1 {
    margin: 0 0 15px 0;
    font-family: 'Roboto', sans-serif;
    font-size: 42px;
}

.overlay h1 .blue {
    color: #0B1C4D;
}

.overlay h1 .orange {
    color: #FFA15C;
}

.overlay p {
    margin: 0;
    font-size: 20px;
    color: #0B1C4D;
    font-family: 'Arial', sans-serif;
}

/* Slide-in Text Animation */
.overlay h1,
.overlay p {
    opacity: 0;
    transform: translate3d(-40px, 0, 0);
    transition: all 0.6s ease-out;
}

/* Active Klassen für Animation */
.overlay.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.overlay.active h1,
.overlay.active p {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (max-width: 768px) {
    .hero-section {
        height: 800px;
        padding-left: 15px;
        justify-content: center;
    }

    .overlay {
        padding: 40px 20px;
        border-radius: 0 180px 180px 0;
        max-width: 90%;
        height: 400px;
        margin-right: 20px;
    }

    .overlay::before {
        border-radius: 0 210px 210px 0;
        top: -8px;
        left: -8px;
        right: -10px;
        bottom: -8px;
    }

    .overlay h1 {
        font-size: 35px;
    }

    .overlay p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .overlay {
        transform: translate3d(20px, 0, 0); /* weniger Versatz auf kleineren Geräten */
    }
}

/* SECTION */
.about {
    padding: 40px 20px;
    background: linear-gradient(to bottom, #f4f6fb, #ffffff);
    text-align: center;
}

/* CONTAINER */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.about-header h1 {
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    color: #2B2A29;
}

.about-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
}

.about-header h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #0284c7;
    margin: 8px auto 0 auto;
    border-radius: 2px;
}

.contact-form-section .contact-header p {
    color: #475569;
    font-size: 18px;
}

/* HEADER */
/* .about-header h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2B2A29;
    text-transform: uppercase;
} */

.about-header p {
    font-size: 20px;
    color: #FFA15C;
    margin-bottom: 70px;
}

.about-header p {
    font-size: 24px;
    /* background: rgba(0,0,0,0.5); */
    display: inline-block;
    border-radius: 6px;
}

.team .about-header {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
}

.team .about-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.team .about-header .subtitle {
    font-size: 18px;
    color: #fff;
    background: rgba(0,0,0,0.5);
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

/* GRID */
.about-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* CARD */
.about-card {
    position: relative;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 30px 25px;
    max-width: 320px;
    text-align: left;

    box-shadow: 0 10px 30px rgba(0,0,0,0.9);

    transition: all 0.4s ease;

    opacity: 0;
    transform: translateY(80px) scale(0.9) rotateX(10deg);
    filter: blur(10px);

    transition: 
        opacity 0.8s ease,
        transform 1s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.8s ease;
}

/* HOVER */
.about-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* ANIMATED BORDER */
.about-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 3px;

    background: linear-gradient(270deg, #0B1C4D, #FFA15C, #0B1C4D);
    background-size: 300% 300%;
    animation: borderMove 6s linear infinite;

    -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* TEXT */
.about-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2B2A29;
    text-align: center;
    margin-bottom: 20px;
}

.about-card h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #FFA15C;
    margin: 8px auto 0 auto;
    border-radius: 2px;
}


.about-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

/* SCROLL ACTIVE */
/* AKTIV = smooth erscheinen */
.about-card.show {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0);
    filter: blur(0);
}

.about-card:nth-child(1).show {
    transition-delay: 0.1s;
}

.about-card:nth-child(2).show {
    transition-delay: 0.25s;
}

.about-card:nth-child(3).show {
    transition-delay: 0.4s;
}

/* ANIMATION */
@keyframes borderMove {
0% { background-position: 0% 50%; }
100% { background-position: 100% 50%; }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .about-header h1 {
        font-size: 32px;
    }

    .about-grid {
        flex-direction: column;
        align-items: center;
    }

    .about-card {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .about-header h1 {
        font-size: 28px;
    }
}

@media (max-width: 1224px) {
    .about-card {
        width: 200px;
    }
}

@media (max-width: 864px) {

    .about-grid {
        flex-direction: column;
        align-items: center;
    }

    .about-card {
        max-width: 864px;
        width: 80%;
    }
}

/* === MODERN SERVICES SECTION === */
.services-intro {
    max-width: 700px;
    margin: 20px auto 50px auto;
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    }
    .services {
    padding: 10px 10px;
    background: url('../images/Hintergrund.jpg') center/cover no-repeat;
    text-align: center;
    position: relative;

}

.services::before {
    content: "";
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.09);
    z-index: 0;
}

/* Header */
.intro-container {
    position: relative;
    z-index: 1;
    margin-bottom: 60px;
}

.intro-container h1 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 1px;
    animation: fadeInDown 1s ease forwards;
    z-index: 1;
    margin-top: 0;
}

/* Row */
.service-row {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

/* === SERVICE-BOX ICONS MODERN === */
.service-box {
    flex: 0 1 250px;
    max-width: 300px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 25px;
    padding: 30px 20px 20px 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.6s ease, opacity 0.6s ease, box-shadow 0.4s ease;
    position: relative;
}

/* Icon oben */
.service-icon {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Scroll Animation */
.service-box.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effekt */
.service-box:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.5);
}


.service-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2B2A29;
    text-align: center;
    margin-bottom: 20px;
}

.service-box h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #FFA15C;
    margin: 8px auto 0 auto;
    border-radius: 2px;
}


.service-box p {
    font-size: 16px;
    line-height: 1.6;
    color: #2B2A29;
    margin-bottom: 20px;
}

.service-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    background: linear-gradient(135deg, #0B1C4D, #FFA15C);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255,161,92,0.5);
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .intro-container h1 { font-size: 36px; }
  .service-box { max-width: 250px; padding: 25px 15px; }
  .service-btn { padding: 10px 25px; }
}

@media (max-width: 480px) {
  .intro-container h1 { font-size: 23px; }
  .service-box { max-width: 100%; padding: 20px; }
  .service-btn { padding: 8px 20px; }
}


.mobile-modern-structured {
  display: none;
  padding: 25px;
  font-family: 'Inter', sans-serif;
  color: #1E3C72;
  background: linear-gradient(160deg,#eef4ff,#ffffff);
}

.mobile-modern-structured h2 {
  font-size: 1.7rem;
  text-align: center;
  margin-bottom: 15px;
  font-weight: 700;
  color: #2B2A29;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.mobile-modern-structured p {
  text-align: center;
  margin-bottom: 30px;
  color: #475569;
  font-size: 1rem;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 50px;
}

/* Timeline Pfad */
.timeline-path {
  position: absolute;
  left: 30px;
  top: 0;
  width: 6px;
  height: 100%;
  background: #e0e0e0;
  border-radius: 3px;
  z-index: 0;
  overflow: hidden;
}

.timeline-path-active {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #65a6fe, #ff914d);
  border-radius: 3px;
  transition: height 0.6s ease-out;
}

/* Timeline Card */
.timeline-card {
  position: relative;
  margin-bottom: 30px;
  border-radius: 20px;
  overflow: visible;
  z-index: 1;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 15px 20px;
    z-index: 2;
    position: relative;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.25);
    transform: translateY(-10px);

}
/* Icon - Hexagon mit Gradient */
.timeline-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #3b82f6;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.timeline-header:hover .timeline-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* Header Text */
.timeline-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #2B2A29;
}

/* Body */
.timeline-body {
  background: #fff;
  padding: 25px 20px 20px 20px;
  border-radius: 12px;
  color: #475569;
  box-shadow: 0 10px 35px rgba(0,0,0,0.05);
  position: relative;
  top: -12px;
}

.timeline-body ul {
  padding-left: 18px;
  line-height: 1.7;
}

.timeline-body ul ul {
  margin-left: 15px;
  list-style-type: circle;
}


/* Desktop Embed */
.canva-embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%; /* 16:9 Ratio */
    margin: 1.6em 0 0.9em 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(63,69,81,0.16);
}

/* Mobile Modern Structured */
.mobile-modern-structured {
    display: none;
    padding: 20px;
    font-family: 'Inter', sans-serif;
    color: #1E3C72;
    background: #f3f4fa;
    font-size: 15px;
}

/* Responsive: Mobile */
@media (max-width: 768px) {
    /* Desktop Canva-Embed ausblenden */
    .canva-embed {
        display: none;
    }

    /* Mobile Timeline anzeigen */
    .mobile-modern-structured {
        display: block;
    }
}

/* ===== TEAM SECTION START ===== */
.team {
    padding: 80px 20px;
    text-align: center;
    background: url('../images/Hintergrund.jpg') center/cover no-repeat;
    color: #2B2A29;
    position: relative;
}

.team::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.09);
    z-index: 0;
}

.team .about-header {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
}

.team .about-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.team .about-header .subtitle {
    font-size: 18px;
    color: #fff;
    background: rgba(0,0,0,0.5);
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.team-info {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 20px;
    line-height: 1.6;
    color: #2B2A29;
}


.btn-team {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    background: linear-gradient(135deg, #0B1C4D, #FFA15C);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-team:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255,161,92,0.5);
}

/* ===== MODERNE FS-ANIMATION ===== */
.fs-animate-up {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(4px);
    transition: all 0.8s cubic-bezier(0.22,1,0.36,1);
    transition-delay: var(--delay, 0s);
}

.fs-animate-up.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Optional: leichte „Pop“-Bewegung beim Eintreten */
@keyframes fadeInUpModern {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        filter: blur(4px);
    }
    60% {
        opacity: 1;
        transform: translateY(-5px) scale(1.02);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}
/* RESPONSIVE */
@media (max-width: 768px) {
    .team .about-header h1 {
        font-size: 36px;
    }
    .team-info {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .team .about-header h1 {
        font-size: 28px;
    }
    .team-info {
        font-size: 17px;
    }
}


/* === HEADER BANNER === */
/* === ALT ===
 .header-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#banner-slider {
    width: 100%;
    height: 480px;
    position: relative;
}

.slider-item {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slider-item.pkw-img {
    background-image: url('../images/banner/ueber-uns.png');
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background: rgba(0, 0, 0, 0.4);
    
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
} */

.header-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 7%;
}

.banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 480px){
    .header-banner {
        margin-top: 15%;
    }
}



/* Weißer Hintergrund über Hero */
.training-process {
    background-color: #fff;
    padding: 0;
}

/* Timeline Container rechts */
.process-timeline {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-right: 30px;
    max-width: 400px;
}

/* Schritt Box */
.process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* Nummer Box */
.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFA15C, #0B1C4D);
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Info Box */
.step-info h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #0B1C4D;
}
.step-info ul {
    margin: 0;
    padding-left: 20px;
    line-height: 1.5;
    color: #333;
    list-style-type: disc;
}

/* Responsive */
@media (max-width: 1024px) {
    .process-timeline {
        position: static;
        transform: none;
        max-width: 100%;
        padding: 30px;
    }

    .process-step {
        flex-direction: column;
        gap: 10px;
    }
}

#footer {
    position: relative;
    padding: 90px 0 40px;
    font-family: 'Inter', sans-serif;
    color: #e5e7eb;

    background:
        radial-gradient(circle at 15% 20%, rgba(37,99,235,0.25), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(255,111,60,0.25), transparent 45%),
        radial-gradient(circle at 50% -10%, rgba(255,255,255,0.08), transparent 60%),
        linear-gradient(180deg,#020617,#030712 60%,#000);

    border-top: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
}

#footer::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            120deg,
            rgba(37,99,235,0.08),
            rgba(255,111,60,0.08),
            rgba(37,99,235,0.08)
        );

    background-size: 200% 200%;
    animation: auroraMove 12s ease infinite;

    pointer-events: none;
}

@keyframes auroraMove {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}


.footer-container {
    backdrop-filter: blur(16px);
    background: rgba(255,255,255,0.04);

    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 22px;

    padding: 50px;
}
/* Altes Design geändert am 08.03.2026
.footer-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
} */

.footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-col {
    flex: 1 1 220px;
    min-width: 220px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 800;
    position: relative;
    color: #ccc;
}

.footer-col h4 i {
    margin-right: 8px;
    color: #f97f00;
}

.footer-col p,
.footer-col li {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-col a {
    color: #ff7f00;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col a:hover {
    color: #e65c00;
    text-decoration: underline;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #bbb;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    border-top: 2px solid #e0e0e0;
    padding-top: 20px;
    flex-wrap: wrap;
}

.footer-bottom span {
    color: #bbb;
    font-size: 14px;
}

.footer-bottom .social-icons a {
    margin-left: 15px;
    color: #ff7f00;
    font-size: 20px;
    transition: 0.3s;
}

.footer-bottom .social-icons a:hover {
    color: #e65c00;
    transform: scale(1.2);
}

.footer-map-wide {
    width: 100%;
    margin: 20px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.footer-map-wide iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 15px;
}

/* WhatsApp spezifisch */
.whatsapp-link {
    color: #25D366;
    font-weight: bold;
}

.whatsapp-link:hover {
    color: #1ebe5d;
}



/* Responsiv */
@media (max-width: 768px) {
    .footer-row {
        flex-direction: column;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .footer-bottom .social-icons a {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media (max-width: 480px) {
  .footer-col {
      flex: 1 1 100%;
      min-width: auto;
  }

}



/* === NEUE TRENNUNG ===
.team-curve-line {
  position: relative;
  width: 100%;
  height: 100px;
  overflow: visible;
  margin: 0;
}

.team-curve-line svg {
  width: 100%;
  height: 100%;
  display: block;
}

.curve-path {
  fill: transparent;
  stroke: #2563EB;
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;

  stroke-dasharray: 2500;
  stroke-dashoffset: 2500;
  transition: stroke-dashoffset 2.5s ease-in-out;
}

@media (max-width: 768px) {
  .team-curve-line {
    height: 120px;
  }

  .curve-path {
    stroke-width: 6;
  }
} */


/* === Abstand zwischen container === */
.section-divider {
    position: relative;
    height: 40px;
    overflow: hidden;
    margin: 10px 0;
    background: #2B2A29;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 5px;
    background: repeating-linear-gradient(
        to right,
        rgb(255, 255, 255) 0,
        rgb(189, 189, 189) 15px,
        transparent 15px,
        transparent 30px
    );
    background-size: 60px 5px;
    transform: translateY(-50%);
    animation: dashMove 2s linear infinite;
}

/* Definiert die Animation für die Bewegung der Linie */
@keyframes dashMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 60px 0;
    }
}

/* =======IMPRESSUM======= */

/* === IMPRESSUM SECTION === */
.impressum {
    padding: 80px 20px;
    background: #f9fafc; /* dezenter Hintergrund */
    display: flex;
    justify-content: center;
    text-align: left;
    font-family: 'Arial', sans-serif;
    color: #2B2A29;
}

/* Container zentriert */
.impressum-container {
    max-width: 900px;
    width: 100%;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
    border-radius: 25px;
    padding: 50px 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* Header */
.impressum-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #0B1C4D;
    text-align: center;
}

/* Sections */
.impressum-section {
    margin-bottom: 40px;
    position: relative;
    padding-left: 15px;
}

/* Section Titel */
.impressum-section h2 {
    font-size: 22px;
    font-weight: 600;
    color: #FFA15C;
    margin-bottom: 12px;
    position: relative;
}

/* Optional: kleine Linie unter Titel */
.impressum-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0B1C4D, #FFA15C);
    margin-top: 6px;
    border-radius: 2px;
}

/* Paragraph */
.impressum-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #2B2A29;
}

/* Links */
.impressum-section a {
    color: #0B1C4D;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.impressum-section a:hover {
    color: #FFA15C;
}

/* Responsive */
@media (max-width: 768px) {
    .impressum-container {
        padding: 30px 20px;
    }

    .impressum-header h1 {
        font-size: 28px;
    }

    .impressum-section h2 {
        font-size: 20px;
    }

    .impressum-section p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .impressum {
        padding: 50px 15px;
    }
}

/* ======Datenschutz ========== */

/* Datenschutz Sektion */
.datenschutz {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.datenschutz-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    color: #2c3e50;
}

.datenschutz-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.datenschutz-section {
    background-color: #f1f5f8;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #27ae60;
}

.datenschutz-section h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #16a085;
}

.datenschutz-section p,
.datenschutz-section ul {
    margin: 0;
    padding-left: 1em;
}

.datenschutz-section a {
    color: #16a085;
    text-decoration: none;
}

.datenschutz-section a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .datenschutz-header h1 {
        font-size: 2rem;
    }
    .datenschutz-section h2 {
        font-size: 1.25rem;
    }
}

/* ====== FAQ =========== */

/* === FAQ ACCORDION MIT LINIE UND PFEIL === */
.faq {
    padding: 10px 20px;
    background: #f4f6f9;
    display: flex;
    justify-content: center;
    text-align: left;
    font-family: 'Arial', sans-serif;
    color: #2B2A29;
}

.faq-container {
    max-width: 900px;
    width: 100%;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
    border-radius: 25px;
    padding: 50px 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.faq-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #0B1C4D;
    text-align: center;
}

.faq-section {
    margin-bottom: 20px;
    position: relative;
}

/* Frage als Button */
.faq-question {
    width: 100%;
    background: transparent;
    color: #0B1C4D;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 20px;
    border: none;
    border-left: 5px solid #FFA15C;
    text-align: left;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '►';
    font-size: 18px;
    transition: transform 0.3s ease;
    color: #ff751f;
}

.faq-question.open::after {
    transform: rotate(90deg);
}

/* Antwortbereich */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
    margin-top: 5px;
}

.faq-answer.active {
    padding: 15px 20px;
    max-height: 500px;
}

.faq-answer p {
    font-size: 16px;
    line-height: 1.8;
    color: #2B2A29;
}

.faq-answer a {
    color: #0B1C4D;
    text-decoration: none;
}

.faq-answer a:hover {
    color: #ff751f;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-container {
    padding: 30px 20px;
    }

    .faq-header h1 {
    font-size: 28px;
    }

    .faq-question {
        font-size: 16px;
        padding: 12px 15px;
    }

    .faq-answer p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .faq {
        padding: 50px 15px;
    }
}


/* ===== FÜHRERSCHEIN-SEITE ===== */
/* ROOT COLORS */
:root {
    --primary: #1E90FF;
    --primary-dark: #0066ff;
    --text-dark: #0B1C4D;
    --text-light: #5f6b7a;
}

/* SECTION */
.fs-hero {
    /* padding: 100px 0 60px; */
    background: radial-gradient(circle at 20% 20%, #eef4ff, #ffffff 70%);
}

/* CARD */
.fs-hero-card {
    border-radius: 32px;
    padding: 60px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.6);
    position: relative;
    overflow: hidden;
}

/* ==== WEG MACHEN ===== subtle gradient glow */
/* .fs-hero-card::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(30,144,255,0.25), transparent 70%);
    top: -100px;
    right: -100px;
} */

/* GRID */
.fs-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 60px;
}

/* TEXT */
.fs-hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.fs-hero-text h1 span {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fs-hero-text p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 500px;
}

/* BADGE */
.fs-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(30,144,255,0.1);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* BUTTONS */
.fs-hero-actions {
    display: flex;
    gap: 8px;
}

.btn-main {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 15px 30px rgba(30,144,255,0.3);
    transition: all 0.3s ease;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(30,144,255,0.4);
}

/* ghost button */
.btn-ghost {
    padding: 14px 26px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    background: rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background: rgba(0,0,0,0.08);
}

/* IMAGE */
.fs-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: visible;
    
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    transform: perspective(1000px) rotateY(-6deg);
    transition: 0.4s ease;
}

.fs-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* Bild sauber skalieren */
.fs-image-wrapper img {
    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 600px;

    display: block;
}

/* MOBILE */
@media (max-width: 992px) {

    .fs-hero {
        padding: 60px 0;
    }

    .fs-hero-card {
        padding: 35px;
    }

    .fs-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .fs-hero-text h1 {
        font-size: 32px;
    }

    .fs-hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .fs-image-wrapper {
        transform: none;
    }
}

/* ===== Grundzustand (vor dem Scrollen) ===== */
.fs-animate-left,
.fs-animate-right {
    opacity: 0;
}

/* Links */
.fs-animate-left {
    transform: translateX(-80px) scale(0.95);
}

/* Rechts */
.fs-animate-right {
    transform: translateX(80px) scale(0.95);
}

/* ===== Animation beim Scrollen ===== */
.fs-animate-left.in-view {
    animation: slideInLeft 0.8s cubic-bezier(0.22,1,0.36,1) forwards;
}

.fs-animate-right.in-view {
    animation: slideInRight 0.8s cubic-bezier(0.22,1,0.36,1) forwards;
}

/* ===== Desktop Keyframes ===== */
@keyframes slideInLeft {
    0% { opacity:0; transform: translateX(-80px) scale(0.95);}
    60% { opacity:1; transform: translateX(10px) scale(1.02);}
    100% { opacity:1; transform: translateX(0) scale(1);}
}

@keyframes slideInRight {
    0% { opacity:0; transform: translateX(80px) scale(0.95);}
    60% { opacity:1; transform: translateX(-10px) scale(1.02);}
    100% { opacity:1; transform: translateX(0) scale(1);}
}

/* ===== Mobile Keyframes und Transform ===== */
@media (max-width: 992px) {
    .fs-animate-left { transform: translateX(-40px) scale(0.97); }
    .fs-animate-right { transform: translateX(40px) scale(0.97); }

    @keyframes slideInLeft {
        0% { opacity:0; transform: translateX(-40px) scale(0.97); }
        60% { opacity:1; transform: translateX(5px) scale(1.01); }
        100% { opacity:1; transform: translateX(0) scale(1); }
    }

    @keyframes slideInRight {
        0% { opacity:0; transform: translateX(40px) scale(0.97); }
        60% { opacity:1; transform: translateX(-5px) scale(1.01); }
        100% { opacity:1; transform: translateX(0) scale(1); }
    }
}

/* ===== ICON POP EFFECT ===== */
.class-btn.active .class-icon {
    animation: popIn 0.5s ease forwards;
}


/* Überschrift & Text */
.fuehrerschein h1 {
    font-size: 36px;
    font-weight: 700;
    color: #0B1C4D;
    margin-bottom: 5px;
    font-family: 'Inter', sans-serif;
}

.fuehrerschein p {
    font-size: 16px;
    color: #6B7C93;
    margin-bottom: 30px;
    font-family: 'Inter', sans-serif;
}

/* Gesamt-Layout */
.fuehrerschein-content {
    display: flex;
    gap: 40px;
    margin: 3%;
    flex-wrap: wrap;
}

/* ===== Linke Seite: Klassen ===== */
.fuehrerschein-classes {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 280px;
    margin-bottom: 0;
}

/* ===== Klasse Button (Floating Card Style) ===== */
.class-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    border: none;
    border-radius: 20px;
    background-color: #fff;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #1e2d3b;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
}

/* Hover Effekt - subtil, mehr Tiefe */
.class-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15), 0 6px 15px rgba(0,0,0,0.08);
}

/* Aktiver Button - richtig hervorheben */
.class-btn.active {
    background: linear-gradient(135deg, #ff914d, #ff6f3c);
    color: #fff;
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25), 0 10px 20px rgba(0,0,0,0.12);
}

/* ===== Icon Design ===== */
.class-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background-color: #6ad572;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    object-fit: contain;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0,0,0,0.12);
}

/* Icon Animation bei aktivem Button */
.class-btn.active .class-icon {
    transform: scale(1.25) rotate(5deg);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

/* Optional: kleiner Pop-Effekt beim Hover */
.class-btn:hover .class-icon {
    transform: scale(1.15);
    box-shadow: 0 6px 15px rgba(0,0,0,0.18);
}

/* ===== Mobile Responsiv ===== */
@media (max-width: 992px) {
    .fuehrerschein-classes {
        flex-direction: row;
        gap: 15px;
        overflow-x: auto;
        width: 100%;
        padding: 10px 0;
    }

    .class-btn {
        flex: 1 0 auto;
        justify-content: center;
        font-size: 16px;
        padding: 14px 16px;
    }

    .class-icon {
        width: 38px;
        height: 38px;
        padding: 6px;
    }
}

/* ===== Mobile: Moderne linke Seite (.fuehrerschein-classes) ===== */
@media (max-width: 992px) {
    .fuehrerschein-classes {
        flex-direction: row;
        overflow-x: auto;
        width: 100%;
        gap: 16px;
        padding: 12px 0;
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.12), 0 5px 15px rgba(0,0,0,0.08);
        margin-bottom: 20px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    /* Scrollbar optional schön */
    .fuehrerschein-classes::-webkit-scrollbar {
        height: 6px;
    }
    .fuehrerschein-classes::-webkit-scrollbar-thumb {
        background: rgba(30,60,114,0.25);
        border-radius: 3px;
    }

    /* Buttons innerhalb */
    .class-btn {
        flex: 0 0 auto;                /* verhindert schrumpfen */
        min-width: 140px;               /* einheitliche Größe */
        justify-content: center;
        padding: 14px 16px;
        border-radius: 18px;
        background-color: #fff;
        box-shadow: 0 6px 15px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
        scroll-snap-align: start;
    }

    /* Hover / Active Effekte */
    .class-btn:hover {
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 12px 28px rgba(0,0,0,0.12), 0 6px 16px rgba(0,0,0,0.08);
    }

    .class-btn.active {
        transform: translateY(-4px) scale(1.05);
        background: linear-gradient(135deg, #ff914d, #ff6f3c);
        color: #fff;
        box-shadow: 0 18px 36px rgba(0,0,0,0.18), 0 9px 22px rgba(0,0,0,0.12);
    }
}


/* ===== FÜHRERSCHEIN INFO ===== */
.fuehrerschein-info {
    flex: 1;
    background: #ffffff;
    border-radius: 30px;
    padding: 35px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25), 0 15px 30px rgba(0, 0, 0, 0.2); /* Starker, tiefer Schatten */
    transition: all 0.4s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
    color: #333;
}

/* Optional: Hover-Effekt für noch mehr Tiefe */
.fuehrerschein-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3), 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Sanfter Farbverlauf hinter dem Info-Container */
.fuehrerschein-info::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    opacity: 0.15;
    transform: rotate(25deg);
    pointer-events: none;
}

/* Info Text & Animation */
.info {
    display: none;
    animation: fadeInSlide 0.5s ease forwards;
    color: #333;
    font-family: 'Inter', sans-serif;
}

.info.active {
    display: block;
}

/* ===== Header Styling ===== */
.info > header {
    font-size: 26px;
    font-weight: 700;
    color: #1E3C72;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    position: relative;
}

/* Optional: kleiner Akzent-Strich links vom Header */
.info > header::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background-color: #ff914d;
    border-radius: 2px;
}
/* Listen Styling */
.fuehrerschein-info ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Hauptpunkte mit <strong> hervorheben */
.fuehrerschein-info ul li > strong {
    color: #ff914d;
    font-weight: 700;
}

/* Unterpunkte (nested ul) */
.fuehrerschein-info ul li ul {
    padding-left: 20px;
    gap: 8px;
}

.fuehrerschein-info ul li ul li {
    color: #1e2d3b;
    font-weight: 500;
    font-size: 15.5px;
    line-height: 1.5;
    position: relative;
    padding-left: 18px;
}

/* Custom Bulletpoints für Unterpunkte */
.fuehrerschein-info ul li ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #1E3C72; /* kleine Akzentfarbe */
    font-size: 14px;
}
/* Kontakt-Button */
.contact-btn {
    margin-top: 25px;
    padding: 14px 30px;
    border: 2px solid #1E90FF;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    font-weight: 700;
    color: #1E90FF;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #1E90FF;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(30,144,255,0.5);
}

/* ===== ANIMATION ===== */
@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .fuehrerschein-content {
        flex-direction: column;
    }

    .fuehrerschein-classes {
        flex-direction: row;
        overflow-x: auto;
        width: 100%;
        margin-bottom: 20px;
    }

    .class-btn {
        flex: 1 0 auto;
        justify-content: center;
    }

    .fuehrerschein-info {
        padding: 25px;
        border-radius: 24px;
        margin-top: 20px;
    }

    .contact-btn {
        width: 100%;
        text-align: center;
    }
}

.fuehrerschein-info .info {
    display: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.fuehrerschein-info .info.active {
    display: block;
}

#fs-section {
    scroll-margin-top: 150px;
}

/* ============ Video Header Banner ============= */
.header-banner-video {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    border-radius: 30px;
    margin-bottom: 40px;
}

.header-video-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Video füllt den Container */
    transform: translate(-50%, -50%);
    z-index: 1;
    filter: brightness(0.6); /* dunkler overlay Effekt */
}

.header-overlayAufVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    color: #fff;
}

.header-overlayAufVideo h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.header-overlayAufVideo p {
    font-size: 1.25rem;
    color: #e0e0e0;
    max-width: 700px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .header-banner-video {
        height: 40vh;
        border-radius: 20px;
    }

    .header-overlayAufVideo h1 {
        font-size: 2rem;
    }

    .header-overlayAufVideo p {
        font-size: 1rem;
    }
}



/* === KONTAKT-DUNKLE-VERSION ===
.contact-section {
    padding: 80px 20px;
    background: radial-gradient(circle at top, #0f172a, #020617);
    color: white;
    overflow: hidden;
    margin-top: 10%;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeUp 1s ease forwards;
}

.contact-header h2 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-header p {
    color: #94a3b8;
    font-size: 16px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.contact-card {
    position: relative;
    padding: 30px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.1);
    text-decoration: none;
    color: white;
    transition: all 0.4s ease;
    overflow: hidden;
}

.contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(56,189,248,0.3), transparent);
    opacity: 0;
    transition: 0.4s;
}

.contact-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(56,189,248,0.2);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
}

.contact-icon img {
    width: 28px;
    filter: brightness(0) invert(1);
}

.contact-card:hover .contact-icon {
    transform: rotate(6deg) scale(1.1);
}

.contact-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.contact-action {
    color: #38bdf8;
    font-weight: 500;
    margin-bottom: 10px;
    transition: 0.3s;
}

.contact-card:hover .contact-action {
    letter-spacing: 1px;
}

.contact-desc {
    color: #94a3b8;
    font-size: 14px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-card {
    animation: fadeUp 0.8s ease forwards;
}

.contact-card:nth-child(1) { animation-delay: 0.2s; }
.contact-card:nth-child(2) { animation-delay: 0.4s; }
.contact-card:nth-child(3) { animation-delay: 0.6s; }

@media(max-width: 600px){
    .contact-header h2 {
        font-size: 30px;
    }
} */



/* ===== SECTION ===== */
.contact-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    color: #0f172a;
}

/* ===== HEADER ===== */
.contact-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeUp 1s ease forwards;
}

.contact-header h2 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;


}

.contact-header p {
    color: #475569;
    font-size: 16px;
}

/* ===== GRID ===== */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

/* ===== CARD ===== */
.contact-card {
    position: relative;
    padding: 30px;
    border-radius: 20px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0,0,0,0.05);
    text-decoration: none;
    color: #0f172a;
    transition: all 0.4s ease;
    overflow: hidden;
}

/* Soft Glow (hell angepasst) */
.contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(56,189,248,0.2), transparent);
    opacity: 0;
    transition: 0.4s;
}

/* Hover */
.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.contact-card:hover::before {
    opacity: 1;
}

/* ===== ICON ===== */
.contact-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

/* Icon Hover */
.contact-card:hover .contact-icon {
    transform: rotate(6deg) scale(1.1);
}

/* ===== TEXT ===== */
.contact-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.contact-action {
    color: #0284c7;
    font-weight: 500;
    margin-bottom: 10px;
    transition: 0.3s;
}

.contact-card:hover .contact-action {
    letter-spacing: 1px;
}

.contact-desc {
    color: #64748b;
    font-size: 14px;
}

/* ===== ANIMATION ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-card {
    animation: fadeUp 0.8s ease forwards;
}

.contact-card:nth-child(1) { animation-delay: 0.2s; }
.contact-card:nth-child(2) { animation-delay: 0.4s; }
.contact-card:nth-child(3) { animation-delay: 0.6s; }

/* ===== MOBILE ===== */
@media(max-width: 600px){
    .contact-header h2 {
        font-size: 30px;
    }

    .kontaktimg {
        margin-top: 0;
    }

}

/* -------------------- Formular Sektion -------------------- */
.contact-form-section {
    padding: 60px 20px;
    background-color: #f8fafc;
    color: #0f172a;
    font-family: 'Inter', sans-serif;
}

/* Header */
.contact-form-section .contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-form-section .contact-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
}

.contact-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #0284c7;
    margin: 8px auto 0 auto;
    border-radius: 2px;
}

.contact-form-section .contact-header p {
    color: #475569;
    font-size: 18px;
}

/* -------------------- Formular -------------------- */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeUp 1s ease forwards;
}

.contact-form .form-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-form input,
.contact-form textarea {
    flex: 1;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    font-size: 16px;
    color: #0f172a;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 6px 16px rgba(2,132,199,0.3);
}

/* Textarea */
.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Button */
.contact-form button {
    padding: 15px 30px;
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(14,165,233,0.35);
}

/* Fade-Up Animation für Formular */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px);}
    to { opacity: 1; transform: translateY(0);}
}

/* -------------------- Success / Error Message -------------------- */
.contact-message {
    display: none;
    max-width: 600px;
    margin: 20px auto 0 auto;
    padding: 20px 30px;
    border-radius: 15px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0; /* initial für Animation */
}

.contact-message.success {
    background-color: #22c55e;
    color: #fff;
    box-shadow: 0 8px 20px rgba(34,197,94,0.3);
}

.contact-message.error {
    background-color: #ef4444;
    color: #fff;
    box-shadow: 0 8px 20px rgba(239,68,68,0.3);
}

/* Fade-In-Up Animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px);}
    to { opacity: 1; transform: translateY(0);}
}

/* -------------------- Responsive -------------------- */
@media (max-width: 768px){
    .contact-form .form-row {
        flex-direction: column;
    }
    .contact-form-section .contact-header h2 {
        font-size: 28px;
    }
}

/* Initial versteckt für Scroll-Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

/* Wenn sichtbar */
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Success/Error Message (bleibt gleich) */
.contact-message {
    display: none;
    max-width: 600px;
    margin: 20px auto 0 auto;
    padding: 20px 30px;
    border-radius: 15px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0; /* für Animation */
    transition: all 0.6s ease-out;
}

.contact-message.success {
    background-color: #22c55e;
    color: #fff;
    box-shadow: 0 8px 20px rgba(34,197,94,0.3);
}

.contact-message.error {
    background-color: #ef4444;
    color: #fff;
    box-shadow: 0 8px 20px rgba(239,68,68,0.3);
}

/* Wenn die Meldung angezeigt wird */
.contact-message.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.news-ticker {
    width: 100%;
    background: #FFA15C;
    overflow: hidden;
    white-space: nowrap;
    border-top: 2px solid #222;
    border-bottom: 2px solid #222;
    font-weight: 700;
}
    .news-ticker ~ .textblock {
    margin-bottom: 0;
 }
.news-track {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 22s linear infinite;
}

.news-track span {
    display: inline-block;
    margin-right: 60px;
    font-size: 18px;
    color: #111;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
