/* =========================
   ROOT / RESET
========================= */

:root{
  --header-h: 120px;

  /* KB Split Bild */
  --kb-split-zoom: 1.05;
  --kb-split-pos-x: 40%;
  --kb-split-pos-y: 25%;
  --kb-split-ar: 2048 / 670;
}

@media (max-width: 900px){
  :root{
    --header-h: 120px;
    --kb-split-zoom: 1.45;
    --kb-split-pos-y: 25%;
  }
}

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html{
  scroll-behavior: smooth;
}

html,
body{
  overflow-x: hidden;
}

body{
  font-family: "Roboto", sans-serif;
  background-color: #b4ccd4;
  color: #0c2c3c;
  line-height: 1.6;
  padding-top: var(--header-h);
}

@media (max-width: 900px){
  body{
    padding-top: var(--header-h);
  }
}

h1, h2, h3, h4, h5, h6{
  font-family: "Roboto", serif;
  font-weight: 600;
}

h1{
  font-size: 3rem;
  margin-bottom: 30px;
}

h2{
  font-size: 2rem;
  margin: 60px 0 20px;
}

h3{
  font-size: 1.8rem;
  margin-bottom: 10px;
}

h4{
  font-size: 1.5rem;
  margin-bottom: 10px;
}

p{
  margin-bottom: 20px;
}

:target{
  scroll-margin-top: 110px;
}

/* =========================
   HEADER / NAVIGATION
========================= */

.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 7000;
  width: 100%;
  background-color: #b4ccd4;
  box-shadow: 0 1px 0 #0c2c3c;
}

.header-inner{
  width: 100%;
  padding: 20px 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.logo img{
  height: 95px;
  width: auto;
  display: block;
}

.logo{
  outline: 0 solid red;
}

.main-nav{
  display: flex;
  align-items: center;
  transform: translateY(6px);
  position: relative;
  outline: 0 solid blue;
}

.main-nav ul{
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.main-nav a{
  display: inline-block;
  position: relative;
  line-height: 1;
  padding-bottom: 4px;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #0c2c3c;
  transition: font-weight .15s ease, opacity .15s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible{
  font-weight: 700;
  opacity: 0.95;
}

.main-nav a.active{
  font-weight: 700;
}

/* Burger */
.burger{
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0;
  color: #0c2c3c;
}

.burger-symbol{
  position: static;
  transform: none;
  font-size: 26px;
  line-height: 1;
  color: #0c2c3c;
  display: block;
}

@media (max-width: 900px){
  .burger{
    display: block !important;
    z-index: 7001;
  }

  .main-nav{
    transform: none !important;
  }

  .main-nav ul{
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: calc(100svh - var(--header-h));
    background: #b4ccd4;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;

    margin: 0;
    padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
    list-style: none;

    z-index: 6000;
    font-family: "Roboto", sans-serif;

    opacity: 0;
    transform: translateY(-60px);
    visibility: hidden;
    pointer-events: none;

    transition:
      transform .35s ease,
      opacity .35s ease,
      visibility 0s linear .35s;
  }

  .main-nav ul.open{
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition:
      transform .35s ease,
      opacity .35s ease,
      visibility 0s;
  }

  .main-nav ul.open a{
    font-family: inherit;
    font-size: 32px;
    font-weight: 400;
    color: #0c2c3c;
    text-decoration: none;
  }

  .main-nav ul.open a:hover,
  .main-nav ul.open a:focus-visible{
    font-weight: 700;
  }
}

.main-nav ul.open{
  border-radius: 0 !important;
}

/* Overlay */
.menu-overlay{
  display: none;
}

@media (max-width: 900px){
  .menu-overlay{
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: #b4ccd4;
    display: none;
    z-index: 5500;
  }

  .menu-overlay.open{
    display: block;
  }
}

/* =========================
   TEXT HERVORHEBUNGEN
========================= */

.hero-intro strong,
.hero-intro b,
.kb-service-card strong,
.kb-service-card b,
.kb-split__left strong,
.kb-split__left b,
.site-footer strong,
.site-footer b,
footer strong,
footer b,
.main-nav ul.open strong,
.main-nav ul.open b{
  color: #ffffff;
  font-weight: 600;
  letter-spacing: .5px;
  text-shadow: 0 0 1px rgba(0,0,0,.35);
}

@media (max-width: 900px){
  .hero-text strong,
  .hero-text b{
    color: #ffffff;
    font-weight: 600;
    letter-spacing: .5px;
    text-shadow: 0 0 1px rgba(0,0,0,.35);
  }
}

/* =========================
   LAYOUT CONTAINER
========================= */

.container{
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container.narrow{
  max-width: 720px;
}

.text-narrow{
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.page-width{
  max-width: 840px;
  margin: 0 auto;
  padding: 0 22px 0 12px;
}

@media (max-width: 1024px){
  .container{
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 768px){
  .container{
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* =========================
   BUTTONS & LINKS
========================= */

a.button{
  display: inline-block;
  background-color: #F3F502;
  color: #0c2c3c;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 20px;
}

a.button:hover{
  background-color: #b4ccd4;
}

.buttons{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

@media (max-width: 900px){
  .buttons{
    justify-content: center;
  }
}

.btn-primary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 260px;            /* feste einheitliche Breite */
  height: 52px;            /* feste einheitliche Höhe */
  padding: 14px 28px;
  border-radius: 999px;
  background-color: #FFD84D;
  color: #0b2b3c;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.btn-primary i{
  font-size: 18px;
}

.btn-primary:hover{
  background-color: #f3c930;
  transform: translateY(-1px);
}

/* =========================
   HERO INTRO STARTSEITE
========================= */

.hero-intro{
  background-color: #0c2c3c;
  color: #ffffff;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.hero-intro-inner{
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-intro h1{
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  margin-top: 0;
  margin-bottom: 36px;
}

.hero-subline{
  font-family: "Roboto", sans-serif;
  font-size: 1.45rem;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 36px;
  color: #b4ccd4;
}

.hero-description{
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  opacity: 0.95;
  max-width: 750px;
  margin: 0 auto;
}

.hero-cta{
  margin-top: 0;
  margin-bottom: 36px;
  text-align: center;
}

@media (max-width: 900px){
  .hero-intro{
    height: calc(100dvh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
    padding: 44px 20px 24px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .hero-intro-inner{
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 42px;
  }

  .hero-intro h1{
    font-size: 2.0rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
  }

  .hero-subline{
    font-size: 1.2rem !important;
    line-height: 1.5 !important;
    font-family: "Playfair Display", sans-serif;
    font-weight: 550;
    letter-spacing: 0.5px !important;
    margin-bottom: 0 !important;
  }

  .hero-cta{
    margin-bottom: 0 !important;
  }

  .hero-description{
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
  }
}


.hero-divider{
  width: 100%;
  max-width: 210px;
  height: 3px;
  background-color: #b4ccd4;
  margin: 0 auto 36px;
  border-radius: 999px;
}


@media (max-width: 900px){
  .hero-divider{
    width: 100%;
    max-width: 100%;
    height: 3px;
    margin: 0 auto 24px;
  }
}

/* =========================
   HERO / KONTAKT
========================= */

.hero{
  min-height: calc(100svh - var(--header-h));
  background-image: url("images/StB\ Anna\ Kaltenberger_v5.JPEG");
  background-size: cover;
  background-position: 30% 15%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-text{
  margin-left: 3%;
  max-width: 420px;
  color: #0c2c3c;
  padding: 2.75rem;
  letter-spacing: .5px;
  display: flex;
  flex-direction: column;
}

.hero-text h1{
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.hero-text p{
  font-family: "Roboto", sans-serif;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.hero.hero-dark .hero-text{
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  margin: 0;
}

.hero.hero-dark .hero-text h3{
  text-align: justify;
  font-family: "Playfair Display", sans-serif;
  font-weight: 600;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.hero.hero-dark .hero-text p{
  text-align: left;
  text-justify: inter-word;
  hyphens: auto;
}

@media (max-width: 1310px){
  .hero{
    display: flex !important;
    flex-direction: column !important;
    height: 100svh !important;
    min-height: 100svh !important;
    padding: 0 !important;
    background-image: none !important;
    overflow: hidden;
  }

  .hero.hero-dark{
    background-color: #0c2c3c;
  }

  .hero::before{
    content: "";
    display: block !important;
    flex: 0 0 52% !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    background-image: url("images/StB_Anna_Kaltenberger_v1.JPG") !important;
    background-size: cover !important;
    background-position: 50% 40% !important;
    background-repeat: no-repeat !important;
  }

  .hero-text{
    flex: 1 1 auto !important;
    width: 100vw !important;
    margin: 0 !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    max-width: none !important;
    background-color: #0c2c3c !important;
    color: #ffffff !important;
    padding: 30px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  .hero-text h1{
    color: #ffffff !important;
    text-align: left !important;
  }

  .hero-text p{
    width: 100%;
    max-width: 900px;
    text-align: left !important;
    margin-left: 0;
    margin-right: 0;
    color: #ffffff !important;
  }

  .buttons{
    justify-content: center !important;
  }
}

@media (max-width: 900px){
  .hero{
    height: 100svh !important;
    min-height: 100svh !important;
  }

  .hero::before{
    flex: 0 0 45% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .hero-text{
    flex: 1 1 55% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 28px 20px !important;
    align-items: stretch !important;
    text-align: left !important;
  }

  .hero-text h1{
    font-size: 2.2rem !important;
    line-height: 1.5 !important;
  }

  .hero-text p{
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }
}

/* =========================
   SERVICES
========================= */

.services{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.service-box{
  background-color: #ffffff;
  padding: 40px;
  border-radius: 0 !important;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

/* =========================
   PROFILE
========================= */

.profile{
  display: flex;
  gap: 60px;
  align-items: center;
  margin-top: 100px;
}

.profile img{
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-text{
  max-width: 600px;
}

/* =========================
   LEGAL PAGES
========================= */

.impressum,
.datenschutz{
  font-family: "Roboto", sans-serif;
}

.impressum-heading,
.datenschutz-heading{
  font-weight: 700;
}

.impressum h1,
.datenschutz h1{
  font-size: 1.6rem;
  margin-bottom: 32px;
}

.impressum h2,
.datenschutz h2{
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 20px;
}

.datenschutz h3{
  font-size: 1.05rem;
  font-weight: 400;
  margin-top: 32px;
  margin-bottom: 8px;
}

.impressum p,
.impressum li,
.datenschutz p,
.datenschutz li{
  font-size: 0.95rem;
  line-height: 1.5;
}

.impressum p,
.datenschutz p{
  margin-bottom: 12px;
}

.impressum h1,
.impressum h2,
.impressum h3,
.impressum h4,
.impressum h5,
.impressum h6,
.datenschutz h1,
.datenschutz h2,
.datenschutz h3,
.datenschutz h4,
.datenschutz h5,
.datenschutz h6{
  font-family: "Roboto", sans-serif;
}

.impressum-list,
.datenschutz-list{
  margin-top: 12px;
  margin-bottom: 20px;
  margin-left: 0;
  padding-left: 40px;
  list-style-type: disc;
}

.legal-page{
  max-width: 840px;
  margin: 0 auto;
  padding: 32px 22px 32px 12px;
  font-family: "Roboto", sans-serif;
}

@media (max-width: 768px){
  .legal-page{
    padding: 24px 16px 24px 12px;
  }
}

.impressum-back{
  margin-top: 48px;
}

.impressum-back .btn-primary{
  min-width: auto;
  padding: 12px 24px;
}

/* =========================
   FOOTER
========================= */

footer{
  background-color: #0c2c3c;
  color: #ffffff;
  padding: 40px;
  margin-top: 100px;
  text-align: center;
  font-size: .9rem;
}

.site-footer{
  margin-top: 0;
  padding: 36px 16px 28px;
  background-color: #0c2c3c;
  font-family: "Roboto", sans-serif;
  color: #ffffff;
}

body.home .site-footer{
  margin-top: 0;
}

.footer-inner{
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-contact{
  display: inline-block;
  text-align: left;
  margin-bottom: 26px;
}

.footer-contact p{
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.5;
}

.footer-contact a{
  color: #ffffff;
  text-decoration: none;
}

.footer-contact a:hover,
.footer-contact a:focus{
  text-decoration: underline;
}

.footer-name{
  text-align: left;
  padding-left: 0;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 14px;
}

.footer-item{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-item i{
  width: 20px;
  font-size: 17px;
  text-align: center;
}

.footer-legal{
  margin: 0;
  font-size: .9rem;
}

.footer-legal a{
  color: #ffffff;
  text-decoration: none;
  margin: 0 6px;
}

.footer-legal a:hover,
.footer-legal a:focus{
  text-decoration: underline;
}

@media (max-width: 768px){
  .site-footer{
    padding: 30px 16px 24px;
  }

  .footer-contact{
    margin-bottom: 22px;
  }

  .footer-contact p{
    font-size: .95rem;
    line-height: 1.5;
  }

  .footer-name{
    font-size: 1.05rem;
  }

  .footer-legal{
    font-size: .85rem;
  }
}

/* =========================
   STARTSEITE TEXTBLOCK
========================= */

.section.light .text-narrow{
  text-align: center;
}

.section.light .text-narrow h2{
  text-align: center;
}

.section.light .text-narrow p{
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.section.light .text-narrow .btn-primary{
  display: inline-flex;
  margin: 32px auto 0;
}

/* =========================
   KB SERVICES
========================= */

.kb-services{
  --bg: #0c2c3c;
  --card: #0c2c3c;
  --text: #ffffff;
  --dot: rgba(12,44,60,.35);
  --dotActive: #0c2c3c;

  margin: 60px 0;
  background: transparent;
  color: var(--text);
}

.kb-services__nav{
  display: block;
}

.kb-services__track-wrap{
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.kb-services__bottom-nav{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 18px;
}

.kb-services__arrow{
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #0c2c3c;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease, background-color .2s ease;
}

.kb-services__arrow:hover,
.kb-services__arrow:focus-visible{
  transform: scale(1.05);
  opacity: .95;
}

.kb-services__arrow i{
  font-size: 16px;
  line-height: 1;
}

.kb-services__dots{
  display: flex !important;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}

.kb-services__dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot);
  border: 0;
  cursor: pointer;
  opacity: 1;
  transition: transform .18s ease, background .18s ease;
}

.kb-services__dot.is-active{
  background: var(--dotActive);
  transform: scale(1.6);
}

.kb-services__track{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 0 48px;
  scroll-padding: 0 48px;
}

.kb-services__track.is-init{
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
}

.kb-services__track.is-init .kb-service-card{
  scroll-snap-align: none !important;
}

.kb-services__track::-webkit-scrollbar{
  height: 0;
}

.kb-services__track{
  scrollbar-width: none;
}

.kb-service-card{
  flex: 0 0 45%;
  scroll-snap-align: center;
  background: var(--card);
  color: var(--text);
  border-radius: 0 !important;
  padding: 22px 22px 18px;
  border: 1px solid rgba(217,217,216,.14);
  box-shadow: none;
  min-height: 260px;
  width: 100%;
  text-align: center;
}

.kb-service-icon{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 78px;
  height: 78px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(180,204,212,.14);
  border: 2.5px solid #b4ccd4;
  box-shadow: 0 0 0 2px rgba(12,44,60,.55) inset;
}

.kb-service-icon i{
  font-size: 42px;
  line-height: 1;
  color: #ffffff;
}

.kb-service-card h3{
  margin: 0 0 12px;
  color: #ffffff;
  text-align: center;
  font-size: 22px;
  font-family: "Roboto", serif;
}

.kb-service-card p{
  margin: 0 0 16px;
  line-height: 1.5;
  color: var(--text);
  text-align: justify;
  hyphens: auto;
}

.kb-service-card .kb-service-keywords{
  margin: 0 0 22px;
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.5px;
  color: #b4ccd4;
  text-align: center;
  hyphens: none;
}

.service-tags{
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 18px;
  margin-bottom: 0;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #b4ccd4;
  text-align: left;
  letter-spacing: .2px;
}

.service-tags-icon{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: .15px;
}

.service-tags-icon svg{
  width: 24px;
  height: 24px;
  display: block;
  stroke: #b4ccd4;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 1;
}

.kb-services__track .kb-service-card{
  transition: opacity .2s ease;
  opacity: 1;
}

.kb-services__track .kb-service-card.is-adjacent{
  opacity: .7;
}

.kb-services__track .kb-service-card.is-active{
  opacity: 1;
}

@media (min-width: 769px){
  .kb-services .container{
    max-width: none;
    width: 100%;
    margin: 0;
    padding-left: 48px;
    padding-right: 48px;
  }

  .container.kb-wide{
    max-width: none;
    width: 100%;
    margin: 0;
    padding-left: 48px;
    padding-right: 48px;
  }
}

@media (min-width: 769px) and (max-width: 1024px){
  .kb-service-card{
    flex: 0 0 calc(50% - 9px) !important;
  }

  .kb-services__track{
    padding: 0 24px !important;
    scroll-padding: 0 24px !important;
  }
}

@media (max-width: 768px){
  .kb-services__bottom-nav{
    gap: 16px;
    margin-top: 16px;
  }

  .kb-services__arrow{
    width: 38px;
    height: 38px;
  }

  .kb-services__track{
    padding: 0;
    scroll-padding: 0;
    gap: 0;
  }

  .kb-service-card{
    flex: 0 0 100%;
    width: 100%;
    margin: 0 16px;
  }
}

/* =========================
   KB SPLIT
========================= */

.kb-split{
  margin: 60px 0;
}

.kb-split__grid{
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: stretch;
}

.kb-split__left{
  background: #0c2c3c;
  color: #ffffff;
  padding: 40px;
  border-radius: 0 !important;
}

.kb-split__left h2,
.kb-split__left h3{
  color: #ffffff;
  margin: 0 0 14px;
}

.kb-split__right{
  background: #b4ccd4;
  color: #0c2c3c;
  padding: 40px;
  border-radius: 0 !important;
}

.kb-split__right p{
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Bild links / Text rechts */
.kb-split--40-60.kb-split--img-left .kb-split__grid{
  display: grid;
  grid-template-columns: 60% 40%;
  align-items: stretch;
}

.kb-split--40-60.kb-split--img-left .kb-split__left.kb-split__media{
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  background: transparent;
  min-width: 0;
  min-height: 100%;
  width: 100%;
}

.kb-split--40-60.kb-split--img-left .kb-split__left.kb-split__media img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--kb-split-pos-x) var(--kb-split-pos-y);
  transform: scale(var(--kb-split-zoom));
  transform-origin: center center;
}

.kb-split--40-60.kb-split--img-left .kb-split__right{
  background: #9FB8C1;
  color: #0c2c3c;
  padding: 50px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  width: 100%;
}

.kb-split--40-60.kb-split--img-left .kb-split__right h3{
  color: #0c2c3c;
  margin: 0 0 24px;
  text-align: center;
}

.kb-split--40-60.kb-split--img-left .kb-split__right h4{
  color: #0c2c3c;
  margin: 0 0 24px;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  text-align: center;
}

.kb-split--40-60.kb-split--img-left .kb-split__right p{
  line-height: 1.5;
  margin-bottom: 24px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.kb-split--40-60.kb-split--img-left .kb-split__right p:last-child{
  margin-bottom: 0;
}

.kb-split__left,
.kb-split__right,
.kb-split__left.kb-split__media,
.kb-split__right.kb-split__media{
  border-radius: 0 !important;
}

@media (max-width: 999px){
  .kb-split--40-60.kb-split--img-left .kb-split__grid{
    grid-template-columns: 1fr;
  }

  .kb-split--40-60.kb-split--img-left .kb-split__left.kb-split__media,
  .kb-split--40-60.kb-split--img-left .kb-split__right{
    width: 100%;
  }

  .kb-split--40-60.kb-split--img-left .kb-split__left.kb-split__media{
    aspect-ratio: 4 / 3;
    min-height: auto;
  }
}

@media (max-width: 900px){
  .kb-split--40-60.kb-split--img-left .kb-split__right{
    padding: 32px 16px !important;
  }

  .kb-split--40-60.kb-split--img-left .kb-split__right h3{
    font-size: 1.3rem !important;
    line-height: 1.35 !important;
    letter-spacing: 0.2px;
  }

  .kb-split--40-60.kb-split--img-left .kb-split__right h4{
    font-size: 0.95rem !important;
    line-height: 1.35 !important;
    text-align: center;
    margin: 0 0 20px;
    max-width: 100%;
    letter-spacing: 0;
  }

  .kb-split--40-60.kb-split--img-left .kb-split__right h4 br{
    display: none;
  }
}

/* =========================
   ANCHOR OFFSET
========================= */

#leistungen{
  scroll-margin-top: 180px;
}

@media (max-width: 900px){
  #leistungen{
    scroll-margin-top: 100px;
  }
}

@media (max-width: 900px){
  #zusammenarbeit{
    scroll-margin-top: 95px;
  }
}

@media (max-width: 900px){
  #steuerberaterin{
    scroll-margin-top: 95px;
  }
}





/* =========================
   WERTBOXEN
========================= */

.kb-values{
  --bg: transparent;
  --card: #9FB8C1;
  --text: #0c2c3c;
  --dot: rgba(12,44,60,.28);
  --dotActive: #0c2c3c;

  margin-top: 20px;
  margin-bottom: 60px;
}

.kb-values .kb-service-card{
  background: var(--card);
  color: var(--text);
  border: 1px solid rgba(12,44,60,.10);
}

.kb-values .kb-service-card h3,
.kb-values .kb-service-card p{
  color: var(--text);
}

.kb-values .kb-service-keywords{
  color: #496775;
}

.kb-values .kb-service-icon{
  background: rgba(12,44,60,.04);
  border: 2.5px solid #6f8e9b;
  box-shadow: 0 0 0 2px rgba(180,204,212,.55) inset;
}

.kb-values .kb-service-icon i{
  color: #0c2c3c;
}

/* =========================
   PROCESS / TIMELINE
========================= */

.process-section{
  margin: 0;
  padding: 80px 0 70px;
  background: transparent;
}

.process-header{
  text-align: center;
  margin-bottom: 54px;
}

.process-header h2{
  margin: 0;
  color: #0c2c3c;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
}

.process-timeline{
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.process-timeline::before{
  content: "";
  position: absolute;
  top: 136px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: rgba(12,44,60,.22);
  z-index: 0;
}

.process-step{
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-step-top{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 24px;
  width: 100%;
}

.process-icon{
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(12,44,60,.10);
  box-shadow: none;
  margin-bottom: 32px;
  backdrop-filter: blur(2px);
}

.process-icon i{
  font-size: 42px;
  color: #0c2c3c;
  line-height: 1;
}

.process-dot{
  position: absolute;
  left: 50%;
  top: 136px;
  transform: translate(-50%, -50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #0c2c3c;
  border: 3px solid #b4ccd4;
  z-index: 2;
}

.process-content{
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.process-number{
  display: block;
  width: 100%;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  line-height: 1.7;
  color: #496775;
  margin: 0 0 3px;
  text-align: center;
}

.process-content h3{
  margin: 0 0 12px;
  color: #0c2c3c;
  font-family: "Roboto", serif;
  font-size: 22px;
  line-height: 1.2;
  text-align: center;
}

.process-content p{
  margin: 0 0 16px;
  color: #0c2c3c;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  text-align: justify;
  hyphens: auto;
}

@media (max-width: 1100px){
  .process-section{
    padding: 64px 0 56px;
  }

  .process-timeline{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 28px;
  }

  .process-timeline::before,
  .process-dot{
    display: none;
  }

  .process-step-top{
    margin-bottom: 18px;
  }

  .process-icon{
    margin-bottom: 0;
  }
}

@media (max-width: 768px){
  .process-section{
    padding: 48px 0 42px;
  }

  .process-header{
    margin-bottom: 34px;
  }

  .process-timeline{
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .process-step-top{
    margin-bottom: 18px;
  }

  .process-icon{
    width: 96px;
    height: 96px;
    margin-top: 8px;
    margin-bottom: 0;
  }

  .process-icon i{
    font-size: 42px;
  }

  .process-content h3{
    font-size: 1.3rem;
  }

  .process-content p{
    font-size: .98rem;
    line-height: 1.65;
  }

  .process-dot{
    display: none;
  }

  .process-number{
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 900px){
  :root{
    --header-h: 98px;
    --kb-split-zoom: 1.45;
    --kb-split-pos-x: 48%;
    --kb-split-pos-y: 40%;
  }
}


@media (max-width: 900px){
  .header-inner{
    padding: 10px 16px;
    align-items: flex-end;
  }

  .main-nav{
    align-items: flex-end;
  }

  .logo img{
    height: 78px;
  }

  .burger{
    display: flex !important;
    align-items: flex-end;
    justify-content: center;
    width: 44px;
    height: 64px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0;
  }

  .burger-symbol{
    position: static;
    transform: none;
    font-size: 26px;
    line-height: 1;
    color: #0c2c3c;
    display: block;
  }
}

@media (max-width: 900px){
  .hero#steuerberaterin .hero-text{
    flex: 1 1 55% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 28px 16px !important;   /* gleicher seitlicher Rand wie beim KB Split mobile */
    align-items: stretch !important;
    text-align: left !important;
  }

  .hero#steuerberaterin .hero-text h3{
    text-align: center !important;   /* Überschrift zentriert */
    font-family: "Playfair Display", serif !important;
    font-size: 1.6rem !important;
    line-height: 1.35 !important;
    margin-bottom: 1rem !important;
    color: #ffffff !important;
  }

  .hero#steuerberaterin .hero-text p{
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    text-align: justify !important;  /* Blocksatz */
    text-justify: inter-word;
    hyphens: auto;
    color: #ffffff !important;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .hero#steuerberaterin .buttons{
    display: flex;
    flex-direction: column;          /* Buttons untereinander */
    align-items: center;             /* mittig */
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 24px;
  }

  .hero#steuerberaterin .btn-primary{
    width: 100%;
    max-width: 260px;                /* schön mittig, nicht zu breit */
  }
}

@media (max-width: 900px){
  .hero#steuerberaterin{
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    background-image: none !important;
  }

 .hero#steuerberaterin::before{
    content: "";
    display: block !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    height: 360px !important;
    margin: 0 !important;
    background-image: url("images/StB_Anna_Kaltenberger_v1.JPG") !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }
  

  .hero#steuerberaterin .hero-text{
    flex: 0 0 auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 28px 16px 36px !important;
    align-items: stretch !important;
    text-align: left !important;
    background-color: #0c2c3c !important;
  }
}

@media (max-width: 900px){
  .process-step{
    align-items: stretch;
  }

  .process-content{
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 768px){
  .kb-service-card .kb-service-keywords{
    width: 100%;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    line-height: 1.3;
    white-space: nowrap;
    text-align: center;
  }
}

/* =========================
   TAGLINE MOBILE
========================= */
@media (max-width: 900px) {
  .kb-split--40-60.kb-split--img-left .kb-split__right h4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: 2px solid #0c2c3c;
    border-bottom: 2px solid #0c2c3c;
  }
}


/* =========================
   TAGLINE
========================= */
.kb-split--40-60.kb-split--img-left .kb-split__right h4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 2px solid #0c2c3c;
  border-bottom: 2px solid #0c2c3c;
  color: #1a4a5c;
}


@media (max-width: 900px){
  .kb-split--40-60.kb-split--img-left .kb-split__right{
    padding: 32px 16px !important;
  }
}


/* =========================
   PROCESS TIMELINE MOBILE SLIDER
========================= */

.process-slider-dots{
  display: none;
}

@media (max-width: 900px){

  .process-timeline{
    display: flex !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    padding: 0;
    scrollbar-width: none;
  }

  .process-timeline::-webkit-scrollbar{
    display: none;
  }

  .process-timeline::before{
    display: none !important;
  }

  .process-step{
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    padding: 0 16px;
    align-items: stretch;
  }

   .process-step-top{
    --timeline-y: 122px;
    position: relative;
    width: 100%;
    min-height: 148px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  /* durchgezogene Linie */
  .process-step-top::before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: var(--timeline-y);
    height: 2px;
    background: rgba(12,44,60,.45);
    z-index: 0;
  }

  /* Pfeil rechts */
   .process-step-top::after{
    content: "";
    position: absolute;
    right: 0;
    top: 123px;
    width: 10px;
    height: 10px;
    border-top: 2px solid rgba(12,44,60,.45);
    border-right: 2px solid rgba(12,44,60,.45);
    transform: translateY(-50%) rotate(45deg);
    transform-origin: center;
    z-index: 1;
    background: transparent;
  }

  .process-icon{
    position: relative;
    z-index: 2;
    width: 96px;
    height: 96px;
    margin: 0 0 38px;   /* größerer Abstand zwischen Icon und Punkt */
  }

  .process-icon i{
    font-size: 42px;
  }

  .process-dot{
    display: block !important;
    position: absolute;
    left: 50%;
    top: var(--timeline-y);
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #0c2c3c;
    border: 3px solid #b4ccd4;
    z-index: 2;
  }

  .process-content{
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .process-number{
    text-align: center;
  }

  .process-content h3{
    font-size: 1.3rem;
    text-align: center;
  }

  .process-content p{
    font-size: 0.98rem;
    line-height: 1.65;
    text-align: justify;
    hyphens: auto;
  }

  .process-slider-dots{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
  }

  .process-slider-dot{
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    background: rgba(12,44,60,.35);
    cursor: pointer;
    transition: transform .18s ease, background .18s ease;
  }

  .process-slider-dot.is-active{
    background: #0c2c3c;
    transform: scale(1.6);
  }
}