/* ==========================================================================
   YPS Fensterbau – Stylesheet
   1. Schrift & Variablen   2. Basis   3. Layout   4. Buttons   5. Header & Navigation
   6. Seitenkopf   7. Footer   8. Rechtstexte   9. Preloader / Cursor / Scrollbar
   ========================================================================== */

/* 1. Schrift & Variablen ------------------------------------------------- */
@font-face {
  font-family: "Stack Sans Headline";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url(../fonts/stack-sans-headline-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Stack Sans Headline";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url(../fonts/stack-sans-headline-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Brands";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(../fonts/fa-brands.woff2) format("woff2");
}

:root {
  --primary: #181818;
  --accent: #edc701;
  --white: #ffffff;
  --text: #83827f;
  --bg: #f6f5ed;
  --divider: rgba(24, 24, 24, 0.1);
  --divider-dark: rgba(255, 255, 255, 0.1);
  --font: "Stack Sans Headline", sans-serif;
  --container: 1300px;
}

/* 2. Basis ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { max-width: 100%; vertical-align: middle; }
img { height: auto; border: 0; }
a { color: inherit; text-decoration: none; transition: 0.3s ease-in-out; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--primary); font-weight: 400; line-height: 1.2; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
.icon { width: 1em; height: 1em; fill: currentColor; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100000;
  padding: 10px 16px; background: var(--accent); color: var(--primary);
}
.skip-link:focus { left: 10px; top: 10px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 3. Layout --------------------------------------------------------------- */
.section { position: relative; padding-inline: 10px; }
.container { width: min(100%, var(--container)); margin-inline: auto; }

/* 4. Buttons -------------------------------------------------------------- */
.btn {
  position: relative; z-index: 1;
  display: inline-flex; flex-direction: row-reverse; align-items: center; gap: 10px;
  padding: 15px 24px; overflow: hidden;
  background: var(--accent); border: 0; border-radius: 100px;
  color: var(--primary); font-weight: 500; font-size: 16px; line-height: 16px; text-align: center;
  cursor: pointer; transition: 0.4s ease-in;
}
.btn:hover { color: #333; }
.btn .icon { width: 20px; height: 20px; flex: none; }
.btn__text { position: relative; z-index: 10; }
/* weißer Kreis, der beim Hover von der Mausposition aus wächst (Position setzt main.js) */
.btn__fill {
  position: absolute; z-index: -1; display: block; width: 0; height: 0;
  background: var(--white); border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease-in-out, height 0.4s ease-in-out;
}
.btn:hover .btn__fill { width: 225%; height: 562.5px; }

/* 5. Header & Navigation -------------------------------------------------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 100;
  padding-inline: 10px;
  border-bottom: 1px solid var(--divider-dark);
}
.site-header.is-scrolled {
  position: fixed; z-index: 99999;
  background: rgba(24, 24, 24, 0.96);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: background 0.3s ease-in-out;
}
.site-header__inner {
  width: min(100%, var(--container)); margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center;
  padding-block: 20px;
}
.site-header__logo { width: 20%; padding: 10px; }
.site-header__logo img { display: block; width: 100%; max-height: 50px; }
.site-header__nav { width: 60%; padding: 10px; }
.site-header__cta { width: 20%; padding: 10px; display: flex; justify-content: flex-end; }

.nav__list { display: flex; flex-wrap: wrap; justify-content: center; }
.nav__item { margin: 0 10px; }
.nav__link {
  display: flex; align-items: center; padding: 12px 10px;
  color: var(--white); font-size: 16px; line-height: 1.2; transition: 0.4s;
}
.nav__link:hover, .nav__link:focus, .nav__link.is-active { color: var(--accent); }
.nav__close, .nav__toggle { display: none; }

@media (max-width: 1024px) {
  .site-header__inner { padding-block: 10px; }
  .site-header__logo { width: 80%; }
  .site-header__nav { width: 20%; }
  .site-header__cta { display: none; }

  .nav__toggle {
    display: block; float: right; width: 38px; padding: 8px;
    background: var(--accent); border: 0; border-radius: 6px; color: #000; line-height: 0;
    transition: 0.4s ease-in;
  }
  .nav__toggle:hover { background: var(--white); }
  .nav__toggle .icon { width: 22px; height: 22px; }

  .nav__panel {
    position: fixed; top: 0; left: -100vw; z-index: 90000;
    width: 100%; height: 100%; max-width: 100%;
    display: flex; flex-direction: column;
    overflow: hidden auto; padding-bottom: 10px;
    background: var(--accent);
    transition: left 0.3s ease-in-out;
  }
  .nav__panel.is-open { left: 0; }
  .nav__head { height: 78px; padding: 20px; border-bottom: 1px solid rgba(24, 24, 24, 0.15); }
  .nav__close {
    display: block; float: right; width: 38px; margin: 0; padding: 8px 8px 6px;
    background: var(--primary); border: 0; border-radius: 6px;
    color: var(--white); font-size: 20px; font-weight: 600; line-height: 1.2;
    transition: 0.4s ease-in;
  }
  .nav__close:hover { background: var(--white); color: var(--primary); }
  .nav__list { display: block; margin: 10px 0; }
  .nav__item { margin: 0; }
  .nav__link { padding: 7px 20px; color: var(--primary); line-height: 1.3; }
  .nav__link:hover, .nav__link:focus, .nav__link.is-active { color: var(--white); }
}

/* 6. Seitenkopf ----------------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden; z-index: 0;
  padding: 260px 10px 150px;
  background: url(../img/bg/page-header-bg.jpg) center / cover no-repeat;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(24, 24, 24, 0.8) 0%, rgba(24, 24, 24, 0.72) 36.01%, transparent 63.02%),
    linear-gradient(180deg, rgba(24, 24, 24, 0.8) 0%, transparent 18.18%);
}
.page-hero__bg {
  position: absolute; left: 0; right: 0; top: -50%; height: 150%; z-index: 0;
  background: url(../img/bg/page-header-bg.jpg) center / cover no-repeat;
  will-change: transform;
}
.page-hero__inner {
  position: relative; z-index: 2;
  width: min(100%, var(--container)); margin-inline: auto;
  display: flex; flex-direction: column; gap: 20px;
}
.page-hero__body { display: flex; flex-direction: column; gap: 15px; padding: 10px; }
.page-hero__title { color: var(--white); font-size: 58px; font-weight: 500; line-height: 1.2; }
.breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; line-height: 1.3; }
.breadcrumb__item { display: inline-block; color: var(--white); }
.breadcrumb__item + .breadcrumb__item::before { content: "/"; margin: 0 8px; }

@media (max-width: 1024px) {
  .page-hero { padding: 160px 10px 70px; }
  .page-hero__body { gap: 10px; }
  .page-hero__title { font-size: 42px; }
}
@media (max-width: 767px) {
  .page-hero__title { font-size: 28px; }
}

/* 7. Footer --------------------------------------------------------------- */
.site-footer {
  padding: 40px 10px 0;
  background: var(--primary) url(../img/bg/dark-section-bg-image.png) center top / cover no-repeat;
  color: var(--white);
}
.site-footer__inner {
  width: min(100%, var(--container)); margin-inline: auto;
  display: flex; flex-direction: column; gap: 50px 20px;
}
.site-footer__cols { display: flex; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; padding: 10px; }
.footer-col--brand { width: 25%; align-items: flex-start; gap: 30px; }
.footer-col--links { width: 19%; gap: 30px; padding-left: 50px; }
.footer-col--services {
  width: 27%; gap: 30px; padding: 10px 40px;
  border-inline: 1px solid var(--divider-dark);
}
.footer-brand__logo { width: 100%; max-width: 152px; }
.footer-brand__text { margin: 0 0 10px; color: var(--white); }
.footer-col__title { color: var(--white); font-size: 20px; line-height: 1.2; }
.footer-links a { display: flex; align-items: center; padding-bottom: 15px; color: var(--white); line-height: 1.4; }
.footer-links li:last-child a { padding-bottom: 0; }
.footer-links a:hover { color: var(--accent); }

.social { display: flex; }
.social__link {
  display: block; width: 40px; height: 40px; line-height: 38px; text-align: center;
  border: 1px solid var(--divider-dark); border-radius: 50%; color: var(--white);
  transition: 0.4s;
}
.social__link:hover { background: var(--accent); color: var(--primary); }
.social__icon { font: 400 18px/18px "Brands"; display: inline-block; vertical-align: middle; }
.social__icon--pinterest::before { content: "\f231"; }
.social__icon--x::before { content: "\e9ca"; }
.social__icon--facebook::before { content: "\f39e"; }
.social__icon--instagram::before { content: "\f16d"; }

.footer-contact { margin-top: 10px; padding: 10px; display: flex; }
.footer-contact__box {
  flex: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px;
  padding: 30px 40px; background: var(--divider-dark); border-radius: 20px;
}
.footer-contact__title { color: var(--white); font-size: 26px; line-height: 1.2; }
.footer-contact__items { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; }
.info-box { display: flex; align-items: center; overflow: hidden; color: var(--white); }
.info-box__icon {
  display: inline-flex; flex: none; justify-content: center; align-items: center;
  width: 50px; height: 50px; margin-right: 15px;
  background: var(--accent); border-radius: 50%; color: var(--primary); font-size: 24px;
}
.info-box__title { margin: 0 0 5px; color: var(--white); font-size: 16px; line-height: 1.7; }
.info-box__text { margin: 0; color: var(--white); font-size: 20px; line-height: 1.2; transition: 0.3s; }
.info-box:hover .info-box__text { color: var(--accent); }

.footer-bottom { padding: 0 10px 40px; }
.footer-bottom__copy { margin: 0; text-align: center; color: var(--white); }
.footer-bottom__copy a { transition: color 0.3s ease; }
.footer-bottom__copy a:hover { color: var(--accent); }

@media (max-width: 1024px) {
  .site-footer { padding-top: 35px; }
  .site-footer__inner { gap: 10px; }
  .site-footer__cols { gap: 10px 0; }
  .footer-col { gap: 20px; }
  .footer-col--brand { width: 100%; }
  .footer-col--links { width: 25%; padding: 10px; }
  .footer-col--services { width: 35%; padding: 10px; border: 0; }
  .footer-contact { margin-top: 0; }
  .footer-contact__box { padding: 30px; }
  .footer-contact__title { font-size: 24px; }
  .footer-contact__items { gap: 20px; }
  .info-box__text { font-size: 18px; }
  .footer-bottom { padding: 10px 10px 35px; }
}
@media (max-width: 767px) {
  .site-footer__inner { gap: 5px; }
  .footer-col--links, .footer-col--services { width: 100%; gap: 15px; }
  .footer-col__title { font-size: 18px; }
  .footer-links a { padding-bottom: 10px; }
  .footer-links li:last-child a { padding-bottom: 0; }
  .footer-contact { margin-top: 5px; }
  .footer-contact__box { padding: 20px; }
  .footer-contact__title { font-size: 22px; }
  .footer-contact__items { width: 100%; }
  .footer-bottom { padding: 0 10px 15px; }
}

/* 8. Rechtstexte (Impressum, Datenschutz, AGB) ----------------------------- */
.legal { padding: 40px 20px; }
.legal__card {
  width: min(100%, 1200px); margin-inline: auto;
  padding: 50px 40px; background: var(--white); border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  color: #333; line-height: 1.8; font-size: 16px;
}
.legal h2 { margin-bottom: 24px; color: #0f172a; font-size: 28px; }
.legal h3 { margin: 25px 0 12px; color: #112d4e; font-size: 20px; }
.legal__lead { margin-bottom: 20px; color: #475569; font-size: 17px; }
.legal hr { height: 1px; margin: 30px 0; border: 0; background: #e2e8f0; }
.legal a { color: #112d4e; }
.legal ul { margin: 0 0 15px 20px; list-style: disc; }
.legal p { margin: 0 0 15px; }
.legal__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;
  margin-bottom: 40px;
}
.legal__box { padding: 25px; background: #f8fafc; border-radius: 8px; border-left: 4px solid #112d4e; }
.legal__box--alt { border-left-color: #d4a373; }
.legal__box h3 { margin: 0 0 15px; }
.legal__box p { margin: 0 0 8px; }
.legal__box a { font-weight: 600; }
.legal__section-title { margin: 30px 0 12px; color: #0f172a; font-size: 22px; }
.legal__note { padding: 15px; background: #f8fafc; border-radius: 6px; border-left: 3px solid #112d4e; }
@media (max-width: 767px) {
  .legal { padding: 30px 10px; }
  .legal__card { padding: 30px 20px; }
}

/* 9. Preloader, Cursor, Scrollbar ----------------------------------------- */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary);
  transition: opacity 0.6s ease;
}
.preloader.is-done { opacity: 0; pointer-events: none; }
/* Sicherheitsnetz: verschwindet auch dann, wenn das Skript nicht läuft */
.preloader { animation: preloader-hide 0.4s ease 4s forwards; }
@keyframes preloader-hide { to { opacity: 0; visibility: hidden; } }
.preloader__ring, .preloader__ring-inner { position: relative; width: 100px; height: 100px; border-radius: 100%; }
.preloader__ring { margin: 40px auto; }
.preloader__ring-inner {
  border: 1px solid transparent; border-color: transparent var(--white) transparent var(--white);
  animation: preloader-spin 1.5s linear infinite; transform-origin: 50% 50%;
}
.preloader__icon {
  position: absolute; top: 50%; left: 50%; max-width: 66px; transform: translate(-50%, -50%);
}
@keyframes preloader-spin { to { transform: rotate(360deg); } }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 1000000;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  background: var(--accent); border-radius: 50%; pointer-events: none;
  opacity: 0; transition: opacity 0.3s, scale 0.3s;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-hidden { opacity: 0; scale: 0; }
@media (max-width: 1024px), (hover: none) { .cursor { display: none; } }

body::-webkit-scrollbar { width: 7px; background-color: var(--primary); }
body::-webkit-scrollbar-track { background-color: var(--primary); border-left: 1px solid var(--primary); }
body::-webkit-scrollbar-thumb { background: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* Buchstaben-Animation für Überschriften (Auslöser: main.js) */
[data-reveal="chars"] .split-word { display: inline-block; white-space: nowrap; }
[data-reveal="chars"] .split-char {
  display: inline-block; opacity: 0; transform: translateX(50px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
[data-reveal="chars"].is-revealed .split-char { opacity: 1; transform: none; }

/* 10. Wiederverwendbare Bausteine ------------------------------------------ */
.pill {
  position: relative; display: inline-block;
  padding: 10px 16px 10px 32px; background: var(--white); border-radius: 100px;
  color: var(--primary); font-size: 14px; line-height: 1; text-align: center;
}
.pill::before {
  content: ""; position: absolute; left: 16px; top: 50%; width: 5px; height: 5px;
  background: var(--accent); border-radius: 50%; transform: translateY(-50%);
}
.pill--glass { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.h2 { color: var(--primary); font-size: 46px; font-weight: 500; line-height: 1.2; }
.text { margin: 0; }

.info-box--link { width: 100%; }
.info-box--link .info-box__icon { margin-right: 15px; border-radius: 100px; }
.info-box--dark { color: var(--primary); }
.info-box--dark .info-box__title { padding-bottom: 5px; margin: 0; color: var(--text); font-size: 16px; line-height: 1.7; }
.info-box--dark .info-box__text { color: var(--primary); }
.info-box--dark:hover .info-box__text { color: var(--accent); }

/* Formulare (Versand über WhatsApp, siehe main.js) */
.form__row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.form__group { width: 50%; padding: 0 15px; margin-bottom: 24px; }
.form__group--full { width: 100%; }
.form__group--btn { margin-bottom: 0; }
.input {
  display: block; width: 100%; height: 60px; padding: 18px 20px;
  background: var(--bg); border: 0; border-radius: 10px; color: var(--primary);
  font: inherit; line-height: 1.7; transition: 0.4s;
}
textarea.input { height: 108px; resize: none; }
.input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn--whatsapp {
  display: inline-flex; flex-direction: row; align-items: center; gap: 10px;
  padding: 17px 24px; background: #25d366; border: 2px solid #25d366; color: var(--white);
  border-radius: 100px; font-weight: 500; line-height: 16px; cursor: pointer;
}
.btn--whatsapp:hover { background: #1ebe57; border-color: #1ebe57; color: var(--white); }
.btn--whatsapp .icon { width: 16px; height: 16px; }
.form__status { margin: 15px 0 0; color: var(--primary); }
.form__status:empty { display: none; }

/* Kontaktseite */
.contact { padding: 40px 10px; }
.contact__inner { width: min(100%, var(--container)); margin-inline: auto; display: flex; flex-wrap: wrap; }
.contact__intro { width: 50%; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 10px 20px 10px 10px; }
.contact__intro-box { display: flex; flex-direction: column; justify-content: space-between; gap: 15px; min-height: 590px; }
.contact__intro-main { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.contact__intro-main .h2 { margin-bottom: 5px; }
.contact__aside { display: flex; flex-direction: column; gap: 30px; padding-top: 60px; border-top: 1px solid var(--divider); }
.contact__note { max-width: 394px; margin: 0; }
.contact__card-wrap { width: 50%; display: flex; flex-direction: column; padding: 10px; }
.contact__card { display: flex; flex-direction: column; gap: 20px; padding: 50px; background: var(--white); border-radius: 20px; }
.contact__form { margin-top: 20px; }

.map { padding: 40px 10px; }
.map__inner { width: min(100%, var(--container)); margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 40px 20px; }
.map__head { width: 720px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 15px; padding: 10px; text-align: center; }
.map__head .h2 { text-align: center; }
.map__frame { width: 100%; border-radius: 20px; overflow: hidden; line-height: 0; }
.map__frame iframe { display: block; width: 100%; height: 500px; border: 0; }

@media (max-width: 1024px) {
  .h2 { font-size: 36px; }
  .pill { padding: 8px 12px 8px 28px; }
  .pill::before { left: 12px; }
  .contact { padding: 35px 10px; }
  .contact__intro, .contact__card-wrap { width: 100%; padding: 10px; }
  .contact__intro-box { min-height: 0; gap: 30px; }
  .contact__intro-main { gap: 10px; }
  .contact__intro-main .h2 { margin-bottom: 0; }
  .contact__aside { gap: 20px; padding-top: 30px; }
  .contact__note { max-width: 100%; }
  .contact__card { gap: 10px; padding: 30px; }
  .info-box--dark .info-box__text { font-size: 18px; }
  .form__group--btn .btn--whatsapp { padding: 15px 18px; }
  .map { padding: 35px 10px; }
  .map__inner { gap: 20px; }
  .map__head { width: 100%; gap: 10px; }
}
@media (max-width: 767px) {
  .h2 { font-size: 26px; }
  .form__group { width: 100%; }
  .contact__card { padding: 20px; }
  .map__inner { gap: 10px; }
}
@media (max-width: 1024px) {
  .input { height: 50px; padding: 13px 15px; }
  textarea.input { height: 98px; }
}

/* 11. Sektionen --------------------------------------------------------- */
.band { padding: 40px 10px; }
.band--white { background: var(--white); }
.band--dark { background: var(--primary) url(../img/bg/dark-section-bg-image.png) center top / cover no-repeat; color: var(--white); }
.band__inner { width: min(100%, var(--container)); margin-inline: auto; }
.pill--beige { background: var(--bg); }
.btn--dark .btn__fill { background: var(--primary); }
.btn--dark:hover .btn__text { color: var(--white); }

/* Leistungs-Karten */
.service-grid { display: flex; flex-wrap: wrap; gap: 30px; padding: 10px; }
.service-card {
  position: relative; isolation: isolate; overflow: hidden;
  width: calc(33.33% - 20px); display: flex; flex-direction: column;
  padding: 20px; background: var(--white); border-radius: 20px; color: var(--white);
}
.service-card__img { position: absolute; inset: 0; z-index: 0; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.service-card:hover .service-card__img img { transform: scale(1.05); }
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.85) 100%);
}
.service-card__icon {
  position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; margin-bottom: 124px; align-self: flex-start;
  background: var(--accent); border-radius: 10px; color: var(--primary); font-size: 24px;
}
.service-card__icon .icon { width: 24px; height: 24px; }
.service-card__body { position: relative; z-index: 2; }
.service-card__title {
  max-width: 240px; margin: 0 0 30px; color: var(--white);
  font-size: 20px; font-weight: 400; line-height: 1.4; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.service-card__more { padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.3); line-height: 0; }
.service-card__link { display: inline-flex; align-items: center; color: var(--white); font-size: 16px; font-weight: 400; line-height: 1.25; }
.service-card__link .icon { width: 20px; height: 20px; margin-left: 8px; transition: transform 0.4s ease-in-out; }
.service-card:hover .service-card__link .icon { transform: rotate(45deg); }

/* Ablauf (Schritte + Bild-Slider) */
.process__inner { width: min(100%, var(--container)); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; }
.process__text { width: 50%; display: flex; flex-direction: column; align-items: flex-start; gap: 15px; padding: 10px; }
.process__text .h2 { margin-bottom: 5px; }
.steps { display: flex; flex-direction: column; gap: 40px; margin-top: 25px; width: 100%; }
.step { position: relative; padding: 0 0 40px 65px; border-bottom: 1px solid var(--divider); }
.step:last-child { padding-bottom: 0; border-bottom: 0; }
.step__badge {
  position: absolute; left: 0; top: 0; width: 50px; height: 50px; display: grid; place-items: center;
  background: var(--accent); border-radius: 10px; color: var(--primary); font-size: 24px; line-height: 1.2;
}
.step__title { color: var(--primary); font-size: 20px; line-height: 1.2; }
.step__text { margin: 10px 0 0; }
.process__media { width: 50%; padding: 10px 10px 10px 85px; }
.slider { position: relative; padding-bottom: 210px; }
.slider__stage { position: relative; aspect-ratio: 1 / 0.974; overflow: hidden; border-radius: 999px 999px 0 0; }
.slider__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; }
.slider__slide.is-active { opacity: 1; z-index: 10; }
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.slider__stage::after {
  content: ""; position: absolute; z-index: 20; left: 50%; top: 50%; width: 200%; height: 0;
  background: rgba(255, 255, 255, 0.3); transform: translate(-50%, -50%) rotate(-45deg); pointer-events: none;
}
.slider__stage:hover::after { height: 250%; background: transparent; transition: all 600ms linear; }
.slider__thumbs {
  position: absolute; left: 0; right: 0; bottom: 10px; display: grid;
  grid-template-columns: repeat(2, 1fr); gap: 20px; height: 180px;
}
.slider__thumb {
  padding: 0; border: 0; border-radius: 6px; background-size: cover; background-position: center;
  transform: scale(0.9); opacity: 0.9; transition: all 0.3s ease-out;
}
.slider__thumb.is-active { transform: scale(1); opacity: 1; }

/* Erfahrung / Zahlen */
.experience { display: flex; flex-direction: column; gap: 40px 20px; }
.experience__top { display: flex; flex-wrap: wrap; align-items: center; }
.experience__lead { width: 49%; display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.experience__text { width: 51%; padding-left: 30px; display: flex; flex-direction: column; gap: 40px; }
.counters { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; padding-top: 40px; border-top: 1px solid var(--divider); }
.counter { width: calc(33.33% - 20px); display: flex; flex-direction: column; gap: 5px; }
.counter__num { display: flex; color: var(--primary); font-size: 46px; font-weight: 400; line-height: 1; }
.counter__label { color: var(--text); font-size: 16px; line-height: 1.7; }
.media-card {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 600px; padding: 40px; border-radius: 20px; background: var(--primary);
}
.media-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(180deg, #00000000 50.75%, #181818cc 100%);
}
/* Bewegtes Bild: Bilder blenden ineinander über und zoomen langsam (Ken-Burns) */
.media-card__slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; border-radius: inherit; }
.media-card__slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s ease; transform: scale(1.12) translate(-1.5%, -1%);
}
.media-card__slides img.is-active { opacity: 1; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
@media (prefers-reduced-motion: reduce) { .media-card__slides img.is-active { animation: none; } }
.check-list { display: flex; flex-wrap: wrap; gap: 10px 30px; }
.check-list li { display: flex; align-items: center; color: var(--white); }
.check-list .icon { width: 1em; height: 1em; margin-right: 8px; color: var(--accent); flex: none; }

/* Qualität (3 runde Bilder) */
.quality { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.quality__head { width: 720px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 15px; margin-bottom: 20px; text-align: center; }
.quality__head .h2 { color: var(--white); text-align: center; }
.quality__row { width: 100%; display: flex; flex-wrap: wrap; }
.quality__item { width: 33%; padding: 0 40px; border-right: 1px solid var(--divider-dark); }
.quality__item:first-child { padding-left: 0; }
.quality__item:last-child { padding-right: 0; border-right: 0; }
.quality__item img { display: block; width: min(100%, 300px); aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; transition: transform 0.3s; }
.quality__item:hover img { transform: scale(1.06); }
.quality__title { margin: 32px 0 10px; color: var(--white); font-size: 20px; line-height: 1.2; }
.quality__text { margin: 0; color: var(--white); }
.quality__cta { display: flex; flex-direction: column; gap: 15px; text-align: center; color: var(--white); }
.quality__cta-head { display: flex; justify-content: center; align-items: center; gap: 10px; }
.badge { padding: 5px 14px; background: var(--accent); border-radius: 20px; color: var(--primary); font-size: 14px; line-height: 1; }
.quality__cta a { color: var(--accent); transition-duration: 0.4s; }
.quality__cta a:hover { color: var(--white); }
.quality__facts { display: flex; justify-content: center; align-items: center; gap: 12px; color: var(--white); font-size: 16px; line-height: 1.3; }

/* Warum YPS */
.why__inner { width: min(100%, var(--container)); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: stretch; }
.why__text { width: 50%; display: flex; flex-direction: column; align-items: flex-start; gap: 15px; padding: 10px; }
.why__text .h2 { margin-bottom: 5px; }
.why__card {
  display: flex; flex-wrap: wrap; align-items: center; gap: 30px; width: 100%;
  margin-top: 25px; padding: 40px; background: var(--white); border-radius: 20px;
}
.why__item { width: calc(50% - 15px); display: flex; align-items: center; color: var(--primary); font-size: 20px; line-height: 1.4; }
.why__item .info-box__icon { margin-right: 15px; border-radius: 10px; transition: 0.4s ease-in-out; }
.why__item:hover .info-box__icon { background: var(--primary); color: var(--white); }
.why__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; margin-top: 25px; }
.why__media { position: relative; width: 50%; padding: 10px 10px 10px 35px; }
/* Das Bild ist genauso hoch wie der Text daneben (wird in die Spalte eingepasst) */
.why__media img {
  position: absolute; inset: 10px 10px 10px 35px; width: calc(100% - 45px); height: calc(100% - 20px);
  object-fit: cover; border-radius: 10px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22605%22 height=%22580%22 viewBox=%220 0 605 580%22 fill=%22none%22%3E%3Cpath d=%22M179.14 105.623C185.553 103.708 192 108.512 192 115.205V570C192 575.523 187.523 580 182 580H10C4.47721 580 9.49131e-05 575.523 0 570V166.549C0.000122605 162.128 2.90333 158.231 7.13965 156.967L179.14 105.623ZM413 115.205C413 108.512 419.447 103.708 425.86 105.623L597.86 156.967C602.097 158.231 605 162.128 605 166.549V570C605 575.523 600.523 580 595 580H423C417.477 580 413 575.523 413 570V115.205ZM206 10.0085C206 3.07211 212.89 -1.75732 219.41 0.608154L392.41 63.3748C396.366 64.8098 399 68.5675 399 72.7751V569.998C399 575.521 394.523 579.998 389 579.998H216C210.477 579.998 206 575.521 206 569.998V10.0085Z%22 fill=%22%23D9D9D9%22%3E%3C/path%3E%3C/svg%3E") center / cover no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22605%22 height=%22580%22 viewBox=%220 0 605 580%22 fill=%22none%22%3E%3Cpath d=%22M179.14 105.623C185.553 103.708 192 108.512 192 115.205V570C192 575.523 187.523 580 182 580H10C4.47721 580 9.49131e-05 575.523 0 570V166.549C0.000122605 162.128 2.90333 158.231 7.13965 156.967L179.14 105.623ZM413 115.205C413 108.512 419.447 103.708 425.86 105.623L597.86 156.967C602.097 158.231 605 162.128 605 166.549V570C605 575.523 600.523 580 595 580H423C417.477 580 413 575.523 413 570V115.205ZM206 10.0085C206 3.07211 212.89 -1.75732 219.41 0.608154L392.41 63.3748C396.366 64.8098 399 68.5675 399 72.7751V569.998C399 575.521 394.523 579.998 389 579.998H216C210.477 579.998 206 575.521 206 569.998V10.0085Z%22 fill=%22%23D9D9D9%22%3E%3C/path%3E%3C/svg%3E") center / cover no-repeat;
}

/* FAQ */
.faq__inner { width: min(100%, var(--container)); margin-inline: auto; display: flex; flex-wrap: wrap; }
.faq__intro { width: 50%; padding: 10px 35px 10px 10px; display: flex; flex-direction: column; }
.faq__intro-head { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.faq__intro-head .text { margin-top: 5px; }
.faq__call {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px;
  width: 550px; max-width: 100%; margin-top: 25px; padding: 20px; background: var(--primary); border-radius: 20px; color: var(--white);
}
.faq__people { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; width: 64%; }
.faq__avatars { display: flex; }
.faq__avatars img { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--primary); margin-left: -15px; object-fit: cover; }
.faq__avatars img:first-child { margin-left: 0; }
.faq__facts { color: var(--white); font-size: 16px; line-height: 1.3; }
.faq__list { width: 50%; display: flex; }
.accordion { width: 100%; }
.accordion__item { overflow: hidden; border-radius: 10px; }
.accordion__item:not(:last-child) { margin-bottom: 30px; }
.accordion__trigger {
  position: relative; display: flex; align-items: flex-start; width: 100%;
  padding: 22px 55px 22px 22px; background: var(--white); border: 0; border-radius: 10px;
  color: var(--primary); font-size: 18px; font-weight: 400; line-height: 1.333; text-align: left; transition: 0.4s;
}
.accordion__trigger[aria-expanded="true"] { border-radius: 10px 10px 0 0; }
.accordion__title { padding-right: 10px; }
.accordion__icon { position: absolute; right: 22px; top: 22px; width: 22px; height: 22px; }
.accordion__icon::before, .accordion__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--accent); transform: translate(-50%, -50%);
}
.accordion__icon::before { width: 14px; height: 2px; }
.accordion__icon::after { width: 2px; height: 14px; transition: transform 0.3s; }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after { transform: translate(-50%, -50%) scaleY(0); }
.accordion__panel { background: var(--primary); color: var(--white); }
.accordion__panel[hidden] { display: none; }
.accordion__body { padding: 22px; font-size: 16px; line-height: 1.7; }
.accordion__body p { margin: 0 0 1em; color: var(--white); }
.accordion__body p:last-child { margin-bottom: 0; }

@media (max-width: 1024px) {
  .band { padding: 35px 10px; }
  .service-card { width: calc(50% - 15px); }
  .service-card__more { padding-top: 20px; }
  .service-card__title { max-width: 100%; margin-bottom: 20px; }
  .process__inner, .why__inner { justify-content: center; gap: 10px; }
  .process__text, .why__text, .faq__intro, .faq__list { width: 100%; }
  .process__text { gap: 10px; }
  .process__text .h2, .why__text .h2 { margin-bottom: 0; }
  .steps { gap: 30px; margin-top: 20px; }
  .step { padding: 0 0 30px 65px; }
  .process__media { width: 660px; max-width: 100%; padding: 10px; }
  .slider { padding-bottom: 238px; }
  .slider__thumbs { height: 208px; }
  .experience { gap: 20px; }
  .experience__top { gap: 30px; }
  .experience__lead, .experience__text { width: 100%; }
  .experience__lead { gap: 10px; }
  .experience__text { padding-left: 0; gap: 30px; }
  .counters { padding-top: 30px; }
  .counter__num { font-size: 38px; }
  .media-card { min-height: 480px; padding: 30px; }
  .quality { gap: 20px; }
  .quality__head { gap: 10px; margin-bottom: 0; }
  .quality__row { gap: 30px 0; }
  .quality__item { width: 50%; padding: 0 15px 0 0; }
  .quality__item:nth-child(2) { padding: 0 0 0 15px; border-right: 0; }
  .quality__item:last-child { padding: 0 15px 0 0; }
  .quality__title { margin: 22px 0 10px; }
  .why__card { margin-top: 20px; padding: 30px; }
  .why__actions { margin-top: 20px; }
  .why__media { width: 620px; max-width: 100%; padding: 10px; }
  .why__media img { position: static; width: 100%; height: auto; aspect-ratio: 1 / 0.95; }
  .faq__inner { gap: 10px; }
  .faq__intro { padding: 10px; }
  .faq__call { margin-top: 20px; }
  .accordion__item:not(:last-child) { margin-bottom: 20px; }
  .accordion__trigger { padding: 15px 45px 15px 20px; }
  .accordion__icon { right: 20px; top: 15px; }
  .accordion__body { padding: 15px 20px; }
}
@media (max-width: 767px) {
  .service-card { width: 100%; }
  .service-card__title { font-size: 18px; }
  .step { padding: 0 0 20px 57px; }
  .steps { gap: 20px; }
  .step__badge { width: 42px; height: 42px; font-size: 20px; }
  .process__media { width: 100%; }
  .slider { padding-bottom: 139px; }
  .slider__thumbs { height: 109px; }
  .counters { gap: 20px; }
  .counter { width: calc(33.33% - 13.33px); }
  .counter__num { font-size: 26px; }
  .counter__label { font-size: 14px; }
  .media-card { min-height: 380px; padding: 20px; }
  .quality__item, .quality__item:nth-child(2), .quality__item:last-child { width: 100%; padding: 0; border: 0; }
  .quality__title { margin: 12px 0 10px; }
  .why__item { width: 100%; font-size: 18px; }
  .why__card { padding: 20px; gap: 20px; }
  .why__media { width: 100%; }
  .faq__people { width: 100%; }
  .accordion__trigger { padding: 12px 40px 12px 15px; font-size: 16px; }
  .accordion__icon { right: 15px; top: 12px; }
  .accordion__body { padding: 12px 15px; }
}

/* 12. Über uns ------------------------------------------------------------ */
@keyframes experienceboxmove { 50% { transform: translateX(30px); } }
.about-us-counter-box { animation: 3s linear 0s infinite alternate none running experienceboxmove; }

.about-intro__inner, .approach__inner, .metrics__inner { width: min(100%, var(--container)); margin-inline: auto; display: flex; flex-wrap: wrap; }
.about-intro__media { width: 50%; display: flex; align-items: center; padding: 10px 35px 10px 10px; }
.about-intro__main { position: relative; width: 73%; flex: none; }
.about-intro__img1 { display: block; width: 100%; aspect-ratio: 1 / 1.36; object-fit: cover; border-radius: 20px; }
.funfact {
  position: absolute; z-index: 2; right: -70px; bottom: 55px; display: flex; align-items: center;
  padding: 20px 30px; background: var(--accent); border-radius: 20px; transition: background-color 0.3s;
}
.funfact:hover { background: var(--white); }
.funfact__icon { width: 50px; height: 50px; flex: none; color: var(--primary); }
.funfact__content { margin-left: 15px; line-height: 1; }
.funfact__num { margin-bottom: 5px; color: var(--primary); font-size: 40px; font-weight: 400; line-height: 1; }
.funfact__title { color: var(--primary); font-size: 16px; line-height: 1.7; }
.about-intro__side { position: relative; z-index: 1; width: calc(27% + 137px); margin-left: -137px; }
.about-intro__side img {
  display: block; width: 100%; aspect-ratio: 1 / 1.21; object-fit: cover;
  border: solid var(--bg); border-width: 10px 0 10px 10px; border-radius: 30px;
}
.about-intro__text { width: 50%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 15px; padding: 10px; }
.about-intro__text .h2 { margin-bottom: 5px; }
.about-intro__row { display: flex; flex-wrap: wrap; gap: 30px 60px; width: 100%; margin-top: 25px; }
.about-intro__list { width: calc(65% - 30px); display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.about-intro__list .check-list { width: 100%; padding-bottom: 40px; border-bottom: 1px solid var(--divider); }
.check-list--stack { flex-direction: column; flex-wrap: nowrap; gap: 15px; }
.check-list--stack li { align-items: flex-start; color: var(--text); font-size: 16px; line-height: 1.5; }
.check-list--stack .icon { width: 18px; height: 18px; margin: 4px 4.5px 0 0; }
.about-intro__counters { width: calc(35% - 30px); display: flex; flex-direction: column; gap: 40px; }
.counter--center { width: auto; align-items: center; text-align: center; }
.counter--center .counter__num { justify-content: center; }
.counter--center .counter__label { justify-content: center; }
.counter--divided { padding-bottom: 40px; border-bottom: 1px solid var(--divider); }

.approach__text { width: 50%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 15px; padding: 10px; }
.approach__text .h2 { margin-bottom: 0; }
.approach__media { position: relative; width: 50%; min-height: 380px; padding: 10px 10px 10px 35px; }
.approach__media > img { position: absolute; inset: 10px 10px 10px 35px; width: calc(100% - 45px); height: calc(100% - 20px); object-fit: cover; border-radius: 20px; }
.accordion--plain { margin-top: 25px; }
.accordion--plain .accordion__item { overflow: visible; border-radius: 0; }
.accordion--plain .accordion__trigger {
  padding: 0 30px 30px 0; background: transparent; border: 0; border-bottom: 1px solid var(--divider);
  border-radius: 0; font-size: 20px; line-height: 1.4;
}
.accordion--plain .accordion__item:last-child .accordion__trigger[aria-expanded="false"] { border-color: transparent; padding-bottom: 0; }
.accordion--plain .accordion__icon { right: 0; top: 0; }
.accordion--plain .accordion__panel { background: transparent; color: var(--text); }
.accordion--plain .accordion__body { padding: 30px 30px 0 0; color: var(--text); }
.accordion--plain .accordion__body p { color: var(--text); }
.float-card {
  position: absolute; left: 60px; bottom: 35px; z-index: 1; width: 260px;
  display: flex; flex-direction: column; gap: 25px; padding: 25px; background: var(--white); border-radius: 20px;
}
.float-card__avatars { display: flex; align-items: center; }
.float-card__avatars img { width: 40px; height: 40px; margin-left: -10px; border: 1px solid var(--white); border-radius: 50%; object-fit: cover; z-index: 1; }
.float-card__avatars img:first-child { margin-left: 0; }
.float-card__plus {
  position: relative; width: 42px; height: 42px; margin-left: -10px; z-index: 1;
  background: var(--accent); border: 1px solid var(--white); border-radius: 50%;
}
.float-card__plus::before, .float-card__plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--primary); transform: translate(-50%, -50%); }
.float-card__plus::before { width: 12px; height: 2px; }
.float-card__plus::after { width: 2px; height: 12px; }
.float-card__facts { display: flex; flex-direction: column; color: var(--primary); font-size: 16px; line-height: 1.3; }
.float-card__facts strong { font-weight: 400; }

.metrics__text { width: 50%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 15px; padding: 10px 20px 10px 10px; }
.metrics__text .h2 { margin-bottom: 0; }
.skills { width: 100%; display: flex; flex-direction: column; gap: 26px 30px; margin: 25px 0; }
.skill__head { position: relative; display: flex; margin-bottom: 15px; }
.skill__title { color: var(--primary); font-size: 18px; line-height: 1.3; }
.skill__value { position: absolute; right: 0; top: 0; color: var(--primary); font-size: 18px; line-height: 1.3; }
.skill__bar { height: 15px; overflow: hidden; background: var(--white); border-radius: 10px; }
.skill__track { width: 0; height: 100%; background: var(--accent); border-radius: 10px; transition: width 2s ease; }
.skills.is-revealed .skill__track { width: var(--w); }
.metrics__cards { width: 50%; display: flex; flex-wrap: wrap; gap: 30px; padding: 10px; }
.metric {
  width: calc(50% - 15px); min-height: 265px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  padding: 30px; overflow: hidden; background: var(--white); border-radius: 20px;
}
.counter--col { width: auto; flex-direction: column-reverse; gap: 10px; }
.counter--col .counter__label { justify-content: flex-start; }
.metric__text { margin: 0; padding-top: 25px; border-top: 1px solid var(--divider); }

.cta {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center;
  padding: 40px 10px; background: var(--primary) url(../img/bg/dark-section-bg-image.png) center top / cover no-repeat; color: var(--white);
}
.cta__head { position: relative; z-index: 2; width: 720px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 15px; padding: 10px; text-align: center; }
.cta__head .h2 { color: var(--white); text-align: center; }
.cta__text { max-width: 650px; margin: 5px 0 0; color: var(--white); }
.cta__facts { display: flex; justify-content: center; gap: 12px; margin-top: 25px; color: var(--white); font-size: 16px; line-height: 1.3; }
.cta__action { position: relative; display: flex; justify-content: center; margin-top: 35px; }
.cta__arrow { position: absolute; right: -160px; bottom: 10px; width: 84px; height: 50px; object-fit: cover; z-index: 1; }
.cta__img { position: absolute; z-index: 1; object-fit: cover; }
.cta__img--left { left: 5px; top: -85px; width: 375px; height: 275px; }
.cta__img--right { right: 5px; bottom: -85px; width: 440px; height: 360px; object-position: center top; }

.band--testimonial { background: var(--primary) url(../img/bg/testimonial-bg-image.png) center center / auto no-repeat; }
.principles__inner { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.quality__head .text { margin: 5px 0 0; color: var(--white); text-align: center; }
.carousel { --per: 3; --gap: 30px; width: 100%; overflow: hidden; }
.carousel__track { display: flex; gap: var(--gap); will-change: transform; }
.principle { flex: 0 0 calc((100% - var(--gap) * (var(--per) - 1)) / var(--per)); }
.principle__inner { height: 100%; padding: 10px; background: var(--divider-dark); border-radius: 20px; }
.principle__text { margin: 20px 30px 45px; color: var(--white); font-size: 20px; line-height: 1.7; }
.principle__bio { display: flex; align-items: center; }
.principle__bio img { width: 57px; height: 57px; margin-right: 15px; border-radius: 50%; object-fit: cover; }
.principle__name { display: block; margin-bottom: 5px; color: var(--white); font-size: 20px; font-weight: 400; line-height: 1.2; }
.principle__role { display: block; color: var(--white); }

@media (max-width: 1024px) {
  .about-intro__inner, .approach__inner, .metrics__inner { justify-content: center; gap: 10px; }
  .about-intro__media { width: 760px; max-width: 100%; padding: 10px; }
  .about-intro__text, .approach__text, .approach__media, .metrics__text, .metrics__cards { width: 100%; }
  .about-intro__text, .approach__text, .metrics__text { gap: 10px; }
  .about-intro__text .h2 { margin-bottom: 0; }
  .about-intro__row { margin-top: 20px; }
  .about-intro__list .check-list { padding-bottom: 30px; }
  .about-intro__list { gap: 30px; }
  .about-intro__counters { gap: 30px; }
  .counter--divided { padding-bottom: 30px; }
  .funfact__num { font-size: 32px; }
  .approach__media { padding: 10px; }
  .approach__media { min-height: 0; }
  .approach__media > img { position: static; width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .accordion--plain { margin-top: 20px; }
  .accordion--plain .accordion__trigger { font-size: 18px; padding: 0 30px 20px 0; }
  .accordion--plain .accordion__body { padding: 20px 30px 0 0; }
  .accordion--plain .accordion__item:not(:last-child) { margin-bottom: 20px; }
  .float-card { left: 35px; }
  .metrics__text { padding: 10px; }
  .skills { gap: 20px; margin: 20px 0; }
  .skill__bar { height: 10px; }
  .metrics__cards { gap: 30px; }
  .cta { padding: 35px 10px; }
  .cta__head { gap: 10px; }
  .cta__text { margin-top: 0; }
  .cta__facts, .cta__action { margin-top: 20px; }
  .cta__img--left { width: 275px; height: 200px; }
  .cta__img--right { width: 340px; height: 260px; }
  .principles__inner { gap: 20px; }
  .carousel { --per: 2; }
  .principle__text { margin: 20px 20px 43px; font-size: 18px; }
  .principle__bio img { width: 50px; height: 50px; }
}
@media (max-width: 767px) {
  .about-intro__list, .about-intro__counters { width: 100%; }
  .about-intro__counters { gap: 20px; }
  .about-intro__list .check-list { padding-bottom: 20px; }
  .counter--divided { padding-bottom: 20px; }
  .about-intro__side { width: calc(27% + 80px); margin: 0 0 30px -80px; }
  .about-intro__side img { border-width: 5px 0 5px 5px; border-radius: 20px; }
  .about-intro__img1 { aspect-ratio: 1 / 1.36; }
  .funfact { right: -50px; bottom: 35px; padding: 12px; border-radius: 14px; }
  .funfact__content { margin-left: 10px; }
  .funfact__num { font-size: 24px; }
  .funfact__title { font-size: 14px; }
  .accordion--plain .accordion__trigger { font-size: 16px; padding: 0 25px 15px 0; }
  .accordion--plain .accordion__body { padding: 15px 0 0; font-size: 14px; }
  .float-card { left: 25px; bottom: 25px; width: 240px; gap: 15px; padding: 15px; }
  .skills { gap: 14px 0; }
  .skill__title, .skill__value { font-size: 16px; }
  .metric { width: 100%; min-height: 0; gap: 20px; padding: 20px; }
  .cta__img--left { width: 205px; height: 150px; left: -30px; }
  .cta__img--right { width: 280px; height: 200px; right: -30px; }
  .carousel { --per: 1; }
  .principle__text { margin: 20px 10px; font-size: 16px; }
}

/* 13. Startseite ---------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: center;
  min-height: 100vh; padding: 240px 10px 110px;
  background: url(../img/bg/hero-bg.jpg) center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(24, 24, 24, 0.8) 0%, rgba(24, 24, 24, 0.72) 36.01%, transparent 63.02%),
    linear-gradient(180deg, rgba(24, 24, 24, 0.8) 0%, transparent 18.18%);
}
.hero__inner { width: min(100%, var(--container)); margin-inline: auto; }
.hero__content { width: 50%; display: flex; flex-direction: column; align-items: flex-start; gap: 15px; padding: 10px; position: relative; z-index: 2; }
.hero__title { margin-bottom: 5px; color: var(--white); font-size: 58px; font-weight: 500; line-height: 1.2; }
.hero__text { margin: 0; color: var(--white); }
.hero__list { display: flex; flex-wrap: wrap; gap: 15px 20px; width: 100%; margin-top: 25px; }
.hero__list li { display: flex; align-items: flex-start; width: calc(50% - 10px); color: var(--white); font-size: 16px; line-height: 1.5; }
.hero__list .icon { width: 18px; height: 18px; margin: 4px 4.5px 0 0; color: var(--accent); flex: none; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; width: 100%; margin-top: 35px; padding-top: 50px; border-top: 1px solid var(--divider-dark); }

.services-home { background: var(--white) url(../img/bg/service-bg-image-metal.png) center bottom / auto no-repeat; }
.services-home__inner { display: flex; flex-direction: column; align-items: center; gap: 40px 20px; }
.services-home__head { width: 720px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 15px; margin-bottom: 20px; text-align: center; }
.services-home__head .h2 { text-align: center; }
.service-grid--3 { width: 100%; }
.service-card--lg { padding: 40px; border-radius: 20px; }
.service-card--lg .service-card__icon { width: 80px; height: 80px; margin-bottom: 154px; border-radius: 12px; }
.service-card--lg .service-card__icon .icon { width: 40px; height: 40px; }
.cta-note { display: flex; flex-direction: column; gap: 15px; align-items: center; text-align: center; color: var(--primary); }
.cta-note__head { display: flex; justify-content: center; align-items: center; gap: 10px; }
.cta-note a { color: var(--accent); transition-duration: 0.4s; }
.cta-note a:hover { color: var(--primary); }
.cta-note__facts { display: flex; justify-content: center; align-items: center; gap: 12px; font-size: 16px; line-height: 1.3; }
.cta-note .text { margin: 0; }

.projects {
  padding: 40px 10px 0;
  background:
    url(../img/bg/dark-section-bg-image.png) center top / 100% 70% no-repeat,
    linear-gradient(180deg, var(--primary) 70%, var(--bg) 30%);
}
.projects__inner { width: min(100%, var(--container)); margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.projects__head { width: 720px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 15px; margin-bottom: 50px; text-align: center; }
.projects__head .h2 { color: var(--white); text-align: center; }
.project-grid { display: flex; flex-wrap: wrap; column-gap: 30px; width: 100%; padding: 10px; }
.project-card { position: relative; width: calc(33.33% - 20px); margin-bottom: 30px; overflow: hidden; border-radius: 1000px 1000px 0 0; }
.project-card__img { display: block; position: relative; }
.project-card__img::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 39.2%, rgba(24, 24, 24, 0.8) 100%);
}
.project-card__img img { display: block; width: 100%; aspect-ratio: 1 / 1.22; object-fit: cover; border-radius: 1000px 1000px 0 0; transition: all 0.6s ease-in-out; }
.project-card:hover .project-card__img img { transform: scale(1.06); }
.project-card__body { position: absolute; z-index: 2; left: 40px; right: 40px; bottom: 40px; }
.project-card__title { color: var(--white); font-size: 20px; line-height: 1.4; }
.project-card__title a { color: inherit; }
.project-card__more { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--divider-dark); line-height: 0; }
.project-card__more a { display: inline-block; color: var(--white); font-size: 16px; line-height: 1; }
.project-card__more .icon { width: 20px; height: 20px; margin-left: 5px; transition: all 0.4s ease-in-out; }
.project-card__more a:hover .icon { transform: rotate(45deg); }
.projects .cta-note { padding: 0 0 40px; }

.contact--dark {
  position: relative; isolation: isolate; overflow: hidden; padding: 40px 10px;
  background: url(../img/bg/contact-us-box-bg-image.jpg) center / cover no-repeat;
}
.contact--dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0) -5%, rgba(24, 24, 24, 0.9) 100%);
}
.contact--dark .contact__intro { justify-content: flex-start; }
.contact--dark .contact__intro-main .h2, .contact--dark .contact__note, .contact--dark .text { color: var(--white); }
.contact--dark .contact__aside { border-top-color: var(--divider-dark); }
.contact--dark .info-box--dark, .contact--dark .info-box--dark .info-box__title { color: var(--white); }
.contact--dark .info-box--dark .info-box__text { color: var(--white); }
.contact--dark .info-box--dark:hover .info-box__text { color: var(--accent); }
.contact--dark .contact__card .h2 { color: var(--primary); }
.contact--dark .contact__card .text { color: var(--text); }

.blog { padding: 40px 10px; }
.blog__inner { display: flex; flex-direction: column; align-items: center; gap: 40px 20px; width: min(100%, var(--container)); margin-inline: auto; }
.blog__head { width: 720px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 15px; text-align: center; }
.blog__head .h2 { text-align: center; }
.blog__grid { display: flex; flex-wrap: wrap; gap: 30px; width: 100%; }
.blog-card {
  position: relative; isolation: isolate; overflow: hidden; width: calc(33.33% - 20px); min-height: 450px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; background: var(--text); border-radius: 20px;
}
.blog-card__img { position: absolute; inset: 0; z-index: -1; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s ease-in-out; }
.blog-card__img::after { content: ""; position: absolute; inset: 0; background: var(--primary); opacity: 0.5; }
.blog-card:hover .blog-card__img img { transform: scale(1.06); }
.blog-card__cat {
  position: absolute; top: 30px; left: 30px; padding: 6px 16px; background: var(--divider-dark); border-radius: 100px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--white); font-size: 14px; line-height: 1.333; transition: 0.4s ease-in-out;
}
.blog-card:hover .blog-card__cat { background: var(--accent); color: var(--primary); }
.blog-card__title { margin: 0 0 25px; color: var(--white); font-size: 20px; font-weight: 400; line-height: 1.4; }
.blog-card__more { padding-top: 25px; border-top: 1px solid var(--divider-dark); line-height: 0; }
.blog-card__link { display: inline-flex; align-items: center; color: var(--white); font-size: 16px; line-height: 1.25; }
.blog-card__link .icon { width: 20px; height: 20px; margin-left: 8px; transition: transform 0.4s ease-in-out; }
.blog-card:hover .blog-card__link .icon { transform: rotate(45deg); }

@media (max-width: 1024px) {
  .hero { min-height: 800px; padding: 140px 10px 50px; }
  .hero__content { width: 100%; gap: 10px; }
  .hero__title { margin-bottom: 0; font-size: 42px; }
  .hero__list { margin-top: 20px; }
  .hero__actions { margin-top: 20px; padding-top: 30px; }
  .services-home__inner { gap: 20px; }
  .services-home__head { gap: 10px; margin-bottom: 0; }
  .service-card--lg { padding: 30px; }
  .service-card--lg .service-card__icon { width: 50px; height: 50px; border-radius: 10px; }
  .service-card--lg .service-card__icon .icon { width: 24px; height: 24px; }
  .services-home { background-size: 100% auto; }
  .projects { padding: 35px 10px 0; }
  .projects__head { gap: 10px; margin-bottom: 20px; }
  .projects__inner { gap: 0; }
  .project-card { width: calc(50% - 15px); border-radius: 20px; }
  .project-card__img img { aspect-ratio: 1 / 1.1; border-radius: 20px; }
  .project-card__body { left: 30px; right: 30px; bottom: 30px; }
  .projects .cta-note { padding-bottom: 35px; }
  .contact--dark { padding: 35px 10px; }
  .blog { padding: 35px 10px; }
  .blog__inner { gap: 20px; }
  .blog__head { gap: 10px; }
  .blog-card { width: calc(50% - 15px); min-height: 380px; }
}
@media (max-width: 767px) {
  .hero__title { font-size: 28px; }
  .hero__list { gap: 10px; }
  .hero__list li { width: 100%; }
  .service-card--lg { padding: 20px; }
  .service-card--lg .service-card__icon { margin-bottom: 124px; }
  .project-card { width: 100%; }
  .project-card__body { left: 20px; right: 20px; bottom: 20px; }
  .project-card__title { font-size: 18px; }
  .project-card__more { margin-top: 15px; padding-top: 15px; }
  .blog__inner { gap: 10px; }
  .blog-card { width: 100%; min-height: 320px; padding: 20px; }
  .blog-card__cat { top: 20px; left: 20px; }
  .blog-card__title { font-size: 18px; margin-bottom: 15px; }
  .blog-card__more { padding-top: 15px; }
}

/* 14. Leistungsseiten ------------------------------------------------------ */
.section-head { width: 720px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 15px; margin: 0 auto 50px; text-align: center; }
.section-head .h2 { text-align: center; }
.section-head .text { margin: 5px 0 0; }
.band--dark .section-head .h2, .band--dark .section-head .text { color: var(--white); }

.features__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; width: 100%; }
.feature { width: calc(33.33% - 20px); display: flex; flex-direction: column; gap: 20px; padding: 40px; background: var(--white); border-radius: 20px; }
.feature__icon { display: grid; place-items: center; width: 50px; height: 50px; background: var(--accent); border-radius: 10px; color: var(--primary); }
.feature__icon .icon { width: 24px; height: 24px; }
.feature__title { color: var(--primary); font-size: 20px; line-height: 1.4; }
.feature__text { margin: 0; }
.feature--dark { background: var(--divider-dark); }
.feature--dark .feature__title, .feature--dark .feature__text { color: var(--white); }
.band--white .feature { background: var(--bg); }

.split__inner { width: min(100%, var(--container)); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: stretch; }
.split__text { width: 50%; display: flex; flex-direction: column; align-items: flex-start; gap: 15px; padding: 10px; }
.split__text .h2 { margin-bottom: 5px; }
.split__text .text { margin: 0; }
.split__text .check-list { margin-top: 10px; }
.split__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; margin-top: 25px; }
.split__media { position: relative; width: 50%; min-height: 380px; padding: 10px 10px 10px 35px; }
.split__media img { position: absolute; inset: 10px 10px 10px 35px; width: calc(100% - 45px); height: calc(100% - 20px); object-fit: cover; border-radius: 20px; }
.split--flip .split__inner { flex-direction: row-reverse; }
.split--flip .split__media { padding: 10px 35px 10px 10px; }
.split--flip .split__media img { inset: 10px 35px 10px 10px; width: calc(100% - 45px); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.chip { padding: 10px 16px; background: var(--white); border-radius: 100px; color: var(--primary); font-size: 14px; line-height: 1; }
.band--white .chip { background: var(--bg); }

.gallery__grid { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 30px; width: 100%; padding: 10px; }
.gallery .project-card { width: calc(33.33% - 20px); }

@media (max-width: 1024px) {
  .section-head { gap: 10px; margin-bottom: 20px; }
  .feature { width: calc(50% - 15px); padding: 30px; }
  .split__inner { justify-content: center; gap: 10px; }
  .split__text, .split__media { width: 100%; }
  .split__media, .split--flip .split__media { padding: 10px; min-height: 0; }
  .split__media img, .split--flip .split__media img { position: static; width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .split__text .h2 { margin-bottom: 0; }
  .split__text { gap: 10px; }
  .split__actions { margin-top: 20px; }
  .gallery .project-card { width: calc(50% - 15px); }
}
@media (max-width: 767px) {
  .feature { width: 100%; padding: 20px; }
  .gallery .project-card { width: 100%; }
}

/* 15. Dropdown-Menü "Leistungen" -------------------------------------------- */
.nav__item { position: relative; }
.nav__sub-toggle { display: none; }
.nav__item--sub > .nav__link::after {
  content: ""; width: 6px; height: 6px; margin: -3px 0 0 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: 0.3s;
}
.nav__sub {
  position: absolute; z-index: 20; left: 50%; top: 100%; min-width: 320px; padding: 10px;
  background: var(--primary); border: 1px solid var(--divider-dark); border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: 0.3s;
}
.nav__item--sub:hover .nav__sub, .nav__item--sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item--sub:hover > .nav__link::after { transform: rotate(225deg); margin-top: 3px; }
.nav__sub a { display: block; padding: 10px 16px; border-radius: 10px; color: var(--white); font-size: 15px; line-height: 1.3; }
.nav__sub a:hover, .nav__sub a:focus { background: var(--divider-dark); color: var(--accent); }

@media (max-width: 1024px) {
  .nav__item--sub { display: flex; flex-wrap: wrap; align-items: center; }
  .nav__item--sub > .nav__link { flex: 1 1 auto; width: auto; }
  .nav__item--sub > .nav__link::after { display: none; }
  .nav__sub-toggle {
    display: block; position: relative; width: 44px; height: 36px; margin-right: 12px; padding: 0;
    background: transparent; border: 0; color: var(--primary);
  }
  .nav__sub-toggle::before {
    content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -6px 0 0 -4px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: 0.3s;
  }
  .nav__item--sub.is-open .nav__sub-toggle::before { transform: rotate(225deg); margin-top: -2px; }
  .nav__sub {
    position: static; display: none; flex: 0 0 100%; min-width: 0; padding: 0 0 8px 20px;
    background: transparent; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none;
  }
  .nav__item--sub.is-open .nav__sub { display: block; }
  .nav__sub a { padding: 7px 20px; color: var(--primary); font-size: 15px; }
  .nav__sub a:hover, .nav__sub a:focus { background: transparent; color: var(--white); }
}

/* 16. Ratgeber -------------------------------------------------------------- */
.article-wrap { padding: 40px 10px; }
.article { width: min(100%, var(--container)); margin-inline: auto; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 50px; align-items: start; }
.article__aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 20px; }
.toc { padding: 24px; background: var(--white); border-radius: 20px; }
.toc__title { margin-bottom: 14px; font-size: 18px; line-height: 1.2; }
.toc ol { counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 0; color: var(--text); font-size: 15px; line-height: 1.35; transition: 0.3s; }
.toc a::before { content: counter(toc); flex: none; width: 22px; color: var(--primary); font-weight: 500; }
.toc a:hover, .toc a.is-current { color: var(--primary); }
.aside-card { padding: 24px; background: var(--primary); border-radius: 20px; color: var(--white); }
.aside-card h3 { margin-bottom: 8px; color: var(--white); font-size: 18px; }
.aside-card p { margin: 0 0 16px; color: var(--white); font-size: 15px; line-height: 1.5; }
.aside-card .btn { padding: 13px 18px; }

.article__main { min-width: 0; max-width: 820px; }
.answer-box { margin-bottom: 20px; padding: 28px 30px; background: var(--white); border-left: 5px solid var(--accent); border-radius: 0 20px 20px 0; }
.answer-box__label { display: inline-block; margin-bottom: 10px; padding: 5px 14px; background: var(--accent); border-radius: 20px; color: var(--primary); font-size: 14px; line-height: 1; }
.answer-box p { margin: 0; color: var(--primary); font-size: 19px; line-height: 1.55; }
.byline { margin: 0 0 30px; color: var(--text); font-size: 14px; }

.prose h2 { margin: 44px 0 16px; padding-top: 6px; font-size: 32px; font-weight: 500; line-height: 1.25; scroll-margin-top: 110px; }
.prose h3 { margin: 28px 0 10px; font-size: 22px; font-weight: 500; line-height: 1.3; }
.prose p { margin: 0 0 16px; color: #5d5c59; font-size: 17px; line-height: 1.75; }
.prose ul, .prose ol { margin: 0 0 20px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose ol { list-style: decimal; padding-left: 22px; }
.prose li { margin-bottom: 8px; padding-left: 4px; color: #5d5c59; font-size: 17px; line-height: 1.7; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose strong { color: var(--primary); font-weight: 500; }
.prose a { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose a:hover { color: #5d5c59; }
.table-wrap { margin: 0 0 26px; overflow-x: auto; border-radius: 16px; background: var(--white); }
.table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.table th { padding: 14px 18px; background: var(--primary); color: var(--white); font-weight: 500; text-align: left; }
.table td { padding: 14px 18px; border-top: 1px solid var(--divider); color: #5d5c59; vertical-align: top; }
.table td:first-child { color: var(--primary); font-weight: 500; }
.note { margin: 0 0 24px; padding: 18px 22px; background: var(--white); border-radius: 14px; border-left: 4px solid var(--primary); }
.note p { margin: 0; font-size: 16px; }
.checklist { margin: 0 0 26px; padding: 22px 26px; background: var(--white); border-radius: 18px; }
.checklist h3 { margin: 0 0 12px; }
.checklist ul { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; margin: 0 0 10px; padding-left: 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent);
}
.checklist li::after {
  content: ""; position: absolute; left: 6px; top: 11px; width: 5px; height: 9px; border: solid var(--primary); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.article__main .accordion { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; margin: 0 0 10px; }
.article__main .accordion__item:not(:last-child) { margin-bottom: 0; }
.article__main .accordion__trigger { font-size: 16px; }
.prose .accordion h3 { margin: 0; padding: 0; font-size: inherit; }
.prose .accordion p { margin: 0 0 1em; }
.prose .accordion p:last-child { margin-bottom: 0; }
.sources ol { padding-left: 22px; }
.sources li { font-size: 15px; line-height: 1.6; word-break: break-word; }
.article-cta { margin: 34px 0 0; padding: 30px; background: var(--primary); border-radius: 20px; color: var(--white); }
.article-cta h2 { margin: 0 0 10px; padding: 0; color: var(--white); font-size: 26px; }
.article-cta p { color: var(--white); margin-bottom: 18px; }

.hub { padding: 40px 10px; }
.hub__inner { width: min(100%, var(--container)); margin-inline: auto; }
.hub__group { margin-top: 40px; }
.hub__group-title { margin-bottom: 20px; font-size: 28px; font-weight: 500; }
.hub__grid { display: flex; flex-wrap: wrap; gap: 30px; }
.hub__grid .blog-card { min-height: 380px; }

@media (max-width: 1024px) {
  .article-wrap { padding: 35px 10px; }
  .article { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .article__aside { position: static; order: 2; }
  .toc { padding: 20px; }
  .prose h2 { font-size: 28px; margin-top: 36px; }
  .hub { padding: 35px 10px; }
  .hub__grid .blog-card { width: calc(50% - 15px); }
}
@media (max-width: 767px) {
  .article__main .accordion { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .answer-box { padding: 20px; }
  .answer-box p { font-size: 17px; }
  .prose h2 { font-size: 24px; }
  .prose p, .prose li { font-size: 16px; }
  .hub__grid .blog-card { width: 100%; }
}

.blog__more { display: flex; justify-content: center; width: 100%; }

/* 17. Blog-Übersicht (WP-Stil: Bild oben, Text unten) ---------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 30px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border-radius: 20px; }
.post-card__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--divider); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 24px; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; color: var(--text); font-size: 14px; line-height: 1.2; }
.post-card__cat { padding: 5px 12px; background: var(--accent); border-radius: 20px; color: var(--primary); }
.post-card__title { margin: 0; font-size: 22px; font-weight: 500; line-height: 1.3; }
.post-card__title a { color: var(--primary); transition: 0.3s; }
.post-card__title a:hover { color: var(--text); }
.post-card__text { margin: 0; color: #5d5c59; font-size: 16px; line-height: 1.65; }
.post-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; color: var(--primary); font-weight: 500; }
.post-card__more .icon { width: 14px; height: 14px; }
.post-card__more:hover { color: var(--text); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 40px; }
.pager__num, .pager__link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 16px; border-radius: 22px; background: var(--white); color: var(--primary); transition: 0.3s; }
.pager__num:hover, .pager__link:hover, .pager__num.is-current { background: var(--accent); }
@media (max-width: 1024px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 767px) {
  .post-grid { grid-template-columns: minmax(0, 1fr); }
  .post-card__body { padding: 20px; }
  .post-card__title { font-size: 20px; }
}

/* 18. Blog-Beitrag (eigenes Layout, ohne Seitenleiste) ---------------------- */
.post { padding: 140px 10px 40px; }
.post-head { width: min(100%, 860px); margin: 0 auto 30px; text-align: center; }
.post-crumb { margin-bottom: 18px; font-size: 14px; }
.post-crumb .breadcrumb__list { justify-content: center; }
.post-crumb .breadcrumb__item, .post-crumb .breadcrumb__item a { color: var(--text); }
.post-crumb a:hover { color: var(--primary); }
.post-head__meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; margin: 0 0 16px; color: var(--text); font-size: 15px; }
.post-head__meta .post-card__cat { font-size: 14px; }
.post-head__title { margin: 0; color: var(--primary); font-size: 52px; font-weight: 500; line-height: 1.12; }
.post-cover { width: min(100%, 1100px); margin: 0 auto 40px; }
.post-cover img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; }
.post-body { width: min(100%, 760px); margin: 0 auto; }
.post-body p, .post-body li { font-size: 19px; line-height: 1.8; }
.post-kurz { margin: 0 0 24px; padding: 26px 30px; background: var(--primary); border-radius: 20px; color: var(--white); }
.post-kurz__label { display: block; margin-bottom: 8px; color: var(--accent); font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; }
.post-kurz p { margin: 0; color: var(--white); font-size: 20px; line-height: 1.6; }
.post-toc { margin: 0 0 30px; padding: 16px 22px; background: var(--white); border-radius: 16px; }
.post-toc summary { cursor: pointer; color: var(--primary); font-weight: 500; }
.post-toc ol { margin: 12px 0 0; padding-left: 22px; list-style: decimal; }
.post-toc li { margin: 6px 0; font-size: 16px; line-height: 1.5; }
.post-toc a { color: var(--primary); }
.post-lead p:first-child { color: var(--primary); font-size: 22px; line-height: 1.65; }
.post-sec h2 { display: flex; align-items: baseline; gap: 14px; margin: 46px 0 14px; font-size: 30px; line-height: 1.25; }
.post-sec__num { flex: none; min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent); border-radius: 50%; color: var(--primary); font-size: 18px; font-weight: 500; }
.qa { margin: 0 0 20px; }
.qa dt { margin: 22px 0 6px; color: var(--primary); font-size: 20px; font-weight: 500; line-height: 1.4; }
.qa dd { margin: 0; padding-left: 16px; border-left: 4px solid var(--accent); color: #5d5c59; font-size: 18px; line-height: 1.7; }
.post-sources { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--divider); }
.post-sources h2 { margin: 0 0 10px; font-size: 20px; }
.post-sources li { font-size: 15px; line-height: 1.6; word-break: break-word; }
.post-author { display: flex; gap: 18px; align-items: center; margin: 30px 0 0; padding: 22px 24px; background: var(--white); border-radius: 20px; }
.post-author img { flex: none; width: 70px; height: 70px; object-fit: contain; }
.post-author p { margin: 0; font-size: 16px; line-height: 1.6; }
.post-dates { margin: 14px 0 0; color: var(--text); font-size: 14px; }
.post-more { width: min(100%, var(--container)); margin: 50px auto 0; }
.post-more h2 { margin: 0 0 20px; font-size: 30px; font-weight: 500; }
.post-more .post-grid { margin-top: 0; }
.post-cta { width: min(100%, 760px); margin: 40px auto 0; padding: 30px; background: var(--primary); border-radius: 20px; color: var(--white); text-align: center; }
.post-cta h2 { margin: 0 0 10px; color: var(--white); font-size: 26px; }
.post-cta p { margin: 0 0 18px; color: var(--white); }
@media (max-width: 1024px) {
  .post { padding: 120px 10px 35px; }
  .post-head__title { font-size: 40px; }
  .post-sec h2 { font-size: 26px; }
}
@media (max-width: 767px) {
  .post-head__title { font-size: 30px; }
  .post-cover img { aspect-ratio: 4 / 3; border-radius: 16px; }
  .post-body p, .post-body li { font-size: 17px; }
  .post-kurz { padding: 20px; }
  .post-kurz p { font-size: 18px; }
  .post-lead p:first-child { font-size: 19px; }
  .post-sec h2 { font-size: 22px; gap: 10px; }
  .post-author { flex-direction: column; text-align: center; }
}

.post-service { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 32px 0 0; padding: 16px 20px; border: 1px solid var(--border, #e3e6ea); border-radius: 14px; background: var(--bg-soft, #f6f8fa); }
.post-service__label { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; opacity: .7; }
.post-service a { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
