:root{
  --bg: #f4f6f8;
  --text: #111827;
  --muted: #667085;
  --accent: #334257;
  --accent-dark: #24364b;
  --card: #ffffff;
  --content-max: 1200px;
  --shadow-soft: 0 12px 32px rgba(0,0,0,.10);
  --strip-height: 72px;
  --strip-radius: 16px;
}

*{
  box-sizing: border-box;
}

html, body{
  height: 100%;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

body::before{
  content: "";
  position: fixed;
  top: 70px;
  right: -120px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(51,66,87,0.20) 0%,
    rgba(51,66,87,0.12) 34%,
    rgba(51,66,87,0.05) 52%,
    rgba(51,66,87,0.00) 76%
  );
  filter: blur(34px);
  pointer-events: none;
  z-index: 0;
}

body::after{
  content: "";
  position: fixed;
  left: -180px;
  bottom: 70px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(36,54,75,0.16) 0%,
    rgba(36,54,75,0.09) 36%,
    rgba(36,54,75,0.04) 54%,
    rgba(36,54,75,0.00) 78%
  );
  filter: blur(38px);
  pointer-events: none;
  z-index: 0;
}

a{
  color: inherit;
  text-decoration: none;
}

img{
  display: block;
  max-width: 100%;
  height: auto;
}

/* ===== MAIN LAYOUT ===== */

.container{
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 72px 20px;
  position: relative;
  z-index: 1;
}

.safe-top{
  padding-top: 98px;
}

.safe-bottom{
  padding-bottom: 110px;
}

.section{
  margin-top: 54px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,.08);
}

h1{
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  font-weight: 800;
}

h2{
  margin: 0 0 18px;
  font-size: 28px;
  color: #0f172a;
}

h3{
  margin: 0 0 8px;
  color: #0f172a;
}

h4{
  margin: 0 0 8px;
  color: #0f172a;
}

p{
  margin: 0 0 12px;
}

.small{
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== BUTTONS ===== */

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  font-weight: 700;
  text-decoration: none;
}

.btn.primary{
  background: #111827;
  color: #fff;
  border-color: #111827;
}

.btn.primary:hover{
  background: #0f172a;
}

.btn.large{
  padding: 16px 28px;
  font-size: 18px;
  border-radius: 16px;
}

/* ===== FIXED STRIPS ===== */

.fixed-strip{
  position: fixed;
  z-index: 1000;
  pointer-events: auto;
}

.fixed-strip-top{
  top: 0;
  left: 0;
}

.fixed-strip-bottom{
  right: 0;
  bottom: 0;
}

.strip-content{
  min-height: var(--strip-height);
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  color: #fff;
  isolation: isolate;
}

/* TOP */

.strip-content-top{
  padding: 8px 28px 10px 18px;
  background: var(--accent-dark);
  border-radius: 0;
  box-shadow: var(--shadow-soft);
}

.strip-content-top::after{
  content: "";
  position: absolute;
  top: 0;
  right: -170px;
  width: 260px;
  height: 100%;
  background: var(--accent-dark);
  clip-path: polygon(0 0, 100% 0, 64% 100%, 0 100%);
  z-index: 0;
}

.strip-nav{
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.strip-nav a{
  color: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.strip-nav a:hover{
  background: rgba(255,255,255,.12);
}

.brand-link-nav{
  font-weight: 800;
  letter-spacing: .02em;
  background: transparent !important;
  border: none !important;
  padding: 10px 12px;
  color: #fff;
}

/* BOTTOM */

.strip-content-bottom{
  min-height: 62px;
  padding: 8px 14px 8px 26px;
  background: var(--accent-dark);
  border-radius: var(--strip-radius) 0 0 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100vw - 120px);
}

.strip-content-bottom::before{
  content: "";
  position: absolute;
  top: 0;
  left: -170px;
  width: 260px;
  height: 100%;
  background: var(--accent-dark);
  clip-path: polygon(36% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

.bottom-actions{
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.bottom-link{
  color: #fff;
  font-weight: 600;
  padding: 6px 8px;
  opacity: .85;
}

.bottom-link:hover{
  opacity: 1;
  text-decoration: underline;
}

/* ===== HERO ===== */

.hero{
  padding-top: 20px;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: start;
}

.hero-copy{
  display: flex;
  flex-direction: column;
}

.hero-copy-top,
.hero-copy-bottom{
  display: block;
}

.badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef2ff;
  color: #1f2a44;
  width: fit-content;
  font-size: 14px;
  margin-bottom: 14px;
}

.lead{
  font-size: 18px;
  color: var(--muted);
  max-width: 70ch;
}

.actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.hero-story{
  margin-top: 22px;
  max-width: 690px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.55;
}

.hero-story p{
  margin: 0 0 14px;
}

.hero-visual{
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.hero-visual img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual-mobile{
  display: none;
  margin: 18px 0;
}

.hero-visual-desktop{
  display: block;
}

/* ===== CONTENT SPLITS ===== */

.content-image-split{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: start;
  margin-top: 18px;
}

.reverse-mobile .content-copy{
  order: 1;
}

.reverse-mobile .content-visual{
  order: 2;
}

.visual-card{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow-soft);
  background: #fff;
}

.visual-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== GRID / CARDS ===== */

.grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 6px;
}

.card{
  grid-column: span 4;
  background: var(--card);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.card p{
  margin: 0;
  color: var(--muted);
}

/* ===== PANELS ===== */

.panel{
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.10);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  background: #fff;
}

/* ===== ABLAUF ===== */

.ablauf-grid{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 18px;
}

.ablauf-step{
  background: linear-gradient(180deg, rgba(36,54,75,0.88), rgba(36,54,75,0.78));
  color: #fff;
  padding: 22px;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.ablauf-step h3{
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
}

.ablauf-step p{
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.ablauf-cta{
  text-align: center;
  margin-top: 28px;
}

/* ===== EINBLICKE FOTO-BAND ===== */

.carousel-wrap{
  position: relative;
}

.stimmen-band{
  overflow: hidden;
  margin-top: 18px;
  border-radius: 24px;
}

.stimmen-track{
  display: flex;
  gap: 18px;
  width: max-content;
  animation: band-scroll 34s linear infinite;
}

.stimmen-band:hover .stimmen-track{
  animation-play-state: paused;
}

.stimmen-photo{
  width: 360px;
  height: 240px;
  flex: 0 0 auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #fff;
}

.stimmen-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: rgba(36,54,75,.92);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

.carousel-arrow:hover{
  background: #2c3c53;
}

.carousel-arrow-left{
  left: -22px;
}

.carousel-arrow-right{
  right: -22px;
}

/* ===== TESTIMONIALS ===== */

.testimonial-block{
  margin-top: 36px;
}

.testimonial-title{
  margin: 0 0 16px;
  font-size: 24px;
  color: #0f172a;
}

.testimonial-marquee{
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 6%, black 94%, transparent 100%);
}

.testimonial-track{
  display: flex;
  gap: 20px;
  width: max-content;
  animation: testimonial-scroll 70s linear infinite;
}

.testimonial-marquee:hover .testimonial-track{
  animation-play-state: paused;
}

.testimonial-card{
  width: 420px;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.testimonial-card p{
  margin: 0 0 10px;
  color: #4b5563;
  line-height: 1.7;
}

.testimonial-meta{
  margin-top: 18px;
  font-weight: 700;
  color: #334257;
}

@keyframes band-scroll{
  0%{
    transform: translateX(0);
  }
  100%{
    transform: translateX(-50%);
  }
}

@keyframes testimonial-scroll{
  0%{
    transform: translateX(0);
  }
  100%{
    transform: translateX(-50%);
  }
}

/* ===== FAQ ===== */

.faq-layout{
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.faq-layout-with-image{
  grid-template-columns: 340px 1fr;
}

.faq-intro{
  display: grid;
  gap: 16px;
  position: sticky;
  top: 110px;
}

.faq-intro h3{
  margin: 0;
}

.faq-portrait{
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.faq-accordion{
  display: grid;
  gap: 12px;
  min-width: 0;
}

.faq-item{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.faq-question{
  width: 100%;
  text-align: left;
  padding: 18px 56px 18px 22px;
  background: var(--accent-dark);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 700;
  position: relative;
  font-family: inherit;
}

.faq-question:hover{
  background: #2c3c53;
}

.faq-question::after{
  content: "▾";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  transition: transform 0.25s ease;
  opacity: .95;
}

.faq-item.active .faq-question::after{
  transform: translateY(-50%) rotate(180deg);
}

.faq-answer{
  max-height: 0;
  overflow: hidden;
  background: #fff;
  transition: max-height 0.3s ease;
}

.faq-answer p{
  padding: 22px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  border-top: 1px solid rgba(0,0,0,.08);
}

/* ===== ABSCHLIESSENDE WORTE ===== */

.closing-section{
  text-align: center;
}

.closing-title{
  font-size: 28px;
  margin-bottom: 24px;
}

.closing-content{
  max-width: 980px;
  margin: 0 auto;
  color: #5b6472;
  font-size: 19px;
  line-height: 1.8;
}

.closing-content p{
  margin: 0 0 14px;
}

.closing-cta{
  margin-top: 34px;
}

.micro-note{
  margin-top: 12px;
  font-size: 15px;
  color: #667085;
}

/* ===== FOOTER ===== */

.footer{
  padding: 26px 20px 40px;
  border-top: 1px solid rgba(0,0,0,.08);
  color: var(--muted);
  position: relative;
  z-index: 1;
  margin-top: 70px;
}

.footer .row{
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer-links{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer a{
  color: var(--muted);
  text-decoration: underline;
}

/* ===== BEWERBUNG / DANKE ===== */

.application-page{
  position: relative;
  min-height: 100vh;
  padding-left: 20px;
  padding-right: 20px;
  background: #f5f7fa;
}

.application-shell{
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 0;
  padding-bottom: 80px;
}

.application-shell.safe-top{
  padding-top: 150px;
}

.application-card{
  width: 100%;
  max-width: 760px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 14px 40px rgba(0,0,0,.14);
  padding: 28px 28px 24px;
  border-radius: 24px;
  border: 1px solid rgba(0,0,0,.08);
}

.application-card-modern{
  border-top: none;
}

.application-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef2ff;
  color: #1f2a44;
  width: fit-content;
  font-size: 14px;
  margin-bottom: 14px;
}

.application-card h1{
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  text-align: left;
  color: var(--text);
}

.application-intro{
  margin: 0 0 18px;
  color: var(--muted);
  text-align: left;
}

.application-intro-modern{
  font-size: 18px;
  line-height: 1.7;
  max-width: 64ch;
}

.application-form-panel{
  margin-top: 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 16px;
}

.application-meta{
  margin-top: 16px;
}

.application-links{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,.08);
  text-align: left;
}

.application-links a{
  color: var(--muted);
  text-decoration: underline;
}

.application-note{
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.application-note a{
  color: var(--muted);
  text-decoration: underline;
}

.thankyou-card{
  max-width: 860px;
}

.thankyou-video-wrap{
  margin-top: 22px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow-soft);
  background: #000;
}

.thankyou-video-wrap wistia-player{
  display: block;
  width: 100%;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1100px){
  .card{
    grid-column: span 6;
  }

  .hero-grid,
  .content-image-split{
    grid-template-columns: 1fr;
  }

  .hero-visual-desktop{
    display: none;
  }

  .hero-visual-mobile{
    display: block;
  }

  .hero-visual-mobile img{
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .strip-content-top::after{
    right: -120px;
    width: 180px;
  }

  .strip-content-bottom::before{
    left: -120px;
    width: 180px;
  }

  .strip-content-bottom{
    max-width: calc(100vw - 80px);
  }
}

@media (max-width: 980px){
  .faq-layout,
  .faq-layout-with-image{
    grid-template-columns: 1fr;
  }

  .faq-intro{
    position: static;
  }
}

@media (max-width: 900px){
  .ablauf-grid{
    grid-template-columns: 1fr;
  }

  .stimmen-photo{
    width: 300px;
    height: 210px;
  }

  .testimonial-card{
    width: 340px;
  }
}

@media (max-width: 820px){
  body::before{
    top: 70px;
    right: -160px;
    width: 520px;
    height: 520px;
    background: radial-gradient(
      circle,
      rgba(51,66,87,0.18) 0%,
      rgba(51,66,87,0.10) 34%,
      rgba(51,66,87,0.04) 54%,
      rgba(51,66,87,0.00) 78%
    );
    opacity: 1;
  }

  body::after{
    left: -190px;
    bottom: 120px;
    width: 440px;
    height: 440px;
    background: radial-gradient(
      circle,
      rgba(36,54,75,0.14) 0%,
      rgba(36,54,75,0.08) 36%,
      rgba(36,54,75,0.03) 56%,
      rgba(36,54,75,0.00) 80%
    );
    opacity: 1;
  }

  .safe-top{
    padding-top: 110px;
  }

  .safe-bottom{
    padding-bottom: 150px;
  }

  .fixed-strip-top{
    top: 0;
    left: 0;
    right: auto;
  }

  .fixed-strip-bottom{
    right: 0;
    bottom: 0;
    left: auto;
  }

  .strip-content-top{
    padding: 12px 20px 12px 14px;
    min-height: auto;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .strip-content-bottom{
    padding: 10px 12px 10px 18px;
    min-height: auto;
    max-width: calc(100vw - 40px);
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .strip-content-top::after{
    display: block;
    right: -70px;
    width: 120px;
    height: 100%;
    clip-path: polygon(0 0, 100% 0, 65% 100%, 0 100%);
  }

  .strip-content-bottom::before{
    display: block;
    left: -70px;
    width: 120px;
    height: 100%;
    clip-path: polygon(35% 0, 100% 0, 100% 100%, 0 100%);
  }

  .strip-nav,
  .bottom-actions{
    width: auto;
    flex-wrap: nowrap;
  }

  .strip-nav a,
  .bottom-link{
    flex: 0 0 auto;
  }

  .application-shell{
    padding-top: 0;
  }

  .application-shell.safe-top{
    padding-top: 150px;
  }

  .application-card{
    padding: 20px 18px 18px;
    border-radius: 18px;
  }

  .application-intro-modern{
    font-size: 16px;
  }

  .footer{
    padding-bottom: 110px;
  }

  .footer .row{
    padding: 0 20px;
  }

  .carousel-arrow{
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .carousel-arrow-left{
    left: -10px;
  }

  .carousel-arrow-right{
    right: -10px;
  }
}

@media (max-width: 720px){
  .grid{
    grid-template-columns: 1fr;
  }

  .card{
    grid-column: span 12;
  }

  .stimmen-photo{
    width: 260px;
    height: 190px;
  }

  .testimonial-card{
    width: 300px;
    padding: 18px;
  }

  .closing-title{
    font-size: 28px;
  }

  .closing-content{
    font-size: 17px;
  }
}

@media (max-width: 620px){
  body::before{
    top: 64px;
    right: -190px;
    width: 430px;
    height: 430px;
  }

  body::after{
    left: -210px;
    bottom: 130px;
    width: 340px;
    height: 340px;
  }

  .brand-link-nav{
    width: 100%;
  }

  .strip-nav,
  .bottom-actions{
    width: auto;
  }

  .strip-nav a,
  .bottom-link{
    flex: 0 0 auto;
  }

  .safe-bottom{
    padding-bottom: 150px;
  }

  .footer{
    padding-bottom: 130px;
  }

  .footer .row{
    flex-direction: column;
    align-items: flex-start;
  }
}