/* ==========================================================================
   SiPo Group – Theme Stylesheet
   ========================================================================== */

:root {
  --color-primary: #1CADE4;
  --color-primary-dark: #1495C4;
  --color-dark: #12324D;
  --color-light-bg: #F4FAFC;
  --color-text: #3C4A54;
  --container-width: 1180px;
  --radius: 10px;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-stack);
  color: var(--color-text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-dark);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 999;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--narrow { max-width: 760px; }

.section { padding: 4.5rem 0; }
.section__heading {
  color: var(--color-primary);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  text-align: center;
  font-weight: 600;
  margin-bottom: 1rem;
}
.section__subheading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  color: var(--color-text);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-dark); }
.btn--outline { border-color: var(--color-primary); color: var(--color-primary); background: transparent; }
.btn--outline:hover { background: var(--color-primary); color: #fff; }
.btn--white { background: #fff; color: var(--color-dark); }
.btn--white:hover { background: var(--color-light-bg); }
.btn--small { padding: .6rem 1.2rem; font-size: .85rem; }

/* ==========================================================================
   Header
   ========================================================================== */
#shopify-section-header {
  position: sticky;
  top: 0;
  z-index: 50;
}
body.template-index #shopify-section-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 60;
}
.site-header {
  border-bottom: 1px solid #EAF1F4;
  position: relative;
  background: #fff;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 24px rgba(18,50,77,.09); }

.site-header--transparent {
  background: transparent;
  border-bottom-color: transparent;
}
.site-header--transparent.is-scrolled {
  background: #fff;
  border-bottom-color: #EAF1F4;
}
.site-header--transparent:not(.is-scrolled) .logo-mark__text strong { color: #fff; }
.site-header--transparent:not(.is-scrolled) .nav-toggle-btn__bar { background: #fff; }
.site-header--transparent:not(.is-scrolled) .site-header__cta { background: #fff; color: var(--color-primary); }
.site-header--transparent:not(.is-scrolled) .site-header__cta:hover { background: var(--color-light-bg); }
@media (min-width: 901px) {
  .site-header--transparent:not(.is-scrolled) .site-nav > ul > li > a,
  .site-header--transparent:not(.is-scrolled) .nav-dropdown__label { color: #fff; }
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  gap: 1rem;
  position: relative;
  transition: padding .3s ease;
}
.site-header.is-scrolled .site-header__inner { padding-top: .6rem; padding-bottom: .6rem; }
.site-header__logo {
  order: 2;
  margin: 0 auto;
  transform: scale(1.28);
  transform-origin: center;
  transition: transform .4s cubic-bezier(.16,.8,.28,1);
}
.site-header.is-scrolled .site-header__logo { transform: scale(0.86); }
@media (min-width: 901px) {
  .site-header__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 0;
    transform: translate(-50%, -50%) scale(1.28);
  }
  .site-header.is-scrolled .site-header__logo { transform: translate(-50%, -50%) scale(0.86); }
}
.logo-mark { display: flex; align-items: center; gap: .6rem; }
.logo-mark__badge { width: 40px; height: 40px; flex-shrink: 0; }
.logo-mark__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-mark__text strong { color: var(--color-dark); font-size: 1.25rem; font-weight: 700; }
.logo-mark__text em { color: var(--color-primary); font-style: normal; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }

.site-nav { order: 1; }
.site-nav > ul { display: flex; align-items: center; gap: 1.75rem; }
.site-nav > ul > li > a {
  font-weight: 600;
  color: var(--color-dark);
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav > ul > li > a:hover { border-color: var(--color-primary); color: var(--color-primary); }

.has-dropdown { position: relative; }
.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 12px 24px rgba(18,50,77,.12);
  border-radius: 8px;
  padding: .5rem 0;
  min-width: 160px;
}
.has-dropdown .dropdown li a { display: block; padding: .55rem 1.1rem; color: var(--color-text); font-weight: 500; }
.has-dropdown .dropdown li a:hover { background: var(--color-light-bg); color: var(--color-primary); }

.nav-dropdown summary { list-style: none; cursor: pointer; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::marker { display: none; content: ""; }
.nav-dropdown__summary { display: flex; align-items: center; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav-dropdown__label { font-weight: 600; color: var(--color-dark); }
.nav-dropdown__chevron { display: none; }

@media (min-width: 901px) {
  .has-dropdown:hover .nav-dropdown__summary { border-color: var(--color-primary); }
  .has-dropdown:hover .nav-dropdown__label { color: var(--color-primary); }
}

.site-header__right { order: 3; display: flex; align-items: center; gap: 1rem; }
.site-nav__mobile-cta { display: none; }
.nav-toggle-checkbox { display: none; }
.nav-backdrop { display: none; }
.nav-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  width: 30px;
  height: 22px;
  cursor: pointer;
  position: relative;
  z-index: 71;
}
.nav-toggle-btn__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform .35s cubic-bezier(.16,.8,.28,1), opacity .2s ease, width .35s ease;
}
.nav-toggle-checkbox:checked ~ .site-header__right .nav-toggle-btn__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); width: 100%; }
.nav-toggle-checkbox:checked ~ .site-header__right .nav-toggle-btn__bar:nth-child(2) { opacity: 0; }
.nav-toggle-checkbox:checked ~ .site-header__right .nav-toggle-btn__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); width: 100%; }

@media (min-width: 901px) {
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown { display: block !important; }
}

@media (max-width: 900px) {
  .site-header__inner { flex-wrap: wrap; }
  .site-header__logo { order: 1; margin: 0; }
  .site-header__right { order: 2; margin-left: auto; }
  .site-header__cta { display: none; }
  .nav-toggle-btn { display: inline-flex; }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(18,50,77,.5);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
    z-index: 60;
  }
  .nav-toggle-checkbox:checked ~ .nav-backdrop { opacity: 1; pointer-events: auto; }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(72vw, 300px);
    background: #fff;
    border-left: 1px solid #EEF3F6;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.16,.8,.28,1);
    z-index: 65;
    overflow-y: auto;
    padding: 5rem 1.35rem 2rem;
  }
  .nav-toggle-checkbox:checked ~ .site-nav { transform: translateX(0); }

  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0; width: 100%; }
  .site-nav > ul > li { width: 100%; padding: 0; border-bottom: none; }
  .site-nav > ul > li > a {
    display: block;
    padding: .75rem .2rem;
    font-size: .92rem;
    border-bottom: 1px solid #EEF3F6;
  }

  .has-dropdown { border-bottom: 1px solid #EEF3F6; }
  .nav-dropdown__summary { padding: .75rem .2rem; justify-content: space-between; }
  .nav-dropdown__label { font-size: .92rem; font-weight: 600; color: var(--color-dark); }
  .nav-dropdown__chevron { display: inline-flex; padding: .35rem; margin: -.35rem -.2rem -.35rem 0; color: var(--color-text); }
  .nav-dropdown__chevron svg { width: 13px; height: 13px; transition: transform .3s ease; }
  .nav-dropdown[open] .nav-dropdown__chevron svg { transform: rotate(90deg); color: var(--color-primary); }
  .nav-dropdown[open] .nav-dropdown__label { color: var(--color-primary); }
  .has-dropdown .dropdown {
    display: none;
    position: static;
    box-shadow: none;
    padding: 0 0 .4rem 1.15rem;
    margin: 0;
    background: none;
    border: none;
    border-radius: 0;
    min-width: 0;
  }
  .nav-dropdown[open] ~ .dropdown { display: block; }
  .has-dropdown .dropdown li a {
    padding: .4rem .25rem;
    border-radius: 0;
    font-weight: 500;
    font-size: .87rem;
    color: var(--color-text);
  }
  .has-dropdown .dropdown li a:hover { background: none; color: var(--color-primary); }
  .site-nav__mobile-cta { display: block; padding-top: 1.1rem; border-bottom: none; }
  .site-nav__mobile-cta .btn--primary {
    display: block;
    width: 100%;
    text-align: center;
    color: #fff;
    padding: .7rem 1rem;
    font-size: .88rem;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--hero-img) center/cover no-repeat, linear-gradient(135deg, #E8F6FC, #FFFFFF);
  overflow: hidden;
}
body.template-index .hero {
  min-height: 100vh;
}
.hero__video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.hero__video--mobile { display: none; }
@media (max-width: 768px) {
  .hero__video--desktop { display: none; }
  .hero__video--mobile { display: block; }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(28,34,40,.62) 0%, rgba(28,34,40,.38) 55%, rgba(28,34,40,.08) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 640px; padding: 3rem 1.5rem; }
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.15;
}
.hero__sub { margin-top: 1.25rem; font-size: 1.1rem; color: rgba(255,255,255,.9); }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; justify-content: center; }
.hero__inner { text-align: center; margin: 0 auto; }
.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-dark);
  z-index: 2;
}
.hero__scroll svg { width: 22px; height: 22px; }

/* ==========================================================================
   Values
   ========================================================================== */
.values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  text-align: center;
}
.value-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.value-item__icon svg { width: 46px; height: 46px; }
.value-item h3 { color: var(--color-primary); font-size: 1.15rem; margin-bottom: .6rem; }

/* ==========================================================================
   Team / Ansprechpartner
   ========================================================================== */
.team { padding: 2.25rem 0; }
.team .section__subheading { margin-bottom: 1.5rem; }
.team__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border: 1px solid #E2EEF3;
  border-radius: 10px;
  padding: 1.3rem 1.6rem;
}
.team-row__who { text-align: left; min-width: 0; }
.team-row__name { font-weight: 700; color: var(--color-dark); font-size: 1.15rem; }
.team-row__role { color: var(--color-primary); font-weight: 600; font-size: .9rem; }
.team-row__actions { display: flex; gap: .65rem; flex-shrink: 0; }
.team-row__actions .btn { padding: .7rem .7rem; font-size: 0; }
.team-row__actions .btn svg { margin-right: 0; width: 18px; height: 18px; }
.team-row__actions .btn span { display: none; }
@media (min-width: 480px) {
  .team-row__actions .btn { padding: .75rem 1.4rem; font-size: .95rem; }
  .team-row__actions .btn svg { margin-right: .45rem; }
  .team-row__actions .btn span { display: inline; }
}
@media (max-width: 420px) {
  .team-row { flex-wrap: wrap; }
}
.btn--whatsapp { background: #25D366; color: #fff; }
.btn--whatsapp:hover { background: #1EBE5A; }
.btn svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: .4rem; }

/* ==========================================================================
   So arbeiten wir (Prozess-Schritte)
   ========================================================================== */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  text-align: center;
}
.step-card__number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  font-weight: 700; font-size: 1.1rem;
  margin-bottom: 1rem;
}
.step-card h3 { color: var(--color-dark); font-size: 1.1rem; margin-bottom: .5rem; }
.step-card p { color: var(--color-text); }

/* ==========================================================================
   Split promo
   ========================================================================== */
.split-promo { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.split-promo__media {
  background: var(--img) center/cover no-repeat, linear-gradient(135deg, #DCEFF7, #EAF6FB);
}
.split-promo__panel {
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
}
.split-promo__panel-inner { padding: 3rem clamp(1.5rem, 5vw, 4rem); max-width: 560px; }
.split-promo__panel h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; margin-bottom: 1.25rem; }
.split-promo__panel p { margin-bottom: 1.75rem; opacity: .95; }

@media (max-width: 800px) {
  .split-promo { grid-template-columns: 1fr; }
  .split-promo__media { min-height: 280px; }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  text-align: center;
}
.testimonial-card__avatar {
  width: 80px; height: 80px; border-radius: 50%;
  margin: 0 auto 1rem; object-fit: cover;
}
.testimonial-card__avatar--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--color-light-bg); color: var(--color-primary);
  font-size: 1.5rem; font-weight: 700;
}
.testimonial-card__name { font-weight: 600; color: var(--color-primary); margin-bottom: .3rem; }
.testimonial-card__stars { color: var(--color-primary); display: flex; justify-content: center; gap: .15rem; margin-bottom: .75rem; }
.testimonial-card__stars svg { width: 18px; height: 18px; }
.testimonial-card__quote { font-style: italic; color: var(--color-text); }

/* ==========================================================================
   Image CTA banner
   ========================================================================== */
.image-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background: var(--img) center/cover no-repeat, linear-gradient(135deg, #123B5E, #1CADE4);
}
.image-banner__overlay { position: absolute; inset: 0; background: rgba(10,30,45,.45); }
.image-banner__inner { position: relative; text-align: center; width: 100%; color: #fff; }
.image-banner h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: .75rem; font-weight: 600; }
.image-banner__text { max-width: 560px; margin: 0 auto 1.5rem; opacity: .95; }
@media (max-width: 600px) {
  .image-banner { min-height: 0; aspect-ratio: 1 / 1; background-position: center; background-image: var(--img-mobile), linear-gradient(135deg, #123B5E, #1CADE4); }
}

/* ==========================================================================
   Services
   ========================================================================== */
.services { padding: 3rem 0; }
.services .section__subheading { margin-bottom: 1.5rem; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  text-align: center;
}
.service-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.service-card__icon svg { width: 46px; height: 46px; }
.service-card h3 { color: var(--color-primary); margin-bottom: .6rem; font-size: 1.15rem; }
.service-card p { margin-bottom: 1.25rem; flex: 1 0 auto; }

/* ==========================================================================
   Partner slider (no-JS, radio-driven)
   ========================================================================== */
.partner-slider { position: relative; text-align: center; max-width: 640px; margin: 0 auto; }
.partner-slider__radio { display: none; }
.partner-slider__track { position: relative; min-height: 320px; }
.partner-slide {
  display: none;
  animation: fade .3s ease;
}
.partner-slide__logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin: 0 auto 1rem;
  color: var(--color-primary);
}
.partner-slide__logo--placeholder svg { width: 48px; height: 48px; }
.partner-slide h3 { color: var(--color-dark); font-size: 1.3rem; margin-bottom: .3rem; }
.partner-slide__tagline { color: var(--color-primary); font-weight: 600; margin-bottom: 1rem; }
.partner-slide p:not(.partner-slide__tagline) { margin-bottom: 1.5rem; }

.partner-slider__dots { display: flex; justify-content: center; gap: .6rem; margin-top: 1.5rem; }
.partner-slider__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #CFE7F1; cursor: pointer; display: block;
}

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Show slide matching checked radio, driven by :checked + general sibling selectors */
.partner-slider__radio:nth-of-type(1):checked ~ .partner-slider__track .partner-slide[data-index="1"],
.partner-slider__radio:nth-of-type(2):checked ~ .partner-slider__track .partner-slide[data-index="2"],
.partner-slider__radio:nth-of-type(3):checked ~ .partner-slider__track .partner-slide[data-index="3"],
.partner-slider__radio:nth-of-type(4):checked ~ .partner-slider__track .partner-slide[data-index="4"],
.partner-slider__radio:nth-of-type(5):checked ~ .partner-slider__track .partner-slide[data-index="5"] {
  display: block;
}
.partner-slider__radio:nth-of-type(1):checked ~ .partner-slider__dots .partner-slider__dot:nth-child(1),
.partner-slider__radio:nth-of-type(2):checked ~ .partner-slider__dots .partner-slider__dot:nth-child(2),
.partner-slider__radio:nth-of-type(3):checked ~ .partner-slider__dots .partner-slider__dot:nth-child(3),
.partner-slider__radio:nth-of-type(4):checked ~ .partner-slider__dots .partner-slider__dot:nth-child(4),
.partner-slider__radio:nth-of-type(5):checked ~ .partner-slider__dots .partner-slider__dot:nth-child(5) {
  background: var(--color-primary);
}

/* ==========================================================================
   Trust badge
   ========================================================================== */
.trust-badge__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.trust-badge__icon { color: var(--color-primary); flex-shrink: 0; }
.trust-badge__icon svg { width: 64px; height: 64px; }
.trust-badge h2 { font-size: 1.4rem; color: var(--color-dark); margin-bottom: .6rem; }
.trust-badge p { margin-bottom: 1rem; }

@media (max-width: 600px) {
  .trust-badge__inner { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   Contact info
   ========================================================================== */
.contact-info__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  text-align: center;
}
.contact-info__icon { display: inline-flex; margin-bottom: .75rem; color: var(--color-primary); }
.contact-info__icon svg { width: 36px; height: 36px; }
.contact-info__item h3 { font-weight: 600; margin-bottom: .5rem; }
.contact-info__item a { text-decoration: underline; }
.contact-info__item p { white-space: pre-line; opacity: .95; margin-top: .3rem; }

/* ==========================================================================
   Contact combined (Kontaktinfo + Formular in einer Sektion)
   ========================================================================== */
.contact-combined { background: var(--color-light-bg); }
.contact-combined__divider {
  display: flex; align-items: center; gap: 1.25rem;
  margin: 3.5rem 0;
  color: var(--color-text); font-weight: 700; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .08em;
}
.contact-combined__divider::before,
.contact-combined__divider::after { content: ''; flex: 1; height: 1px; background: rgba(60,74,84,.18); }
.contact-combined__form-wrap { max-width: 640px; margin: 0 auto; }

/* ==========================================================================
   Contact form
   ========================================================================== */
.contact-form-section { background: var(--color-light-bg); }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-weight: 600; font-size: .9rem; color: var(--color-dark); }
.field input, .field textarea {
  border: 1px solid #D6E4EA;
  border-radius: 6px;
  padding: .75rem .9rem;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.field--checkbox { flex-direction: row; align-items: flex-start; gap: .6rem; font-size: .88rem; }
.field--checkbox input { margin-top: .2rem; }
.contact-form .btn { align-self: flex-start; }
.form-status { padding: .9rem 1.1rem; border-radius: 6px; }
.form-status--success { background: #E3F7EA; color: #1D7A3F; }
.form-status--error { background: #FDEAEA; color: #B3261E; }

/* ==========================================================================
   Page hero (Leistungen / Kontakt)
   ========================================================================== */
.page-hero--split { display: grid; grid-template-columns: 1fr 1fr; min-height: var(--hero-split-min-h, 88vh); }
.page-hero__panel { background: var(--color-primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.page-hero__panel-inner { padding: 3rem clamp(1.5rem, 5vw, 4rem); max-width: 560px; text-align: center; margin: 0 auto; }
.page-hero__panel-inner .btn { display: inline-block; }
.page-hero__panel h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: 1.25rem; }
.page-hero__panel p { margin-bottom: 1.75rem; opacity: .95; }
.page-hero__media { background: var(--img) center/cover no-repeat, linear-gradient(135deg, #DCEFF7, #EAF6FB); display: flex; align-items: center; justify-content: center; }
.page-hero__illustration-wrap { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.page-hero__illustration-wrap .illustration { width: 100%; max-width: 560px; height: auto; }
.page-hero--split-light .page-hero__media { background: var(--img) center/cover no-repeat, linear-gradient(135deg, #F7FBFD, #EEF7FA); }

/* Bei echten Fotos: Bildbereich exakt quadratisch halten (passend zur 1:1-Bildvorlage),
   damit "cover" nichts zuschneiden muss – weder Desktop noch Mobile. */
.page-hero__media--photo { aspect-ratio: 1 / 1; align-self: start; }

@media (max-width: 800px) {
  .page-hero--split { grid-template-columns: 1fr; min-height: 0; }
  .page-hero__media { aspect-ratio: 1 / 1; min-height: 100vw; }
  .page-hero__media--photo { align-self: stretch; }
}

.page-hero--center { padding: 4rem 0 2rem; text-align: center; background: var(--color-light-bg); }
.page-hero__center-inner { max-width: 640px; margin: 0 auto; }
.page-hero__illustration {
  display: inline-flex; align-items: center; justify-content: center;
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--color-primary); color: #fff; margin-bottom: 1.5rem;
}
.page-hero__illustration svg { width: 40px; height: 40px; }
.page-hero--center h1 { color: var(--color-dark); font-size: clamp(1.8rem, 3.5vw, 2.3rem); margin-bottom: 1rem; }

/* ==========================================================================
   Generic page content / rte
   ========================================================================== */
.page-content { padding: 1rem 0; }
.rte :is(h2, h3) { margin: 1.5rem 0 .75rem; color: var(--color-dark); }
.rte p { margin-bottom: 1rem; }
.rte ul, .rte ol { padding-left: 1.25rem; margin-bottom: 1rem; list-style: revert; }
.rte a { text-decoration: underline; color: var(--color-primary); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-dark); color: #fff; padding: 3rem 0 0; }
.site-footer__inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; padding-bottom: 2.5rem; }
.site-footer .logo-mark__text strong { color: #fff; }
.site-footer__brand p { margin-top: .75rem; opacity: .8; max-width: 280px; }
.site-footer__links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-footer__links a { opacity: .85; }
.site-footer__links a:hover { opacity: 1; text-decoration: underline; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.25rem 1.5rem; font-size: .85rem; opacity: .7; }

/* ==========================================================================
   Accordion list (compact)
   ========================================================================== */
.accordion-section { padding: 4.5rem 0; }
.accordion-section__inner {
  display: grid;
  grid-template-columns: minmax(200px, 340px) 1fr;
  gap: 2rem 4rem;
  align-items: start;
}
.accordion-section__heading { font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.25; margin: 0; position: sticky; top: 7rem; }
.accordion-list { border-top: 1px solid rgba(255,255,255,.3); }

@media (max-width: 800px) {
  .accordion-section__inner { grid-template-columns: 1fr; }
  .accordion-section__heading { position: static; margin-bottom: .5rem; }
}
.accordion-item { border-bottom: 1px solid rgba(255,255,255,.3); }
.accordion-item__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem .25rem;
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.accordion-item__summary::-webkit-details-marker { display: none; }
.accordion-item__icon-plus {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-left: 1rem;
}
.accordion-item__icon-plus::before,
.accordion-item__icon-plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.accordion-item__icon-plus::before { width: 14px; height: 2px; }
.accordion-item__icon-plus::after { width: 2px; height: 14px; transition: transform .15s ease; }
.accordion-item[open] .accordion-item__icon-plus::after { transform: translate(-50%, -50%) rotate(90deg) scale(0); }
.accordion-item__content { padding: 0 .25rem .85rem; font-size: .9rem; opacity: .95; }

/* ==========================================================================
   Brand logos
   ========================================================================== */
.brand-logos__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem 2rem;
}
.brand-logo { display: flex; align-items: center; justify-content: center; flex: 1 1 0; min-width: 140px; height: 92px; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-logo__placeholder {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: .01em;
  color: var(--color-dark);
  opacity: .8;
  border-radius: 6px;
  padding: .5rem 1.25rem;
}

/* ==========================================================================
   Scroll-Reveal-Animationen
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s cubic-bezier(.16,.8,.28,1), transform .75s cubic-bezier(.16,.8,.28,1);
  will-change: opacity, transform;
}
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal="scale"].is-revealed { transform: scale(1); }

[data-reveal="left"] { transform: translate(-28px, 0); }
[data-reveal="left"].is-revealed { transform: translate(0, 0); }

[data-reveal="right"] { transform: translate(28px, 0); }
[data-reveal="right"].is-revealed { transform: translate(0, 0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
