/* ═══════════════════════════════════════════════════════════════════
   Peter Wieland – Digitale Aktenablage
   css/style.css  –  sachlich, klar, kanzlei-professionell
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Reset & Base ──────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --blue-dark:   #1a3560;
    --blue-mid:    #1e4a8a;
    --blue-light:  #2d6bbf;
    --gold:        #c9a84c;
    --gold-light:  #e2c470;
    --grey-text:   #4a5568;
    --grey-light:  #f0f2f5;
    --grey-border: #d4dae6;
    --white:       #ffffff;
    --shadow-sm:   0 1px 3px rgba(0,0,0,.07);
    --shadow-md:   0 4px 12px rgba(0,0,0,.1);
    --radius:      5px;
    --radius-lg:   6px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--grey-text);
    background: var(--grey-light);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ─── Header ────────────────────────────────────────────────────── */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--grey-border);
    box-shadow: var(--shadow-sm);
    padding: 0 24px;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.header-logo img {
    height: 48px;
    width: auto;
    display: block;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-nav a {
    text-decoration: none;
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 500;
    transition: color .15s;
}

.header-nav a:hover { color: var(--blue-mid); }

.header-nav .btn-website {
    background: var(--blue-dark);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: var(--radius);
    font-size: 13px;
    transition: background .15s;
}

.header-nav .btn-website:hover { background: var(--blue-mid); }

.form-error {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fdf2f2;
    border: 1px solid #e8b4b4;
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #8b1a1a;
    margin-bottom: 18px;
}

.form-error i {
    font-size: 14px;
    color: #c0392b;
    flex-shrink: 0;
}

.form-error.hidden {
    display: none;
}

/* ─── Accent Bar ────────────────────────────────────────────────── */
.accent-bar {
    height: 3px;
    background: linear-gradient(90deg, var(--blue-dark) 0%, var(--gold) 50%, var(--blue-light) 100%);
}

/* ─── Hero ──────────────────────────────────────────────────────── */
.hero {
    background:
        linear-gradient(rgba(10, 22, 46, 0.22), rgba(10, 22, 46, 0.6)),
        url('../images/hero.jpg') center center / cover no-repeat;
    color: var(--white);
    padding: 64px 24px 72px;
} 

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 56px;
    align-items: center;
}

.hero-text .eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-text .eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--gold);
}

.hero-text h1 {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--white);
    margin-bottom: 18px;
    letter-spacing: -.02em;
}

.hero-text h1 span { color: var(--gold-light); }

.hero-text > p {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255,255,255);
    max-width: 500px;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    gap: 28px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: rgba(255,255,255);
}

.hero-feature-icon {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: rgba(255,255,255);
    flex-shrink: 0;
}

/* Hero Photo */
.hero-photo { position: relative; }

.hero-photo img {
    width: 280px;
    height: 356px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-lg);
    display: block;
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(255,255,255,.12);
}

.hero-photo .photo-badge {
    position: absolute;
    bottom: -14px;
    left: -14px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 10px 14px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--grey-border);
}

.photo-badge-icon {
    width: 32px;
    height: 32px;
    background: var(--blue-dark);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    flex-shrink: 0;
}

.photo-badge-text { line-height: 1.3; }

.photo-badge-text strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue-dark);
}

.photo-badge-text span {
    font-size: 11px;
    color: #7a859a;
}

/* ─── Main Content ──────────────────────────────────────────────── */
.main-content { padding: 52px 24px 72px; }

.content-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    align-items: start;
}

/* ─── Info Section ──────────────────────────────────────────────── */
.info-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 12px;
    letter-spacing: -.02em;
}

.info-section > p {
    font-size: 14px;
    color: var(--grey-text);
    margin-bottom: 28px;
    line-height: 1.8;
}

/* Steps */
.steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--grey-border);
    border-radius: var(--radius);
    padding: 16px 20px;
    box-shadow: var(--shadow-sm);
}

.step-number {
    width: 28px;
    height: 28px;
    background: var(--blue-dark);
    color: var(--white);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--blue-dark);
    margin-bottom: 3px;
}

.step-content p {
    font-size: 13px;
    color: var(--grey-text);
    line-height: 1.6;
}

/* Info Box */
.info-box {
    background: #f0f4fb;
    border: 1px solid #c8d4ec;
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.info-box-icon {
    color: var(--blue-mid);
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-box p {
    font-size: 13px;
    color: #2d4070;
    line-height: 1.65;
}

.info-box p a {
    color: var(--blue-mid);
    font-weight: 600;
    text-decoration: none;
}

.info-box p a:hover { text-decoration: underline; }

/* ─── Form Card ─────────────────────────────────────────────────── */
.form-card {
    background: var(--white);
    border: 1px solid var(--grey-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: sticky;
    top: 20px;
}

.form-card-header {
    background: var(--blue-dark);
    padding: 22px 26px 20px;
}

.form-card-header .lock-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.75);
    font-size: 15px;
    margin-bottom: 12px;
}

.form-card-header h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
    letter-spacing: -.01em;
}

.form-card-header p {
    font-size: 12px;
    color: rgba(255,255,255,.6);
    line-height: 1.55;
}

.form-card-body { padding: 24px 26px; }

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #4a5568;
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.form-group label .required {
    color: #c0392b;
    margin-left: 2px;
}

.form-group .input-wrapper { position: relative; }

.form-group .input-icon {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: #9aa3b5;
    pointer-events: none;
}

.form-group input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1px solid var(--grey-border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    color: var(--blue-dark);
    background: #f8f9fb;
    outline: none;
    transition: border-color .15s, background .15s;
}

.form-group input::placeholder {
    color: #b0bac9;
    font-weight: 300;
}

.form-group input:focus {
    border-color: var(--blue-mid);
    background: var(--white);
}

.form-hint {
    font-size: 11px;
    color: #9aa3b5;
    margin-top: 5px;
    line-height: 1.5;
}

.form-divider {
    border: none;
    border-top: 1px solid var(--grey-border);
    margin: 20px 0;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 12px 20px;
    background: var(--blue-dark);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .03em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .15s;
}

.btn-submit:hover { background: var(--blue-mid); }

.btn-submit .arrow { font-size: 14px; }

/* Security Badges */
.security-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--grey-border);
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #9aa3b5;
    font-weight: 500;
}

.security-badge .icon {
    font-size: 11px;
    color: #5a8a6a;
}

/* ═══════════════════════════════════════════════════════════════════
   VORTEILE-SEKTION
   ═══════════════════════════════════════════════════════════════════ */
.section-vorteile {
    background: var(--white);
    padding: 64px 24px;
    border-top: 1px solid var(--grey-border);
}

.section-vorteile .section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    margin-bottom: 44px;
}

.section-heading .eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-heading .eyebrow::before,
.section-heading .eyebrow::after {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: var(--gold);
}

.section-heading h2 {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 700;
    color: var(--blue-dark);
    letter-spacing: -.02em;
    margin-bottom: 8px;
}

.section-heading p {
    font-size: 14px;
    color: var(--grey-text);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.75;
}

.vorteile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.vorteil-card {
    background: #f8f9fb;
    border: 1px solid var(--grey-border);
    border-radius: var(--radius);
    padding: 24px 22px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.vorteil-icon {
    width: 40px;
    height: 40px;
    background: #e8edf6;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-dark);
    font-size: 16px;
    flex-shrink: 0;
}

.vorteil-body h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 6px;
    letter-spacing: -.01em;
}

.vorteil-body p {
    font-size: 13px;
    color: var(--grey-text);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════
   ANSPRECHPARTNER-SEKTION
   ═══════════════════════════════════════════════════════════════════ */
.section-contact {
    background: var(--grey-light);
    padding: 64px 24px;
    border-top: 1px solid var(--grey-border);
}

.section-contact .section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 52px;
    align-items: start;
}

/* Portrait */
.contact-portrait { position: relative; }

.contact-portrait img {
    width: 100%;
    max-width: 240px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    display: block;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
    margin: 0 auto;
}

.contact-portrait .portrait-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(201,168,76,.3);
    max-width: 254px;
    aspect-ratio: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    inset: -7px;
}

/* Info */
.contact-info { padding-top: 4px; }

.contact-info .contact-name {
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 700;
    color: var(--blue-dark);
    letter-spacing: -.02em;
    margin-bottom: 4px;
}

.contact-info .contact-role {
    font-size: 13px;
    color: #7a6530;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: .01em;
}

.contact-info .contact-bio {
    font-size: 14px;
    color: var(--grey-text);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Qualifikationen */
.contact-quals {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.contact-qual {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-qual-dot {
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 8px;
}

.contact-qual p {
    font-size: 13px;
    color: var(--grey-text);
    line-height: 1.55;
}

.contact-qual p strong {
    color: var(--blue-dark);
    font-weight: 600;
}

/* Tags */
.contact-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.contact-tag {
    background: var(--white);
    border: 1px solid var(--grey-border);
    border-radius: 3px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #4a5a7a;
    letter-spacing: .03em;
}

/* Links */
.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s, opacity .15s;
}

.contact-link.primary {
    background: var(--blue-dark);
    color: var(--white);
}

.contact-link.primary:hover { background: var(--blue-mid); }

.contact-link.secondary {
    background: var(--white);
    color: var(--blue-dark);
    border: 1px solid var(--grey-border);
}

.contact-link.secondary:hover { background: #f0f2f5; }

.contact-link.gold {
    background: #7a6530;
    color: var(--white);
}

.contact-link.gold:hover { opacity: .9; }

/* ─── Footer ────────────────────────────────────────────────────── */
.site-footer {
    background: var(--blue-dark);
    color: rgba(255,255,255,.55);
    padding: 28px 24px;
    margin-top: auto;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-left img {
    height: 28px;
    width: auto;
    filter: brightness(10);
    opacity: .8;
}

.footer-text { font-size: 12px; line-height: 1.5; }

.footer-text strong {
    display: block;
    color: var(--white);
    font-size: 13px;
}

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

.footer-links a {
    font-size: 12px;
    color: rgba(255,255,255,.45);
    text-decoration: none;
    transition: color .15s;
}

.footer-links a:hover { color: rgba(255,255,255,.8); }

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-portrait img { max-width: 200px; }
}

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 32px; }
    .hero-photo { display: flex; justify-content: center; }
    .hero-photo img { width: 220px; height: 280px; }
    .content-inner { grid-template-columns: 1fr; gap: 32px; }
    .form-card { position: static; }
    .vorteile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .site-header { padding: 0 16px; }
    .header-inner { height: 60px; }
    .header-logo img { height: 38px; }
    .header-nav a:not(.btn-website) { display: none; }
    .hero { padding: 40px 16px 48px; }
    .hero-photo img { width: 180px; height: 228px; }
    .hero-photo .photo-badge { bottom: -10px; left: -8px; }
    .main-content { padding: 36px 16px 56px; }
    .form-card-body { padding: 20px 18px; }
    .hero-features { gap: 14px; }
    .section-vorteile, .section-contact { padding: 44px 16px; }
    .vorteil-card { flex-direction: column; gap: 12px; }
    .contact-links { flex-direction: column; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
}


 /* ═══════════════════════════════════════════════════════════
           AKTENZUGANG – Seitenspezifisches CSS
           Stil: sachlich, klar, kanzlei-professionell
           ═══════════════════════════════════════════════════════════ */

        /* ── Layout ─────────────────────────────────────────────── */
        .az-page {
            flex: 1;
            padding: 32px 24px 72px;
            background: #f0f2f5;
        }

        .az-inner {
            max-width: 1200px;
            margin: 0 auto;
        }

        /* ── Akte-Banner ─────────────────────────────────────────── */
        .az-banner {
            background: var(--blue-dark);
            border-radius: 6px;
            padding: 22px 28px;
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            flex-wrap: wrap;
        }

        .az-banner-left {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .az-banner-icon {
            width: 44px;
            height: 44px;
            background: rgba(255,255,255,.1);
            border: 1px solid rgba(255,255,255,.18);
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255,255,255,.75);
            font-size: 18px;
            flex-shrink: 0;
        }

        .az-banner-title {
            color: var(--white);
        }

        .az-banner-title .az-label {
            font-size: 10px;
            font-weight: 600;
            letter-spacing: .14em;
            text-transform: uppercase;
            color: var(--gold-light);
            margin-bottom: 3px;
        }

        .az-banner-title h1 {
            font-size: 18px;
            font-weight: 600;
            letter-spacing: -.01em;
            margin-bottom: 2px;
            color: var(--white);
        }

        .az-banner-title .az-sub {
            font-size: 12px;
            color: rgba(255,255,255,.5);
        }

        .az-banner-right {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            align-items: center;
        }

        .az-status-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(255,255,255,.08);
            border: 1px solid rgba(255,255,255,.15);
            border-radius: 3px;
            padding: 5px 12px;
            font-size: 12px;
            font-weight: 500;
            color: rgba(255,255,255,.8);
            letter-spacing: .02em;
        }

        .az-status-dot {
            width: 6px;
            height: 6px;
            background: #6ee7b7;
            border-radius: 50%;
        }

        /* ── Hauptgitter ─────────────────────────────────────────── */
        .az-grid {
            display: grid;
            grid-template-columns: 1fr 320px;
            gap: 20px;
            align-items: start;
        }

        .az-col-main {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .az-col-side {
            display: flex;
            flex-direction: column;
            gap: 20px;
            position: sticky;
            top: 20px;
        }

        /* ── Karten ──────────────────────────────────────────────── */
        .az-card {
            background: var(--white);
            border: 1px solid #d4dae6;
            border-radius: 6px;
            box-shadow: 0 1px 3px rgba(0,0,0,.06);
            overflow: hidden;
        }

        .az-card-header {
            padding: 14px 20px;
            border-bottom: 1px solid #e8ecf2;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            background: #fafbfc;
        }

        .az-card-header-left {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .az-card-icon {
            width: 30px;
            height: 30px;
            background: #e8edf6;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--blue-dark);
            font-size: 13px;
            flex-shrink: 0;
        }

        .az-card-icon.muted {
            background: #eef0f3;
            color: #6b7a99;
        }

        .az-card-title {
            font-size: 14px;
            font-weight: 600;
            color: var(--blue-dark);
        }

        .az-card-sub {
            font-size: 11px;
            color: #8a96a8;
            margin-top: 1px;
        }

        .az-card-body {
            padding: 20px;
        }

        .az-card-badge {
            font-size: 11px;
            font-weight: 500;
            color: #6b7a99;
            background: #eef0f4;
            border: 1px solid #d8dde8;
            border-radius: 3px;
            padding: 3px 9px;
        }

        /* ── Dropzone ────────────────────────────────────────────── */
        #meine-dropzone {
            border: 1px dashed #b0bdd4;
            border-radius: 4px;
            background: #f8f9fb;
            padding: 36px 24px;
            text-align: center;
            cursor: pointer;
            transition: border-color .2s, background .2s;
            min-height: 160px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        #meine-dropzone:hover,
        #meine-dropzone.dz-drag-hover {
            border-color: var(--blue-mid);
            background: #f0f4fb;
        }

        .dz-message {
            pointer-events: none;
        }

        .dz-upload-icon {
            width: 48px;
            height: 48px;
            background: #e8edf6;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--blue-dark);
            font-size: 20px;
            margin: 0 auto 12px;
        }

        .dz-main-text {
            font-size: 14px;
            font-weight: 600;
            color: var(--blue-dark);
            margin-bottom: 3px;
        }

        .dz-sub-text {
            font-size: 12px;
            color: #8a96a8;
            margin-bottom: 12px;
        }

        .dz-browse-btn {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            background: var(--blue-dark);
            color: var(--white);
            border: none;
            border-radius: 4px;
            padding: 8px 18px;
            font-family: inherit;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            transition: background .15s;
        }

        .dz-browse-btn:hover {
            background: var(--blue-mid);
        }

        .dz-hint {
            font-size: 11px;
            color: #a8b2c4;
            margin-top: 8px;
        }

        /* Kommentar-Feld */
        .dz-comment-row {
            margin-bottom: 14px;
        }

        .dz-comment-row label {
            display: block;
            font-size: 12px;
            font-weight: 600;
            color: #4a5568;
            letter-spacing: .03em;
            text-transform: uppercase;
            margin-bottom: 5px;
        }

        .dz-comment-row textarea {
            width: 100%;
            border: 1px solid #d4dae6;
            border-radius: 4px;
            padding: 9px 12px;
            font-family: inherit;
            font-size: 13px;
            color: var(--blue-dark);
            background: #f8f9fb;
            resize: vertical;
            min-height: 64px;
            outline: none;
            transition: border-color .15s;
            line-height: 1.6;
        }

        .dz-comment-row textarea:focus {
            border-color: var(--blue-mid);
            background: var(--white);
        }

        /* Dropzone Overrides */
        .dropzone .dz-preview .dz-progress .dz-upload {
            background: var(--blue-mid);
        }

        /* ── Dateiliste ──────────────────────────────────────────── */
        .file-list {
            display: flex;
            flex-direction: column;
        }

        .file-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 20px;
            border-bottom: 1px solid #eef0f4;
            transition: background .12s;
        }

        .file-item:last-child {
            border-bottom: none;
        }

        .file-item:hover {
            background: #f8f9fb;
        }

        .file-icon-wrap {
            width: 34px;
            height: 34px;
            border-radius: 3px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            flex-shrink: 0;
            color: #5a6a8a;
            background: #eef0f4;
        }

        .file-meta {
            flex: 1;
            min-width: 0;
        }

        .file-name {
            font-size: 13px;
            font-weight: 600;
            color: #1e2c44;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 2px;
        }

        .file-info {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .file-date {
            font-size: 11px;
            color: #9aa3b5;
        }

        .file-comment {
            font-size: 11px;
            color: #7a859a;
            font-style: italic;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 200px;
        }

        .file-uploader {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 11px;
            font-weight: 500;
            padding: 2px 8px;
            border-radius: 2px;
            white-space: nowrap;
            letter-spacing: .01em;
        }

        .file-uploader.anwalt {
            background: #eef2fa;
            color: #2d4d8a;
            border: 1px solid #d0daf0;
        }

        .file-uploader.mandant {
            background: #f0f4ee;
            color: #2d5a3a;
            border: 1px solid #ccddc8;
        }

        .file-size {
            font-size: 11px;
            color: #a8b2c4;
            flex-shrink: 0;
            width: 56px;
            text-align: right;
        }

        .file-actions {
            display: flex;
            gap: 4px;
            flex-shrink: 0;
        }

        .file-btn {
            width: 28px;
            height: 28px;
            border: 1px solid #d4dae6;
            border-radius: 3px;
            background: var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: #6b7a99;
            cursor: pointer;
            transition: background .12s, border-color .12s, color .12s;
            text-decoration: none;
        }

        .file-btn:hover {
            background: #eef0f4;
            border-color: #aab5cc;
            color: var(--blue-dark);
        }

        .file-list-empty {
            padding: 36px 20px;
            text-align: center;
            color: #a8b2c4;
        }

        .file-list-empty .empty-icon {
            font-size: 28px;
            margin-bottom: 8px;
            color: #c8d0dc;
        }

        .file-list-empty p {
            font-size: 13px;
        }

        /* Tabellenkopf */
        .file-list-head {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 8px 20px;
            background: #f4f5f8;
            border-bottom: 1px solid #e8ecf2;
            font-size: 10px;
            font-weight: 700;
            color: #9aa3b5;
            letter-spacing: .08em;
            text-transform: uppercase;
        }

        .file-list-head .col-icon  { width: 34px; flex-shrink: 0; }
        .file-list-head .col-name  { flex: 1; }
        .file-list-head .col-who   { width: 110px; flex-shrink: 0; }
        .file-list-head .col-size  { width: 56px; flex-shrink: 0; text-align: right; }
        .file-list-head .col-act   { width: 64px; flex-shrink: 0; }

        /* Upload-Fortschritt */
        #upload-progress-wrap {
            display: none;
            margin-top: 14px;
        }

        .upload-progress-item {
            background: #f4f5f8;
            border: 1px solid #d4dae6;
            border-radius: 4px;
            padding: 10px 14px;
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .up-name {
            flex: 1;
            font-size: 12px;
            font-weight: 600;
            color: var(--blue-dark);
            min-width: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .up-bar-wrap {
            width: 110px;
            height: 4px;
            background: #d4dae6;
            border-radius: 2px;
            overflow: hidden;
            flex-shrink: 0;
        }

        .up-bar {
            height: 100%;
            background: var(--blue-mid);
            border-radius: 2px;
            transition: width .3s;
        }

        .up-pct {
            font-size: 11px;
            font-weight: 600;
            color: var(--blue-mid);
            width: 34px;
            text-align: right;
            flex-shrink: 0;
        }

        /* ── Benachrichtigungs-Formular ──────────────────────────── */
        .notif-form {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .notif-desc {
            font-size: 13px;
            color: var(--grey-text);
            line-height: 1.65;
        }

        .notif-row {
            display: flex;
            gap: 8px;
        }

        .notif-row input[type="email"] {
            flex: 1;
            padding: 9px 12px;
            border: 1px solid #d4dae6;
            border-radius: 4px;
            font-family: inherit;
            font-size: 13px;
            color: var(--blue-dark);
            background: #f8f9fb;
            outline: none;
            transition: border-color .15s;
        }

        .notif-row input[type="email"]:focus {
            border-color: var(--blue-mid);
            background: var(--white);
        }

        .notif-row input[type="email"]::placeholder {
            color: #b0bac9;
        }

        .btn-notif {
            padding: 9px 16px;
            background: var(--blue-dark);
            color: var(--white);
            border: none;
            border-radius: 4px;
            font-family: inherit;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            white-space: nowrap;
            transition: background .15s;
        }

        .btn-notif:hover {
            background: var(--blue-mid);
        }

        .notif-saved {
            display: none;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            font-weight: 500;
            color: #2d5a3a;
            background: #f2f7f2;
            border: 1px solid #c8d8c4;
            border-radius: 4px;
            padding: 9px 14px;
        }

        .notif-check-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .notif-check-list li {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
            color: var(--grey-text);
        }

        .notif-check-list li::before {
            content: '';
            display: inline-block;
            width: 14px;
            height: 14px;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%232d5a3a' d='M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z'/%3E%3C/svg%3E") center/contain no-repeat;
            flex-shrink: 0;
        }

        /* ── Mandanten-Daten (Sidebar) ───────────────────────────── */
        .mandant-grid {
            display: flex;
            flex-direction: column;
        }

        .mandant-row {
            display: flex;
            gap: 10px;
            padding: 7px 20px;
            border-bottom: 1px solid #eef0f4;
            align-items: baseline;
        }

        .mandant-row:last-child {
            border-bottom: none;
        }

        .mandant-key {
            font-size: 10px;
            font-weight: 600;
            color: #9aa3b5;
            text-transform: uppercase;
            letter-spacing: .07em;
            min-width: 76px;
            flex-shrink: 0;
        }

        .mandant-val {
            font-size: 12px;
            color: #1e2c44;
            font-weight: 500;
            word-break: break-word;
        }

        .mandant-val a {
            color: var(--blue-mid);
            text-decoration: none;
        }

        .mandant-val a:hover {
            text-decoration: underline;
        }

        /* Akteninfo-Box in Sidebar */
        .az-info-box {
            background: var(--blue-dark);
            border-radius: 6px;
            padding: 18px 20px;
            color: var(--white);
        }

        .az-info-box .az-info-label {
            font-size: 10px;
            font-weight: 700;
            letter-spacing: .12em;
            text-transform: uppercase;
            color: var(--gold-light);
            margin-bottom: 12px;
        }

        .az-info-row {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            padding: 6px 0;
            border-bottom: 1px solid rgba(255,255,255,.08);
        }

        .az-info-row:last-child {
            border-bottom: none;
        }

        .az-info-key {
            font-size: 11px;
            color: rgba(255,255,255,.45);
            font-weight: 400;
        }

        .az-info-val {
            font-size: 12px;
            font-weight: 600;
            color: rgba(255,255,255,.9);
        }

        .az-info-val.gold {
            color: var(--gold-light);
            font-size: 13px;
        }

        .az-info-val.active {
            color: #6ee7b7;
        }

        /* ── Toast ───────────────────────────────────────────────── */
        #toast-container {
            position: fixed;
            bottom: 24px;
            right: 24px;
            z-index: 9999;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .toast {
            background: #1e2c44;
            color: rgba(255,255,255,.9);
            border-radius: 4px;
            padding: 12px 16px;
            display: flex;
            align-items: center;
            gap: 10px;
            box-shadow: 0 4px 16px rgba(0,0,0,.18);
            font-size: 13px;
            font-weight: 400;
            min-width: 240px;
            max-width: 340px;
            border-left: 3px solid var(--gold);
            animation: fadeIn .25s ease;
        }

        .toast.success { border-left-color: #6ee7b7; }
        .toast.error   { border-left-color: #fca5a5; }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(8px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        /* ── Responsive ──────────────────────────────────────────── */
        @media (max-width: 960px) {
            .az-grid {
                grid-template-columns: 1fr;
            }
            .az-col-side {
                position: static;
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 20px;
            }
        }

        @media (max-width: 680px) {
            .az-page { padding: 20px 14px 56px; }
            .az-banner { padding: 18px 18px; }
            .az-col-side { grid-template-columns: 1fr; }
            .file-list-head { display: none; }
            .file-item { flex-wrap: wrap; padding: 12px 14px; }
            .file-actions { width: 100%; justify-content: flex-end; }
            .notif-row { flex-direction: column; }
        }