/*
Theme Name: Unfried & Kollegen
Theme URI: https://unfried-kollegen.de
Author: Unfried & Kollegen
Description: Individuelles Theme für die Anwaltskanzlei Unfried & Kollegen Ludwigsburg
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: unfried-kollegen
*/

/* =============================================
   FONTS
   ============================================= */

@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/montserrat-v31-latin-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('assets/fonts/montserrat-v31-latin-600.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('assets/fonts/montserrat-v31-latin-700.woff2') format('woff2');
}

/* =============================================
   TOKENS
   ============================================= */

:root {
    --background: #F0F4F7;
    --blue: #35507E;
    --darkblue: #2F3745;
    --grey: #4a4a4a;
    --focus-color: #ffcc00;
    --gap: 16px;
    --card-bg: #f3f6f9;
    --radius: 8px;
    --wm: rgba(0,0,0,.04);
    --headline: #1f2a3a;
    --accent: #314a72;
}

/* =============================================
   RESET & BASE
   ============================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 400;
}

h1, h2 {
    font-weight: 800;
}

h2 {
    font-size: clamp(32px, 5vw, 64px);
}

h3 {
    font-weight: 600;
}

p {
    line-height: 1.5;
}

a {
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

ul {
    list-style-type: none;
}

/* =============================================
   ACCESSIBILITY
   ============================================= */

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--darkblue);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100000;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #ffcc00;
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--focus-color);
    outline-offset: 2px;
}

.btn:focus,
.btn2:focus,
.btn_sml:focus,
.btn2_sml:focus {
    outline: 3px solid var(--focus-color);
    outline-offset: 2px;
}

/* =============================================
   LAYOUT UTILITIES
   ============================================= */

.content {
    width: 80%;
    max-width: 1400px;
    margin: auto;
}

.flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
    padding: 15px 30px;
    background-color: var(--blue);
    display: inline-block;
    color: white;
    border-radius: 8px;
}

.btn2 {
    padding: 15px 30px;
    background-color: var(--darkblue);
    display: inline-block;
    color: white;
    border-radius: 8px;
}

.topbar nav .btn_sml,
.team .btn_sml {
    padding: 10px 20px;
    background-color: var(--blue);
    display: inline-block;
    color: white;
    border-radius: 4px;
    font-size: 14px;
}

.topbar nav .btn2_sml {
    padding: 10px 20px;
    background-color: var(--darkblue);
    display: inline-block;
    color: white;
    border-radius: 4px;
    font-size: 14px;
}

/* =============================================
   TOPBAR / NAVIGATION
   ============================================= */

.topbar {
    padding: 10px 0;
}

.topbar .logo {
    width: 250px;
}

.topbar .logo img {
    width: 100%;
}

.topbar nav {
    width: calc(100% - 350px);
    align-content: center;
    align-items: center;
    justify-content: flex-end;
}

.topbar nav a {
    color: var(--grey);
    margin-left: 30px;
}

/* =============================================
   MOBILE NAV
   ============================================= */

.burger {
    display: none;
    background: none;
    border: none;
    padding: 0;
    width: 36px;
    height: 28px;
    position: relative;
    cursor: pointer;
    margin-left: auto;
    flex-shrink: 0;
}

.burger span {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 2px;
    background: var(--darkblue);
    transition: transform .25s ease, opacity .25s ease;
}

.burger span:nth-child(1) { top: 2px; }
.burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger span:nth-child(3) { bottom: 2px; }

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 99998;
}


.burger:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.topbar nav a:focus-visible { outline: 2px solid var(--blue); border-radius: 6px; }

/* =============================================
   HEADER / HERO
   ============================================= */

.header_start .left {
    width: 50%;
    background-color: var(--background);
    padding: 200px 5% 200px 10%;
    position: relative;
}

.header_start .left .divider_outer {
    position: absolute;
    right: 0px;
    top: -1px;
    height: 100%;
    anchor-name: --divideranchor;
}

.header_start .left .divider_outer img {
    position: absolute;
    position-anchor: --divideranchor;
    top: anchor(top);
    left: anchor(left);
    width: auto;
    height: 100%;
    z-index: -1;
}

.header_start .left h1 {
    font-size: 90px;
    color: var(--darkblue);
    line-height: 1;
}

.header_start .left h1 span {
    color: var(--blue);
    text-transform: uppercase;
}

.header_start .left p {
    padding-top: 8px;
    padding-bottom: 16px;
}

.header_start .left .cta {
    max-width: 330px;
}

.header_start .right {
    background-image: url('assets/images/unfried_kollegen_verkehrsrecht_header.jpeg');
    padding: 200px 0;
    width: 50%;
    background-size: cover;
    background-position: right;
    border-top: solid 20px white;
    border-bottom: solid 20px white;
    z-index: -3;
}

/* =============================================
   LEGAL SECTION / CONTAINER
   (im Original deklariert, aktuell nicht in HTML verwendet)
   ============================================= */

.legal-section {
    padding: 80px 0;
    font-family: 'Montserrat', sans-serif;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* =============================================
   RECHTSGEBIETE
   ============================================= */

.legal-wrapper {
    margin: 0 auto;
    display: flex;
    gap: var(--gap);
    font-family: 'Montserrat', sans-serif;
    padding: 128px 0;
    flex-wrap: wrap;
}

.col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.headline-box { padding-right: 10px; }

.headline {
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
    font-size: 60px;
    color: var(--headline);
}

.headline span { color: var(--accent); }

.card {
    position: relative;
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 36px 40px 18px;
    overflow: hidden;
}

.card-title {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 700;
    color: #2a3342;
}

.card p {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.5;
}

.dash-list {
    margin: 0;
    padding-left: 18px;
    list-style-type: disc;
}

.dash-list li {
    margin: 0 0 6px;
    font-size: 17px;
}

.dash-list li::marker { content: "– "; }

.wm {
    position: absolute;
    right: 32px;
    bottom: -10px;
    font-size: clamp(140px, 18vw, 220px);
    font-weight: 800;
    color: var(--wm);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

/* =============================================
   TEAM
   ============================================= */

.team {
    background: #FFF;
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(240,244,247,1) 100%);
}

.team h2 {
    font-size: 60px;
    padding-bottom: 16px;
}

.team h2 span { color: var(--accent); }

.team p {
    font-size: 14px;
    max-width: 80%;
}

.team .anwaelte { padding: 64px 0; }

.team .anwaelte li {
    width: 30%;
    text-align: center;
}

.team .anwaelte li .btn_sml { margin-top: 16px; }

.team li img {
    width: 200px;
    border-radius: 400px;
}

.team ul li h3 {
    font-size: 23px;
    padding: 16px 0 8px 0;
}

.team ul li h4 {
    font-size: 15px;
    font-weight: 400;
    padding-bottom: 16px;
}

.team ul li p {
    max-width: 100%;
    font-size: 13px;
    color: #646464;
}

.team .mitarbeiter { justify-content: center; }

.team .mitarbeiter li img { width: 150px; }

.team .mitarbeiter li {
    width: 34%;
    text-align: center;
    padding-bottom: 64px;
}

/* =============================================
   MITGLIEDSCHAFTEN
   ============================================= */

.mitgliedschaften { padding: 128px 0; }

.mitgliedschaften h2 {
    color: var(--darkblue);
    padding-bottom: 16px;
    font-size: 60px;
}

.mitgliedschaften ul { padding-top: 64px; }

.mitgliedschaften ul li {
    width: 20%;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding-bottom: 64px;
}

.mitgliedschaften ul li img {
    width: auto;
    height: auto;
    max-width: 200px;
}

/* =============================================
   CONTACT SECTION
   ============================================= */

.contact .left,
.contact .right {
    width: 50%;
    position: relative;
}

.contact h2 {
    font-size: 60px;
    color: var(--darkblue);
}

.contact .left {
    background-color: var(--blue);
    background-image: url('assets/images/contact_bg.jpg');
    background-size: cover;
    padding: 150px 5% 150px 10%;
    text-align: center;
    border-top: solid 20px white;
    border-bottom: solid 20px white;
    display: flex;
}

.contact .left img { max-width: 380px; }

.contact .right {
    background-color: var(--background);
    padding: 128px 10% 128px 5%;
    position: relative;
    z-index: 9;
}

.contact .right .devider_outer {
    position: absolute;
    left: -156px;
    top: 0px;
    height: 100%;
    anchor-name: --divideranchor2;
}

.contact .right .devider_outer img {
    position: absolute;
    position-anchor: --divideranchor;
    top: anchor(top);
    left: anchor(right);
    width: auto;
    height: 100%;
    z-index: -1;
}

.contact .right .subtitle {
    padding-top: 32px;
    font-size: 23px;
    padding-bottom: 16px;
}

.contact .right address {
    line-height: 1.5;
    font-style: normal;
    padding-bottom: 16px;
}

.contact .right p {
    line-height: 1.5;
    padding-bottom: 16px;
}

.contact .right p a { color: var(--blue); }

.contact .right .way { font-weight: 600; }

.hint { font-size: 12px; color: var(--grey); }

/* =============================================
   CONTACT FORM
   ============================================= */

section.contact_form { padding: 64px 0; }

section.contact_form h2 { color: #35507E; }

.contact-form { max-width: 700px; }

.contact-form .form-row { margin-bottom: 18px; }

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font: inherit;
}

.contact-form button {
    padding: 12px 20px;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    background-color: var(--blue);
    color: white;
    font: inherit;
    font-weight: 600;
}

.contact-form button:hover { background-color: var(--darkblue); }

#form-message p {
    padding: 12px 16px;
    margin-bottom: 18px;
    border-radius: 6px;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
}

#form-message p.error {
    background: #fdecea;
    border-color: #f5c6cb;
    color: #c62828;
}

/* =============================================
   FOOTER
   ============================================= */

footer {
    background-color: var(--darkblue);
    position: relative;
    padding: 50px 0;
    margin-top: -20px;
}

footer a,
footer p {
    color: white;
    font-size: 12px;
}

footer nav ul {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

/* =============================================
   INNER PAGES – VITA / IMPRESSUM / DATENSCHUTZ
   ============================================= */

.page_vita h2,
.page_datenschutz h2,
.page_impressum h2 {
    font-size: 23px;
    padding-bottom: 16px;
    text-align: left;
    color: var(--headline);
}

.page_vita h1 { font-size: 40px; }

.page_vita p { line-height: 1.6; }

.page_vita section { margin: 2rem 0; }

.page_vita section ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    text-align: left;
    max-width: 600px;
    margin: 1rem auto;
}

.page_vita section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.page_vita img.avatar {
    border-radius: 200px;
    width: 200px;
    margin-right: 20px;
    margin-bottom: 20px;
}

.page_impressum h1,
.page_datenschutz h1 {
    font-size: 40px;
    padding: 20px 0;
    color: var(--headline);
}

.page_impressum p,
.page_impressum ul,
.page_impressum li,
.page_datenschutz p,
.page_datenschutz ul {
    line-height: 1.6;
    padding-bottom: 20px;
    color: var(--grey);
}

.page_impressum footer li {
    line-height: normal;
    padding-bottom: 0;
    color: var(--background);
}

.page_datenschutz footer p,
.page_impressum footer p {
    color: var(--background);
}

/* =============================================
   RESPONSIVE – TABLET / MOBILE
   ============================================= */

@media screen and (max-width: 768px) {
    .content { width: 90%; }

    .team .anwaelte li {
        width: 100%;
        margin-bottom: 64px;
    }

    .team .mitarbeiter li { width: 100%; }

    .mitgliedschaften ul li { width: 50%; }

    .mitgliedschaften h2,
    .team h2,
    .headline { font-size: 40px; }

    .header_start .left h1 { font-size: 57px; }

    .header_start .left h1 span { display: inline; }

    .header_start .left {
        width: 100%;
        padding: 64px 5%;
    }

    .header_start .right {
        width: 100%;
        order: -1;
        padding: 100px 0;
        border-top: 0;
        border-bottom: 0;
    }

    .header_start .left .divider_outer img { display: none; }

    .card { padding: 20px; }

    .team p { max-width: 100%; }

    .contact.flex { flex-direction: column; }

    .contact.flex .left,
    .contact.flex .right { width: 100%; }

    .contact .left img {
        width: 80%;
        margin: auto;
    }

    .contact .left {
        border-top: 0;
        border-bottom: 0;
    }

    /* Mobile Nav */
    .topbar .content { align-items: center; }

    .burger { display: inline-flex; z-index: 1001; }

    .topbar nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(85vw, 360px);
        padding: 88px 24px 24px;
        background: #fff;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        box-shadow: -18px 0 40px rgba(0,0,0,.12);
        transform: translateX(100%);
        transition: transform .35s ease;
        z-index: 99999;
        justify-content: flex-start;
    }

    .topbar nav a {
        margin: 0 !important;
        font-size: 18px;
        padding: 10px 6px;
        color: var(--darkblue);
    }

    .topbar nav .btn_sml,
    .topbar nav .btn2_sml {
        font-size: 16px;
        border-radius: 8px;
        padding: 10px 14px;
    }

    .burger { display: inline-flex; z-index: 999999999; }

    .nav-item {
        display: block;
        width: 100%;
    }

    /* Submenu auf Mobile: immer sichtbar, kein Dropdown-Verhalten */
    .nav-dropdown {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none;
        border-radius: 0;
        background: transparent;
        min-width: 0;
        width: 100%;
        padding: 4px 0 8px;
        margin: 0;
    }

    .nav-dropdown a {
        display: block !important;
        font-size: 15px !important;
        padding: 8px 12px 8px 20px !important;
        margin-left: 0 !important;
        color: var(--blue) !important;
        opacity: 0.85;
    }

    /* Öffnen/Schließen via JS-Klasse auf .topbar */
    .topbar.nav-is-open nav { transform: translateX(0); }

    .topbar.nav-is-open .mobile-overlay {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }

    .topbar.nav-is-open .burger span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .topbar.nav-is-open .burger span:nth-child(2) { opacity: 0; }

    .topbar.nav-is-open .burger span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    .topbar .logo { z-index: 1002; width: 200px; }
    .topbar nav { width: min(85vw, 360px); }
}

/* WordPress admin bar spacing */
.admin-bar .topbar {
    top: 32px;
}

/* =============================================
   NAV DROPDOWN (Desktop only)
   ============================================= */

@media screen and (min-width: 769px) {
    .nav-item {
        position: relative;
        display: inline-flex;
        align-items: center;
    }

    .nav-dropdown {
        position: absolute;
        top: calc(100% + 12px);
        left: 50%;
        transform: translateX(-50%) translateY(-6px);
        background: white;
        border-radius: 10px;
        box-shadow: 0 8px 32px rgba(0,0,0,.13);
        min-width: 230px;
        padding: 8px 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
        z-index: 10000;
        border-top: 3px solid var(--blue);
    }

    .nav-item:hover .nav-dropdown,
    .nav-item:focus-within .nav-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .nav-dropdown a {
        display: block !important;
        padding: 10px 20px !important;
        margin-left: 0 !important;
        color: var(--darkblue) !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        border-radius: 0 !important;
        background: transparent !important;
        transition: background .15s, color .15s;
    }

    .nav-dropdown a:hover {
        background: var(--background) !important;
        color: var(--blue) !important;
    }
}

/* Card-Link in Rechtsgebiete-Section */
.card-mehr {
    display: inline-block;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
    transition: color .2s;
}
.card-mehr:hover { color: var(--darkblue); text-decoration: underline; }

/* =============================================
   RECHTSGEBIET-SEITEN (Leistungsseiten)
   ============================================= */

/* --- Page Hero --- */
.page-hero {
    background: var(--darkblue);
    padding: 72px 0 64px;
    color: white;
}

.page-hero h1 {
    font-size: clamp(30px, 4vw, 54px);
    color: white;
    line-height: 1.15;
    margin-bottom: 16px;
    font-weight: 800;
}

.page-hero__subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.82);
    max-width: 680px;
    line-height: 1.65;
    margin-bottom: 0;
}

/* --- Breadcrumb --- */
.breadcrumb {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.breadcrumb a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
}

.breadcrumb a:hover { color: white; text-decoration: underline; }

.breadcrumb span { color: rgba(255,255,255,0.35); }

/* --- Intro Section --- */
.rechtsgebiet-intro {
    padding: 80px 0;
    background: var(--background);
}

.intro-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 64px;
    align-items: start;
}

.rechtsgebiet-intro h2 {
    font-size: clamp(26px, 3vw, 40px);
    color: var(--darkblue);
    margin-bottom: 20px;
    line-height: 1.2;
}

.rechtsgebiet-intro p {
    line-height: 1.75;
    color: var(--grey);
    margin-bottom: 18px;
    font-size: 16px;
}

.intro-leistungen h3 {
    font-size: 18px;
    color: var(--darkblue);
    margin-bottom: 16px;
    font-weight: 700;
}

.intro-leistungen ul {
    list-style: none;
    padding: 0;
}

.intro-leistungen li {
    padding: 10px 0 10px 28px;
    position: relative;
    color: var(--grey);
    font-size: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    line-height: 1.4;
}

.intro-leistungen li::before {
    content: '§';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 700;
    font-size: 15px;
}

.intro-leistungen li:last-child { border-bottom: none; }

/* --- Service Cards Grid --- */
.leistungen-section {
    padding: 80px 0;
    background: white;
}

.leistungen-section > .content > h2 {
    font-size: clamp(26px, 3vw, 46px);
    color: var(--darkblue);
    margin-bottom: 12px;
}

.leistungen-section > .content > .section-intro {
    color: var(--grey);
    font-size: 16px;
    max-width: 700px;
    margin-bottom: 48px;
    line-height: 1.6;
}

.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.leistung-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 28px 24px 24px;
    border-top: 3px solid var(--blue);
    position: relative;
    overflow: hidden;
}

.leistung-card__wm {
    position: absolute;
    right: 16px;
    bottom: -12px;
    font-size: 90px;
    font-weight: 800;
    color: rgba(0,0,0,.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.leistung-card h3 {
    font-size: 17px;
    color: var(--darkblue);
    margin-bottom: 10px;
    font-weight: 700;
}

.leistung-card p {
    font-size: 14px;
    color: var(--grey);
    line-height: 1.6;
    margin: 0;
}

/* --- FAQ Section --- */
.faq-section {
    padding: 80px 0;
    background: var(--background);
}

.faq-section > .content > h2 {
    font-size: clamp(26px, 3vw, 46px);
    color: var(--darkblue);
    margin-bottom: 12px;
}

.faq-section > .content > .faq-intro {
    color: var(--grey);
    font-size: 16px;
    max-width: 700px;
    margin-bottom: 48px;
    line-height: 1.6;
}

.faq-list { max-width: 860px; }

.faq-item { border-bottom: 1px solid #d8dde3; }

.faq-item:first-of-type { border-top: 1px solid #d8dde3; }

.faq-item summary {
    list-style: none;
    padding: 20px 52px 20px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: var(--darkblue);
    position: relative;
    line-height: 1.45;
    transition: color .2s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    font-weight: 300;
    color: var(--blue);
    line-height: 1;
    transition: transform .25s ease;
}

.faq-item[open] summary { color: var(--blue); }

.faq-item[open] summary::after {
    content: '–';
    transform: translateY(-50%);
}

.faq-item summary:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
    border-radius: 3px;
}

.faq-answer {
    padding: 4px 0 22px 0;
    color: var(--grey);
    line-height: 1.75;
    font-size: 15px;
}

.faq-answer p { margin-bottom: 12px; }
.faq-answer p:last-child { margin-bottom: 0; }

.faq-answer ul {
    list-style: disc;
    padding-left: 22px;
    margin-bottom: 12px;
}

.faq-answer li { margin-bottom: 5px; }

/* --- CTA Banner --- */
.cta-banner {
    background: var(--blue);
    padding: 72px 0;
    text-align: center;
}

.cta-banner h2 {
    color: white;
    font-size: clamp(24px, 3vw, 40px);
    margin-bottom: 14px;
}

.cta-banner p {
    color: rgba(255,255,255,0.85);
    font-size: 17px;
    margin-bottom: 32px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-banner .btn {
    background: white;
    color: var(--blue);
    font-weight: 700;
    font-size: 16px;
    padding: 16px 36px;
    transition: background .2s;
}

.cta-banner .btn:hover {
    background: var(--background);
    text-decoration: none;
}

/* --- Responsive Leistungsseiten --- */
@media screen and (max-width: 1024px) {
    .leistungen-grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 768px) {
    .page-hero { padding: 48px 0; }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .leistungen-grid { grid-template-columns: 1fr; }

    .faq-item summary { font-size: 15px; padding-right: 40px; }

    .cta-banner { padding: 48px 0; }
}
