/* =========================================================
   SOZIALE FINANZEN AG
   STYLE.CSS
   VERSION PROFESSIONNELLE + RESPONSIVE
========================================================= */


/* =========================================================
   1. VARIABLES
========================================================= */

:root {
    --gold: #b08a45;
    --gold-dark: #8d6c35;
    --gold-light: #d7bd8a;
    --gold-soft: #f5efe4;

    --black: #111111;
    --black-2: #181818;
    --dark: #222222;
    --dark-2: #2d2d2d;

    --white: #ffffff;
    --off-white: #faf9f7;
    --light: #f4f2ee;

    --text: #252525;
    --text-light: #6d6d6d;
    --muted: #8a8a8a;

    --border: #e5e1d9;
    --border-dark: #d7d1c7;

    --success: #237a4b;
    --danger: #b43b3b;
    --warning: #9a701c;

    --container: 1180px;

    --header-height: 82px;

    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm:
        0 3px 12px rgba(17, 17, 17, 0.06);

    --shadow:
        0 12px 35px rgba(17, 17, 17, 0.08);

    --shadow-lg:
        0 22px 60px rgba(17, 17, 17, 0.13);

    --transition:
        0.25s ease;
}


/* =========================================================
   2. RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;

    background: var(--white);
    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    font-size: 16px;
    line-height: 1.6;

    overflow-x: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   3. ACCESSIBILITY
========================================================= */

:focus-visible {
    outline: 3px solid rgba(176, 138, 69, 0.35);
    outline-offset: 3px;
}

::selection {
    background: var(--gold);
    color: var(--white);
}


/* =========================================================
   4. CONTAINER
========================================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}


/* =========================================================
   5. HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.navbar {
    min-height: var(--header-height);

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
}


/* =========================================================
   6. LOGO
========================================================= */

.site-logo {
    display: inline-flex;
    align-items: center;

    gap: 11px;

    flex: 0 0 auto;

    color: var(--black);
}

.logo-symbol {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    background: var(--black);
    color: var(--gold-light);

    border-radius: 8px;

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.08);
}

.logo-text {
    display: flex;
    flex-direction: column;

    line-height: 1.05;

    white-space: nowrap;
}

.logo-text strong {
    font-size: 16px;
    font-weight: 800;

    letter-spacing: 0.13em;
}

.logo-text span {
    margin-top: 4px;

    color: var(--gold-dark);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.20em;
}


/* =========================================================
   7. NAVIGATION
========================================================= */

.main-nav {
    display: flex;
    align-items: center;

    gap: 5px;

    margin-left: auto;
}

.main-nav a {
    position: relative;

    display: inline-flex;
    align-items: center;

    min-height: 42px;

    padding: 0 10px;

    color: #444;

    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        color var(--transition),
        background var(--transition);
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 10px;
    right: 10px;
    bottom: 2px;

    height: 2px;

    background: var(--gold);

    transform: scaleX(0);
    transform-origin: center;

    transition: transform var(--transition);
}

.main-nav a:hover {
    color: var(--black);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.main-nav a.active {
    color: var(--black);
}


/* =========================================================
   8. HEADER ACTIONS
========================================================= */

.nav-actions {
    display: flex;
    align-items: center;

    gap: 12px;

    flex: 0 0 auto;
}

.nav-login {
    color: var(--black);

    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;

    transition: color var(--transition);
}

.nav-login:hover {
    color: var(--gold-dark);
}

.nav-cta {
    white-space: nowrap;
}


/* =========================================================
   9. MOBILE MENU BUTTON
========================================================= */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 9px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: var(--white);

    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 5px;
}

.menu-toggle span {
    display: block;

    width: 22px;
    height: 2px;

    background: var(--black);

    border-radius: 2px;

    transition:
        transform var(--transition),
        opacity var(--transition);
}


/* =========================================================
   10. BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 20px;

    border: 1px solid transparent;
    border-radius: 7px;

    font-size: 14px;
    font-weight: 700;

    line-height: 1;

    text-align: center;

    transition:
        background var(--transition),
        border-color var(--transition),
        color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-gold {
    background: var(--gold);
    color: var(--white);

    box-shadow:
        0 7px 18px rgba(176, 138, 69, 0.18);
}

.btn-gold:hover {
    background: var(--gold-dark);
    color: var(--white);

    box-shadow:
        0 10px 25px rgba(176, 138, 69, 0.25);
}

.btn-outline {
    background: transparent;

    border-color: var(--border-dark);

    color: var(--black);
}

.btn-outline:hover {
    background: var(--black);
    border-color: var(--black);

    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--black);

    border-color: rgba(255,255,255,0.25);
}

.btn-light:hover {
    background: var(--gold-soft);
    color: var(--black);
}

.btn-lg {
    min-height: 54px;

    padding-inline: 26px;

    font-size: 15px;
}


/* =========================================================
   11. GENERAL SECTIONS
========================================================= */

.section {
    padding: 92px 0;
}

.section-light {
    background: var(--off-white);
}

.section-dark {
    background: var(--black);
    color: var(--white);
}

.section-header {
    max-width: 720px;

    margin: 0 auto 48px;

    text-align: center;
}

.section-kicker {
    display: inline-flex;
    align-items: center;

    margin-bottom: 13px;

    color: var(--gold-dark);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.section-title {
    margin-bottom: 15px;

    color: var(--black);

    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.section-dark .section-title {
    color: var(--white);
}

.section-description {
    margin: 0;

    color: var(--text-light);

    font-size: 16px;
    line-height: 1.75;
}

.section-dark .section-description {
    color: rgba(255,255,255,0.7);
}


/* =========================================================
   12. HOME HERO
========================================================= */

.home-hero {
    position: relative;

    padding: 84px 0 90px;

    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(176, 138, 69, 0.13),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #faf9f7 0%,
            #ffffff 58%,
            #f5f1e9 100%
        );

    overflow: hidden;
}

.home-hero::before {
    content: "";

    position: absolute;

    width: 440px;
    height: 440px;

    right: -210px;
    top: -210px;

    border: 1px solid rgba(176,138,69,0.15);

    border-radius: 50%;
}

.home-hero::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    right: -125px;
    top: -125px;

    border: 1px solid rgba(176,138,69,0.11);

    border-radius: 50%;
}

.hero-grid {
    position: relative;
    z-index: 1;

    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(380px, 0.92fr);

    align-items: center;

    gap: 70px;
}

.hero-content {
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 20px;

    padding: 7px 12px;

    background: var(--gold-soft);

    border: 1px solid rgba(176,138,69,0.2);
    border-radius: 50px;

    color: var(--gold-dark);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-badge::before {
    content: "";

    width: 7px;
    height: 7px;

    background: var(--gold);

    border-radius: 50%;
}

.hero-title {
    margin: 0 0 23px;

    color: var(--black);

    font-size: clamp(42px, 5vw, 68px);
    font-weight: 800;

    line-height: 1.02;

    letter-spacing: -0.055em;
}

.hero-title span {
    color: var(--gold-dark);
}

.hero-description {
    max-width: 600px;

    margin-bottom: 29px;

    color: var(--text-light);

    font-size: 18px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 30px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;

    gap: 12px 22px;
}

.hero-features span {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: #555;

    font-size: 13px;
    font-weight: 600;
}

.hero-features span::before {
    content: "✓";

    display: grid;
    place-items: center;

    width: 19px;
    height: 19px;

    background: var(--gold-soft);
    color: var(--gold-dark);

    border-radius: 50%;

    font-size: 11px;
    font-weight: 900;
}


/* =========================================================
   13. HERO CALCULATOR
========================================================= */

.hero-calculator {
    padding: 30px;

    background: var(--black);

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);

    color: var(--white);

    box-shadow: var(--shadow-lg);
}

.calculator-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 20px;

    margin-bottom: 28px;
}

.calculator-kicker {
    margin-bottom: 5px;

    color: var(--gold-light);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.calculator-title {
    margin: 0;

    color: var(--white);

    font-size: 25px;
    line-height: 1.2;
}

.calculator-mark {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    background: var(--gold);

    border-radius: 8px;

    color: var(--white);

    font-weight: 800;
}

.calculator-field {
    margin-bottom: 25px;
}

.calculator-label {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;

    margin-bottom: 9px;

    color: rgba(255,255,255,0.76);

    font-size: 13px;
    font-weight: 600;
}

.calculator-value {
    color: var(--gold-light);

    font-size: 15px;
    font-weight: 800;
}

.calculator-range {
    width: 100%;

    height: 5px;

    margin: 0;

    appearance: none;
    -webkit-appearance: none;

    background: #3b3b3b;

    border-radius: 20px;

    outline: none;
}

.calculator-range::-webkit-slider-thumb {
    width: 19px;
    height: 19px;

    appearance: none;
    -webkit-appearance: none;

    background: var(--gold);

    border: 3px solid var(--white);
    border-radius: 50%;

    box-shadow:
        0 2px 8px rgba(0,0,0,0.3);

    cursor: pointer;
}

.calculator-range::-moz-range-thumb {
    width: 17px;
    height: 17px;

    background: var(--gold);

    border: 3px solid var(--white);
    border-radius: 50%;

    cursor: pointer;
}

.calculator-summary {
    margin-top: 28px;
    padding-top: 22px;

    border-top: 1px solid rgba(255,255,255,0.12);
}

.summary-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 20px;

    margin-bottom: 18px;
}

.summary-main span {
    color: rgba(255,255,255,0.65);

    font-size: 12px;
}

.summary-main strong {
    display: block;

    margin-top: 3px;

    color: var(--white);

    font-size: 30px;
    line-height: 1.1;
}

.summary-details {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;
}

.summary-item {
    padding: 12px;

    background: rgba(255,255,255,0.05);

    border-radius: 7px;
}

.summary-item span {
    display: block;

    margin-bottom: 2px;

    color: rgba(255,255,255,0.55);

    font-size: 11px;
}

.summary-item strong {
    color: var(--white);

    font-size: 13px;
}


/* =========================================================
   14. TRUST BAR
========================================================= */

.trust-bar {
    background: var(--black);

    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.trust-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 0;
}

.trust-item {
    min-height: 100px;

    display: flex;
    align-items: center;

    gap: 15px;

    padding: 20px 25px;

    border-right: 1px solid rgba(255,255,255,0.09);
}

.trust-item:first-child {
    padding-left: 0;
}

.trust-item:last-child {
    border-right: 0;
}

.trust-icon {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    background: rgba(176,138,69,0.15);

    border-radius: 8px;

    color: var(--gold-light);

    font-size: 16px;
    font-weight: 800;
}

.trust-item strong {
    display: block;

    margin-bottom: 2px;

    color: var(--white);

    font-size: 14px;
}

.trust-item span {
    display: block;

    color: rgba(255,255,255,0.53);

    font-size: 12px;
}


/* =========================================================
   15. SOLUTIONS
========================================================= */

.solutions-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}

.solution-card {
    position: relative;

    padding: 30px;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.solution-card:hover {
    transform: translateY(-5px);

    border-color: rgba(176,138,69,0.4);

    box-shadow: var(--shadow);
}

.solution-icon {
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    margin-bottom: 22px;

    background: var(--gold-soft);

    border-radius: 10px;

    color: var(--gold-dark);

    font-size: 18px;
    font-weight: 800;
}

.solution-card h3 {
    margin-bottom: 10px;

    color: var(--black);

    font-size: 21px;
    line-height: 1.25;
}

.solution-card p {
    margin-bottom: 21px;

    color: var(--text-light);

    font-size: 14px;
    line-height: 1.7;
}

.solution-link {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: var(--gold-dark);

    font-size: 13px;
    font-weight: 800;

    transition: gap var(--transition);
}

.solution-link:hover {
    gap: 11px;
}


/* =========================================================
   16. ADVANTAGES
========================================================= */

.advantages-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;
}

.advantage-card {
    display: flex;

    gap: 18px;

    padding: 25px;

    background: var(--white);

    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.advantage-number {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

    background: var(--black);

    border-radius: 8px;

    color: var(--gold-light);

    font-size: 13px;
    font-weight: 800;
}

.advantage-card h3 {
    margin-bottom: 6px;

    color: var(--black);

    font-size: 17px;
}

.advantage-card p {
    margin: 0;

    color: var(--text-light);

    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   17. PROCESS
========================================================= */

.process-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 0;
}

.process-step {
    position: relative;

    padding: 25px;
}

.process-step:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 48px;
    right: -1px;

    width: 2px;
    height: 48px;

    background: var(--border);
}

.process-number {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    background: var(--gold);

    border-radius: 50%;

    color: var(--white);

    font-size: 14px;
    font-weight: 800;
}

.process-step h3 {
    margin-bottom: 7px;

    color: var(--black);

    font-size: 17px;
}

.process-step p {
    margin: 0;

    color: var(--text-light);

    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   18. CTA
========================================================= */

.cta-section {
    padding: 82px 0;

    background:
        linear-gradient(
            135deg,
            #171717,
            #26221c
        );

    color: var(--white);
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.cta-content {
    max-width: 700px;
}

.cta-kicker {
    margin-bottom: 10px;

    color: var(--gold-light);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.cta-title {
    margin-bottom: 12px;

    color: var(--white);

    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.cta-description {
    margin: 0;

    color: rgba(255,255,255,0.67);

    font-size: 15px;
}

.cta-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    flex: 0 0 auto;
}


/* =========================================================
   19. FAQ
========================================================= */

.faq-list {
    max-width: 850px;

    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-item summary {
    position: relative;

    padding: 21px 45px 21px 0;

    color: var(--black);

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";

    position: absolute;

    right: 2px;
    top: 17px;

    color: var(--gold-dark);

    font-size: 23px;
    font-weight: 400;

    transition: transform var(--transition);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 45px 21px 0;

    color: var(--text-light);

    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   20. FORMS
========================================================= */

.form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-label {
    display: block;

    margin-bottom: 7px;

    color: var(--black);

    font-size: 13px;
    font-weight: 700;
}

.form-control {
    width: 100%;

    min-height: 48px;

    padding: 11px 13px;

    background: var(--white);

    border: 1px solid var(--border-dark);
    border-radius: 7px;

    color: var(--text);

    font-size: 14px;

    outline: none;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.form-control:hover {
    border-color: #c5bcae;
}

.form-control:focus {
    border-color: var(--gold);

    box-shadow:
        0 0 0 3px rgba(176,138,69,0.12);
}

textarea.form-control {
    min-height: 140px;

    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

.form-help {
    margin-top: 5px;

    color: var(--muted);

    font-size: 12px;
}

.form-check {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin: 16px 0;
}

.form-check input {
    width: 17px;
    height: 17px;

    margin-top: 3px;

    accent-color: var(--gold);
}

.form-check label {
    color: var(--text-light);

    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   21. ALERTS
========================================================= */

.alert {
    margin-bottom: 22px;

    padding: 14px 16px;

    border-radius: 8px;

    font-size: 14px;
    line-height: 1.5;
}

.alert-success {
    background: #edf8f1;

    border: 1px solid #cdebd8;

    color: #236a42;
}

.alert-error {
    background: #fff0f0;

    border: 1px solid #f0cccc;

    color: #9e3030;
}

.alert-warning {
    background: #fff8e8;

    border: 1px solid #f0dfae;

    color: #805e17;
}


/* =========================================================
   22. PAGE HERO
========================================================= */

.page-hero {
    padding: 70px 0;

    background:
        linear-gradient(
            135deg,
            #181818,
            #28231c
        );

    color: var(--white);
}

.page-hero-content {
    max-width: 750px;
}

.page-hero-kicker {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--gold-light);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.page-hero h1 {
    margin-bottom: 14px;

    color: var(--white);

    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.page-hero p {
    margin: 0;

    max-width: 650px;

    color: rgba(255,255,255,0.68);

    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   23. CARDS
========================================================= */

.card {
    background: var(--white);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);
}

.card-body {
    padding: 28px;
}


/* =========================================================
   24. TABLES
========================================================= */

.table-wrapper {
    width: 100%;

    overflow-x: auto;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: var(--white);
}

table {
    width: 100%;

    border-collapse: collapse;

    min-width: 650px;
}

th,
td {
    padding: 14px 16px;

    border-bottom: 1px solid var(--border);

    text-align: left;

    font-size: 13px;
}

th {
    background: var(--off-white);

    color: var(--black);

    font-weight: 800;
}

td {
    color: var(--text-light);
}

tr:last-child td {
    border-bottom: 0;
}


/* =========================================================
   25. FOOTER
========================================================= */

.site-footer {
    padding-top: 65px;

    background: var(--black);

    color: var(--white);
}

.footer-main {
    display: grid;

    grid-template-columns:
        1.7fr
        1fr
        1fr
        1fr;

    gap: 45px;

    padding-bottom: 50px;
}

.footer-brand {
    max-width: 360px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-symbol {
    background: var(--white);
    color: var(--gold-dark);
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-logo .logo-text span {
    color: var(--gold-light);
}

.footer-brand p {
    margin-bottom: 18px;

    color: rgba(255,255,255,0.57);

    font-size: 13px;
    line-height: 1.75;
}

.footer-email {
    color: var(--gold-light);

    font-size: 13px;
    font-weight: 700;

    transition: color var(--transition);
}

.footer-email:hover {
    color: var(--white);
}

.footer-title {
    margin: 5px 0 17px;

    color: var(--white);

    font-size: 14px;
    font-weight: 800;
}

.footer-links {
    display: grid;

    gap: 9px;
}

.footer-links a {
    color: rgba(255,255,255,0.55);

    font-size: 13px;

    transition:
        color var(--transition),
        padding-left var(--transition);
}

.footer-links a:hover {
    padding-left: 3px;

    color: var(--gold-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-inner {
    min-height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-bottom p {
    margin: 0;

    color: rgba(255,255,255,0.4);

    font-size: 12px;
}

.footer-legal {
    display: flex;

    gap: 18px;
}

.footer-legal a {
    color: rgba(255,255,255,0.48);

    font-size: 12px;

    transition: color var(--transition);
}

.footer-legal a:hover {
    color: var(--gold-light);
}


/* =========================================================
   26. UTILITY
========================================================= */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-gold {
    color: var(--gold-dark);
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.hidden {
    display: none !important;
}


/* =========================================================
   27. RESPONSIVE — 1100 PX
========================================================= */

@media (max-width: 1100px) {

    .container {
        width: min(
            calc(100% - 32px),
            var(--container)
        );
    }

    .navbar {
        gap: 15px;
    }

    .main-nav {
        gap: 0;
    }

    .main-nav a {
        padding-inline: 7px;

        font-size: 13px;
    }

    .main-nav a::after {
        left: 7px;
        right: 7px;
    }

    .nav-actions {
        gap: 8px;
    }

    .nav-login {
        font-size: 13px;
    }

    .nav-cta {
        padding-inline: 15px;
    }

    .hero-grid {
        gap: 45px;
    }

    .hero-title {
        font-size: clamp(40px, 5vw, 60px);
    }

    .footer-main {
        gap: 28px;
    }
}


/* =========================================================
   28. RESPONSIVE — 900 PX
========================================================= */

@media (max-width: 900px) {

    :root {
        --header-height: 72px;
    }

    .site-header {
        position: sticky;
    }

    .navbar {
        position: relative;

        min-height: var(--header-height);
    }

    .menu-toggle {
        display: flex;

        margin-left: auto;
    }

    .main-nav {
        position: absolute;

        top: calc(100% + 1px);
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;
        align-items: stretch;

        margin: 0;

        padding: 10px;

        background: var(--white);

        border: 1px solid var(--border);
        border-top: 0;

        box-shadow: var(--shadow);

        border-radius:
            0 0 12px 12px;
    }

    .main-nav.mobile-open {
        display: flex;
    }

    .main-nav a {
        min-height: 48px;

        padding: 0 14px;

        border-radius: 7px;

        font-size: 14px;
    }

    .main-nav a:hover,
    .main-nav a.active {
        background: var(--gold-soft);
    }

    .main-nav a::after {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .hero-content {
        max-width: 760px;
    }

    .hero-calculator {
        max-width: 650px;
    }

    .trust-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .trust-item {
        border-bottom: 1px solid rgba(255,255,255,0.09);
    }

    .trust-item:nth-child(2) {
        border-right: 0;
    }

    .trust-item:nth-child(3),
    .trust-item:nth-child(4) {
        border-bottom: 0;
    }

    .solutions-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .solutions-grid .solution-card:last-child {
        grid-column: 1 / -1;
    }

    .process-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .process-step:nth-child(2)::after {
        display: none;
    }

    .process-step:nth-child(3)::after {
        display: block;
    }

    .footer-main {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .footer-brand {
        max-width: none;

        grid-column: 1 / -1;
    }
}


/* =========================================================
   29. RESPONSIVE — 700 PX
========================================================= */

@media (max-width: 700px) {

    .container {
        width: calc(100% - 28px);
    }

    .section {
        padding: 68px 0;
    }

    .home-hero {
        padding: 58px 0 65px;
    }

    .hero-title {
        font-size: clamp(36px, 11vw, 50px);
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        display: grid;

        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-features {
        display: grid;

        grid-template-columns: 1fr;

        gap: 9px;
    }

    .hero-calculator {
        padding: 23px 20px;

        border-radius: 16px;
    }

    .calculator-title {
        font-size: 22px;
    }

    .summary-main strong {
        font-size: 26px;
    }

    .section-header {
        margin-bottom: 34px;
    }

    .section-title {
        font-size: 31px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solutions-grid .solution-card:last-child {
        grid-column: auto;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        padding: 22px 0;
    }

    .process-step::after,
    .process-step:nth-child(3)::after {
        display: none !important;
    }

    .cta-section {
        padding: 65px 0;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-actions {
        width: 100%;

        display: grid;

        grid-template-columns: 1fr;
    }

    .cta-actions .btn {
        width: 100%;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group-full {
        grid-column: auto;
    }

    .page-hero {
        padding: 55px 0;
    }

    .footer-main {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom-inner {
        flex-direction: column;

        align-items: flex-start;

        padding: 18px 0;
    }

    .footer-legal {
        flex-wrap: wrap;
    }
}


/* =========================================================
   30. RESPONSIVE — 480 PX
========================================================= */

@media (max-width: 480px) {

    .container {
        width: calc(100% - 24px);
    }

    .logo-symbol {
        width: 39px;
        height: 39px;

        font-size: 12px;
    }

    .logo-text strong {
        font-size: 13px;

        letter-spacing: 0.10em;
    }

    .logo-text span {
        font-size: 8px;

        letter-spacing: 0.15em;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
    }

    .home-hero {
        padding-top: 48px;
    }

    .hero-badge {
        font-size: 9px;
    }

    .hero-title {
        margin-bottom: 18px;

        font-size: 36px;
    }

    .hero-description {
        margin-bottom: 23px;

        font-size: 15px;
        line-height: 1.65;
    }

    .hero-calculator {
        padding: 20px 17px;
    }

    .calculator-top {
        margin-bottom: 22px;
    }

    .calculator-title {
        font-size: 20px;
    }

    .calculator-mark {
        width: 36px;
        height: 36px;

        font-size: 12px;
    }

    .calculator-field {
        margin-bottom: 21px;
    }

    .summary-details {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-item,
    .trust-item:first-child {
        min-height: 84px;

        padding: 17px 0;

        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.09);
    }

    .trust-item:last-child {
        border-bottom: 0;
    }

    .solution-card {
        padding: 24px 20px;
    }

    .advantage-card {
        padding: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-description {
        font-size: 14px;
    }

    .page-hero h1 {
        font-size: 34px;
    }

    .page-hero p {
        font-size: 14px;
    }

    .btn {
        min-height: 46px;

        padding-inline: 17px;
    }

    .btn-lg {
        min-height: 51px;

        padding-inline: 20px;
    }

    .footer-legal {
        gap: 12px;
    }
}


/* =========================================================
   31. RESPONSIVE — 360 PX
========================================================= */

@media (max-width: 360px) {

    .container {
        width: calc(100% - 20px);
    }

    .logo-text strong {
        font-size: 11px;
    }

    .logo-text span {
        font-size: 7px;
    }

    .logo-symbol {
        width: 36px;
        height: 36px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-calculator {
        padding: 18px 14px;
    }

    .calculator-label {
        font-size: 12px;
    }

    .summary-main strong {
        font-size: 23px;
    }
}


/* =========================================================
   32. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
/* =========================================================
   AUTHENTIFICATION — CLIENT
========================================================= */

.auth-section {
    padding: 90px 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(176, 138, 69, 0.10), transparent 35%),
        #f7f5f1;
}

.auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 500px);
    gap: 80px;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
}

.auth-intro {
    max-width: 620px;
}

.auth-intro h1 {
    margin: 12px 0 20px;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -1.8px;
}

.auth-intro > p {
    max-width: 560px;
    margin: 0;
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.8;
}

.auth-benefits {
    display: grid;
    gap: 20px;
    margin-top: 42px;
}

.auth-benefit {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.auth-benefit-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(176, 138, 69, 0.35);
    border-radius: 50%;
    color: var(--gold);
    background: rgba(176, 138, 69, 0.08);
    font-size: 12px;
    font-weight: 700;
}

.auth-benefit strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark);
    font-size: 16px;
}

.auth-benefit p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.auth-card {
    width: 100%;
    padding: 42px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(17, 17, 17, 0.10);
}

.auth-card-header {
    margin-bottom: 30px;
}

.auth-card-header h2 {
    margin: 10px 0 8px;
    font-size: 30px;
    color: var(--dark);
}

.auth-card-header p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.auth-form {
    display: grid;
    gap: 22px;
}

.auth-form .form-group {
    margin: 0;
}

.auth-form label,
.auth-card label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
}

.auth-form input,
.auth-card input,
.auth-card select,
.auth-card textarea {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;
    background: #fff;
    color: var(--dark);
    font-family: inherit;
    font-size: 15px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.auth-form input:focus,
.auth-card input:focus,
.auth-card select:focus,
.auth-card textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(176, 138, 69, 0.12);
}

.auth-form input::placeholder,
.auth-card input::placeholder {
    color: #a4a4a4;
}

.form-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.password-field {
    position: relative;
    width: 100%;
}

.password-field input {
    padding-right: 95px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--gold-dark);
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
}

.password-toggle:hover {
    color: var(--gold);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    color: #999;
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-register {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #faf9f6;
    text-align: center;
}

.auth-register strong {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
}

.auth-register p {
    margin: 0 auto 18px;
    max-width: 360px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.auth-register .btn {
    width: 100%;
}

.auth-security {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.auth-security-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(34, 139, 84, 0.10);
    color: #28794f;
    font-size: 13px;
    font-weight: 700;
}

.auth-security p {
    margin: 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   FORMULAIRE INSCRIPTION CLIENT
========================================================= */

.form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 42px;
    box-shadow: 0 20px 60px rgba(17, 17, 17, 0.07);
}

.form-card .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.form-card .form-group {
    min-width: 0;
}

.form-card .form-group-full {
    grid-column: 1 / -1;
}

.form-card small {
    display: block;
    margin-top: 7px;
    color: var(--text-muted);
    font-size: 12px;
}

.checkbox-row {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    margin: 0 !important;
    cursor: pointer;
}

.checkbox-row input[type="checkbox"] {
    flex: 0 0 18px;
    width: 18px;
    min-height: 18px;
    margin-top: 3px;
    padding: 0;
    accent-color: var(--gold);
}

.checkbox-row span {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.checkbox-row a {
    color: var(--gold-dark);
    font-weight: 600;
    text-decoration: underline;
}

.form-card .btn-large {
    width: 100%;
    min-height: 56px;
}


/* =========================================================
   AUTH / FORM — RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .auth-layout {
        grid-template-columns: 1fr;
        gap: 45px;
        max-width: 720px;
    }

    .auth-intro {
        max-width: 100%;
        text-align: center;
    }

    .auth-intro > p {
        margin-left: auto;
        margin-right: auto;
    }

    .auth-benefits {
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .auth-card {
        max-width: 560px;
        margin: 0 auto;
    }
}

@media (max-width: 700px) {

    .auth-section {
        padding: 55px 0;
    }

    .auth-intro h1 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .auth-intro > p {
        font-size: 16px;
    }

    .auth-card,
    .form-card {
        padding: 28px 22px;
        border-radius: 14px;
    }

    .form-card .form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .form-card .form-group-full {
        grid-column: auto;
    }

    .auth-benefit {
        gap: 13px;
    }
}

@media (max-width: 480px) {

    .auth-section {
        padding: 40px 0;
    }

    .auth-intro h1 {
        font-size: 32px;
    }

    .auth-card,
    .form-card {
        padding: 23px 17px;
    }

    .auth-card-header h2 {
        font-size: 26px;
    }

    .auth-benefit-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        font-size: 10px;
    }

    .auth-benefit p {
        font-size: 13px;
    }

    .auth-register {
        padding: 19px 15px;
    }

    .password-field input {
        padding-right: 82px;
    }

    .password-toggle {
        right: 8px;
        font-size: 11px;
    }
}
/* =========================================================
   SOZIALE FINANZEN AG
   KUNDENBEREICH — DASHBOARD & CLIENT AREA
========================================================= */

/* ---------------------------------------------------------
   DASHBOARD LAYOUT
--------------------------------------------------------- */

.dashboard-section {
    padding: 55px 0 80px;
    background: var(--off-white);
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

/* ---------------------------------------------------------
   SIDEBAR
--------------------------------------------------------- */

.dashboard-sidebar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 95px;
}

.dashboard-user {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 18px;
}

.dashboard-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: var(--dark);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
}

.dashboard-user strong {
    display: block;
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 3px;
}

.dashboard-user span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.dashboard-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dashboard-nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 13px;
    border-radius: 10px;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: .2s ease;
}

.dashboard-nav a:hover {
    background: var(--gold-soft);
    color: var(--gold-dark);
}

.dashboard-nav a.active {
    background: var(--dark);
    color: var(--white);
}

.dashboard-nav-highlight {
    background: var(--gold-soft);
    color: var(--gold-dark) !important;
    margin-top: 8px;
}

.dashboard-nav-highlight:hover {
    background: var(--gold) !important;
    color: var(--white) !important;
}

.dashboard-logout {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.dashboard-logout a {
    color: #a33a3a;
}

/* ---------------------------------------------------------
   DASHBOARD CONTENT
--------------------------------------------------------- */

.dashboard-content {
    min-width: 0;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 25px;
}

.dashboard-header h1 {
    margin: 0 0 7px;
    font-size: clamp(27px, 4vw, 38px);
    color: var(--dark);
    letter-spacing: -.6px;
}

.dashboard-header p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

/* ---------------------------------------------------------
   STATS
--------------------------------------------------------- */

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    margin-bottom: 25px;
}

.dashboard-stat {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 21px;
    box-shadow: var(--shadow-sm);
}

.dashboard-stat-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 10px;
}

.dashboard-stat strong {
    display: block;
    font-size: 27px;
    line-height: 1.1;
    color: var(--dark);
}

.dashboard-stat small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
}

/* ---------------------------------------------------------
   PANELS
--------------------------------------------------------- */

.dashboard-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    overflow: hidden;
}

.dashboard-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--border);
}

.dashboard-panel-header h2 {
    margin: 0;
    font-size: 18px;
    color: var(--dark);
}

.dashboard-panel-header a {
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.dashboard-panel-header a:hover {
    text-decoration: underline;
}

/* ---------------------------------------------------------
   TABLES
--------------------------------------------------------- */

.dashboard-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.dashboard-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
}

.dashboard-table th {
    background: #faf9f6;
    color: var(--muted);
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .45px;
    font-weight: 800;
    padding: 13px 18px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.dashboard-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 13px;
    vertical-align: middle;
}

.dashboard-table tr:last-child td {
    border-bottom: 0;
}

.dashboard-table tbody tr {
    transition: background .2s ease;
}

.dashboard-table tbody tr:hover {
    background: #fcfbf9;
}

.dashboard-table strong {
    color: var(--dark);
}

.dashboard-table small {
    display: block;
    color: var(--muted);
    margin-top: 3px;
}

/* ---------------------------------------------------------
   STATUS BADGES
--------------------------------------------------------- */

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.status-new,
.status-pending {
    background: #fff4df;
    color: #95651a;
}

.status-review {
    background: #edf3ff;
    color: #4169a8;
}

.status-approved,
.status-success {
    background: #eaf7ef;
    color: #287348;
}

.status-rejected,
.status-danger {
    background: #fbecec;
    color: #a23b3b;
}

.status-documents {
    background: #f2edf9;
    color: #74509c;
}

/* ---------------------------------------------------------
   EMPTY STATES
--------------------------------------------------------- */

.dashboard-empty {
    text-align: center;
    padding: 45px 25px;
}

.dashboard-empty-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: var(--gold-soft);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.dashboard-empty h3 {
    margin: 0 0 8px;
    color: var(--dark);
    font-size: 17px;
}

.dashboard-empty p {
    margin: 0 auto 18px;
    max-width: 480px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.dashboard-empty-small {
    padding: 25px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

/* ---------------------------------------------------------
   DOCUMENT LIST
--------------------------------------------------------- */

.document-list {
    display: flex;
    flex-direction: column;
}

.document-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.document-list-item:last-child {
    border-bottom: 0;
}

.document-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    background: var(--gold-soft);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.document-info {
    flex: 1;
    min-width: 0;
}

.document-info strong {
    display: block;
    color: var(--dark);
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.document-info span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

/* ---------------------------------------------------------
   PROFILE SUMMARY
--------------------------------------------------------- */

.profile-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 22px;
}

.profile-summary-item {
    padding: 15px;
    background: #faf9f6;
    border-radius: 12px;
}

.profile-summary-item span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .4px;
    margin-bottom: 6px;
}

.profile-summary-item strong {
    display: block;
    color: var(--dark);
    font-size: 14px;
    word-break: break-word;
}

/* ---------------------------------------------------------
   DASHBOARD CTA
--------------------------------------------------------- */

.dashboard-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding: 25px;
    border-radius: 18px;
    background: var(--dark);
    color: var(--white);
}

.dashboard-cta h3 {
    margin: 0 0 7px;
    color: var(--white);
    font-size: 20px;
}

.dashboard-cta p {
    margin: 0;
    color: rgba(255,255,255,.7);
    font-size: 13px;
    line-height: 1.6;
}

.dashboard-cta .btn {
    flex-shrink: 0;
}

/* =========================================================
   KREDITANFRAGE / APPLICATION
========================================================= */

.application-section {
    padding: 55px 0 80px;
    background: var(--off-white);
}

.application-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 28px;
    align-items: start;
}

.application-main {
    min-width: 0;
}

.application-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 95px;
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
    margin: 0 0 14px;
    font-size: 17px;
    color: var(--dark);
}

.sidebar-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.application-summary {
    background: var(--gold-soft);
    border: 1px solid #eadcc4;
    border-radius: 15px;
    padding: 18px;
    margin-top: 20px;
}

.application-summary h3 {
    margin: 0 0 14px;
    font-size: 15px;
    color: var(--dark);
}

.application-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(176,138,69,.18);
    font-size: 13px;
}

.application-summary-row:last-child {
    border-bottom: 0;
}

.application-summary-row span {
    color: var(--muted);
}

.application-summary-row strong {
    color: var(--dark);
    text-align: right;
}

.process-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-list li {
    display: flex;
    gap: 12px;
}

.process-list-number {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    background: var(--dark);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

.process-list strong {
    display: block;
    color: var(--dark);
    font-size: 13px;
    margin-bottom: 4px;
}

.process-list span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

/* ---------------------------------------------------------
   CUSTOMER FORMS
--------------------------------------------------------- */

.customer-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.customer-form-card h2 {
    margin: 0 0 8px;
    color: var(--dark);
    font-size: 21px;
}

.customer-form-card > p {
    margin: 0 0 25px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.customer-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.customer-form-grid .form-group-full {
    grid-column: 1 / -1;
}

.customer-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

/* ---------------------------------------------------------
   CUSTOMER PAGE HERO
--------------------------------------------------------- */

.customer-page-header {
    margin-bottom: 25px;
}

.customer-page-header .eyebrow {
    margin-bottom: 8px;
}

.customer-page-header h1 {
    margin: 0 0 8px;
    font-size: clamp(28px, 4vw, 38px);
    color: var(--dark);
}

.customer-page-header p {
    margin: 0;
    max-width: 700px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ---------------------------------------------------------
   MOBILE / TABLET
--------------------------------------------------------- */

@media (max-width: 1100px) {

    .dashboard-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 20px;
    }

    .application-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
    }

    .dashboard-sidebar {
        padding: 17px;
    }
}

@media (max-width: 900px) {

    .dashboard-section,
    .application-section {
        padding: 40px 0 60px;
    }

    .dashboard-layout,
    .application-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar,
    .application-sidebar {
        position: static;
    }

    .dashboard-sidebar {
        order: 2;
    }

    .dashboard-content {
        order: 1;
    }

    .application-sidebar {
        order: 2;
    }

    .application-main {
        order: 1;
    }

    .dashboard-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 7px;
    }

    .dashboard-logout {
        margin-top: 12px;
    }

    .dashboard-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {

    .dashboard-header {
        display: block;
    }

    .dashboard-header .btn {
        margin-top: 17px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .dashboard-stat {
        padding: 18px;
    }

    .dashboard-panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-cta .btn {
        width: 100%;
    }

    .profile-summary {
        grid-template-columns: 1fr;
    }

    .customer-form-grid {
        grid-template-columns: 1fr;
    }

    .customer-form-grid .form-group-full {
        grid-column: auto;
    }

    .customer-form-card {
        padding: 21px;
    }

    .customer-form-actions {
        flex-direction: column;
    }

    .customer-form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {

    .dashboard-section,
    .application-section {
        padding: 30px 0 45px;
    }

    .dashboard-sidebar {
        border-radius: 14px;
        padding: 14px;
    }

    .dashboard-nav {
        grid-template-columns: 1fr;
    }

    .dashboard-nav a {
        padding: 11px 12px;
    }

    .dashboard-panel {
        border-radius: 14px;
    }

    .dashboard-panel-header {
        padding: 17px;
    }

    .dashboard-empty {
        padding: 35px 18px;
    }

    .document-list-item {
        padding: 14px;
    }

    .document-info strong {
        max-width: 190px;
    }

    .application-summary {
        padding: 15px;
    }

    .sidebar-card {
        padding: 18px;
        border-radius: 14px;
    }

    .customer-form-card {
        padding: 17px;
        border-radius: 14px;
    }
}
/* =========================================================
   ADMINISTRATION — SOZIALE FINANZEN AG
========================================================= */

.admin-section {
    padding: 70px 0 90px;
    background: var(--off-white);
    min-height: calc(100vh - 180px);
}

.admin-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

/* ---------------------------------------------------------
   SIDEBAR
--------------------------------------------------------- */

.admin-sidebar {
    position: sticky;
    top: 100px;
    background: var(--dark);
    color: var(--white);
    border-radius: 18px;
    padding: 24px 18px;
    box-shadow: var(--shadow);
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 8px 24px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.admin-brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--gold);
    color: var(--white);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
}

.admin-brand div {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.admin-brand strong {
    font-size: 13px;
    letter-spacing: .08em;
}

.admin-brand span {
    margin-top: 3px;
    color: rgba(255,255,255,.62);
    font-size: 10px;
    letter-spacing: .08em;
}

.admin-user {
    padding: 22px 8px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.admin-user-label {
    display: block;
    margin-bottom: 6px;
    color: var(--gold-light);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.admin-user strong {
    display: block;
    color: var(--white);
    font-size: 14px;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 0;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 46px;
    padding: 11px 12px;
    border-radius: 10px;
    color: rgba(255,255,255,.72);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.admin-nav a span {
    width: 22px;
    text-align: center;
    font-size: 16px;
}

.admin-nav a:hover {
    background: rgba(255,255,255,.08);
    color: var(--white);
    transform: translateX(2px);
}

.admin-nav a.active {
    background: var(--gold);
    color: var(--white);
}

.admin-sidebar-bottom {
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-website-link,
.admin-logout {
    display: block;
    padding: 10px 8px;
    color: rgba(255,255,255,.62);
    text-decoration: none;
    font-size: 13px;
    transition: color .2s ease;
}

.admin-website-link:hover {
    color: var(--gold-light);
}

.admin-logout:hover {
    color: #ffb4b4;
}

/* ---------------------------------------------------------
   CONTENU
--------------------------------------------------------- */

.admin-content {
    min-width: 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 28px;
}

.admin-header h1 {
    margin: 6px 0 8px;
    color: var(--black);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.1;
}

.admin-header p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.admin-back-link {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.admin-back-link:hover {
    text-decoration: underline;
}

/* ---------------------------------------------------------
   STATISTIQUES
--------------------------------------------------------- */

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.admin-stat {
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.admin-stat-label {
    display: block;
    margin-bottom: 9px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.admin-stat strong {
    display: block;
    color: var(--black);
    font-size: 27px;
    line-height: 1;
}

/* ---------------------------------------------------------
   PANELS
--------------------------------------------------------- */

.admin-panel {
    margin-bottom: 24px;
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.admin-panel:last-child {
    margin-bottom: 0;
}

.admin-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 22px;
}

.admin-panel-header h2 {
    margin: 0 0 6px;
    color: var(--black);
    font-size: 20px;
}

.admin-panel-header p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

/* ---------------------------------------------------------
   FILTRES
--------------------------------------------------------- */

.admin-filters {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(180px, .8fr) auto;
    gap: 16px;
    align-items: end;
}

.admin-filter-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ---------------------------------------------------------
   FORMULAIRES ADMIN
--------------------------------------------------------- */

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-form-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.admin-detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

/* ---------------------------------------------------------
   TABLEAUX
--------------------------------------------------------- */

.admin-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.admin-table th {
    padding: 13px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    background: #faf9f7;
    font-size: 11px;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: .05em;
    white-space: nowrap;
}

.admin-table td {
    padding: 16px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 13px;
    vertical-align: middle;
}

.admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-table tbody tr {
    transition: background .18s ease;
}

.admin-table tbody tr:hover {
    background: #fcfaf6;
}

.admin-table td strong {
    display: block;
    color: var(--black);
    font-weight: 700;
}

.admin-table td small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
}

.admin-action-link {
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.admin-action-link:hover {
    text-decoration: underline;
}

/* ---------------------------------------------------------
   STATUTS
--------------------------------------------------------- */

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.status-pending {
    background: #fff3d8;
    color: #8a6200;
}

.status-review {
    background: #e9f0ff;
    color: #315a9b;
}

.status-approved {
    background: #e8f7ed;
    color: #21733d;
}

.status-rejected {
    background: #fdeaea;
    color: #a83232;
}

.status-neutral {
    background: #eeeeee;
    color: #555555;
}

/* ---------------------------------------------------------
   EMPTY STATE
--------------------------------------------------------- */

.admin-empty {
    padding: 55px 20px;
    text-align: center;
}

.admin-empty-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--gold-soft);
    font-size: 25px;
}

.admin-empty h3 {
    margin: 0 0 8px;
    color: var(--black);
    font-size: 18px;
}

.admin-empty p {
    max-width: 500px;
    margin: 0 auto;
    color: var(--muted);
    line-height: 1.7;
}

/* ---------------------------------------------------------
   NOTICES
--------------------------------------------------------- */

.admin-notice {
    padding: 18px 20px;
    border: 1px solid #eadfcb;
    border-radius: 12px;
    background: var(--gold-soft);
}

.admin-notice p {
    margin: 0;
    color: var(--text);
    font-size: 13px;
    line-height: 1.7;
}

.admin-notice p + p {
    margin-top: 10px;
}

/* ---------------------------------------------------------
   DÉTAILS
--------------------------------------------------------- */

.admin-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.admin-detail-list {
    display: flex;
    flex-direction: column;
}

.admin-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.admin-detail-item:first-child {
    padding-top: 0;
}

.admin-detail-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.admin-detail-item span {
    color: var(--muted);
    font-size: 13px;
}

.admin-detail-item strong {
    max-width: 60%;
    color: var(--black);
    font-size: 13px;
    text-align: right;
    word-break: break-word;
}

/* ---------------------------------------------------------
   CARTE CLIENT
--------------------------------------------------------- */

.admin-customer-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-customer-avatar {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gold-soft);
    color: var(--gold-dark);
    font-size: 15px;
    font-weight: 800;
}

.admin-customer-card > div:last-child {
    min-width: 0;
}

.admin-customer-card strong {
    display: block;
    margin-bottom: 5px;
    color: var(--black);
    font-size: 15px;
}

.admin-customer-card span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 1100px) {

    .admin-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 22px;
    }

    .admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-filters {
        grid-template-columns: 1fr 1fr;
    }

    .admin-filter-actions {
        grid-column: 1 / -1;
    }

}

@media (max-width: 900px) {

    .admin-section {
        padding: 45px 0 65px;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        padding: 18px;
    }

    .admin-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-sidebar-bottom {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .admin-detail-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 700px) {

    .admin-section {
        padding: 30px 0 50px;
    }

    .admin-layout {
        gap: 18px;
    }

    .admin-header {
        margin-bottom: 22px;
    }

    .admin-header h1 {
        font-size: 30px;
    }

    .admin-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .admin-stat {
        padding: 17px;
    }

    .admin-stat strong {
        font-size: 23px;
    }

    .admin-panel {
        padding: 19px;
        border-radius: 15px;
    }

    .admin-panel-header {
        flex-direction: column;
        gap: 12px;
    }

    .admin-filters {
        grid-template-columns: 1fr;
    }

    .admin-filter-actions {
        grid-column: auto;
    }

    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-detail-item {
        flex-direction: column;
        gap: 5px;
    }

    .admin-detail-item strong {
        max-width: 100%;
        text-align: left;
    }

}

@media (max-width: 480px) {

    .admin-section {
        padding-top: 22px;
    }

    .admin-sidebar {
        border-radius: 14px;
        padding: 14px;
    }

    .admin-brand {
        padding-bottom: 18px;
    }

    .admin-nav {
        grid-template-columns: 1fr;
    }

    .admin-sidebar-bottom {
        grid-template-columns: 1fr;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-header h1 {
        font-size: 27px;
    }

    .admin-panel {
        padding: 16px;
    }

    .admin-filter-actions,
    .admin-form-actions,
    .admin-detail-actions {
        width: 100%;
    }

    .admin-filter-actions .btn,
    .admin-form-actions .btn,
    .admin-detail-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .admin-customer-card {
        align-items: flex-start;
    }

}
/* =========================================================
KONTAKT.PHP — CORRECTION RESPONSIVE MOBILE
Ne modifie pas la structure du site
========================================================= */

@media (max-width: 900px) {

/* Empêche tout débordement horizontal */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* Page hero */
.page-hero {
    width: 100%;
    overflow: hidden;
}

.page-hero-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page-hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
    word-break: normal;
}

.page-hero p {
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* Zone principale contact */
.form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    gap: 35px;
    box-sizing: border-box;
}

/* Colonne informations */
.form-grid > div {
    min-width: 0;
    max-width: 100%;
}

/* Titres */
.section-header {
    max-width: 100%;
    box-sizing: border-box;
}

.section-title {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.section-description {
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* Cartes de contact */
.advantages-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    gap: 18px;
    box-sizing: border-box;
}

.advantage-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.advantage-card h3,
.advantage-card p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.advantage-card a {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Formulaire */
.form-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.form-card form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.form-control {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

textarea.form-control {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    resize: vertical;
}

select.form-control {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

/* Case à cocher */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-check input[type="checkbox"] {
    flex: 0 0 auto;
    margin-top: 4px;
}

.form-check label {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.5;
}

/* Bouton formulaire */
.form-card .btn,
.form-card button[type="submit"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
}

/* FAQ */
.faq-list {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.faq-item {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.faq-item summary {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
    box-sizing: border-box;
}

.faq-answer {
    max-width: 100%;
    box-sizing: border-box;
}

.faq-answer p {
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* CTA final */
.cta-box {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.cta-content {
    min-width: 0;
    max-width: 100%;
}

.cta-title {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.cta-description {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.cta-actions {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.cta-actions .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}


}

/* =========================================================
PETITS TELEPHONES
========================================================= */

@media (max-width: 600px) {

.container {
    padding-left: 16px;
    padding-right: 16px;
}

.section {
    padding-top: 55px;
    padding-bottom: 55px;
}

.page-hero {
    padding-top: 55px;
    padding-bottom: 55px;
}

.page-hero h1 {
    font-size: 2rem;
    line-height: 1.15;
}

.page-hero p {
    font-size: 0.98rem;
    line-height: 1.65;
}

.section-header[style*="text-align:left"] {
    margin-bottom: 25px !important;
}

.section-title {
    font-size: 1.65rem;
    line-height: 1.2;
}

.section-description {
    font-size: 0.95rem;
    line-height: 1.65;
}

.advantages-grid {
    gap: 14px;
}

.advantage-card {
    padding: 22px;
}

.advantage-card p {
    line-height: 1.65;
}

.form-card {
    padding: 22px 18px;
}

.form-card .section-title {
    font-size: 1.55rem;
}

.form-control {
    font-size: 16px;
    min-height: 48px;
}

textarea.form-control {
    min-height: 150px;
}

.form-check {
    font-size: 0.9rem;
}

.faq-item summary {
    padding: 18px 16px;
    font-size: 0.95rem;
    line-height: 1.45;
}

.faq-answer {
    padding: 0 16px 18px;
}

.cta-box {
    padding: 30px 20px;
}

.cta-title {
    font-size: 1.65rem;
    line-height: 1.2;
}

.cta-description {
    font-size: 0.95rem;
    line-height: 1.6;
}

.cta-actions {
    gap: 12px;
}

.cta-actions .btn {
    min-height: 48px;
}


}

/* =========================================================
TRES PETITS TELEPHONES
========================================================= */

@media (max-width: 380px) {

.container {
    padding-left: 13px;
    padding-right: 13px;
}

.page-hero h1 {
    font-size: 1.75rem;
}

.section-title {
    font-size: 1.45rem;
}

.form-card {
    padding: 18px 15px;
}

.advantage-card {
    padding: 18px;
}

.cta-box {
    padding: 25px 16px;
}

.cta-title {
    font-size: 1.45rem;
}
}

/* =========================================================
   CORRECTION PROFIL CLIENT SUR ORDINATEUR
========================================================= */

@media (min-width: 769px) {
    .dashboard-sidebar {
        min-width: 0;
    }

    .dashboard-user {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: center;
        column-gap: 12px;
        row-gap: 6px;
        min-width: 0;
    }

    .dashboard-user .dashboard-avatar {
        grid-column: 1;
        grid-row: 1 / span 2;
        width: 48px;
        height: 48px;
        min-width: 48px;
        margin: 0;
    }

    .dashboard-user strong,
    .dashboard-user span {
        grid-column: 2;
        min-width: 0;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .dashboard-user strong {
        word-break: normal;
    }

    .dashboard-user span {
        font-size: 11px;
        line-height: 1.4;
        word-break: break-word;
    }

    .dashboard-content {
        min-width: 0;
    }
}

/* Filigrane du titre de la page d'accueil */
.home-hero .hero-content {
    position: relative;
    isolation: isolate;
}

.home-hero .hero-content::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -35px;
    left: -25px;
    width: min(100%, 560px);
    height: 240px;
    background-image: url("../images/finanzierung-wasserzeichen.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    opacity: 0.10;
    pointer-events: none;
}

@media (max-width: 768px) {
    .home-hero .hero-content::before {
        top: -15px;
        left: 0;
        width: 100%;
        height: 170px;
        opacity: 0.07;
    }
}
