/* ============================================================
   KASCHUBE PRO v3 – main.css  Arial · Gold · Responsive
   ============================================================ */
:root {
    --gold:         #c8a96e;
    --gold-dark:    #a8874e;
    --navy:         #0d1b2a;
    --navy2:        #1b3a5c;
    --white:        #ffffff;
    --text:         #1a1a2e;
    --text-mid:     #3d3d55;
    --text-light:   #6b7280;
    --bg:           #f5f6f8;
    --border:       #e4e7ec;
    --radius:       8px;
    --radius-lg:    14px;
    --shadow:       0 2px 16px rgba(0,0,0,.08);
    --shadow-lg:    0 8px 40px rgba(0,0,0,.16);
    --font:         Arial,Helvetica,'Helvetica Neue',sans-serif;
    --header-h:     72px;
    --container:    1240px;
    --gap:          clamp(1rem,4vw,2.5rem);
    /* Customizer-overrides */
    --c-primary:    #c8a96e;
    --c-header-bg:  #0d1b2a;
    --c-header-txt: #ffffff;
    --c-footer-bg:  #0d1b2a;
    --c-footer-txt: #c0c8d4;
    --c-overlay:    rgba(0,0,0,.48);
}

/* Reset */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    color: var(--text); background: var(--white);
    line-height: 1.68; overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img,video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-dark); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
h1,h2,h3,h4,h5,h6 {
    font-family: var(--font); font-weight: 700;
    line-height: 1.25; color: var(--text); margin-bottom: .7em;
}
h1 { font-size: clamp(1.9rem,4.5vw,3.2rem); }
h2 { font-size: clamp(1.35rem,3vw,2rem); }
h3 { font-size: clamp(1.1rem,2.2vw,1.45rem); }
h4 { font-size: 1.05rem; }
p { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }
ul,ol { padding-left: 1.4rem; margin-bottom: 1em; }
li { margin-bottom: .3em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gap); }
.section-pad { padding: clamp(3rem,7vw,5.5rem) 0; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .8rem 1.75rem; border-radius: 50px; font-family: var(--font);
    font-size: .9rem; font-weight: 700; letter-spacing: .02em;
    cursor: pointer; transition: all .25s; border: 2px solid transparent;
    text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover {
    background: var(--gold-dark); border-color: var(--gold-dark); color: #fff;
    transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,169,110,.4);
}
.btn-outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: #fff; }

/* ============================================================
   HEADER – transparent on homepage / solid on inner pages
   ============================================================ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900;
    height: var(--header-h);
    transition: background .35s, box-shadow .35s;
}
.site-header.header-transparent {
    background: linear-gradient(to bottom, rgba(13,27,42,.75) 0%, rgba(13,27,42,0) 100%);
}
.inner-page .site-header,
.site-header.scrolled {
    background: var(--c-header-bg) !important;
    box-shadow: 0 2px 24px rgba(0,0,0,.28);
}

.header-wrap {
    display: flex; align-items: center; justify-content: space-between;
    height: 100%; gap: 1.25rem; padding: 0 var(--gap);
    max-width: var(--container); margin: 0 auto;
}

/* Logo */
.site-logo { flex-shrink: 0; }
.site-logo a { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.site-logo img { height: 52px; width: auto; max-width: 180px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name {
    font-size: 1.1rem; font-weight: 700; color: var(--c-header-txt);
    white-space: nowrap; letter-spacing: .01em;
}
.logo-tagline { font-size: .68rem; color: rgba(255,255,255,.6); white-space: nowrap; }

/* Nav */
.site-nav { display: flex; align-items: center; gap: .15rem; list-style: none; }
.site-nav > li { position: relative; }
.site-nav > li > a {
    display: block; padding: .55rem .9rem;
    font-size: .875rem; font-weight: 600;
    color: var(--c-header-txt); border-radius: 6px;
    transition: all .2s; white-space: nowrap;
}
.site-nav > li > a:hover,
.site-nav > .current-menu-item > a,
.site-nav > .current-page-ancestor > a {
    color: var(--gold); background: rgba(255,255,255,.1);
}
/* Dropdown */
.site-nav .sub-menu {
    position: absolute; top: calc(100% + 4px); left: 0;
    background: var(--navy); border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius); min-width: 210px;
    box-shadow: var(--shadow-lg); list-style: none; padding: .4rem 0;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: all .25s; z-index: 10;
}
.site-nav > li:hover > .sub-menu,
.site-nav > li:focus-within > .sub-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.site-nav .sub-menu a {
    display: block; padding: .55rem 1.1rem;
    font-size: .84rem; color: rgba(255,255,255,.82);
    transition: color .2s, background .2s;
}
.site-nav .sub-menu a:hover { color: var(--gold); background: rgba(255,255,255,.06); }

/* Hamburger */
.menu-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: transparent; border: none; cursor: pointer;
    padding: .5rem; border-radius: 6px; transition: background .2s;
}
.menu-toggle:hover { background: rgba(255,255,255,.1); }
.ham-line {
    display: block; width: 24px; height: 2px;
    background: var(--c-header-txt); border-radius: 2px; transition: all .3s;
}
.menu-toggle[aria-expanded="true"] .ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle[aria-expanded="true"] .ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HOMEPAGE HERO
   ============================================================ */
.site-hero {
    position: relative; min-height: 100vh; min-height: 100dvh;
    display: flex; flex-direction: column; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    background-repeat: no-repeat; z-index: 0;
}
.hero-bg-placeholder { background: linear-gradient(135deg,#0d1b2a 0%,#1b3a5c 100%); }
.hero-overlay {
    position: absolute; inset: 0;
    background: var(--c-overlay); z-index: 1;
}
.hero-main {
    position: relative; z-index: 2; flex: 1;
    display: flex; align-items: center;
    padding-top: var(--header-h);
}
.hero-grid {
    display: grid;
    /* Spaltenbreite kommt per inline-CSS aus kp_dynamic_css() */
    grid-template-columns: auto 1fr;
    gap: clamp(1.5rem,3vw,4rem); align-items: center;
    width: 100%; padding: clamp(2rem,5vh,4rem) 0;
}
/* Form-Col – order, align-self, padding via inline CSS */
.hero-form-col { min-width: 0; }
/* Text-Col – order, justify-content via inline CSS */
.hero-text-col { display: flex; min-width: 0; }

/* Form card */
.form-card {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg); border-top: 4px solid var(--gold);
    padding: clamp(1.5rem,3vw,2.25rem);
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    /* max-width kommt per inline-CSS aus kp_dynamic_css() */
}
.form-badge {
    display: inline-block;
    background: linear-gradient(135deg,var(--gold),var(--gold-dark));
    color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; padding: .28rem .85rem;
    border-radius: 50px; margin-bottom: .85rem;
}
.form-card-title { font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: .3rem; }
.form-card-sub { font-size: .82rem; color: var(--text-light); margin-bottom: 1.35rem; }
.form-card .wpcf7-form { display: flex; flex-direction: column; }
.form-card .wpcf7-form p { margin-bottom: .8rem; }
.form-card .wpcf7-form p:last-of-type { margin-bottom: 0; }
.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="tel"],
.form-card input[type="number"],
.form-card textarea,
.form-card select {
    width: 100%; padding: .68rem .9rem;
    border: 1.5px solid #d4d8e2; border-radius: var(--radius);
    font-family: var(--font); font-size: .875rem; color: var(--text);
    background: #fafbff; transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none; appearance: none;
}
.form-card input:focus,.form-card textarea:focus,.form-card select:focus {
    outline: none; border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200,169,110,.18); background: #fff;
}
.form-card textarea { min-height: 85px; resize: vertical; }
.form-card .wpcf7-submit {
    width: 100%; padding: .875rem; border: none;
    border-radius: var(--kp-btn-radius, 50px);
    background: var(--kp-btn-bg, #c8a96e);
    color: var(--kp-btn-txt, #fff);
    font-family: var(--font); font-size: .95rem; font-weight: 700;
    cursor: pointer; letter-spacing: .03em; transition: all .25s;
    margin-top: var(--kp-btn-mt, .25rem);
    display: var(--kp-btn-display, block);
    width: var(--kp-btn-width, 100%);
    margin-left: var(--kp-btn-ml, 0);
    margin-right: var(--kp-btn-mr, 0);
}
.form-card .wpcf7-submit:hover {
    filter: brightness(1.1); transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.wpcf7-not-valid-tip { color: #dc2626; font-size: .78rem; margin-top: .2rem; display: block; }
.wpcf7-response-output {
    margin-top: 1rem; padding: .75rem 1rem; border-radius: var(--radius);
    font-size: .85rem; border: none !important;
}
.wpcf7-mail-sent-ok { background: #d1fae5; color: #065f46; }
.wpcf7-validation-errors,.wpcf7-mail-sent-ng { background: #fee2e2; color: #991b1b; }
.form-trust {
    display: flex; flex-wrap: wrap; gap: .45rem .85rem;
    margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--border);
}
.form-trust-item {
    display: inline-flex; align-items: center; gap: .35rem;
    font-size: .73rem; color: var(--text-light); font-weight: 600;
}
/* Goldenes Häkchen-Icon */
.form-trust-check {
    display: inline-flex; align-items: center; justify-content: center;
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--gold); color: #fff;
    font-size: .6rem; font-weight: 700; flex-shrink: 0;
    line-height: 1;
}
/* SSL: kein runder Hintergrund, nur das Schloss-Emoji */
.form-trust-lock {
    background: transparent;
    font-size: .875rem;
    width: auto; height: auto;
    border-radius: 0;
}
.form-trust-text { color: var(--text-light); }

/* ── Homepage individueller Footer ── */
.home-custom-footer { position: relative; z-index: 2; }
.home-custom-footer a { color: inherit; opacity: .8; transition: opacity .2s; }
.home-custom-footer a:hover { opacity: 1; color: var(--gold); }
/* Keine Absatz-Abstände im Footer */
.home-footer-content p,
.home-footer-content ul,
.home-footer-content li { margin: 0; padding: 0; list-style: none; }
.home-footer-content br { line-height: 1.8; }
.form-placeholder {
    background: var(--bg); border: 1px dashed var(--border);
    border-radius: var(--radius); padding: 1.25rem;
    font-size: .85rem; color: var(--text-light);
}

/* Hero text – justify-content und max-width kommen aus kp_dynamic_css() */
.hero-text-col { display: flex; }
.hero-text-inner { max-width: 520px; /* Fallback, wird per inline überschrieben */ }
.hero-logo-wrap { margin-bottom: 1.75rem; }
.hero-logo-wrap img {
    max-height: 70px; width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,.4));
}
/* GOLD Titel & Untertitel */
.hero-title {
    font-size: clamp(2rem,4.5vw,3.4rem); font-weight: 700; line-height: 1.18;
    color: var(--gold);
    margin-bottom: 1rem; text-shadow: 0 2px 16px rgba(0,0,0,.5);
}
.hero-subtitle {
    font-size: clamp(.95rem,1.8vw,1.15rem); line-height: 1.65;
    color: rgba(200,169,110,.92);
    margin-bottom: 2rem; text-shadow: 0 1px 8px rgba(0,0,0,.35);
}
.hero-cta {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--gold); color: #fff; padding: 1rem 2.25rem;
    border-radius: 50px; font-weight: 700; font-size: 1rem;
    text-decoration: none; letter-spacing: .02em;
    transition: all .28s; margin-bottom: 2rem;
    box-shadow: 0 6px 24px rgba(200,169,110,.45);
}
.hero-cta:hover {
    background: var(--gold-dark); color: #fff;
    transform: translateY(-2px); box-shadow: 0 10px 32px rgba(200,169,110,.5);
}
.hero-trust { display: flex; flex-direction: column; gap: .55rem; }
.trust-row {
    display: flex; align-items: center; gap: .6rem;
    font-size: .875rem; color: rgba(255,255,255,.9); font-weight: 500;
}
.trust-check {
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--gold); display: flex; align-items: center;
    justify-content: center; font-size: .65rem; color: #fff;
    flex-shrink: 0; font-weight: 700;
}

/* ============================================================
   FOOTER (normaler Footer am Ende jeder Seite)
   ============================================================ */
/* Footer-Hintergrund kommt als Gradient aus kp_dynamic_css() */
.site-footer { background: linear-gradient(135deg,#0d1b2a,#1b3a5c); color: var(--c-footer-txt); }
.footer-top { padding: clamp(3rem,6vw,5rem) 0 clamp(2rem,4vw,3.5rem); }
.footer-cols {
    display: grid; grid-template-columns: repeat(3,1fr);
    gap: clamp(2rem,4vw,3.5rem);
}
.footer-col-title {
    font-size: .8rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; color: var(--gold); margin-bottom: 1rem;
    padding-bottom: .55rem; border-bottom: 1px solid rgba(200,169,110,.3);
}
.footer-col p,.footer-col li { font-size: .875rem; line-height: 1.7; color: var(--c-footer-txt); }
.footer-col a { color: var(--c-footer-txt); transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: .2rem 0; margin: 0; }
.footer-col li::before { content: '→ '; color: var(--gold); font-size: .8em; }
.footer-nav-bar { border-top: 1px solid rgba(255,255,255,.08); padding: .85rem 0; }
.footer-nav-menu {
    display: flex; flex-wrap: wrap; gap: .15rem .5rem;
    list-style: none; padding: 0; margin: 0; justify-content: center;
}
.footer-nav-menu a {
    font-size: .82rem; color: rgba(255,255,255,.6);
    padding: .3rem .6rem; border-radius: 4px; transition: color .2s;
}
.footer-nav-menu a:hover { color: var(--gold); }
.footer-bottom { background: rgba(0,0,0,.18); padding: 1.1rem 0; }
.footer-bottom-wrap {
    display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center;
    text-align: center; font-size: .8rem; color: rgba(255,255,255,.45);
}
.footer-bottom-wrap a { color: rgba(255,255,255,.6); }
.footer-bottom-wrap a:hover { color: var(--gold); }

/* ============================================================
   INNER PAGES
   ============================================================ */
.page-banner {
    margin-top: var(--header-h);
    background: linear-gradient(135deg,var(--navy) 0%,var(--navy2) 100%);
    padding: clamp(2.5rem,6vw,4.5rem) 0 clamp(1.5rem,3vw,2.5rem);
    position: relative; overflow: hidden;
}
.page-banner::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg,var(--gold) 0%,transparent 70%);
}
.page-banner::before {
    content: ''; position: absolute; top: -30%; right: -5%;
    width: 50%; height: 200%;
    background: radial-gradient(ellipse,rgba(200,169,110,.1) 0%,transparent 65%);
    pointer-events: none;
}
.page-banner-inner { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; font-size: clamp(1.6rem,3.5vw,2.5rem); margin: .4rem 0 0; }
.breadcrumb {
    display: flex; flex-wrap: wrap; gap: .35rem; align-items: center;
    font-size: .78rem; color: rgba(255,255,255,.6);
}
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: rgba(255,255,255,.35); margin: 0 .1rem; }

/* Legal two-column layout */
.legal-wrap { padding: clamp(2.5rem,6vw,5rem) 0; }
.legal-grid {
    display: grid; grid-template-columns: 1fr 320px;
    gap: clamp(2rem,4vw,4rem); align-items: start;
}
.legal-content { min-width: 0; }
.legal-sidebar { min-width: 0; position: sticky; top: calc(var(--header-h) + 1.5rem); }

/* Content typography */
.legal-content h2 {
    font-size: 1.55rem; color: var(--navy);
    margin-top: 2.25rem; margin-bottom: .9rem;
    padding-bottom: .55rem; border-bottom: 2px solid var(--gold);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.15rem; color: var(--text); margin-top: 1.6rem; margin-bottom: .55rem; }
.legal-content p,.legal-content li { font-size: .965rem; line-height: 1.82; color: var(--text-mid); }
.legal-content ul,.legal-content ol { margin: 1rem 0 1.4rem; }
.legal-content li { margin-bottom: .4rem; }
.legal-content strong { color: var(--text); font-weight: 700; }

/* Law refs */
.law-ref {
    display: inline-flex; align-items: center;
    background: rgba(200,169,110,.12); border: 1px solid rgba(200,169,110,.4);
    color: #8a6726; font-size: .77rem; font-weight: 700;
    padding: .22rem .65rem; border-radius: 50px; margin: .15rem;
    white-space: nowrap; letter-spacing: .02em;
}
.law-block {
    background: linear-gradient(135deg,#fffbf0,#fff9e6);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.1rem 1.4rem; margin: 1.5rem 0;
}
.law-block-label {
    font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: var(--gold-dark); margin-bottom: .4rem;
}
.law-block p { font-size: .875rem; color: #4a3a1e; margin: 0; line-height: 1.65; }

/* Info boxes */
.info-box {
    border-radius: var(--radius); padding: 1.1rem 1.4rem;
    margin: 1.5rem 0; font-size: .9rem; line-height: 1.7; border-left: 4px solid;
}
.info-box-blue { background: #eff6ff; border-color: #3b82f6; color: #1e3a5f; }
.info-box-warn { background: #fffbeb; border-color: #f59e0b; color: #78350f; }
.info-box-green { background: #f0fdf4; border-color: #22c55e; color: #14532d; }
.info-box-title {
    font-weight: 700; font-size: .8rem; text-transform: uppercase;
    letter-spacing: .07em; margin-bottom: .4rem; display: block;
}

/* Tables */
.data-table {
    width: 100%; border-collapse: collapse; font-size: .895rem;
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); margin: 1.5rem 0;
}
.data-table th {
    background: var(--navy); color: #fff; padding: .8rem 1rem;
    text-align: left; font-size: .78rem; text-transform: uppercase;
    letter-spacing: .07em; font-weight: 700;
}
.data-table td {
    padding: .7rem 1rem; border-bottom: 1px solid var(--border); color: var(--text-mid);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: #f9fafb; }
.data-table .row-total td {
    background: rgba(200,169,110,.08); font-weight: 700;
    color: var(--navy); border-top: 2px solid var(--gold);
}

/* Process steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.steps li {
    counter-increment: step; display: flex; gap: 1.1rem;
    align-items: flex-start; padding: 1.1rem 1.25rem;
    margin-bottom: .65rem; background: #fff;
    border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s;
}
.steps li:hover { box-shadow: 0 4px 24px rgba(0,0,0,.1); transform: translateX(3px); }
.steps li::before {
    content: counter(step); min-width: 34px; height: 34px; border-radius: 50%;
    background: linear-gradient(135deg,var(--gold),var(--gold-dark));
    color: #fff; font-weight: 700; font-size: .88rem;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.steps li strong { display: block; font-size: .92rem; margin-bottom: .25rem; color: var(--navy); }
.steps li span { font-size: .87rem; color: var(--text-light); line-height: 1.65; }

/* FAQ AKKORDEON */
.faq-list { margin: 1.5rem 0; }
.faq-item {
    border: 1px solid var(--border); border-radius: var(--radius);
    margin-bottom: .5rem; overflow: hidden; transition: box-shadow .2s;
}
.faq-item:focus-within { box-shadow: 0 0 0 2px rgba(200,169,110,.35); }
.faq-btn {
    width: 100%; text-align: left; background: #fff; border: none;
    padding: 1rem 1.25rem; font-family: var(--font); font-size: .935rem;
    font-weight: 600; color: var(--text); cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    gap: 1rem; transition: background .2s, color .2s;
}
.faq-btn:hover { background: #fafafa; }
.faq-btn[aria-expanded="true"] {
    background: var(--bg); color: var(--gold);
    border-bottom: 1px solid var(--border);
}
.faq-icon {
    width: 22px; height: 22px; border-radius: 50%;
    border: 2px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 1rem; font-weight: 700;
    flex-shrink: 0; transition: transform .3s, background .2s;
    line-height: 1;
}
.faq-btn[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg); background: var(--gold); color: #fff;
}
.faq-answer {
    display: none; padding: 1rem 1.25rem 1.25rem;
    font-size: .905rem; color: var(--text-light);
    line-height: 1.78; background: var(--bg);
}
.faq-answer.open { display: block; }

/* Sidebar */
.sidebar-box {
    background: #fff; border-radius: var(--radius-lg);
    border: 1px solid var(--border); border-top: 3px solid var(--gold);
    padding: 1.4rem; margin-bottom: 1.4rem; box-shadow: var(--shadow);
}
.sidebar-box-dark {
    background: linear-gradient(145deg,var(--navy),#0f2642);
    border-top-color: var(--gold);
}
.sidebar-box h3 {
    font-size: .82rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .09em; color: var(--navy2); margin-bottom: .9rem;
}
.sidebar-box-dark h3 { color: var(--gold); }
.sidebar-box p { font-size: .845rem; color: var(--text-light); line-height: 1.65; }
.sidebar-box-dark p { color: rgba(255,255,255,.72); }
.sidebar-cta {
    display: block; text-align: center; background: var(--gold); color: #fff;
    padding: .85rem; border-radius: 50px; font-weight: 700; font-size: .9rem;
    text-decoration: none; margin-top: .9rem; transition: all .25s;
}
.sidebar-cta:hover { background: var(--gold-dark); color: #fff; transform: translateY(-1px); }
.sidebar-links { list-style: none; padding: 0; margin: 0; }
.sidebar-links li { border-bottom: 1px solid var(--border); margin: 0; }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links li::before { display: none; }
.sidebar-links a {
    display: flex; align-items: center; gap: .55rem;
    padding: .55rem 0; font-size: .87rem; color: var(--text-mid); transition: color .2s;
}
.sidebar-links a::before { content: '→'; color: var(--gold); font-size: .8rem; font-weight: 700; }
.sidebar-links a:hover { color: var(--gold); }

/* Posts grid */
.posts-grid {
    display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 1.75rem; margin-bottom: 3rem;
}
.post-card {
    background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--border); box-shadow: var(--shadow);
    display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card-thumb { transform: scale(1.04); }
.post-card-body { padding: 1.35rem; flex: 1; display: flex; flex-direction: column; }
.post-card-meta { font-size: .78rem; color: var(--text-light); margin-bottom: .45rem; }
.post-card-title { font-size: 1.05rem; margin-bottom: .6rem; line-height: 1.35; }
.post-card-title a { color: var(--text); }
.post-card-title a:hover { color: var(--gold); }
.post-card-excerpt { font-size: .875rem; color: var(--text-light); flex: 1; margin-bottom: 1.1rem; }

/* 404 */
.error-wrap { padding: 5rem 0; text-align: center; }
.error-num { font-size: 7rem; font-weight: 700; color: var(--gold); line-height: 1; }
.search-form { display: flex; gap: .5rem; max-width: 480px; margin: 1.5rem auto; }
.search-field {
    flex: 1; padding: .75rem 1rem; border: 1.5px solid var(--border);
    border-radius: 50px; font-family: var(--font); font-size: .9rem;
}
.search-submit {
    background: var(--gold); color: #fff; border: none;
    padding: .75rem 1.5rem; border-radius: 50px;
    font-family: var(--font); font-weight: 700; cursor: pointer;
}

/* Homepage extra content */
.home-content { background: var(--bg); }

/* ── Weißer Balken auf Homepage – komplett unterdrücken ── */
.home-page #page          { background: transparent !important; }
.home-page #content       { background: transparent !important; }
.home-page .home-content  { display: none !important; }
.home-page .home-content.has-content { display: block !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .hero-grid { gap: 2rem; }
    .legal-grid { grid-template-columns: 1fr 290px; }
}
@media (max-width: 900px) {
    .legal-grid { grid-template-columns: 1fr; }
    .legal-sidebar { position: static; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    :root { --header-h: 64px; }
    .menu-toggle { display: flex; }
    /* Fullscreen mobile nav */
    .site-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
        background: var(--navy); flex-direction: column; align-items: stretch;
        padding: 1.25rem; gap: .15rem; overflow-y: auto;
        transform: translateX(-100%);
        transition: transform .35s cubic-bezier(.4,0,.2,1); z-index: 800;
    }
    .site-nav.nav-open { transform: translateX(0); }
    .site-nav > li > a {
        font-size: 1.05rem; padding: .85rem 1rem; border-radius: var(--radius);
        border-bottom: 1px solid rgba(255,255,255,.07);
    }
    .site-nav .sub-menu {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: none;
        background: rgba(255,255,255,.05);
        padding: .25rem 0 .25rem .75rem; border-radius: var(--radius); margin: .25rem 0;
    }
    /* Hero stacked: form below, covers bg */
    .hero-grid { grid-template-columns: 1fr; padding-top: 1.5rem; padding-bottom: 0; }
    .hero-text-col { order: 1; justify-content: flex-start; }
    .hero-text-inner { max-width: 100%; }
    .hero-form-col {
        order: 2; margin: 0 calc(-1*var(--gap));
        width: calc(100% + 2*var(--gap));
    }
    .form-card {
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        min-height: 45vh;
    }
    .footer-cols { grid-template-columns: 1fr; }
    .posts-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 1.85rem; }
    .hero-subtitle { font-size: .95rem; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 1.6rem; }
    .form-card { padding: 1.25rem; }
    .footer-bottom-wrap { font-size: .75rem; }
}
@media print {
    .site-header,.site-footer,.hero-form-col,.menu-toggle { display: none; }
    .page-banner { background: #f0f0f0; margin-top: 0; }
    .page-banner h1 { color: #000; }
    .legal-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================
   INNER PAGES – EINHEITLICHES DESIGN
   Überschreibt Gutenberg-Blöcke, alte Theme-Stile, Plugins
   ============================================================ */

/* ── Basis: Alles auf Arial, konsistente Farben ── */
.inner-page,
.inner-page *,
.inner-page h1,
.inner-page h2,
.inner-page h3,
.inner-page h4,
.inner-page p,
.inner-page li,
.inner-page a {
    font-family: Arial, Helvetica, 'Helvetica Neue', sans-serif !important;
}

/* ── Gutenberg-Blöcke neutralisieren ── */
/* Farbige Hero/Cover Blöcke entfernen */
.inner-page .wp-block-cover,
.inner-page .wp-block-cover-image {
    background: transparent !important;
    color: var(--text) !important;
    padding: 1rem 0 !important;
    min-height: auto !important;
}
.inner-page .wp-block-cover .wp-block-cover__inner-container,
.inner-page .wp-block-cover-image .wp-block-cover-image-text {
    color: var(--text) !important;
}

/* Farbige Gruppen-Blöcke → neutral */
.inner-page .wp-block-group {
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 1.5rem !important;
}
.inner-page .wp-block-group.has-background {
    background: var(--bg) !important;
    padding: 1.25rem !important;
    border-radius: var(--radius) !important;
    border-left: 4px solid var(--gold) !important;
}

/* Spalten-Blöcke */
.inner-page .wp-block-columns {
    gap: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}
.inner-page .wp-block-column {
    background: #fff !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    padding: 1.25rem !important;
    color: var(--text-mid) !important;
}
.inner-page .wp-block-column h3,
.inner-page .wp-block-column h4 {
    color: var(--navy) !important;
    font-size: 1rem !important;
    margin-bottom: .5rem !important;
    border-bottom: none !important;
}

/* Buttons in Blöcken → Theme-Stil */
.inner-page .wp-block-button__link,
.inner-page .wp-element-button {
    background: var(--gold) !important;
    color: #fff !important;
    border-radius: 50px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 700 !important;
    border: none !important;
    padding: .75rem 2rem !important;
}
.inner-page .wp-block-button__link:hover {
    background: var(--gold-dark) !important;
    color: #fff !important;
}

/* Tabellen */
.inner-page .wp-block-table table,
.inner-page table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
    margin: 1.25rem 0;
}
.inner-page .wp-block-table th,
.inner-page th {
    background: var(--navy) !important;
    color: #fff !important;
    padding: .7rem 1rem !important;
    text-align: left !important;
    font-size: .8rem !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
}
.inner-page .wp-block-table td,
.inner-page td {
    padding: .65rem 1rem !important;
    border-bottom: 1px solid var(--border) !important;
    color: var(--text-mid) !important;
}
.inner-page .wp-block-table tr:nth-child(even) td { background: #f9fafb !important; }

/* Trennlinien/Separatoren */
.inner-page .wp-block-separator,
.inner-page hr {
    border: none !important;
    border-top: 1px solid var(--border) !important;
    margin: 1.5rem 0 !important;
}

/* Zitat-Blöcke */
.inner-page .wp-block-quote,
.inner-page blockquote {
    border-left: 4px solid var(--gold) !important;
    background: var(--bg) !important;
    padding: 1rem 1.5rem !important;
    margin: 1.5rem 0 !important;
    border-radius: 0 var(--radius) var(--radius) 0 !important;
    font-style: normal !important;
    color: var(--text-mid) !important;
}

/* Farbige Absätze → neutral */
.inner-page .wp-block-paragraph.has-background {
    background: var(--bg) !important;
    padding: 1rem 1.25rem !important;
    border-radius: var(--radius) !important;
    color: var(--text-mid) !important;
}
/* Weiße Schrift auf dunklem Hintergrund → lesbar machen */
.inner-page [style*="color:#fff"],
.inner-page [style*="color: #fff"],
.inner-page [style*="color:white"],
.inner-page [style*="color: white"] {
    color: var(--text-mid) !important;
}
/* Dunkle Hintergründe in Blöcken → transparent */
.inner-page [style*="background-color:#0"],
.inner-page [style*="background-color: #0"],
.inner-page [style*="background:#0"] {
    background: transparent !important;
}

/* ── Herobalken innerhalb von Content entfernen ── */
/* Farbige Header-Blöcke die wie Hero-Balken aussehen */
.inner-page .wp-block-cover__background,
.inner-page .has-background-dim::before {
    display: none !important;
}

/* ── Abstände im Content normalisieren ── */
.legal-content .wp-block-heading,
.legal-content h2,
.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: .75rem;
}
.legal-content .wp-block-paragraph,
.legal-content p {
    font-size: .965rem;
    line-height: 1.82;
    color: var(--text-mid);
    margin-bottom: 1rem;
}

/* ── Breadcrumb / Pfad über dem Seitentitel ── */
/* KK Pressbar auf Unterseiten ausblenden */
.inner-page .kk-pressbar { display: none !important; }

/* ── Responsive Innenseiten ── */
@media (max-width: 900px) {
    .legal-grid { grid-template-columns: 1fr; }
    .legal-sidebar { position: static; }
    .inner-page .wp-block-columns { flex-direction: column; }
}
@media (max-width: 768px) {
    .legal-wrap { padding: 2rem 0; }
    .page-banner { padding-top: 2rem; }
}

/* ============================================================
   RATGEBER EHESCHEIDUNG – Horizontales FAQ
   ============================================================ */
.ratgeber-section {
    background: var(--bg);
    padding: clamp(2.5rem,6vw,4rem) 0;
    border-top: 1px solid var(--border);
}
.ratgeber-title {
    font-family: var(--font);
    font-size: clamp(1.3rem,2.5vw,1.85rem);
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: .75rem;
    border-bottom: 3px solid var(--gold);
    display: inline-block;
    width: 100%;
}
.ratgeber-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: .75rem;
}
.ratgeber-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .2s;
}
.ratgeber-item:focus-within,
.ratgeber-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.09);
}
.ratgeber-btn {
    width: 100%;
    background: #fff;
    border: none;
    padding: .85rem 1rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    cursor: pointer;
    font-family: var(--font);
    font-size: .875rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    transition: background .2s, color .2s;
    line-height: 1.35;
}
.ratgeber-btn:hover {
    background: var(--bg);
    color: var(--gold);
}
.ratgeber-btn[aria-expanded="true"] {
    background: var(--navy);
    color: var(--gold);
    border-bottom: 1px solid rgba(200,169,110,.3);
}
.ratgeber-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    background: var(--gold);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 700;
    transition: transform .3s, background .2s;
    line-height: 1;
}
.ratgeber-btn[aria-expanded="true"] .ratgeber-icon {
    transform: rotate(45deg);
    background: var(--gold);
}
.ratgeber-label { flex: 1; }
.ratgeber-answer {
    display: none;
    padding: .85rem 1rem 1rem;
    background: var(--bg);
    font-size: .845rem;
    color: var(--text-light);
    line-height: 1.65;
    border-top: 1px solid var(--border);
}
.ratgeber-answer.open { display: block; }
.ratgeber-answer p { margin: 0 0 .6rem; }
.ratgeber-answer p:last-child { margin-bottom: 0; }
.ratgeber-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-top: .6rem;
    font-size: .8rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    transition: color .2s;
}
.ratgeber-link:hover { color: var(--gold-dark); }

@media (max-width: 768px) {
    .ratgeber-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .ratgeber-grid { grid-template-columns: 1fr; }
}

/* ── Kompaktes Frontseite-Formular ── */
.wpcf7 form p { margin: 0 !important; padding: 0 !important; line-height: 1.2 !important; }
.wpcf7 form label { margin: 2px 0 0 0 !important; padding: 0 !important; font-size: 13px !important; line-height: 1.2 !important; }
.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="number"],
.wpcf7 form input[type="date"],
.wpcf7 form input[type="tel"],
.wpcf7 form select,
.wpcf7 form textarea { padding: 5px 8px !important; margin: 1px 0 !important; font-size: 13px !important; line-height: 1.2 !important; }
.wpcf7 form .wpcf7-form-control-wrap { display: block; margin: 0 !important; }
.wpcf7 form br { display: none !important; }
