/* =====================================================================
   pages.css – Komponenten für die neuen Money Pages & Unterseiten.
   Erweitert den bestehenden Dark/Gelb-Stil (siehe style.css).
   Farben: Gelb #f9e203 · Gelb-dunkel #968604 · Schwarz #0a0a0a
   ===================================================================== */

/* --- aktiver Menüpunkt --- */
.main-menu a.is-active {
    border-bottom: 4px solid #f9e203;
}

/* --- Unterseiten-Grundgerüst: gleiche Textur wie Homepage-Body (.content-section) --- */
.subpage {
    position: relative;
    overflow: hidden; /* klippt randbündige Hero-Deko -> kein horizontaler Scroll */
    background: #0a0a0a url('/img/deco/bg-content.webp') top center / cover;
}

/* --- Unterseiten-Hero: vollflächig & randbündig komponiert wie der Homepage-Hero --- */
.sub-hero {
    position: relative;
    overflow: hidden;
    min-height: clamp(460px, 60vh, 700px);
    display: flex;
    align-items: center;
    padding: 200px 0 60px;      /* Freiraum für den absolut positionierten Header */
    background-color: #0a0a0a;  /* Hero flach dunkel; die Textur zeigt der Body */
}

.sub-hero > .container {
    position: relative;
    z-index: 2;                 /* Text über der Deko */
    width: 100%;
}

.sub-hero .eyebrow {
    color: #f9e203;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 15px;
    display: block;
    margin-bottom: 16px;
}

.sub-hero h1 {
    font-size: 40px;
    line-height: 1.15;
    margin-bottom: 24px;
    max-width: 640px;   /* hält den (gelben) Titel links, klar neben dem gelben Fleck */
}

.sub-hero .subline {
    font-size: 20px;
    color: #e9e9e9;
    max-width: 640px;
    margin-bottom: 32px;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.button-ghost {
    text-transform: uppercase;
    border: solid 3px #f9e203;
    color: #f9e203;
    padding: 9px 28px;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    border-radius: 30px;
    background: transparent;
    transition: all 0.3s;
    display: inline-block;
}

.button-ghost:hover {
    background: #f9e203;
    color: #000;
}

/* --- Sektions-Grundlagen --- */
.mp-section {
    padding: 60px 0;
}

.mp-section h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.lead-text {
    font-size: 19px;
    color: #e9e9e9;
    max-width: 820px;
}

/* --- 3-Karten-Leistungsblock --- */
.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(249, 226, 3, 0.25);
    border-radius: 20px;
    padding: 34px 30px;
    transition: border-color 0.3s, transform 0.3s;
}

.service-card:hover {
    border-color: #f9e203;
    transform: translateY(-4px);
}

.service-card i {
    font-size: 44px;
    color: #f9e203;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 16px;
    color: #cfcfcf;
    margin-bottom: 20px;
}

.service-card a {
    color: #f9e203;
    font-weight: 700;
    text-decoration: none;
}

.service-card a:hover {
    text-decoration: underline;
}

/* --- Schmerz-/Pain-Liste --- */
.pain-list {
    list-style: none;
    padding-left: 0;
    max-width: 820px;
    margin-top: 24px;
}

.pain-list li {
    color: #e9e9e9;
    font-size: 18px;
    padding: 10px 0 10px 38px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pain-list li::before {
    content: "\f00c"; /* fa-check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #f9e203;
    position: absolute;
    left: 0;
    top: 10px;
}

.pain-list.pain-cross li::before {
    content: "\f071"; /* fa-triangle-exclamation */
}

/* --- Use-Case / Feature Grid --- */
.usecase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 36px;
}

.usecase {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #f9e203;
    border-radius: 0 14px 14px 0;
    padding: 24px 26px;
}

.usecase h3 {
    font-size: 20px;
    color: #f9e203;
    margin-bottom: 8px;
}

.usecase p {
    font-size: 16px;
    color: #d5d5d5;
    margin-bottom: 0;
}

/* --- Prozess-Schritte --- */
.process-steps {
    margin-top: 36px;
    max-width: 860px;
}

.process-step {
    display: flex;
    gap: 22px;
    padding: 18px 0;
    align-items: flex-start;
}

.process-num {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f9e203;
    color: #000;
    font-weight: 800;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-body h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 4px;
}

.process-body p {
    font-size: 16px;
    color: #d5d5d5;
    margin-bottom: 0;
}

/* --- Preis-/Paket-Karten --- */
.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.price-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(249, 226, 3, 0.25);
    border-radius: 20px;
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
}

.price-card-featured {
    border-color: #f9e203;
    box-shadow: 0 0 0 3px rgba(249, 226, 3, 0.15);
}

.price-title {
    font-size: 22px;
    color: #fff;
    margin-bottom: 6px;
}

.price-value {
    font-size: 20px;
    color: #f9e203;
    font-weight: 700;
    margin-bottom: 20px;
}

.price-lines {
    list-style: none;
    padding-left: 0;
    margin-bottom: 26px;
    flex-grow: 1;
}

.price-lines li {
    color: #d5d5d5;
    font-size: 16px;
    padding: 7px 0 7px 26px;
    position: relative;
}

.price-lines li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #f9e203;
    position: absolute;
    left: 0;
    top: 7px;
    font-size: 13px;
}

.price-card .button-yellow {
    text-align: center;
    font-size: 16px;
    padding: 10px 20px;
}

.price-note {
    color: #9a9a9a;
    font-size: 14px;
    margin-top: 18px;
}

/* --- FAQ-Accordion (dunkel/gelb) --- */
.faq-accordion .accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(249, 226, 3, 0.3);
}

.faq-accordion .accordion-button {
    background: transparent;
    color: #fff;
    font-family: 'Baloo 2', sans-serif;
    font-weight: 600;
    font-size: 19px;
    padding: 20px 8px;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: #f9e203;
    background: transparent;
    box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
}

.faq-accordion .accordion-button::after {
    filter: invert(84%) sepia(89%) saturate(1352%) hue-rotate(1deg) brightness(104%) contrast(97%);
}

.faq-accordion .accordion-body {
    color: #d5d5d5;
    font-size: 16px;
    padding: 0 8px 22px;
}

.faq-accordion .accordion-body a {
    color: #f9e203;
}

/* --- Case-Study-Layout --- */
.case-block {
    max-width: 860px;
    margin: 0 auto;
}

.case-block .case-part {
    padding: 26px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.case-block .case-part h2 {
    font-size: 24px;
    color: #f9e203;
    margin-bottom: 12px;
}

.case-block .case-part p {
    font-size: 18px;
    color: #e2e2e2;
}

/* --- Kontaktformular --- */
.contact-form {
    max-width: 640px;
    margin-top: 30px;
}

.contact-form label {
    display: block;
    color: #f9e203;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(249, 226, 3, 0.4);
    border-radius: 10px;
    color: #fff;
    padding: 12px 14px;
    margin-bottom: 20px;
    font-size: 16px;
    outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #f9e203;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form .hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.contact-form button {
    background: #f9e203;
    border: 3px solid #968604;
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    padding: 12px 34px;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    transition: border 0.3s;
}

.contact-form button:hover {
    border-color: #f9e203;
}

.form-note {
    color: #9a9a9a;
    font-size: 14px;
    margin-top: 16px;
}

.form-alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 16px;
}

.form-alert.ok {
    background: rgba(249, 226, 3, 0.12);
    border: 1px solid #f9e203;
    color: #fff;
}

.form-alert.err {
    background: rgba(255, 80, 80, 0.12);
    border: 1px solid #ff6b6b;
    color: #ffdede;
}

/* --- Referenz-Teaser (Startseite) --- */
.ref-teaser {
    list-style: none;
    padding-left: 0;
    max-width: 820px;
    margin: 30px auto 0;
}

.ref-teaser li {
    color: #e2e2e2;
    font-size: 17px;
    padding: 12px 0 12px 30px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ref-teaser li::before {
    content: "\f105"; /* fa-angle-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #f9e203;
    position: absolute;
    left: 6px;
    top: 12px;
}

.ref-teaser strong {
    color: #fff;
}

/* --- Warum-Maik-Liste --- */
.why-list {
    list-style: none;
    padding-left: 0;
    max-width: 820px;
    margin-top: 24px;
}

.why-list li {
    color: #eee;
    font-size: 18px;
    padding: 12px 0 12px 40px;
    position: relative;
}

.why-list li::before {
    content: "\f058"; /* fa-circle-check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #f9e203;
    position: absolute;
    left: 0;
    top: 12px;
    font-size: 20px;
}

/* --- Info-/Hinweisbox (z. B. Förderung, DSGVO) --- */
.info-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(249, 226, 3, 0.3);
    border-radius: 16px;
    padding: 28px 30px;
    margin-top: 30px;
    max-width: 860px;
}

.info-box h3 {
    font-size: 20px;
    color: #f9e203;
    margin-bottom: 10px;
}

.info-box p {
    color: #d5d5d5;
    font-size: 16px;
    margin-bottom: 0;
}

/* --- Ratgeber-Hub --- */
.article-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(249, 226, 3, 0.25);
    border-radius: 16px;
    padding: 26px;
    height: 100%;
}

.article-card h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
}

.article-card p {
    color: #cfcfcf;
    font-size: 15px;
}

.badge-soon {
    display: inline-block;
    background: rgba(249, 226, 3, 0.15);
    color: #f9e203;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    margin-top: 10px;
}

/* =====================================================================
   Hero-Deko (gelbe Flecken / weiße Linien) – randbündig komponiert wie
   der Homepage-Hero (.hello-section .bg-images). WebP aus img/deco/,
   rein dekorativ (pointer-events:none), hinter dem Text, per overflow
   des .sub-hero/.subpage geklippt -> kein horizontaler Scroll. Statisch.
   ===================================================================== */

/* Großer gelber Fleck, randbündig rechts, füllt die Hero-Höhe */
.sub-hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    top: 50%;
    right: -9%;
    transform: translateY(-50%);
    height: 112%;
    aspect-ratio: 4143 / 4501;
    background: url('/img/deco/bg_yellow2.webp') no-repeat center right / contain;
    opacity: 0.9;
    /* linke Kante weich ins Schwarz auslaufen lassen -> kein harter Schnitt */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 40%);
    mask-image: linear-gradient(to right, transparent 0%, #000 40%);
}

/* Weiße Linien oben rechts, über dem Fleck (wie Homepage bg-header-3) */
.sub-hero::after {
    content: "";
    position: absolute;
    z-index: 1;
    pointer-events: none;
    top: 0;
    right: 0;
    height: 100%;
    width: 44%;
    background: url('/img/deco/bg_white1.webp') no-repeat top right / contain;
    opacity: 0.5;
    /* linke Kante der Linien weich auslaufen lassen */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%);
    mask-image: linear-gradient(to right, transparent 0%, #000 45%);
}

/* Body-Inhalt liegt über der Textur */
.mp-section > .row,
.mp-section > .price-grid,
.faq-section > .row {
    position: relative;
    z-index: 1;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .service-cards,
    .price-grid,
    .usecase-grid {
        grid-template-columns: 1fr;
    }
    .sub-hero h1 { font-size: 32px; }
    .sub-hero { padding-top: 150px; min-height: auto; }
}

/* Mobile: Deko dezent hinter dem Text, Lesbarkeit zuerst (wie Homepage-Mobile) */
@media (max-width: 800px) {
    .sub-hero::before { height: 72%; opacity: 0.32; right: -22%; }
    .sub-hero::after  { display: none; }
}
