/* ==========================================================================
   Stock Performance – Sitepackage
   Farben, Schriften und Abstände orientieren sich an der bisherigen Wix-Seite.
   ========================================================================== */

:root {
    --sp-bg: #171717;
    --sp-bg-alt: #2d2e2d;
    --sp-bg-card: #222322;
    --sp-text: #e7e7e7;
    --sp-text-muted: #a5a5a5;
    --sp-accent: #7aa3cc;
    --sp-accent-dark: #4f7aa6;
    --sp-green: #649967;
    --sp-light: #e7e7e7;
    --sp-dark-on-light: #171717;

    --sp-font-display: 'Archivo', 'Arial Black', sans-serif;
    --sp-font-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
    --sp-font-hand: 'Caveat', cursive;
    --sp-font-serif: 'Caudex', Georgia, serif;

    --sp-container: 1180px;
    --sp-gutter: clamp(16px, 4vw, 40px);
    --sp-section: clamp(56px, 8vw, 110px);
    --sp-header-h: 110px;
}

/* ---------- Basis ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--sp-bg);
    color: var(--sp-text);
    font-family: var(--sp-font-body);
    font-weight: 300;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--sp-accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover, a:focus-visible { color: #fff; }
:focus-visible { outline: 2px solid var(--sp-accent); outline-offset: 3px; }

strong, b { font-weight: 600; }

h1, h2, h3, h4, h5 { margin: 0 0 .6em; line-height: 1.2; font-weight: 800; }

p, ul, ol { margin: 0 0 1em; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--sp-accent); color: #000; padding: 8px 16px; }
.skip-link:focus { left: 16px; top: 16px; }

.text-center { text-align: center; }
.text-end { text-align: right; }
.text-justify { text-align: justify; }
.text-accent { color: var(--sp-accent); }
.handwritten { font-family: var(--sp-font-hand); font-size: 1.6em; line-height: 1.2; }
.lead { font-size: 1.25em; }

.sp-heading,
.ce-headline,
.frame h1, .frame h2 {
    font-family: var(--sp-font-display);
    font-stretch: 125%;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: clamp(22px, 2.6vw, 32px);
    color: var(--sp-text);
}
.sp-heading::after {
    content: ""; display: block; width: 100%; max-width: 280px; height: 3px;
    margin-top: 10px; background: linear-gradient(90deg, var(--sp-accent) 0 40%, var(--sp-text) 40% 100%);
}

.sp-richtext > :last-child { margin-bottom: 0; }
.sp-richtext ul { padding-left: 1.2em; }
.sp-richtext li { margin-bottom: .35em; }

/* ---------- Buttons ---------- */
.sp-button {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 10px 22px;
    background: var(--sp-light); color: var(--sp-dark-on-light);
    font-family: var(--sp-font-display); font-stretch: 125%; font-weight: 700;
    font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
    border: 1px solid var(--sp-light);
    transition: background .2s, color .2s;
}
.sp-button:hover, .sp-button:focus-visible { background: var(--sp-bg); color: var(--sp-light); }
.sp-button--arrow::after {
    content: "\2192"; display: inline-grid; place-items: center;
    width: 30px; height: 30px; margin: -6px -16px -6px 4px;
    background: var(--sp-bg); color: var(--sp-light); font-size: 16px;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(23, 23, 23, .94); box-shadow: 0 2px 16px rgba(0, 0, 0, .4); }
.site-header__inner {
    max-width: 1320px; margin: 0 auto; padding: 14px var(--sp-gutter);
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-header__logo { position: relative; z-index: 2; }
.site-header__logo img { width: 92px; height: auto; transition: width .3s; }
.site-header.is-scrolled .site-header__logo img { width: 64px; }

.main-nav__list { display: flex; gap: clamp(16px, 2.4vw, 40px); list-style: none; margin: 0; padding: 0; }
.main-nav__item { position: relative; }
.main-nav__item > a {
    display: block; padding: 10px 0;
    font-family: var(--sp-font-display); font-stretch: 125%; font-weight: 800;
    font-size: 15px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--sp-text); text-decoration: none; text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}
.main-nav__item > a:hover,
.main-nav__item.is-active > a { color: var(--sp-accent); }
.main-nav__sub {
    position: absolute; top: 100%; left: -18px; min-width: 260px;
    list-style: none; margin: 0; padding: 10px 0;
    background: rgba(23, 23, 23, .97); border-top: 2px solid var(--sp-accent);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.main-nav__item:hover .main-nav__sub,
.main-nav__item:focus-within .main-nav__sub { opacity: 1; visibility: visible; transform: none; }
.main-nav__sub a {
    display: block; padding: 8px 18px; color: var(--sp-text); text-decoration: none;
    font-size: 15px; letter-spacing: .05em;
}
.main-nav__sub a:hover, .main-nav__sub .is-active a { color: var(--sp-accent); }

.site-header__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger { display: grid; gap: 6px; width: 30px; }
.burger span { height: 2px; background: var(--sp-text); transition: .3s; }
.site-header.nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-header.nav-open .burger span:nth-child(2) { opacity: 0; }
.site-header.nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
    .site-header__toggle { display: block; position: relative; z-index: 2; }
    .site-header__logo img { width: 70px; }
    .main-nav {
        position: fixed; inset: 0; background: rgba(23, 23, 23, .98);
        display: flex; align-items: center; justify-content: center;
        opacity: 0; visibility: hidden; transition: .3s; overflow-y: auto; padding: 100px 24px 40px;
    }
    .site-header.nav-open .main-nav { opacity: 1; visibility: visible; }
    .main-nav__list { flex-direction: column; align-items: center; gap: 6px; text-align: center; }
    .main-nav__item > a { font-size: 20px; }
    .main-nav__sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; background: none; padding: 0 0 10px; min-width: 0; }
    .main-nav__sub a { padding: 4px; color: var(--sp-text-muted); }
}

/* ---------- Fixe Elemente: Social-Leiste & Scroll-Hinweis ---------- */
.social-bar { position: fixed; left: 14px; top: 50%; transform: translateY(-50%); z-index: 90; }
.social-icons { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.social-icons a {
    display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
    background: var(--sp-text); color: var(--sp-bg); transition: background .2s;
}
.social-icons a:hover { background: var(--sp-accent); }
.social-icons svg { width: 15px; height: 15px; fill: currentColor; }

.scroll-hint {
    position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 90;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    color: var(--sp-text); text-decoration: none; font-size: 12px; letter-spacing: .25em; text-transform: uppercase;
    transition: opacity .3s;
}
.scroll-hint__label { writing-mode: vertical-rl; }
.scroll-hint.is-hidden { opacity: 0; pointer-events: none; }

@media (max-width: 760px) {
    .social-bar, .scroll-hint { display: none; }
}

/* ---------- Standard-Inhaltselemente (Fluid Styled Content) ---------- */
.site-main > .frame {
    max-width: var(--sp-container); margin: 0 auto;
    padding: calc(var(--sp-section) / 2) var(--sp-gutter);
}
.site-main > .frame:first-child { padding-top: calc(var(--sp-header-h) + 40px); }
.site-main > .frame-narrow { max-width: 900px; }
.frame h1 { font-size: clamp(26px, 3.4vw, 40px); }
.frame h2 { font-size: clamp(20px, 2.4vw, 28px); }
.frame h3 { font-family: var(--sp-font-display); font-stretch: 125%; text-transform: uppercase; letter-spacing: .06em; font-size: 18px; }
.frame h4 { font-family: var(--sp-font-display); font-stretch: 125%; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; margin-top: 1.4em; }
.frame-type-text p, .frame-type-textmedia p { text-align: justify; hyphens: auto; }
.frame p.text-center { text-align: center; }
.frame p.text-end { text-align: right; }
.ce-bodytext ul { padding-left: 1.2em; }
.ce-image, .ce-textpic { margin: 0; }
.ce-gallery figure { margin: 0 auto; }
.ce-center .ce-gallery { display: flex; justify-content: center; }

/* ---------- Hero (Startseite) ---------- */
.sp-hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; align-items: center; overflow: hidden; isolation: isolate;
}
.sp-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -1; }
.sp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,0) 70%); z-index: -1; }
.sp-hero__content { width: 100%; max-width: 1320px; margin: 0 auto; padding: 120px var(--sp-gutter) 60px; }
.sp-hero__title {
    margin: 0; font-family: var(--sp-font-display); font-stretch: 125%; font-weight: 800;
    font-size: clamp(36px, 6.2vw, 92px); line-height: 1; letter-spacing: .1em; text-transform: uppercase;
    color: var(--sp-text); text-shadow: 0 2px 20px rgba(0,0,0,.35); max-width: 13em;
}
.sp-hero__handwritten {
    margin: 22px 0 0 clamp(40px, 10vw, 140px); font-family: var(--sp-font-hand);
    font-size: clamp(24px, 2.6vw, 38px); transform: rotate(-8deg); transform-origin: left; color: var(--sp-text);
}
.sp-hero__tagline {
    margin: clamp(40px, 8vw, 110px) 0 0; max-width: 34em; font-family: var(--sp-font-body); font-style: italic;
    font-weight: 300; font-size: clamp(19px, 2vw, 26px); line-height: 1.45; text-transform: none; letter-spacing: .02em; color: var(--sp-text);
}

/* ---------- Seitenkopf ---------- */
.sp-pageheader { position: relative; isolation: isolate; overflow: hidden; }
.sp-pageheader__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.sp-pageheader--quote { min-height: 88vh; display: flex; align-items: flex-end; }
.sp-pageheader--quote .sp-pageheader__bg { filter: grayscale(1); }
.sp-pageheader--quote::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23,23,23,.85), rgba(23,23,23,.15) 60%); z-index: -1; }
.sp-pageheader--quote .sp-pageheader__content { width: 100%; max-width: 1320px; margin: 0 auto; padding: 160px var(--sp-gutter) 70px; }
.sp-pageheader__quote {
    margin: 0; max-width: 18em; font-family: var(--sp-font-display); font-stretch: 125%; font-weight: 800;
    font-size: clamp(28px, 4.6vw, 64px); line-height: 1.08; letter-spacing: .06em; text-transform: uppercase;
}
.sp-pageheader__handwritten { margin: 10px 0 0; font-family: var(--sp-font-hand); font-size: clamp(22px, 2.4vw, 34px); color: var(--sp-text); }
.sp-pageheader--quote .sp-pageheader__handwritten { text-align: right; max-width: 30em; transform: rotate(-4deg); }
.sp-pageheader__tagline { margin: 28px 0 0; font-style: italic; font-size: clamp(18px, 1.8vw, 24px); color: var(--sp-text); }

.sp-pageheader--title { padding: calc(var(--sp-header-h) + 10px) var(--sp-gutter) 30px; }
.sp-pageheader__frame {
    position: relative; isolation: isolate; overflow: hidden; max-width: var(--sp-container); margin: 0 auto;
    min-height: clamp(260px, 36vw, 440px); display: flex; align-items: center; justify-content: center; text-align: center;
}
.sp-pageheader--title .sp-pageheader__bg { z-index: -2; }
.sp-pageheader--title .sp-pageheader__frame::after { content: ""; position: absolute; inset: 0; background: rgba(23,23,23,.35); z-index: -1; }
.sp-pageheader--title .sp-pageheader__content { padding: 30px 24px; }
.sp-pageheader__title {
    display: inline-block; margin: 0; padding: 10px 26px; background: rgba(23,23,23,.55);
    font-family: var(--sp-font-display); font-stretch: 125%; font-weight: 800; color: var(--sp-accent);
    font-size: clamp(22px, 3vw, 36px); letter-spacing: .1em; text-transform: uppercase; line-height: 1.25;
}
.sp-pageheader--title .sp-pageheader__handwritten { margin-top: 14px; text-shadow: 0 1px 8px rgba(0,0,0,.6); }

/* ---------- Text & Bild ---------- */
.sp-textimage__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.sp-textimage--img-left .sp-textimage__media { order: -1; }
.sp-textimage__text { padding: var(--sp-section) clamp(24px, 5vw, 80px); align-self: center; }
.sp-textimage__text .sp-richtext p { text-align: justify; hyphens: auto; }
.sp-textimage__media { position: relative; min-height: 420px; }
.sp-textimage__img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); position: absolute; inset: 0; }
.sp-textimage__button { margin-top: 28px; }

.sp-keyfacts {
    position: absolute; bottom: clamp(24px, 6vw, 80px); width: min(78%, 520px);
    padding: 26px 30px; background: rgba(122, 163, 204, .55); backdrop-filter: blur(4px);
    color: #fff;
}
.sp-textimage--img-right .sp-keyfacts { left: clamp(16px, 4vw, 60px); }
.sp-textimage--img-left .sp-keyfacts { right: clamp(16px, 4vw, 60px); }
.sp-keyfacts__title {
    margin: 0 0 16px; font-family: var(--sp-font-display); font-stretch: 125%; font-weight: 800;
    letter-spacing: .12em; text-transform: uppercase; font-size: 15px; color: var(--sp-accent);
    background: rgba(23,23,23,.7); display: inline-block; padding: 4px 10px;
}
.sp-keyfacts__body { font-family: var(--sp-font-body); font-style: italic; font-weight: 400; font-size: 17px; line-height: 1.45; }
.sp-keyfacts__body p { margin-bottom: .9em; }
.sp-keyfacts__body > :last-child { margin-bottom: 0; }

.sp-textimage--boxed { padding: 30px var(--sp-gutter); }
.sp-textimage--boxed .sp-textimage__inner { max-width: var(--sp-container); margin: 0 auto; background: var(--sp-bg-alt); border: 1px solid #3d3d3d; }
.sp-textimage--boxed .sp-textimage__text { padding: clamp(28px, 4vw, 56px); }
.sp-textimage--boxed .sp-textimage__media { min-height: 360px; }

@media (max-width: 860px) {
    .sp-textimage__inner { grid-template-columns: 1fr; }
    .sp-textimage--img-left .sp-textimage__media { order: 0; }
    .sp-textimage__media { min-height: 0; aspect-ratio: 4 / 3; }
    .sp-keyfacts { position: relative; inset: auto !important; width: auto; margin: -60px 16px 0; }
    .sp-textimage__media:has(.sp-keyfacts) { aspect-ratio: auto; }
    .sp-textimage__media:has(.sp-keyfacts) .sp-textimage__img { position: relative; aspect-ratio: 4 / 3; height: auto; }
}

/* ---------- Abschnittsüberschrift ---------- */
.sp-sectiontitle { padding: calc(var(--sp-section) * .7) var(--sp-gutter) calc(var(--sp-section) * .35); text-align: center; }
.sp-sectiontitle__text {
    margin: 0; font-family: var(--sp-font-display); font-stretch: 125%; font-weight: 800;
    font-size: clamp(28px, 4.2vw, 60px); letter-spacing: .14em; text-transform: uppercase; color: var(--sp-accent);
}
.sp-sectiontitle__text::after { content: ""; display: block; width: 26px; height: 3px; background: var(--sp-text); margin: 18px auto 0; }
.sp-sectiontitle--center-blue { background: linear-gradient(180deg, #2b3a49 0%, var(--sp-accent-dark) 100%); padding-bottom: calc(var(--sp-section) * .5); }
.sp-sectiontitle--center-blue .sp-sectiontitle__text { color: var(--sp-text); font-size: clamp(24px, 3vw, 40px); }
.sp-sectiontitle--left-line { text-align: left; max-width: var(--sp-container); margin: 0 auto; }
.sp-sectiontitle--left-line .sp-sectiontitle__text { color: var(--sp-text); font-size: clamp(24px, 3vw, 36px); padding: 0 clamp(0px, 4vw, 60px); }
.sp-sectiontitle--left-line .sp-sectiontitle__text::after {
    width: 100%; height: 3px; margin: 14px 0 0;
    background: linear-gradient(90deg, var(--sp-accent) 0 30%, #777 30% 100%);
}

/* ---------- Video ---------- */
.sp-video { padding: clamp(24px, 4vw, 60px) var(--sp-gutter); background: var(--sp-bg-alt); }
.sp-video__frame { max-width: 1240px; margin: 0 auto; box-shadow: 0 0 0 6px #111; }
.sp-video video { width: 100%; background: #000; aspect-ratio: 16 / 9; }

/* ---------- Testimonials ---------- */
.sp-testimonials { background: var(--sp-green); padding: clamp(48px, 7vw, 90px) var(--sp-gutter) 40px; text-align: center; }
.sp-testimonials__track { display: grid; max-width: 860px; margin: 0 auto; }
.sp-testimonials__slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.sp-testimonials__slide.is-active { opacity: 1; visibility: visible; }
.sp-testimonials__quote { margin: 0 0 28px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; font-weight: 400; color: #fff; }
.sp-testimonials__name {
    display: block; font-family: var(--sp-font-display); font-stretch: 125%; font-weight: 800;
    letter-spacing: .16em; text-transform: uppercase; color: var(--sp-dark-on-light); font-size: 15px;
}
.sp-testimonials__role { display: block; font-size: 14px; color: #fff; margin-top: 4px; }

.sp-slider-dots { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.sp-slider-dots__dot { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1px solid #fff; background: transparent; cursor: pointer; }
.sp-slider-dots__dot.is-active { background: #fff; }

/* ---------- Teaser-Kacheln ---------- */
.sp-teasercards { padding: 0 var(--sp-gutter) var(--sp-section); }
.sp-teasercards__grid { max-width: var(--sp-container); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 5vw, 70px); }
.sp-teasercard__media { display: block; overflow: hidden; }
.sp-teasercard__media img { width: 100%; aspect-ratio: 583 / 557; object-fit: cover; filter: grayscale(1); transition: transform .5s, filter .5s; }
.sp-teasercard__media:hover img { transform: scale(1.04); filter: grayscale(.4); }
.sp-teasercard__body { padding: 24px clamp(0px, 3vw, 46px) 0; }
.sp-teasercard__overline { margin: 0; font-size: 16px; }
.sp-teasercard__title {
    margin: 2px 0 20px; font-family: var(--sp-font-display); font-stretch: 125%; font-weight: 800;
    font-size: clamp(22px, 2.4vw, 32px); letter-spacing: .14em; text-transform: uppercase;
}
.sp-teasercard__title::after { content: ""; display: block; width: min(100%, 280px); height: 3px; margin-top: 4px; background: linear-gradient(90deg, var(--sp-green) 0 55%, var(--sp-accent) 55% 100%); }
.sp-teasercard .sp-richtext p { text-align: justify; hyphens: auto; font-size: 16px; }
.sp-teasercard .sp-button { margin-top: 14px; }

@media (max-width: 760px) { .sp-teasercards__grid { grid-template-columns: 1fr; } }

/* ---------- Leistungsliste ---------- */
.sp-services { background: linear-gradient(180deg, var(--sp-accent-dark) 0%, #2b3a49 40%, var(--sp-bg) 100%); padding: 20px var(--sp-gutter) var(--sp-section); }
.sp-service { position: relative; max-width: var(--sp-container); margin: 0 auto 70px; display: grid; grid-template-columns: 58% 1fr; }
.sp-service:last-child { margin-bottom: 0; }
.sp-service__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(1); }
.sp-service__box {
    position: relative; margin: 120px 0 0 -14%; padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 44px) 28px;
    background: rgba(23, 23, 23, .92); align-self: start; display: flex; flex-direction: column;
}
.sp-service__title { margin: 0; font-family: var(--sp-font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(18px, 1.9vw, 24px); letter-spacing: .1em; text-transform: uppercase; }
.sp-service__title a { color: var(--sp-accent); text-decoration: none; }
.sp-service__title a:hover { color: #fff; }
.sp-service__subtitle { margin: 2px 0 22px; font-family: var(--sp-font-hand); font-weight: 600; font-size: 21px; color: var(--sp-text); }
.sp-service__text { font-size: 15px; line-height: 1.6; }
.sp-service__footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 6px; }
.sp-service__more { font-size: 14px; }
.sp-service__logo { max-height: 60px; width: auto; }

@media (max-width: 860px) {
    .sp-service { grid-template-columns: 1fr; }
    .sp-service__box { margin: -40px 16px 0; }
}

/* ---------- CTA ---------- */
.sp-cta { padding: clamp(40px, 6vw, 80px) var(--sp-gutter); }
.sp-cta--blue { background: var(--sp-accent); }
.sp-cta__inner { max-width: 900px; margin: 0 auto; }
.sp-cta--center { text-align: center; }
.sp-cta--left .sp-cta__inner { max-width: 760px; }
.sp-cta__heading--caps {
    font-family: var(--sp-font-display); font-stretch: 125%; font-weight: 800; letter-spacing: .14em;
    text-transform: uppercase; font-size: clamp(17px, 2vw, 22px); line-height: 1.4;
}
.sp-cta--blue .sp-cta__heading { color: var(--sp-dark-on-light); }
.sp-cta__heading--handwritten { font-family: var(--sp-font-hand); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); color: var(--sp-text); margin-bottom: 0; }
.sp-cta__note { font-family: var(--sp-font-hand); font-size: 20px; margin: 0 0 18px; }
.sp-cta__action { margin: 24px 0 0; }
.sp-cta--blue .sp-button { background: var(--sp-light); }
.sp-cta--blue .sp-button:hover { background: var(--sp-bg); }

/* ---------- Partner ---------- */
.sp-partners { padding: var(--sp-section) var(--sp-gutter); }
.sp-partners__inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; align-items: center; gap: 40px; }
.sp-partners__title {
    margin: 0; font-family: var(--sp-font-display); font-stretch: 125%; font-weight: 800;
    letter-spacing: .2em; text-transform: uppercase; font-size: clamp(20px, 2vw, 26px); line-height: 1.5; text-align: center;
}
.sp-partners__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 40px; align-items: center; justify-items: center; }
.sp-partners__item img { height: 80px; width: auto; max-width: 230px; object-fit: contain; transition: opacity .2s; }
.sp-partners__item a:hover img { opacity: .75; }
@media (max-width: 700px) { .sp-partners__inner { grid-template-columns: 1fr; } }

/* ---------- Bilder-Slider ---------- */
.sp-imageslider { padding: 0 var(--sp-gutter) clamp(30px, 4vw, 50px); }
.sp-imageslider__frame { position: relative; max-width: 980px; margin: 0 auto; }
.sp-imageslider__track { display: grid; }
.sp-imageslider__slide { grid-area: 1 / 1; margin: 0; opacity: 0; transition: opacity .6s; }
.sp-imageslider__slide.is-active { opacity: 1; }
.sp-imageslider__slide img { width: 100%; aspect-ratio: 980 / 514; object-fit: cover; filter: grayscale(1); }
.sp-imageslider__nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    background: none; border: 0; color: #fff; font-size: 54px; line-height: 1; padding: 10px 16px; cursor: pointer;
    text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.sp-imageslider__nav--prev { left: 0; }
.sp-imageslider__nav--next { right: 0; }
.sp-imageslider__counter { position: absolute; right: 16px; bottom: 8px; margin: 0; font-size: 14px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.7); }

/* ---------- Profil-Karte ---------- */
.sp-profile { padding: 20px var(--sp-gutter) var(--sp-section); }
.sp-profile__inner { max-width: var(--sp-container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; background: var(--sp-bg-alt); }
.sp-profile__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.sp-profile__card { background: var(--sp-light); color: var(--sp-dark-on-light); padding: clamp(28px, 4vw, 54px); }
.sp-profile__name { margin: 0; font-family: var(--sp-font-display); font-stretch: 125%; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: clamp(20px, 2vw, 26px); }
.sp-profile__role { margin: 0 0 22px; padding-bottom: 8px; border-bottom: 2px solid var(--sp-dark-on-light); font-weight: 400; }
.sp-profile__body h4 { margin: 18px 0 6px; font-family: var(--sp-font-display); font-stretch: 125%; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; }
.sp-profile__body ul { margin: 0; font-size: 14px; }
.sp-profile__body li { margin-bottom: 2px; }
@media (max-width: 860px) { .sp-profile__inner { grid-template-columns: 1fr; } }

/* ---------- Formular ---------- */
.frame-type-form_formframework { max-width: 760px !important; }
.frame-type-form_formframework form { margin-top: 10px; }
.frame-type-form_formframework > header h2 {
    font-family: var(--sp-font-hand); font-weight: 600; font-stretch: normal; text-transform: none;
    letter-spacing: 0; font-size: clamp(26px, 2.6vw, 34px);
}
.frame-type-form_formframework form > h2 {
    font-family: var(--sp-font-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase;
    letter-spacing: .06em; font-size: clamp(26px, 3vw, 36px);
}
.frame-type-form_formframework label, .frame-type-form_formframework .form-label { display: block; font-size: 13px; margin-bottom: 4px; }
.frame-type-form_formframework .form-group, .frame-type-form_formframework .mb-3 { margin-bottom: 18px; }
.frame-type-form_formframework input[type=text],
.frame-type-form_formframework input[type=email],
.frame-type-form_formframework input[type=tel],
.frame-type-form_formframework textarea {
    width: 100%; padding: 10px 12px; border: 1px solid #ccc; background: var(--sp-light); color: var(--sp-dark-on-light);
    font: inherit; font-weight: 400; border-radius: 0;
}
.frame-type-form_formframework .form-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.frame-type-form_formframework .form-check label { display: flex; gap: 12px; font-size: 14px; }
.frame-type-form_formframework .form-check input { margin-top: 4px; flex: 0 0 auto; width: 18px; height: 18px; }
.frame-type-form_formframework .required { color: var(--sp-accent); }
.frame-type-form_formframework .error .form-control, .frame-type-form_formframework .has-error input { border-color: #ea492e; }
.frame-type-form_formframework .help-block, .frame-type-form_formframework .invalid-feedback { color: #ff8a73; font-size: 14px; }
.frame-type-form_formframework button[type=submit], .frame-type-form_formframework .btn-primary {
    padding: 12px 28px; background: var(--sp-light); color: var(--sp-dark-on-light); border: 1px solid var(--sp-light);
    font-family: var(--sp-font-display); font-stretch: 125%; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
}
.frame-type-form_formframework button[type=submit]:hover { background: var(--sp-bg); color: var(--sp-light); }

/* ---------- Blog (EXT:news) ---------- */
.sp-blog { max-width: var(--sp-container); margin: 0 auto; }
.sp-blog__cats { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0 0 18px; margin: 0 0 34px; border-bottom: 1px solid #444; }
.sp-blog__cats a { color: var(--sp-text); text-decoration: none; font-size: 16px; }
.sp-blog__cats a:hover, .sp-blog__cats .is-active a { color: var(--sp-accent); }
.sp-blog__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 34px; }
.sp-post-card { background: var(--sp-bg-alt); display: flex; flex-direction: column; }
.sp-post-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sp-post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.sp-post-card__meta { font-size: 13px; color: var(--sp-text-muted); margin-bottom: 10px; }
.frame .sp-post-card__title { font-family: var(--sp-font-body); font-weight: 600; font-size: 21px; line-height: 1.3; text-transform: none; letter-spacing: 0; margin: 0 0 12px; }
.sp-post-card__title a { color: var(--sp-text); text-decoration: none; }
.sp-post-card__title a:hover { color: var(--sp-accent); }
.sp-post-card__teaser { font-size: 15px; margin: 0; color: #cfcfcf; }

.sp-post { max-width: 820px; margin: 0 auto; }
.sp-post__meta { color: var(--sp-text-muted); font-size: 14px; margin-bottom: 18px; }
.sp-post__title { font-family: var(--sp-font-body) !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important; font-size: clamp(28px, 3.6vw, 40px) !important; }
.sp-post__hero { margin: 0 0 30px; }
.sp-post__body { font-size: 18px; line-height: 1.7; }
.sp-post__body h2, .sp-post__body h3, .sp-post__body h4 { font-family: var(--sp-font-body); text-transform: none; letter-spacing: 0; font-weight: 600; margin-top: 1.6em; }
.sp-post__body h2 { font-size: 26px; }
.sp-post__body h3 { font-size: 22px; }
.sp-post__body img { margin: 24px auto; }
.sp-post__body ul { padding-left: 1.2em; }
.sp-post__back { margin-top: 40px; }
.news .page-navigation ul { list-style: none; display: flex; gap: 10px; padding: 0; justify-content: center; margin-top: 40px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--sp-bg); border-top: 1px solid #2a2a2a; padding: 50px var(--sp-gutter) 40px; font-size: 14px; }
.site-footer__inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr 1.4fr .8fr; gap: 40px; align-items: start; }
.site-footer .social-icons { flex-direction: row; margin-bottom: 16px; }
.site-footer .social-icons a { width: 22px; height: 22px; }
.site-footer .social-icons svg { width: 13px; height: 13px; }
.footer-links { list-style: none; margin: 0; padding: 0; line-height: 2; }
.footer-links a { color: var(--sp-text); text-decoration: none; }
.footer-links a:hover { color: var(--sp-accent); }
.footer-links--inline { display: flex; flex-wrap: wrap; gap: 0 18px; }
.footer-links--bullets li::before { content: "\2022"; margin-right: 8px; }
.footer-links--bullets { line-height: 1.8; }
.site-footer__col--badges { display: flex; gap: 22px; align-items: center; }
.site-footer__col--badges img { height: 110px; width: auto; }
.footer-title {
    margin: 0 0 10px; font-family: var(--sp-font-display); font-stretch: 125%; font-weight: 800;
    font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sp-text);
}
.site-footer__col--contact p { margin-bottom: 22px; line-height: 1.8; }
.site-footer__col--contact a { color: var(--sp-text); text-decoration: none; }
.site-footer__col--contact a:hover { color: var(--sp-accent); }

@media (max-width: 960px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* ---------- Kleine Bildschirme: breite Versalien-Schrift darf nicht überlaufen ---------- */
html, body { overflow-x: clip; }
.frame p, .frame li, .sp-richtext p, .sp-richtext li { overflow-wrap: anywhere; }
.sp-profile__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 860px) { .sp-profile__inner { grid-template-columns: minmax(0, 1fr); } }
h1, h2, h3, .sp-hero__title, .sp-pageheader__quote { overflow-wrap: break-word; hyphens: auto; }
.sp-textimage__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 860px) {
    .sp-textimage__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .sp-hero__title { font-size: 30px; letter-spacing: .06em; }
    .sp-pageheader__quote { font-size: 22px; letter-spacing: .03em; }
    .sp-heading, .ce-headline, .frame h1, .frame h2 { font-size: 20px; letter-spacing: .03em; }
    .sp-sectiontitle__text { font-size: 24px; letter-spacing: .06em; }
    .sp-pageheader__title, .sp-teasercard__title, .sp-service__title, .sp-partners__title { letter-spacing: .04em; }
    .sp-pageheader__title { font-size: 20px; padding: 8px 14px; }
    .sp-cta__heading--caps { letter-spacing: .06em; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
