@font-face {
    font-family: 'Inter'; 
    src: url('fonts/Inter/static/Inter_18pt-Regular.ttf') format('truetype'); 
    font-weight: 400; 
    font-style: normal; 
  }

  @font-face {
    font-family: 'Sansation'; 
    src: url('fonts/Sansation/Sansation-Bold.ttf') format('truetype'); 
    font-weight: 700; 
    font-style: normal; 
  }

  :root {
    --violet-900: #2b1752; 
    --violet-700: #4b2b8a; 
    --accent-1: #ffd166; 
    --accent-2: #7c5cff; 
    --gradient: linear-gradient(90deg,var(--accent-1),var(--accent-2)); 
    --ink: #f7f8fb; 
    --ink-muted: rgba(239, 227, 249,1); 
    --white: rgba(255,255,255); 
    --glass: rgba(255,255,255,0.08); 
    --shadow: 0 10px 30px rgba(0,0,0,0.5); 
    --e1: cubic-bezier(.2,.9,.1,1); 
  }

  html, body {
    overflow-x: hidden;
    width: 100%;
  }
  
  * {
    box-sizing: border-box;
  }
  *{box-sizing:border-box; margin:0; padding:0}
  body{
    font-family: 'Inter', sans-serif; 
    font-weight: 400; 
    color: var(--ink); 
    background: var(--violet-900); 
    overflow-x:hidden; 
    scroll-behavior:smooth; 
  }

  /* Snap only for hero */
  @media (min-width:1024px){
    body{ scroll-snap-type:y mandatory;  }
    section.snap{ scroll-snap-align:start;  }
  }

  header {
    position: fixed; top: env(safe-area-inset-top, 0); left: 0; right: 0; z-index: 20;
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 40px;
    backdrop-filter: blur(10px);
    background: #5722b4b3;
    transform: translate3d(0,0,0); /* verhindert "wegrutschen" bei Chrome */
    will-change: transform;
  }
  header a{text-decoration:none; color:var(--ink-muted); font-weight:600; margin:0 12px;  color: #ffffff; }
  header a:hover{color:var(--accent-1)}
  .center {
    text-align: center;
  }
  .btn {
    background: var(--gradient);
    color: #1a132e;
    border-radius: 8px;
    padding: 15px 27px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
  }
  a.btn {
    display: inline-block;
    margin: 0 0 -1rem 0;
  }
  .btn.secondary {
    background: transparent;
    color: #ffffff;
    padding: 15px 27px;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: var(--shadow);
    position: relative;
    transition: all .2s ease;
}
.btn.secondary::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 2px;
    background: var(--gradient);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
  }
  .btn.secondary:hover {
    background: var(--gradient);
    color: #1c1132;
    transition: all .2s ease;
  }
  .btn+.secondary {
    margin-left: 1rem;
  }
  @media (max-width: 510px) {
    .btn+.secondary {
      margin-top: 1rem;
      margin-left: 0rem;
    }
  }

  /* --- HEADER --- */
  header {
    position: fixed; top: env(safe-area-inset-top, 0); left: 0; right: 0; z-index: 20;
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 40px;
    backdrop-filter: blur(10px);
    background: #5722b4b3;
    transform: translate3d(0,0,0); /* verhindert "wegrutschen" bei Chrome */
    will-change: transform;
  }
  header a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    margin: 0 12px;
  }
  header a:hover { color: var(--accent-1); }

  .logo {
    height: 70px;
    transition: transform .3s ease;
  }
  .logo:hover { transform: scale(1.03); }

  .btn {
    background: var(--gradient);
    color: #1a132e;
    border-radius: 8px;
    padding: 15px 27px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
  }

  a.btn,
  .btn:hover,
  .support:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  }

  /* --- HAMBURGER --- */
  .hamburger {
    display: none;
    width: 28px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 30;
  }
  .hamburger span {
    display: block;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* active state for burger */
  .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

  /* --- MOBILE NAV OVERLAY --- */
  .mobile-nav {
    position: fixed;
    inset: 0;
    background: rgba(43, 23, 82, 0.97);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 15;
  }
  .mobile-nav.open {
    opacity: 1;
    pointer-events: all;
  }
  .mobile-nav nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
  }
  .mobile-nav a {
    color: #fff;
    font-size: 1.3rem;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
  }
  .mobile-nav a:hover { color: var(--accent-1); }

  .mobile-nav .btn {
    font-size: 1rem;
    padding: 14px 28px;
  }

  /* --- RESPONSIVE --- */
  @media (max-width: 880px) {
    header nav.nav-links { display: none; }
    .hamburger { display: flex; }
    header .btn {
      font-size: 0.85rem;
      padding: 12px 22px;
    }
    header .logo {
      height: 50px; /* gleiche reduzierte GrÃ¶ÃŸe wie beim Scroll-Verkleinern */
    }
  }
  @media (max-width: 480px) {
    .nav-links+.btn {
      display: none;
    }
    .hamburger {
      margin-right: 20px;
    }
    .hero h1 {
      margin-top: 25px;
    }
  }

  /* ====== HERO ====== */
  section.hero{
    height:120vh; 
    display:flex; align-items:center; justify-content:center; 
    position:relative; overflow:hidden; 
    background:linear-gradient(180deg,var(--violet-900),#1a102f); 
    perspective:1000px; 
    margin-top: 85px;
  }
  @media (max-width: 400px) {
    section.hero{
      height:130vh;
    }
  }
  .hero-content{
    text-align:center; 
    z-index:2; 
    max-width:800px; 
    padding:0 20px; 
    transform-style: preserve-3d; 
    transition: transform 0.2s ease-out; 
  }
  .hero h1{
    font-size:clamp(2.2rem,1.8rem + 2.4vw,3.8rem); 
    line-height:1.1; margin-bottom:16px; 
  }
  .hero p{
    color:var(--ink-muted); 
    font-size:1.2rem; 
    margin-bottom:22px; 
  }
  .parallax-bg{
    position:absolute; 
    inset:0; 
    overflow:hidden; 
    z-index:1; 
    transform-style:preserve-3d; 
  }
  .parallax-bg img{
    position:absolute;
    width:100%; 
    height:110%; 
    object-fit:cover; 
    opacity:.6; 
    top:0; left:0; 
  }

  /* ====== SECTION GENERIC ====== */
  
  section{
    min-height:100vh; 
    padding:120px 10vw; 
    display:flex; flex-direction:column; justify-content:center; 
    position:relative; 
    background:linear-gradient(180deg,#1a102f,var(--violet-900)); 
  }
  h1, h2, h3, h4, h5, h6{font-family: 'Sansation', sans-serif;  font-weight: 700; }
  h2{font-size:2rem; margin-bottom:18px; }
  p {
    max-width: 800px;
    line-height: 1.7;
    color: var(--ink-muted);
    padding: 0.75rem 0;
  }
  #studie h1 {
    color: rgb(255, 225, 72);
  }
  #studie ul {
    max-width: 800px;
    line-height: 1.7;
    color: var(--white);
    margin-top: -1.6rem;
    list-style-type: none;
  }
  ul {
    padding-left: 2rem;
  }
  section#content {
    padding-top: 13rem;
  }
  section#content h1,
  section#content h2,
  section#content h3,
  section#content h4,
  section#content h5,
  section#content h6 {
    padding-top: 1rem;
  }
  section a {
    color: var(--accent-1);
    text-decoration: none;
  }
  input[type="url"] {
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: 1px solid #4b5563;
    background: #020617;
    color: #e5e7eb;
    font-size: 0.95rem;
    outline: none;
  }
  button {
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    background: linear-gradient(135deg, #a855f7, #eab308);
    color: #020617;
  }

  /* Reveal Animation */
  .reveal{opacity:0; transform:translateY(40px); filter:blur(8px); }
  .show{opacity:1; transform:none; filter:none; transition:all .9s var(--e1); }

  /* Parallax Deko */
  .circle{
    position:absolute; border-radius:50%; filter:blur(60px); 
    opacity:0.5; z-index:0; 
  }
  .c1{background:var(--accent-2); width:40vw; height:40vw; top:-10vw; left:-15vw; z-index: 0; }
  .c2{background:var(--accent-1); width:30vw; height:30vw; bottom:-8vw; right:-10vw; z-index: 0; }
  .c3{background: var(--accent-2); width: 40vw; height: 40vw; top: -11vw; left: -25vw; position:absolute; z-index: 0; }
  .c4{background: var(--accent-1); width: 26vw; height: 26vw; top: 18w;  right: -8vw; position:absolute; z-index: 0; }

  /* ====== COUNTER SECTION ====== */
  .stats{
    margin-top:40px; 
    display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); 
    gap:24px; 
  }
  .stat{
    background:var(--glass); 
    background-image: linear-gradient(45deg, var(--accent-1) 17%, transparent 17%);
    border-radius:12px; 
    padding:28px; 
    box-shadow:0 10px 30px rgba(0,0,0,0.3); 
    text-align:center; 
    position:relative; 
    overflow:hidden; 
    z-index: 1; 
  }
  .stat *{position:relative; z-index:1}
  .stat .num{
    font-size:2.8rem; 
    font-weight:900; 
    margin-bottom:8px; 
    color:var(--ink); 
  }
  .stat em{color:var(--accent-2); font-style:normal}
  .stat h3{margin-bottom:8px; font-size:1.1rem}
  .stat p{font-size:.95rem; color:var(--ink-muted)}
  .stat p+p {padding: 0;}
  .stat p svg {fill: #eab308; height: 0.9rem;}

  /* ====== SOLUTION SECTION ====== */
  .solution-intro{
    max-width:900px; 
    margin-bottom:50px; 
  }
  .solution-grid{
    display:grid; 
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); 
    gap:24px; 
    margin-bottom:60px; 
  }
  .solution-card{
    background:var(--glass); 
    border-radius:12px; 
    padding:28px; 
    box-shadow:0 10px 30px rgba(0,0,0,0.3); 
    transition:transform .3s ease, box-shadow .3s ease; 
  }
  .solution-card:hover{
    transform:translateY(-6px); 
    box-shadow:0 15px 40px rgba(0,0,0,0.4); 
  }
  .solution-card h3{
    margin-bottom:12px; 
    font-size:1.2rem; 
    color:var(--accent-1); 
  }
  .solution-card p{
    color:var(--ink-muted); 
    font-size:.95rem; 
  }

  /* Solution icons */
  .solution-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:9999px;
    background: linear-gradient(135deg, var(--accent-1), #ff8a00);
    padding:8px;
    margin-bottom:12px;
  }
  .solution-icon img{
    width:28px; height:28px;
    display:block;
  }

  .solution-result{
    background:#1b1235; 
    border-radius:12px; 
    padding:40px; 
    text-align:left; 
    box-shadow:var(--shadow); 
  }
  .solution-result h3{
    color:var(--accent-1); 
    margin-bottom:14px; 
    font-size:1.4rem; 
  }
  .solution-result p{
    color:var(--ink-muted); 
    margin-bottom:20px; 
    line-height:1.5; 
  }
  .solution-result .btn{
    margin-top:10px; 
  }

  /* ====== PRICING SECTION ====== */
  .pricing-section {
    padding: 0px 10vw 60px 10vw;
    background: linear-gradient(180deg, var(--violet-900), #1a102f);
    position: relative;
  }
  .pricing-intro {
    text-align: center; 
    margin-bottom: 60px; 
  }
  .pricing-intro h2 {
    font-size: 2rem; 
    margin-bottom: 18px; 
  }
  .pricing-intro p {
    max-width: 800px; 
    margin: 0 auto;
    color: var(--ink-muted); 
  }
  .pricing-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 24px; 
    margin-bottom: 60px; 
  }
  .pricing-card {
    background: var(--glass); 
    border-radius: 12px; 
    padding: 32px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); 
    text-align: center; 
    position: relative; 
    overflow: hidden; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
  }
  .pricing-card:hover {
    transform: translateY(-6px); 
    box-shadow: 0 15px 40px rgba(0,0,0,0.4); 
  }
  .pricing-card::before {
    content: ""; 
    position: absolute; 
    left: -45%; 
    bottom: -50%; 
    width: 70%; 
    height: 70%; 
    background: var(--accent-1); 
    transform: rotate(45deg); 
    opacity: 0.9; 
    z-index: 0; 
  }
  .pricing-card * {
    position: relative; 
    z-index: 1; 
  }
  .pricing-price {
    font-size: 3rem; 
    font-weight: 900; 
    color: var(--ink); 
    margin-bottom: 8px; 
  }
  .pricing-price sup {
    font-size: 1.5rem; 
    font-weight: 600; 
  }
  .pricing-title {
    font-size: 1.3rem; 
    font-weight: 700; 
    color: var(--accent-1); 
    margin-bottom: 16px; 
  }
  .pricing-features {
    list-style: none; 
    padding: 0; 
    margin: 0 0 24px 0; 
  }
  .pricing-features li {
    margin-bottom: 12px; 
    color: var(--ink-muted); 
    font-size: 0.95rem; 
    line-height: 1.4; 
  }
  .pricing-features li::before {
    content: "✓"; 
    color: var(--accent-2); 
    font-weight: bold; 
    margin-right: 8px; 
  }
  .pricing-description {
    color: var(--ink-muted); 
    font-size: 0.9rem; 
    line-height: 1.5; 
    margin-bottom: 24px; 
  }
  .pricing-cta {
    display: flex; 
    justify-content: center; 
    gap: 16px; 
    flex-wrap: wrap; 
  }
  .pricing-cta .btn {
    flex: 1; 
    min-width: 160px; 
  }

  /* ====== CONTACT SECTION ====== */
  #contact p.reveal {
  margin-bottom: 20px; 
}

  /* ====== FAQ ACCORDION ====== */
  .faq-section {
    margin-top: 60px;
  }
  .faq-intro {
    text-align: center;
    margin-bottom: 40px;
  }
  .faq-intro h2 {
    color: var(--accent-1);
    margin-bottom: 16px;
  }
  .faq-intro p {
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
  }
  .accordion {
    max-width: 800px;
    margin: 0 auto;
  }
  .accordion-item {
    background: var(--glass);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  }
  .accordion-header {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
  }
  .accordion-header:hover {
    background: rgba(255,255,255,0.05);
  }
  .accordion-number {
    color: var(--accent-2);
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 16px;
  }
  .accordion-title {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
  }
  .accordion-toggle {
    font-size: 1.5rem;
    color: var(--accent-1);
    transition: transform 0.3s ease;
  }
  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 24px;
  }
  .accordion-content p {
    padding-bottom: 24px;
    margin: 0;
    line-height: 1.6;
  }
  .accordion-item.active .accordion-toggle {
    transform: rotate(45deg);
  }
  .accordion-item.active .accordion-content {
    max-height: 500px;
  }

  /* ====== EXPERIENCE SECTION CONTACT====== */
  .experience-section {
    margin-top: 80px;
    padding-bottom: 60px;
  }
  .experience-intro {
    text-align: center;
    margin-bottom: 60px;
  }
  .experience-intro h2 {
    color: var(--accent-1);
    margin-bottom: 16px;
  }
  .experience-intro p {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
  }
  .experience-group {
    margin-bottom: 60px;
  }
  .experience-group:last-child {
    margin-bottom: 0;
  }
  .experience-group h3 {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--accent-1);
  }
  .experience-group p {
    text-align: center;
    margin-bottom: 40px;
    font-size: 0.95rem;
    color: var(--ink-muted);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  #contact .experience-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: var(--ink-muted);
    border-radius: 8px;
  }
  .experience-logo {
    height: 60px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
  }
  .experience-logo:hover {
    opacity: 0.8;
    filter: grayscale(40%);
  }
  .experience-logos img.smaller {
    height: 20px;
    filter: grayscale(100%);
  }
  .experience-logos img.smaller:hover {
    filter: grayscale(40%);
  }
  .experience-logos img.bigger {
    height: 40px;
  }
  .experience-logos img {
    height: 30px;
  }
  .experience-group.projects .experience-logo,
  .experience-logos img.bigger {
    opacity: 1;
    filter: grayscale(0%);
  }
  .experience-group.projects .experience-logo:hover,
  .experience-logos img.bigger:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.05);
  }
  /* ====== EXPERIENCE SECTION ABOUT ====== */
  #about .experience-section {
    margin-top: 40px;
  }
  #about .experience-intro {
    text-align: center;
    margin-bottom: 60px;
  }
  #about .experience-intro h2 {
    color: var(--accent-1);
    margin-bottom: 16px;
  }
  #about .experience-intro p {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
  }
  #about .experience-group {
    margin-bottom: 60px;
  }
  #about .experience-group:last-child {
    margin-bottom: 0;
  }
  #about .experience-group h3 {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--accent-1);
  }
  #about .experience-group p {
    text-align: center;
    margin-bottom: 40px;
    font-size: 0.95rem;
    color: var(--ink-muted);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  #about .experience-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    height: 110px;
    margin: 0 auto;
    padding: 1rem 0;
  }
  #about .experience-logo {
    height: 60px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all 0.3s ease;
  }
  #about .experience-logo:hover {
    opacity: 0.8;
    filter: grayscale(40%);
  }
  #about .experience-logos img.smaller {
    height: 20px;
    filter: grayscale(100%);
  }
  #about .experience-logos img.smaller:hover {
    filter: grayscale(40%);
  }
  #about .experience-logos img.bigger {
    height: 40px;
  }
  #about .experience-logos img {
    height: 80px;
  }

  /* ====== FOOTER SECTION ====== */
  footer#footer {
    background: linear-gradient(180deg, rgba(26, 16, 47, 0.9), rgba(43, 23, 82, 0.9)), url('media/Logo/svg/logo fotoBG footer 4.svg') center/cover no-repeat;
    position: relative;
    z-index: 1;
    padding: 40px 10vw;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

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

  .footer-column {
    position: relative;
    z-index: 2;
  }

  .footer-column h4 {
    color: var(--accent-1);
    font-size: 1.2rem;
    margin-bottom: 16px;
    font-weight: 700;
  }

  .footer-column p,
  .footer-column a {
    color: var(--ink-muted);
    text-decoration: none;
    line-height: 1.6;
  }

  .footer-column a:hover {
    color: var(--accent-1);
  }

  .footer-logo {
    height: 60px;
    margin-bottom: 16px;
  }

  .footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-nav li {
    margin-bottom: 8px;
  }

  .footer-nav a {
    color: var(--ink-muted);
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .footer-nav a:hover {
    color: var(--accent-1);
  }
  .support {
    text-align: right;
    margin-right: 9rem;
    transition: transform .2s ease, box-shadow .2s ease;
  }
  .support a.btn {
    text-decoration: none;
  }

  /* ====== CHECKLIST USABILITY PAGE ====== */
  #content.checklist-layout {
    padding-top: 13rem;
  }
  
  .checklist-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
  }
  
  .checklist-image {
    position: relative;
  }
  
  .checklist-image img {
    width: 70%;
    display: block;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
  }
  
  .checklist-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  }
  
  .checklist-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .checklist-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
  }
  
  .checklist-content .btn {
    align-self: flex-start;
    font-size: 1rem;
    padding: 16px 32px;
  }
  
  /* Mobile responsive design */
  @media (max-width: 768px) {
    .checklist-container {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    
    .checklist-content .btn {
      align-self: center;
      width: 100%;
      max-width: 300px;
    }
  }
  
  @media (max-width: 480px) {
    #content.checklist-layout {
      padding-top: 8rem;
    }
    
    .checklist-container {
      gap: 1.5rem;
    }
    
    .checklist-content p {
      font-size: 1rem;
    }
  }

  /* Responsive adjustments for footer background */
  @media (max-width: 768px) {
    footer#footer {
      background-position: center top;
      background-size: cover;
      padding: 40px 5vw;
    }
    .footer-container {
      grid-template-columns: 1fr;
      gap: 30px;
    }
  }

  
  /* -------------------------------------------- */
  /* page/weiterbildung                           */
  /* -------------------------------------------- */

  
  #weiterbildung section.weiterbildung-slider {
    min-height: unset; 
  }
  #weiterbildung section.weiterbildung-slider, #content {
    padding: 120px 10vw 120px 10vw;
  }
  #weiterbildung #content-first {
    padding: 170px 10vw 100px 10vw;
  }
  #weiterbildung h2 {
    margin-bottom: 0;
  }
  #weiterbildung h1 small,
  #weiterbildung h2 small,
  #weiterbildung small {
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    text-shadow: 0 0 4px black;
  }
  #weiterbildung h1.small,
  #weiterbildung h2.small {
    line-height: 1rem;
    margin-bottom: 1rem;
  }
  #weiterbildung h1+h2,
  #weiterbildung h2+h3 {
    padding-top: 0;
  }
  #weiterbildung h1+h2,
  #weiterbildung h2+h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    max-width: 720px;
  }
  #weiterbildung .foerderrechner {
    position: relative;
    width: 100%;
    padding: 15vh 0 0 0;    
    min-height: fit-content;
    overflow: visible;
  }
  #weiterbildung .foerderrechner a {
    position: relative;
    top: -100px;
    display: block;
    width: 100%;
    text-decoration: none;
  }
  #weiterbildung .foerderrechner h2 {
    position: absolute;
    top: 38%;
    right: 31vw;
    transform: translateY(-50%);
    text-align: right;
    font-size: clamp(1.8rem, 5vw, 3.4rem);
    line-height: 1.1;
    text-shadow: 0 0 7px black;
    z-index: 1;
  }
  a.rechner-klein {
    display: block !important;
    margin: 0 0 1rem 0;
  }
  a.rechner-klein svg {
    width: 150px;
  }
  p.absatz2 {
    position: relative;
  }
  a.rechner-klein:hover:after {
    color: #ffd166;
    transition: color .3s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  a.rechner-klein:after {
      content: "Förderung berechnen »";
      top: 70px;
      color: #8ffdff;
      position: absolute;
      font-weight: bold;
      margin: 0 1rem;
      transition: color 1s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  @media (min-width: 590px)  {
    a.rechner-klein {
      float: left;
      padding: .5rem 1.5rem 2rem 0rem;
      display: block !important;
    }
    a.rechner-klein:after {
      content: "Förderung berechnen »";
      top: 230px;
      left: -15px;
      color: #8ffdff;
      position: absolute;
      font-weight: bold;
      margin: 0 1rem;
      transition: color 1s cubic-bezier(0.22, 0.61, 0.36, 1);
    }
    a.rechner-klein svg {
      width: 200px;
    }
  }
  #weiterbildung .foerderrechner a svg {
    padding: 0;
    margin: 0 5vw 4rem auto;
    display: block;
    width: min(40vw, 360px);
    height: auto;
    transform: translateY(-10vh); /* ragt ca. ein Viertel in die Slider-Section hinein */
  }
  #weiterbildung rect.rechner {
    stroke: #ffd1669e;
    stroke-width: 6px;
  }
  #weiterbildung a circle {
    transition: 3s;
  }
  #weiterbildung  a:hover circle {
    fill: rgb(79 198 214);
    transition: 3s;
  }
  #weiterbildung #btn5 {
    transform-origin: 390px 290px;
    animation: press 1.4s infinite ease-in-out;
  }

  /* Mobile / Tablet: vereinfachtes Layout */
  @media (max-width: 768px) {
    #weiterbildung .foerderrechner {
      margin-top: 2rem;
      padding-top: 4rem;
    }
    #weiterbildung .foerderrechner h2 {
      position: static;
      transform: none;
      text-align: center;
      margin: 0 0 1.5rem 0;
      font-size: 1.6rem;
      line-height: 1.2;
    }
    #weiterbildung .foerderrechner a {
      top: auto;
    }
    #weiterbildung .foerderrechner a svg {
      transform: none;
      margin: 0 auto 3rem auto;
      width: min(70vw, 340px);
    }
  }
  @keyframes tap {
    0%   {transform: rotate(0deg);}
    40%  {transform: rotate(14deg);}
    55%  {transform: rotate(16deg);}
    70%  {transform: rotate(14deg);}
    100% {transform: rotate(0deg);}
  }

  @keyframes press {
    0%,40%,100% {transform: scale(1);}
    55%         {transform: scale(0.92);}
  }
  #weiterbildung #btn5:hover {
    fill: var(--accent-1);
  }
  #weiterbildung .btnX:hover {
    fill: #dcb28f;
  }

  /* Weiterbildung-Slider */
  #weiterbildung .weiterbildung-slider {
    margin-bottom: -1.5rem;
    border-radius: 20px;
    background: radial-gradient(circle at top left, rgba(255, 209, 102, 0.24), transparent 55%), radial-gradient(circle at bottom right, rgba(124, 92, 255, 0.32), transparent 55%), rgb(48 28 94 / 90%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
  }

  #weiterbildung .slider-wrapper {
    position: relative;
    margin: 1rem -1rem 0 -1rem;
    padding: 0 1rem;
  }

  #weiterbildung .slider-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 0 2.0rem;
    width: 100%;
    height: auto;
    white-space: nowrap;
  }

  #weiterbildung .slider-track::-webkit-scrollbar {
    height: 6px;
  }
  #weiterbildung .slider-track::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.7);
  }
  #weiterbildung .slider-track::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    border-radius: 999px;
  }

  #weiterbildung .slider-card {
    flex: 0 0 calc(100% - 48px);
    max-width: 420px;
    background: var(--glass);
    border-radius: 16px;
    padding: 1.6rem 1.75rem 1.8rem;
    box-shadow: 0 0px 8px #f7f7f7;
    border: 8px solid rgba(255, 255, 255, 0.06);
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    white-space: normal;
  }

  #weiterbildung .slider-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.18), transparent 55%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  #weiterbildung .slider-card:hover::before {
    opacity: 1;
  }

  #weiterbildung .slider-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--accent-1);
  }

  #weiterbildung .slider-card p {
    font-size: 0.95rem;
    color: var(--ink-muted);
    padding-top: 0.3rem;
  }

  #weiterbildung .slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: rgba(15, 23, 42, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    font-size: 1.4rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
    pointer-events: auto;
  }

  #weiterbildung .slider-button.prev {
    left: -4px;
  }

  #weiterbildung .slider-button.next {
    right: -4px;
  }

  #weiterbildung .slider-button:hover {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: #1a132e;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  }

  #weiterbildung .slider-button:disabled {
    opacity: 0.4;
    cursor: default;
    box-shadow: none;
  }

  /* Responsive Slider Layout */
  @media (min-width: 640px) {
    #weiterbildung .slider-card {
      flex: 0 0 calc(50% - 32px);
    }
  }

  @media (min-width: 1024px) {
    #weiterbildung .weiterbildung-slider {
      padding: 3rem 2.5rem 3.25rem;
    }
    #weiterbildung .slider-card {
      flex: 0 0 calc(33.333% - 32px);
    }
    #weiterbildung .slider-button.prev {
      left: -12px;
    }
    #weiterbildung .slider-button.next {
      right: -12px;
    }
  }

  @media (max-width: 600px) {
    #weiterbildung .weiterbildung-slider {
      padding: 2rem 1.4rem 2.4rem;
      margin-top: 2rem;
    }
    #weiterbildung .slider-wrapper {
      margin: 0 -0.5rem;
      padding: 0 0.5rem;
    }
    #weiterbildung .slider-card {
      flex: 0 0 calc(100% - 32px);
    }
    #weiterbildung .slider-button {
      top: auto;
      bottom: 0.2rem;
      transform: none;
      width: 38px;
      height: 38px;
      font-size: 1.2rem;
      background: rgba(15, 23, 42, 0.95);
    }
    #weiterbildung .slider-button.prev {
      left: 0.2rem;
    }
    #weiterbildung .slider-button.next {
      right: 0.2rem;
    }
  }