/* ============================================================
   SPYRA.LEGAL — Anwaltskanzlei Marion Küllmer
   Design v3 — Editorial · Premium · Eigenständig
   ============================================================ */

/* --- FONTS --- */

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/cormorant-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/cormorant-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/dmsans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/dmsans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- CUSTOM PROPERTIES --- */

:root {
    /* Brand Farben — Dark-Petrol Edition (Kundenvorgabe v2) */
    --petrol: #065459;
    --petrol-dark: #043e42;
    --petrol-deep: #022f33;
    --petrol-light: #0a6a70;
    --petrol-soft: #1a8389;

    --accent: #FA9F66;          /* Apricot/Orange Akzent */
    --accent-soft: #fcb98b;
    --accent-deep: #e8854a;

    /* Aliase, damit alter Code weiterläuft (alle Blau-/Gold-Refs werden
       auf das neue Petrol/Apricot-System gemappt) */
    --blue: var(--accent);
    --blue-dark: var(--accent-deep);
    --blue-light: rgba(250,159,102,0.12);
    --gold: var(--accent);
    --gold-dark: var(--accent-soft);

    /* Layout Farben — Dark Mode */
    --bg: var(--petrol);
    --bg-off: var(--petrol-dark);
    --bg-stone: var(--petrol-light);
    --ink: #ffffff;
    --ink-mid: rgba(255,255,255,0.82);
    --ink-light: rgba(255,255,255,0.72);
    --rule: rgba(255,255,255,0.14);
    --rule-light: rgba(255,255,255,0.08);

    /* Kacheln & Footer */
    --tile-color: var(--petrol-dark);

    /* Footer */
    --footer-bg: var(--petrol-deep);
    --footer-text: rgba(255,255,255,0.78);

    /* Form */
    --success: #059669;
    --error: #dc2626;

    /* Typo */
    --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Easing */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);

    /* Layout */
    --max-w: 1240px;
    --col-gap: 2rem;
}

/* --- RESET --- */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--sans);
    color: var(--ink-mid);
    background: var(--bg);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

a:hover { color: var(--blue-dark); }

ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* --- SKIP LINK --- */

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--blue);
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    z-index: 9999;
    transition: top 0.2s;
}

.skip-link:focus { top: 0.5rem; }

/* --- TYPOGRAPHY --- */

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

/* --- LAYOUT --- */

.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2.5rem;
}

.section { padding: 7rem 0; }
.section--off { background: var(--bg-off); }
.section--stone { background: var(--bg-stone); }

/* --- SECTION HEADER --- */

.sec-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold-dark);
    margin-bottom: 1.25rem;
}

.sec-label::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

.sec-title {
    font-family: var(--serif);
    color: var(--ink);
    margin-bottom: 1.25rem;
}

.sec-desc {
    font-size: 1.0625rem;
    color: var(--ink-light);
    line-height: 1.8;
    max-width: 580px;
}

/* Backwards compat für alte Klassen im HTML */
.sec-header { margin-bottom: 3.5rem; }
.sec-header--center { text-align: center; }
.sec-header--center .sec-desc,
.sec-header--center .sec-header__desc { margin: 0 auto; }
.sec-header__eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold-dark); margin-bottom: 1.25rem; }
.sec-header__eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); flex-shrink: 0; }
.sec-header__title { font-family: var(--serif); color: var(--ink); margin-bottom: 1.25rem; font-size: clamp(2.25rem, 4.5vw, 3.5rem); font-weight: 600; line-height: 1.1; }
.sec-header__desc { font-size: 1.0625rem; color: var(--ink-light); line-height: 1.8; max-width: 580px; }

/* --- BUTTONS --- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all 0.25s var(--ease);
    white-space: nowrap;
    text-decoration: none;
}

.btn--filled {
    padding: 0.9rem 2.25rem;
    background: var(--blue);
    color: #fff;
    border: 1.5px solid var(--blue);
}

.btn--filled:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    color: #fff;
}

.btn--ghost {
    padding: 0.9rem 2.25rem;
    border: 1.5px solid var(--rule);
    color: var(--ink);
}

.btn--ghost:hover {
    border-color: var(--ink);
    color: var(--ink);
}

.btn--white {
    padding: 0.9rem 2.25rem;
    background: #fff;
    border: 1.5px solid #fff;
    color: var(--ink);
}

.btn--white:hover {
    background: var(--bg-off);
    border-color: var(--bg-off);
    color: var(--ink);
}

.btn--text {
    color: var(--blue);
    font-size: 0.8125rem;
    padding: 0;
    letter-spacing: 0.06em;
}

.btn--text::after {
    content: '→';
    transition: transform 0.25s var(--ease);
    display: inline-block;
}

.btn--text:hover { color: var(--blue-dark); }
.btn--text:hover::after { transform: translateX(4px); }

.btn--sm { padding: 0.65rem 1.5rem; font-size: 0.8125rem; }
.btn--lg { padding: 1rem 2.75rem; font-size: 0.9375rem; }

/* --- HEADER --- */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(6, 84, 89, 0.92);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.header--scrolled {
    background: rgba(4, 62, 66, 0.96);
    box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}

.header__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__logo img { width: auto; }

.nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav__link {
    padding: 0.4rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ink-mid);
    letter-spacing: 0.02em;
    position: relative;
    transition: color 0.2s var(--ease);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0.875rem;
    right: 0.875rem;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.25s var(--ease);
    transform-origin: left;
}

.nav__link:hover,
.nav__link--active {
    color: var(--ink);
}

.nav__link:hover::after,
.nav__link--active::after {
    transform: scaleX(1);
}

.nav__cta { margin-left: 1.25rem; }

.nav__lang {
    margin-left: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-light);
    letter-spacing: 0.1em;
    border: 1px solid var(--rule);
    padding: 0.3rem 0.7rem;
    transition: all 0.2s var(--ease);
}

.nav__lang:hover {
    color: var(--ink);
    border-color: var(--ink-mid);
}

/* Nav Dropdown */
.nav__item--dropdown {
    position: relative;
    display: flex;
    align-items: center;
    align-self: stretch;
}

.nav__chevron {
    width: 9px;
    height: 5px;
    margin-left: 4px;
    vertical-align: middle;
    transition: transform 0.2s ease;
    opacity: 0.55;
}

@media (min-width: 961px) {
    .nav__item--dropdown:hover .nav__chevron {
        transform: rotate(180deg);
        opacity: 0.8;
    }
}

.nav__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 230px;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 8px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.1), 0 4px 16px rgba(0,0,0,0.06);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 999;
}

@media (min-width: 961px) {
    .nav__item--dropdown:hover .nav__dropdown {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
}

.nav__dropdown li { list-style: none; }

.nav__dropdown-link {
    display: block;
    padding: 0.55rem 1.375rem;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink-mid);
    letter-spacing: 0.02em;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease, background 0.15s ease, padding-left 0.15s ease;
}

.nav__dropdown-link:hover {
    color: var(--blue);
    background: rgba(37, 99, 235, 0.04);
    padding-left: 1.625rem;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 26px;
    height: 26px;
    z-index: 1001;
    padding: 0;
}

/* Sprach-Switch im Header — nur auf Mobile sichtbar (Desktop nutzt .nav__lang im Menü) */
.header__lang {
    display: none;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.1em;
    border: 1px solid rgba(255,255,255,0.45);
    padding: 0.3rem 0.65rem;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.2s var(--ease);
    z-index: 1001;
    margin-left: auto;
}
.header__lang:hover,
.header__lang:focus-visible {
    color: var(--accent);
    border-color: var(--accent);
}

.hamburger__line {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s var(--ease);
    transform-origin: center;
}

.hamburger--active .hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
.hamburger--active .hamburger__line:nth-child(2) { opacity: 0; }
.hamburger--active .hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

@media (max-width: 960px) {
    .hamburger { display: flex; margin-left: 0.75rem; }
    .header__lang { display: inline-flex; align-items: center; }

    /* backdrop-filter auf Header deaktivieren — bricht position:fixed auf Mobile */
    .header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: var(--petrol-deep);
        flex-direction: column;
        justify-content: center;
        gap: 0;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s var(--ease);
        z-index: 1000;
    }

    .nav--open {
        opacity: 1;
        pointer-events: auto;
    }

    .nav__link {
        font-family: var(--serif);
        font-size: 1.75rem;
        padding: 0.75rem 2rem;
        text-align: center;
        font-weight: 400;
        color: var(--ink);
    }

    .nav__link::after { display: none; }
    .nav__cta { margin-left: 0; margin-top: 2rem; }
    .nav__cta .btn { width: 220px; justify-content: center; }
    .nav__lang { margin-left: 0; margin-top: 1.5rem; }

    .nav__item--dropdown {
        flex-direction: column;
        align-self: auto;
        align-items: center;
        gap: 0;
        width: 100%;
    }

    /* Trigger sichtbar mit Chevron rechts neben Text */
    .nav__item--dropdown > .nav__link {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        cursor: pointer;
    }

    .nav__chevron {
        display: inline-block;
        width: 12px;
        height: 7px;
        opacity: 0.7;
        transition: transform 0.25s var(--ease);
    }

    .nav__item--dropdown-open > .nav__link .nav__chevron {
        transform: rotate(180deg);
    }

    /* Dropdown standardmäßig zu, nur wenn parent .nav__item--dropdown-open hat.
       Spezifität (0,2,0) muss gleich/höher sein als die Desktop-Hover-Regel,
       sonst greift translateX(-50%) auf Touch-Hover durch. */
    .nav .nav__dropdown,
    .nav__item--dropdown:hover .nav__dropdown {
        position: static;
        top: auto;
        left: auto;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        min-width: 0;
        width: 100%;
        background: transparent;
        opacity: 0;
        pointer-events: none;
        max-height: 0;
        padding: 0;
        overflow: hidden;
        transition: max-height 0.3s var(--ease), opacity 0.2s var(--ease), padding 0.3s var(--ease);
    }

    .nav__item--dropdown-open .nav__dropdown,
    .nav__item--dropdown-open:hover .nav__dropdown {
        opacity: 1;
        pointer-events: auto;
        max-height: 500px;
        padding: 0.5rem 0 1rem;
        transform: none;
    }

    .nav__dropdown-link {
        font-family: var(--serif);
        font-size: 1.05rem;
        font-weight: 400;
        color: rgba(255,255,255,0.78);
        padding: 0.45rem 1rem;
        text-align: center;
        letter-spacing: 0.01em;
        white-space: normal;
    }

    .nav__dropdown-link:hover,
    .nav__dropdown-link:active {
        background: none;
        padding-left: 1rem;
        color: var(--accent);
    }
}

/* Portfolio Pagination: Buttons auf Mobile umbrechen lassen */
@media (max-width: 900px) {
    .portfolio-pagination { flex-wrap: wrap; }
    .portfolio-pagination .btn { white-space: normal; max-width: 100%; }
}

/* --- HERO --- */

.hero {
    padding: 6rem 0 5rem;
    border-bottom: 1px solid var(--rule-light);
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 5rem;
    align-items: stretch;
}

.hero__left {
    max-width: 780px;
}

.hero__right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__photo-placeholder {
    width: 100%;
    height: 100%;
    min-height: 220px;
    background: var(--bg-stone);
    border: 1px dashed var(--rule);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-light);
    font-size: 0.8125rem;
    font-family: var(--sans);
}

@media (max-width: 800px) {
    .hero__inner {
        grid-template-columns: 1fr;
    }
    .hero__right { display: none; }
}

.hero__eyebrow {
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin: 0 0 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}
.hero__eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--accent);
    flex-shrink: 0;
}

.hero__title {
    font-family: var(--serif);
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 2.5rem;
    letter-spacing: -0.01em;
}

.hero__title em {
    font-style: italic;
    color: var(--blue);
}

@media (max-width: 800px) {
    .hero { padding: 4rem 0 3.5rem; }
}

/* --- TRUST BAR (jetzt slim, editorial) --- */

.trust-bar {
    background: var(--bg-off);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 2rem 0;
}

.trust-bar__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    gap: 0;
}

.trust-bar__item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 2rem;
    border-right: 1px solid var(--rule);
}

.trust-bar__item:first-child { padding-left: 0; }
.trust-bar__item:last-child { border-right: none; }

.trust-bar__value {
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
    flex-shrink: 0;
}

.trust-bar__label {
    font-size: 0.8rem;
    color: var(--ink-light);
    line-height: 1.3;
}

@media (max-width: 760px) {
    .trust-bar__inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .trust-bar__item {
        padding: 0;
        border-right: none;
    }
}

/* --- PRACTICES (Editorial-Liste, keine Karten) --- */

.practices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--rule);
}

.practice {
    padding: 2.75rem 3rem 2.75rem 0;
    border-bottom: 1px solid var(--rule);
    position: relative;
    transition: background 0.25s var(--ease);
}

.practice:nth-child(even) {
    padding-left: 3rem;
    padding-right: 0;
    border-left: 1px solid var(--rule);
}

.practice:hover {
    background: var(--bg-off);
}

.practice__num {
    font-family: var(--serif);
    font-size: 0.8125rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: block;
    font-weight: 400;
}

.practice__title {
    font-family: var(--serif);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.875rem;
    line-height: 1.2;
}

.practice__desc {
    font-size: 0.9375rem;
    color: var(--ink-light);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.practice__link {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s var(--ease);
}

.practice__link:hover { gap: 0.75rem; color: var(--blue-dark); }

@media (max-width: 700px) {
    .practices { grid-template-columns: 1fr; }
    .practice { padding: 2rem 0; }
    .practice:nth-child(even) { padding-left: 0; border-left: none; }
}

/* --- CTA BAND --- */

.cta-band {
    background: var(--blue);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* Dezentes Textmuster */
.cta-band::before {
    content: 'SPYRA.LEGAL';
    position: absolute;
    font-family: var(--serif);
    font-size: 18vw;
    font-weight: 700;
    color: rgba(255,255,255,0.04);
    right: -2%;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    letter-spacing: -0.02em;
    pointer-events: none;
}

.cta-band .container {
    position: relative;
    z-index: 1;
}

.cta-band__title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: #fff;
    margin-bottom: 1rem;
    max-width: 700px;
}

.cta-band__desc {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.cta-band__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- TESTIMONIALS (Pull-Quote-Stil) --- */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule);
}

.testimonial {
    padding: 3rem 2.5rem;
    border-bottom: 1px solid var(--rule);
    border-right: 1px solid var(--rule);
    position: relative;
}

.testimonial:first-child { padding-left: 0; }

.testimonial:nth-child(3n) {
    border-right: none;
    padding-right: 0;
}

.testimonial:nth-child(n+4) {
    border-bottom: none;
}

/* Große Anführungszeichen */
.testimonial::before {
    content: '\201C';
    font-family: var(--serif);
    font-size: 5rem;
    color: var(--gold);
    line-height: 1;
    display: block;
    margin-bottom: -0.5rem;
    opacity: 0.6;
}

/* Altes .testimonial__bar entfernen */
.testimonial__bar { display: none; }

.testimonial__stars {
    color: var(--gold);
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.testimonial__text {
    font-size: 0.9375rem;
    color: var(--ink-mid);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial__author {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--ink);
    margin-bottom: 0.2rem;
}

.testimonial__role {
    font-size: 0.8125rem;
    color: var(--ink-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media (max-width: 900px) {
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonial { padding: 2.5rem 0; border-right: none; }
    .testimonial:nth-child(n+4) { border-bottom: 1px solid var(--rule); }
    .testimonial:last-child { border-bottom: none; }
}

/* --- ABOUT / KANZLEI --- */

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7rem;
    align-items: start;
}

/* Foto startet auf gleicher Höhe wie der "Marion Günther"-Eyebrow rechts */
.about__image-wrap {
    margin-top: 0;
    z-index: 2;
}

.about__image-wrap {
    position: relative;
}

.about__image {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    filter: grayscale(10%);
}

/* Gold-Linie links */
.about__image-bar {
    position: absolute;
    left: -16px;
    top: 16px;
    bottom: -16px;
    width: 3px;
    background: var(--gold);
}

.about__text {
    font-size: 1.0625rem;
    color: var(--ink-mid);
    line-height: 1.85;
}

.about__quals {
    margin: 2rem 0 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about__qual {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9375rem;
    color: var(--ink-mid);
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--rule-light);
}

.about__qual::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

@media (max-width: 840px) {
    .about__inner { grid-template-columns: 1fr; gap: 3rem; }
    .about__image-bar { display: none; }
}

/* Details-Box (Ausbildung + Schwerpunkte) unter Foto/Text */
.about__details {
    margin-top: 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 4px;
}

.about__details-col {
    padding: 2.5rem 2.75rem;
}

.about__details-col + .about__details-col {
    border-left: 1px solid rgba(255,255,255,0.10);
}

.about__details-title {
    font-family: var(--font-serif, 'Cormorant Garamond', serif);
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 0 1.5rem;
    color: var(--accent);
    letter-spacing: 0.01em;
}

.about__details-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.about__details-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.88);
}

.about__details-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 14px;
    height: 1px;
    background: var(--accent);
}

@media (max-width: 800px) {
    .about__details {
        margin-top: 3rem;
        grid-template-columns: 1fr;
    }
    .about__details-col {
        padding: 2rem 1.75rem;
    }
    .about__details-col + .about__details-col {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.10);
    }
}

/* --- STEPS (Arbeitsweise) --- */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule);
    counter-reset: steps;
}

.step {
    padding: 2.5rem 2.5rem 2.5rem 0;
    border-right: 1px solid var(--rule);
    position: relative;
}

.step:last-child { border-right: none; padding-right: 0; }
.step:nth-child(n+2) { padding-left: 2.5rem; }

.step__num {
    font-family: var(--serif);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--rule);
    line-height: 1;
    margin-bottom: 1.25rem;
    display: block;
}

.step__title {
    font-family: var(--serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.75rem;
}

.step__desc {
    font-size: 0.9375rem;
    color: var(--ink-light);
    line-height: 1.75;
    margin-bottom: 0;
}

@media (max-width: 840px) {
    .steps { grid-template-columns: 1fr 1fr; }
    .step { padding: 2rem 0; border-right: none; border-bottom: 1px solid var(--rule); }
    .step:last-child { border-bottom: none; }
    .step:nth-child(n+2) { padding-left: 0; }
    .step:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--rule); }
}

@media (max-width: 500px) {
    .steps { grid-template-columns: 1fr; }
    .step:nth-child(even) { padding-left: 0; border-left: none; }
}

/* --- FAQ --- */

.faq__list {
    max-width: 820px;
}

.faq__item {
    border-bottom: 1px solid var(--rule);
}

.faq__question {
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    line-height: 1.4;
    transition: color 0.2s var(--ease);
}

.faq__question:hover { color: var(--blue); }

.faq__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    position: relative;
}

.faq__icon::before,
.faq__icon::after {
    content: '';
    position: absolute;
    background: var(--ink-light);
    transition: all 0.3s var(--ease);
}

.faq__icon::before {
    width: 12px;
    height: 1px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq__icon::after {
    width: 1px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq__question[aria-expanded="true"] .faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq__question[aria-expanded="true"] { color: var(--blue); }

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
}

.faq__answer--open { max-height: 400px; }

.faq__answer-inner {
    padding: 0 0 1.75rem;
    font-size: 0.9375rem;
    color: var(--ink-light);
    line-height: 1.8;
}

/* --- KONTAKT --- */

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6rem;
    margin-bottom: 4rem;
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--rule-light);
}

.contact__item:first-child { border-top: 1px solid var(--rule-light); }

.contact__item-icon {
    font-size: 1.25rem;
    opacity: 0.5;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact__item-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-light);
    margin-bottom: 0.25rem;
}

.contact__item-value {
    font-size: 0.9375rem;
    color: var(--ink-mid);
    line-height: 1.6;
    margin-bottom: 0;
}

.contact__item-value a {
    color: var(--ink-mid);
}

.contact__item-value a:hover { color: var(--blue); }

/* Form */
.contact-form {}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.form-group:last-of-type { margin-bottom: 0; }

.form-group__label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-light);
}

.form-group__input,
.form-group__select,
.form-group__textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--rule);
    background: var(--bg);
    color: var(--ink);
    font-size: 0.9375rem;
    transition: border-color 0.2s var(--ease);
    outline: none;
    -webkit-appearance: none;
}

.form-group__input:focus,
.form-group__select:focus,
.form-group__textarea:focus {
    border-color: var(--blue);
}

.form-group__textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group--hp { display: none; }

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.form-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 0.2rem;
    accent-color: var(--blue);
    cursor: pointer;
}

.form-checkbox__label {
    font-size: 0.875rem;
    color: var(--ink-light);
    line-height: 1.6;
    cursor: pointer;
}

.form-checkbox__label a { color: var(--blue); }

/* Maps */
.maps-wrap { margin-top: 3rem; }

.maps-placeholder {
    background: var(--bg-off);
    border: 1px solid var(--rule);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s var(--ease);
    gap: 0.75rem;
}

.maps-placeholder:hover { background: var(--bg-stone); }

.maps-placeholder__icon { font-size: 2rem; opacity: 0.4; }
.maps-placeholder__text { font-weight: 600; font-size: 0.9375rem; color: var(--ink-mid); }
.maps-placeholder__hint { font-size: 0.8125rem; color: var(--ink-light); max-width: 460px; line-height: 1.6; }
.maps-placeholder__hint a { color: var(--blue); }

.maps-iframe {
    width: 100%;
    height: 380px;
    border: 1px solid var(--rule);
    display: block;
}

@media (max-width: 760px) {
    .contact__inner { grid-template-columns: 1fr; gap: 3rem; }
    .form-row { grid-template-columns: 1fr; }
}

/* --- FOOTER --- */

.footer {
    background: var(--footer-bg);
    padding: 5rem 0 3rem;
    color: var(--footer-text);
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer__logo {
    display: inline-block;
    margin-bottom: 1.25rem;
}

.footer__desc {
    font-size: 0.875rem;
    color: var(--footer-text);
    line-height: 1.75;
    max-width: 320px;
    margin-bottom: 0;
}

.footer__heading {
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.35);
    margin-bottom: 1.25rem;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer__link {
    font-size: 0.875rem;
    color: var(--footer-text);
    transition: color 0.2s var(--ease);
}

.footer__link:hover { color: #fff; }

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--footer-text);
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

.footer__icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Spalte 1: Logo + Desc + Copyright (flex, Copyright sinkt nach unten) */
.footer__col-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer__copy {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    margin-top: auto;
    padding-top: 1.5rem;
    margin-bottom: 0;
}

/* Spalte 4: Kontakt + Sprachumschalter (flex, Umschalter sinkt nach unten) */
.footer__col-contact {
    display: flex;
    flex-direction: column;
}

.footer__lang-switch {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    margin-top: auto;
    padding-top: 1.5rem;
    text-align: right;
    transition: color 0.2s var(--ease);
}

.footer__lang-switch:hover { color: rgba(255,255,255,0.6); }

/* Credit-Zeile — unter der Linie */
.footer__credit {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
    padding-top: 1.25rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0;
}

.footer__credit a {
    color: rgba(255,255,255,0.25);
    transition: color 0.2s var(--ease);
}

.footer__credit a:hover { color: rgba(255,255,255,0.5); }

@media (max-width: 960px) {
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 560px) {
    .footer__inner { grid-template-columns: 1fr; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* --- SUBPAGE HERO --- */

.subpage-hero {
    background: var(--tile-color);
    padding: 2rem 0 1.25rem;
    color: #fff;
}

.subpage-hero__eyebrow {
    font-family: var(--sans);
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.45);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.subpage-hero__eyebrow a {
    color: rgba(255,255,255,0.45);
    transition: color 0.2s var(--ease);
}

.subpage-hero__eyebrow a:hover { color: rgba(255,255,255,0.8); }

.subpage-hero__title {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 0;
}

/* --- LEGAL CONTENT (Impressum, Datenschutz) --- */

.legal-content {
    padding: 5rem 0 6rem;
}

.legal-body {
    margin: 0;
}

.legal-section {
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--rule-light);
}

.legal-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.legal-section h2 {
    font-family: var(--serif);
    font-size: clamp(1.25rem, 2vw, 1.625rem);
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.legal-section p,
.legal-section ul {
    font-size: 0.9375rem;
    color: var(--ink-mid);
    line-height: 1.85;
    margin-bottom: 0.75rem;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
    padding-left: 1.25rem;
    margin-top: 0.25rem;
}

.legal-section li { margin-bottom: 0.35rem; }

.legal-section a {
    color: var(--blue);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s var(--ease);
}

.legal-section a:hover { text-decoration-color: var(--blue); }

.legal-card {
    background: var(--bg-stone);
    border-left: 3px solid var(--gold);
    border-radius: 0 2px 2px 0;
    padding: 1.5rem 1.75rem;
}

.legal-card p {
    color: var(--ink);
    line-height: 1.9;
    margin-bottom: 0;
}


/* --- PORTFOLIO DETAIL PAGES --- */

.portfolio-content {
    padding: 5rem 0 6rem;
}

.portfolio-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 5rem;
    align-items: start;
}

/* Main content column */
.portfolio-main > h2 {
    font-family: var(--serif);
    font-size: clamp(1.375rem, 2.5vw, 1.875rem);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.25;
    margin: 2.75rem 0 1rem;
    padding-left: 1.125rem;
    border-left: 3px solid var(--gold);
}

.portfolio-main > h2:first-child { margin-top: 0; }

.portfolio-main > p {
    font-size: 0.9375rem;
    line-height: 1.85;
    color: var(--ink-mid);
    margin-bottom: 0.875rem;
}

.portfolio-main > ul {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.portfolio-main > ul > li {
    display: flex;
    gap: 0.875rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--ink-mid);
}

.portfolio-main > ul > li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    margin-top: 0.55em;
}

.portfolio-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--rule-light);
}

/* Sidebar */
.portfolio-sidebar {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.portfolio-contact-card {
    background: var(--bg-stone);
    border-left: 3px solid var(--gold);
    border-radius: 0 4px 4px 0;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
}

.portfolio-contact-card__eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-dark);
    margin-bottom: 0.625rem;
}

.portfolio-contact-card__title {
    font-family: var(--serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 0.625rem;
}

.portfolio-contact-card__text {
    font-size: 0.875rem;
    color: var(--ink-light);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.portfolio-contact-card__btn {
    align-self: flex-start;
    margin-bottom: 1.375rem;
}

.portfolio-contact-card__divider {
    border: none;
    border-top: 1px solid var(--rule);
    margin-bottom: 1.125rem;
}

.portfolio-contact-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.8125rem;
    color: var(--ink-light);
}

/* Areas nav */
.portfolio-areas {
    border: 1px solid var(--rule-light);
    border-radius: 4px;
    overflow: hidden;
}

.portfolio-areas__heading {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-light);
    padding: 0.875rem 1.25rem 0.75rem;
    border-bottom: 1px solid var(--rule-light);
    background: var(--bg-off);
    margin: 0;
}

.portfolio-areas__list {
    list-style: none;
    padding: 0.375rem 0;
    margin: 0;
}

.portfolio-areas__list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    color: var(--ink-mid);
    text-decoration: none;
    transition: color 0.15s, background 0.15s, padding-left 0.15s;
}

.portfolio-areas__list li a::after {
    content: '→';
    font-size: 0.75rem;
    opacity: 0.35;
    transition: opacity 0.15s, transform 0.15s;
}

.portfolio-areas__list li a:hover {
    color: var(--blue);
    background: rgba(37, 99, 235, 0.03);
    padding-left: 1.5rem;
}

.portfolio-areas__list li a:hover::after {
    opacity: 0.7;
    transform: translateX(3px);
}

.portfolio-areas__list li.active span {
    display: flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold-dark);
    background: rgba(245, 158, 11, 0.06);
}

.portfolio-areas__list li.active span::before {
    content: '–';
    margin-right: 0.5rem;
    opacity: 0.6;
}

@media (max-width: 960px) {
    .portfolio-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .portfolio-sidebar {
        position: static;
        display: none;
    }

    .portfolio-main { min-width: 0; }
    .portfolio-main h2,
    .portfolio-main p,
    .portfolio-main li { word-wrap: break-word; overflow-wrap: break-word; }

    .portfolio-contact-card { flex-direction: column; }
}

@media (max-width: 600px) {
    .portfolio-content { padding: 3rem 0 4rem; }
    .portfolio-pagination { flex-direction: column; gap: 1rem; align-items: flex-start; }
    .portfolio-main > h2 { font-size: 1.25rem; }
}
/* --- REVEAL ANIMATIONS --- */

.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-left { transform: translateX(-24px); }
.reveal-right { transform: translateX(24px); }

.reveal--visible,
.reveal-left--visible,
.reveal-right--visible {
    opacity: 1;
    transform: none;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* --- UTILITY --- */

.text-center { text-align: center; }
.text-center .sec-header__desc,
.text-center .sec-desc { margin-left: auto; margin-right: auto; }

/* Form success/error */
.form-success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    padding: 1rem 1.25rem;
    border-radius: 2px;
    color: var(--success);
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
}

.form-error-msg {
    color: var(--error);
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--rule); }

/* ============================================================
   RECHTSGEBIETE-KACHELN
   ============================================================ */

.tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    margin-top: 3rem;
}

.tile {
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2rem 2rem;
    background: var(--tile-color);
    color: #fff;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: background 0.3s var(--ease);
    min-height: 260px;
}

.tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transition: height 0.3s var(--ease);
}

.tile:hover {
    background: var(--blue-dark);
}

.tile:hover::before {
    height: 4px;
    background: var(--gold);
}

.tile__num {
    font-family: var(--serif);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.35);
    margin-bottom: 1.25rem;
    display: block;
}

.tile__title {
    font-family: var(--serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.875rem;
    line-height: 1.25;
}

.tile__desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    flex: 1;
    margin: 0;
}

.tile__arrow {
    display: block;
    margin-top: 1.5rem;
    font-size: 1.25rem;
    color: var(--gold);
    transition: transform 0.2s var(--ease);
    align-self: flex-end;
}

.tile:hover .tile__arrow {
    transform: translateX(5px);
}

@media (max-width: 900px) {
    .tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .tiles { grid-template-columns: 1fr; }
    .tile { min-height: auto; }
}

/* ============================================================
   KONTAKT-TEAM BLOCK
   ============================================================ */

/* --- CONTACT BLOCK --- */

.contact-block {
    background: var(--bg);
    border: 1px solid var(--rule-light);
    border-top: 3px solid var(--gold);
    padding: 2.5rem 2.5rem 2.75rem;
}

.contact-block__grid {
    display: grid;
    grid-template-columns: 180px 1fr 180px;
    gap: 2.5rem;
    align-items: start;
}

/* Center column: address, hours, buttons */
.contact-block__center {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 0.5rem;
}

.contact-info__item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-info__label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-dark);
}

.contact-info__value {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-mid);
}

.contact-block__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.contact-block__actions .btn {
    text-align: center;
    justify-content: center;
}

/* Staff-Cards: vertical, portrait photo */
.staff-card {
    text-align: center;
}

.staff-card__photo {
    width: 150px;
    height: 188px;
    margin: 0 auto 1rem;
    border-radius: 2px;
    overflow: hidden;
}

.staff-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-card__placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-stone);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-light);
    font-size: 0.8125rem;
    border: 1px dashed var(--rule);
}

.staff-card__name {
    font-family: var(--serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.2rem;
}

.staff-card__role {
    font-size: 0.75rem;
    color: var(--ink-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.625rem;
}

.staff-card__langs {
    display: flex;
    gap: 0.375rem;
    justify-content: center;
    align-items: center;
}

.lang-tag {
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--ink-light);
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .contact-block { padding: 2rem 1.75rem; }
    .contact-block__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-block__grid .staff-card { order: 1; }
    .contact-block__center { order: 0; }
    .contact-block__actions { flex-direction: row; gap: 1rem; flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .contact-block { padding: 1.5rem 1.25rem; }
    .contact-block__actions { flex-direction: column; }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: max(1rem, calc((100vw - 1240px) / 2 - 30px));
    z-index: 900;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    color: var(--ink-mid);
    text-decoration: none;
    border: 1px solid var(--rule);
    border-radius: 50%;
    font-size: 1.125rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.back-to-top--visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--bg-off);
    color: var(--ink);
    transform: translateY(-2px);
}

@media (max-width: 560px) {
    .back-to-top {
        bottom: 1.25rem;
        left: 1.25rem;
    }
}

/* ============================================================
   SCHWEBENDER TELEFON-BUTTON
   ============================================================ */

.phone-float {
    position: fixed;
    bottom: 2rem;
    right: max(1rem, calc((100vw - 1240px) / 2 - 30px));
    z-index: 900;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
    font-size: 1.375rem;
    transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.phone-float:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(37, 99, 235, 0.45);
}

.phone-float__text { display: none; }

@media (max-width: 560px) {
    .phone-float {
        bottom: 1.25rem;
        right: 1.25rem;
    }
}

/* ============================================================
   HERO CREDENTIALS
   ============================================================ */

.hero__credentials {
    border-left: 2px solid var(--gold);
    padding-left: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero__credentials-name {
    font-family: var(--serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 0.35rem;
    letter-spacing: 0.01em;
}

.hero__credentials-title {
    font-family: var(--sans);
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--ink-light);
    margin: 0;
}

/* ============================================================
   WELCOME SECTION
   ============================================================ */

.welcome__inner {
    max-width: none;
    width: 100%;
}

.welcome__inner .sec-header {
    margin-bottom: 0;
}

.welcome__body {
    margin-top: 1rem;
}

.welcome__lead {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--ink-mid);
    margin-bottom: 1.75rem;
}

.welcome__lead--bold {
    font-weight: 700;
    color: var(--ink);
}

.welcome__subtitle {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 1rem;
}

.welcome__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.welcome__list li {
    display: flex;
    gap: 0.875rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink-mid);
}

.welcome__list li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    margin-top: 0.575em;
}

.welcome__closing {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ink-mid);
    font-style: italic;
    padding-top: 0.25rem;
}
::-webkit-scrollbar-thumb:hover { background: var(--ink-light); }

/* ============================================================
   DARK-PETROL THEME OVERRIDES (v4 — Marion Günther Redesign)
   ============================================================ */

html, body {
    background: var(--petrol);
    color: var(--ink-mid);
}

/* Logo-Lockup: Säule (links) + Stack [SPYRA.LEGAL / MARION GÜNTHER] (rechts) — kompakt */
.header__logo {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    line-height: 1;
    text-decoration: none;
}
.logo__pillar {
    height: 36px;
    width: auto;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
    flex-shrink: 0;
}
.logo__stack {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}
.logo__word {
    height: 22px;
    width: auto;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
}
.logo__name {
    display: block;
    font-family: var(--sans);
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    text-align: center;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 9.5px;
    letter-spacing: 0.86em;
    text-indent: 0.86em;
    margin: 0;
    padding: 0;
}

/* Footer-Variante: identisches Verhältnis, leicht größer */
.footer__logo {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    line-height: 1;
    margin-bottom: 1.25rem;
    opacity: 0.92;
}
.footer__logo .logo__pillar { height: 44px; }
.footer__logo .logo__word { height: 26px; }
.footer__logo .logo__name {
    font-size: 11px;
    letter-spacing: 0.92em;
    text-indent: 0.92em;
    color: rgba(255,255,255,0.72);
}

@media (max-width: 560px) {
    .header__logo { gap: 6px; }
    .logo__pillar { height: 30px; }
    .logo__word { height: 18px; }
    .header__logo .logo__name { font-size: 8px; letter-spacing: 0.7em; text-indent: 0.7em; }
}

/* Nav-Dropdown auf dunkles Petrol */
.nav__dropdown {
    background: var(--petrol-dark);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 4px 16px rgba(0,0,0,0.25);
}
.nav__dropdown-link { color: rgba(255,255,255,0.78); }
.nav__dropdown-link:hover {
    color: var(--accent);
    background: rgba(250,159,102,0.08);
}
.nav__link { color: rgba(255,255,255,0.78); }
.nav__link:hover, .nav__link--active { color: #ffffff; }

.nav__lang {
    color: rgba(255,255,255,0.6);
    border-color: rgba(255,255,255,0.25);
}
.nav__lang:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Hero */
.hero {
    background:
        radial-gradient(circle at 85% 15%, rgba(250,159,102,0.10), transparent 55%),
        radial-gradient(circle at 10% 110%, rgba(250,159,102,0.05), transparent 60%),
        var(--petrol);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero__title { color: #ffffff; }
.hero__title em { color: var(--accent); font-style: italic; }

/* Hero-Foto: prominenter, größer */
.hero__inner {
    grid-template-columns: 1fr 380px;
    gap: 4rem;
}
.hero__photo-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    min-height: 460px;
    background:
        linear-gradient(135deg, rgba(250,159,102,0.18), rgba(250,159,102,0.04));
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 4px;
    color: rgba(255,255,255,0.5);
    position: relative;
    overflow: hidden;
}
.hero__photo-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(250,159,102,0.18);
    border-radius: 4px;
    pointer-events: none;
    transform: translate(10px, 10px);
}

.hero__photo {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 18px 48px rgba(0,0,0,0.35), 0 4px 14px rgba(0,0,0,0.2);
    position: relative;
    display: block;
}
.hero__right {
    position: relative;
}
.hero__right::after {
    content: '';
    position: absolute;
    inset: 14px -14px -14px 14px;
    border: 1px solid rgba(250,159,102,0.35);
    border-radius: 4px;
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 1000px) {
    .hero__inner { grid-template-columns: 1fr 320px; gap: 3rem; }
    .hero__photo-placeholder { min-height: 380px; }
}
@media (max-width: 800px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__right { display: flex; order: -1; margin-bottom: 2rem; max-width: 320px; margin-left: auto; margin-right: auto; }
    .hero__right::after { inset: 10px -10px -10px 10px; }
    .hero__photo-placeholder { min-height: 320px; max-width: 360px; margin: 0 auto; }
    .hero__photo { max-width: 320px; margin: 0 auto; }
}

/* Hero-Credentials: heller Apricot-Akzent */
.hero__credentials {
    border-left: 2px solid var(--accent);
}
.hero__credentials-name { color: #ffffff; }
.hero__credentials-title { color: rgba(255,255,255,0.65); }

/* Sec-Header / Eyebrows */
.sec-header__eyebrow,
.sec-label,
.contact-info__label,
.welcome__subtitle,
.staff-card__role,
.testimonial__role,
.portfolio-contact-card__eyebrow,
.portfolio-areas__heading {
    color: var(--accent);
}
.sec-header__eyebrow::before,
.sec-label::before {
    background: var(--accent);
}
.sec-header__title,
.sec-title,
.welcome__lead--bold,
h1, h2, h3, h4 { color: #ffffff; }

.welcome__list li { color: rgba(255,255,255,0.85); }
.welcome__list li::before { background: var(--accent); }
.welcome__closing { color: rgba(255,255,255,0.7); }

/* Section-Variante --warm: leicht abgehobenes Petrol */
.section--warm {
    background: var(--petrol-dark);
}

/* Tiles: dunkleres Petrol-Card mit Apricot-Hover */
.tiles {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
}
.tile {
    background: var(--petrol-dark);
    border-top: none;
}
.tile::before { background: var(--accent); }
.tile:hover { background: var(--petrol-deep); }
.tile:hover::before { background: var(--accent-soft); height: 4px; }
.tile__num { color: rgba(250,159,102,0.55); }
.tile__title { color: #ffffff; }
.tile__desc { color: rgba(255,255,255,0.65); }
.tile__arrow { color: var(--accent); }

/* Testimonials */
.testimonials-grid { border-top-color: rgba(255,255,255,0.10); }
.testimonial { border-color: rgba(255,255,255,0.10); }
.testimonial::before { color: var(--accent); }
.testimonial__stars { color: var(--accent); }
.testimonial__text { color: rgba(255,255,255,0.85); }
.testimonial__author { color: #ffffff; }

/* Contact-Block: hervorgehobene Karte */
.contact-block {
    background: var(--petrol-dark);
    border: 1px solid rgba(255,255,255,0.10);
    border-top: 3px solid var(--accent);
}
.staff-card__name { color: #ffffff; }
.staff-card__placeholder {
    background: rgba(255,255,255,0.04);
    border: 1px dashed rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.45);
}
.lang-tag { color: rgba(255,255,255,0.55); }
.contact-info__value { color: rgba(255,255,255,0.85); }
.contact-info__value a { color: rgba(255,255,255,0.85); }
.contact-info__value a:hover { color: var(--accent); }

/* Buttons */
.btn--filled {
    background: var(--accent);
    color: var(--petrol-deep);
    border-color: var(--accent);
    font-weight: 700;
}
.btn--filled:hover {
    background: var(--accent-soft);
    border-color: var(--accent-soft);
    color: var(--petrol-deep);
}
.btn--ghost {
    border: 1.5px solid rgba(255,255,255,0.32);
    color: #ffffff;
    background: transparent;
}
.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(250,159,102,0.05);
}
.btn--white {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--petrol-deep);
}
.btn--text { color: var(--accent); }
.btn--text:hover { color: var(--accent-soft); }

a { color: var(--accent); }
a:hover { color: var(--accent-soft); }

/* Footer */
.footer { background: var(--petrol-deep); color: var(--footer-text); }
.footer__inner { border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer__heading { color: rgba(255,255,255,0.45); }
.footer__link, .footer__contact-item { color: rgba(255,255,255,0.78); }
.footer__link:hover { color: var(--accent); }
.footer__copy, .footer__lang-switch, .footer__credit { color: rgba(255,255,255,0.35); }
.footer__credit a { color: rgba(255,255,255,0.45); }

/* Subpage-Hero — orange Strich-Eyebrow + große Serif-Headline (wie Referenzen-Section) */
.subpage-hero {
    background: var(--petrol);
    border-bottom: none;
    padding: 5.5rem 0 1.5rem;
}
/* erste Section nach Subpage-Hero rückt enger an die Überschrift */
.subpage-hero + main > .section:first-of-type,
.subpage-hero + main > .legal-content:first-of-type,
.subpage-hero + main > .portfolio-content:first-of-type {
    padding-top: 3rem;
}
.subpage-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    max-width: 100%;
    gap: 0.75rem;
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    word-break: break-word;
    color: var(--accent);
    margin: 0 0 1.25rem;
}
.subpage-hero__eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--accent);
    flex-shrink: 0;
}
.subpage-hero__eyebrow a {
    color: var(--accent);
    text-decoration: none;
}
.subpage-hero__eyebrow a:hover { color: var(--accent-soft); }
.subpage-hero__title {
    font-family: var(--serif);
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.15;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
}
.subpage-hero__subtitle {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 400;
    line-height: 1.3;
    color: var(--accent);
    margin: 0.4rem 0 0;
    letter-spacing: 0.005em;
}
@media (max-width: 800px) {
    .subpage-hero { padding: 3.5rem 0 1rem; }
    .subpage-hero + main > .section:first-of-type,
    .subpage-hero + main > .legal-content:first-of-type,
    .subpage-hero + main > .portfolio-content:first-of-type {
        padding-top: 2rem;
    }
}

/* Portfolio-Bereiche */
.portfolio-main > h2 { border-left-color: var(--accent); color: #ffffff; }
.portfolio-main > p { color: rgba(255,255,255,0.82); }
.portfolio-main > ul > li { color: rgba(255,255,255,0.82); }
.portfolio-main > ul > li::before { background: var(--accent); }
.portfolio-pagination { border-top-color: rgba(255,255,255,0.10); }

.portfolio-contact-card,
.legal-card {
    background: var(--petrol-dark);
    border-left: 3px solid var(--accent);
    border-radius: 0 4px 4px 0;
}
.portfolio-contact-card__title,
.legal-card p { color: #ffffff; }
.portfolio-contact-card__text { color: rgba(255,255,255,0.7); }
.portfolio-contact-card__divider { border-top-color: rgba(255,255,255,0.12); }
.portfolio-contact-card__meta { color: rgba(255,255,255,0.6); }

.portfolio-areas {
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.10);
}
.portfolio-areas__heading {
    background: rgba(0,0,0,0.18);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: var(--accent);
}
.portfolio-areas__list li a { color: rgba(255,255,255,0.78); }
.portfolio-areas__list li a:hover {
    color: var(--accent);
    background: rgba(250,159,102,0.06);
}
.portfolio-areas__list li.active span {
    color: var(--accent);
    background: rgba(250,159,102,0.10);
}

/* Legal-Inhalt */
.legal-section h2 { color: #ffffff; }
.legal-section p, .legal-section ul, .legal-section li { color: rgba(255,255,255,0.82); }
.legal-section a { color: var(--accent); text-decoration-color: rgba(250,159,102,0.5); }
.legal-section a:hover { text-decoration-color: var(--accent); }

/* Form-Eingaben — bleiben hell für Lesbarkeit */
.form-group__label { color: rgba(255,255,255,0.7); }
.form-group__input,
.form-group__select,
.form-group__textarea {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    color: #ffffff;
}
.form-group__input::placeholder,
.form-group__textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-group__input:focus,
.form-group__select:focus,
.form-group__textarea:focus { border-color: var(--accent); }
.form-checkbox__label { color: rgba(255,255,255,0.7); }

/* Skip-Link */
.skip-link { background: var(--accent); color: var(--petrol-deep); }

/* FAQ */
.faq__question { color: #ffffff; }
.faq__question:hover { color: var(--accent); }
.faq__question[aria-expanded="true"] { color: var(--accent); }
.faq__icon::before, .faq__icon::after { background: rgba(255,255,255,0.7); }
.faq__answer-inner { color: rgba(255,255,255,0.75); }
.faq__item { border-bottom-color: rgba(255,255,255,0.10); }

/* About */
.about__qual { color: rgba(255,255,255,0.85); border-bottom-color: rgba(255,255,255,0.08); }
.about__qual::before { background: var(--accent); }
.about__text { color: rgba(255,255,255,0.85); }

/* Maps-Placeholder */
.maps-placeholder {
    background: var(--petrol-dark);
    border: 1px solid rgba(255,255,255,0.10);
}
.maps-placeholder:hover { background: rgba(0,0,0,0.18); }
.maps-placeholder__text { color: #ffffff; }
.maps-placeholder__hint { color: rgba(255,255,255,0.65); }
.maps-placeholder__hint a { color: var(--accent); }

/* Practices */
.practice:hover { background: rgba(255,255,255,0.04); }
.practice__num { color: var(--accent); }
.practice__title { color: #ffffff; }
.practice__desc { color: rgba(255,255,255,0.7); }
.practice__link { color: var(--accent); }
.practice__link:hover { color: var(--accent-soft); }

/* Steps */
.step__num { color: rgba(250,159,102,0.30); }
.step__title { color: #ffffff; }
.step__desc { color: rgba(255,255,255,0.7); }

/* Trust-Bar */
.trust-bar { background: var(--petrol-dark); border-color: rgba(255,255,255,0.10); }
.trust-bar__value { color: var(--accent); }
.trust-bar__label { color: rgba(255,255,255,0.7); }

/* Phone Float — Apricot statt Blau */
.phone-float {
    background: var(--accent);
    color: var(--petrol-deep);
    box-shadow: 0 6px 24px rgba(250,159,102,0.45);
}
.phone-float:hover {
    background: var(--accent-soft);
    color: var(--petrol-deep);
    box-shadow: 0 8px 30px rgba(250,159,102,0.55);
}

/* Back to Top */
.back-to-top {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.8);
}
.back-to-top:hover {
    background: rgba(250,159,102,0.10);
    color: var(--accent);
    border-color: var(--accent);
}

/* CTA Band auf Apricot */
.cta-band {
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}
.cta-band::before { color: rgba(0,0,0,0.06); }
.cta-band__title { color: var(--petrol-deep); }
.cta-band__desc { color: rgba(0,0,0,0.65); }

/* Scrollbar */
::-webkit-scrollbar-track { background: var(--petrol-deep); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ============================================================
   TEAM PAGE
   ============================================================ */

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}
.team-card {
    background: var(--petrol-dark);
    border: 1px solid rgba(255,255,255,0.10);
    border-top: 3px solid var(--accent);
    padding: 2rem 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.team-card:hover {
    transform: translateY(-4px);
    border-color: rgba(250,159,102,0.4);
}
.team-card__photo {
    width: 100%;
    aspect-ratio: 4/5;
    background: rgba(255,255,255,0.04);
    border: 1px dashed rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
}
.team-card__photo img { width:100%; height:100%; object-fit:cover; }
.team-card__name {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}
.team-card__role {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 0.25rem;
}
.team-card__bio {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.78);
    margin: 0;
}
.team-card--lead {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: start;
}
.team-card--lead > div:not(.team-card__photo),
.team-card--lead > p,
.team-card--lead > ul {
    grid-column: 2;
}
.team-card--lead .team-card__photo {
    grid-column: 1;
    grid-row: 1 / 5;
    aspect-ratio: 4/5;
    margin-bottom: 0;
}
@media (max-width: 800px) {
    .team-card--lead { grid-template-columns: 1fr; gap: 1rem; }
    .team-card--lead .team-card__photo,
    .team-card--lead > div:not(.team-card__photo),
    .team-card--lead > p,
    .team-card--lead > ul { grid-column: 1; grid-row: auto; }
    .team-card--lead .team-card__photo { max-width: 280px; margin: 0 auto 1rem; }
}

.team-card__cv {
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.team-card__cv li {
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.78);
    display: flex;
    gap: 0.75rem;
}
.team-card__cv li::before {
    content: '';
    flex-shrink: 0;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: 0.55em;
}
.team-card__cv-year {
    font-family: var(--serif);
    font-weight: 600;
    color: var(--accent);
    flex-shrink: 0;
    min-width: 4ch;
}

@media (max-width: 800px) {
    .team-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .team-card { padding: 1.5rem 1.5rem 1.75rem; }
}

/* Mobile-Tuning */
@media (max-width: 800px) {
    .container { padding: 0 1.25rem; }
    .section { padding: 4rem 0; }
    .hero { padding: 3.5rem 0 3rem; }
    .hero__title { font-size: clamp(1.5rem, 6vw, 2rem); margin-bottom: 1.75rem; }
    .hero__credentials { padding-left: 0.875rem; max-width: 100%; }
    .sec-header { margin-bottom: 2.25rem; }
    .tiles { margin-top: 2rem; }
    .tile { padding: 1.75rem 1.5rem; min-height: auto; }
    .footer { padding: 3.5rem 0 2.5rem; }
    .footer__inner { padding-bottom: 1.5rem; gap: 2rem; }
    .footer__contact-item { font-size: 0.85rem; }
}

/* Anwältin-Page Box (bg-stone) — auf dark Petrol bringen */
.about__image { filter: none; }

/* ============================================================
   VARIANTE 3 — Logo als großes Wasserzeichen im Hero
   Header trägt nur Wortmarke, Hero-Layout bleibt wie Variante 1
   ============================================================ */

/* Header-Wortmarke (gleich wie Variante 2) */
.header__wordmark {
    height: 20px;
    width: auto;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
}
@media (max-width: 560px) {
    .header__wordmark { height: 16px; }
}

/* Hero v3 — Wasserzeichen-Logo füllt den Hintergrund */
.hero--v3 {
    position: relative;
    overflow: hidden;
}

.hero--v3 .hero__watermark {
    position: absolute;
    top: 50%;
    /* Linksbündig zum Container-Inhalt (= wo der Text auch beginnt) */
    left: max(2.5rem, calc((100vw - var(--max-w)) / 2 + 2.5rem));
    transform: translateY(-50%);
    height: 88%;
    width: auto;
    opacity: 0.07;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    filter: blur(0.3px);
}

/* Variante 3: orangenen Rahmen hinter dem Foto entfernen */
.hero--v3 .hero__right::after { display: none; }

/* Inhalt über das Wasserzeichen heben */
.hero--v3 > .container {
    position: relative;
    z-index: 1;
}

/* Optionaler Apricot-Trennstrich unter der Headline */
.hero--v3 .hero__rule {
    width: 56px;
    height: 2px;
    background: var(--accent);
    border: 0;
    margin: clamp(1.5rem, 2.5vw, 2rem) 0;
}

/* Tablet: linksbündig bleibt, etwas kleiner */
@media (max-width: 1000px) {
    .hero--v3 .hero__watermark {
        left: 2.5rem;
        height: 78%;
        opacity: 0.07;
    }
}

/* Mobile: kleiner, leicht nach oben */
@media (max-width: 760px) {
    .hero--v3 .hero__watermark {
        left: 1.25rem;
        top: 32%;
        height: auto;
        width: min(80vw, 380px);
        opacity: 0.06;
    }
    .hero--v3 .hero__rule { margin-left: 0; margin-right: 0; }
}

/* ============================================================
   VARIANTE 4 — Wappen-Layout (Konzept B)
   Logo + rundes Foto nebeneinander zentriert oben,
   Begrüßungstext zentriert darunter
   ============================================================ */

.hero--v4 {
    padding: clamp(4rem, 8vw, 7rem) 0 clamp(3.5rem, 6vw, 5rem);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background:
        radial-gradient(circle at 50% 0%, rgba(250,159,102,0.10), transparent 55%),
        radial-gradient(circle at 50% 110%, rgba(250,159,102,0.06), transparent 55%),
        var(--petrol);
}

.hero--v4 .hero__inner {
    /* Override Grid aus Variante 1 */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    grid-template-columns: none;
    gap: 0;
}

/* Wappen-Block: Logo + rundes Foto nebeneinander */
.hero--v4 .hero__crest {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.hero--v4 .hero__crest-logo {
    width: clamp(180px, 18vw, 280px);
    height: auto;
    display: block;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.30));
}

.hero--v4 .hero__crest-photo {
    width: clamp(160px, 16vw, 220px);
    height: clamp(160px, 16vw, 220px);
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.18);
    box-shadow: 0 18px 48px rgba(0,0,0,0.35), 0 4px 14px rgba(0,0,0,0.2);
    background: var(--petrol-dark);
    flex-shrink: 0;
    position: relative;
}
.hero--v4 .hero__crest-photo::after {
    /* Goldener Außen-Ring als Wappen-Akzent */
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(250,159,102,0.35);
    pointer-events: none;
}
.hero--v4 .hero__crest-photo .hero__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    aspect-ratio: auto;
}

/* Begrüßungs-Block zentriert */
.hero--v4 .hero__intro {
    max-width: 680px;
    text-align: center;
}

.hero--v4 .hero__intro .hero__eyebrow {
    margin-bottom: 1.25rem;
    justify-content: center;
}

.hero--v4 .hero__intro .hero__title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.15;
    margin: 0;
    color: #ffffff;
}
.hero--v4 .hero__intro .hero__title em {
    color: var(--accent);
    font-style: italic;
}

.hero--v4 .hero__rule {
    width: 64px;
    height: 2px;
    background: var(--accent);
    border: 0;
    margin: clamp(1.75rem, 3vw, 2.25rem) auto;
}

.hero--v4 .hero__credentials {
    margin: 0 auto;
    padding: 0;
    border-left: 0;
    text-align: center;
    display: inline-block;
    max-width: 560px;
}
.hero--v4 .hero__credentials-name { color: #ffffff; }
.hero--v4 .hero__credentials-title { color: rgba(255,255,255,0.65); }

/* Tablet */
@media (max-width: 900px) {
    .hero--v4 .hero__crest {
        gap: 2rem;
    }
    .hero--v4 .hero__crest-logo {
        width: clamp(160px, 22vw, 220px);
    }
    .hero--v4 .hero__crest-photo {
        width: clamp(140px, 18vw, 180px);
        height: clamp(140px, 18vw, 180px);
    }
}

/* Mobile: Wappen-Elemente untereinander stapeln */
@media (max-width: 560px) {
    .hero--v4 {
        padding: 3rem 0 2.5rem;
    }
    .hero--v4 .hero__crest {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    .hero--v4 .hero__crest-logo {
        width: clamp(160px, 44vw, 220px);
    }
    .hero--v4 .hero__crest-photo {
        width: clamp(140px, 38vw, 180px);
        height: clamp(140px, 38vw, 180px);
    }
}

/* ============================================================
   Pastel-Feedback-Anpassungen (Marion Günther, 22.05.2026)
   ============================================================ */

/* #26: Hero-Foto Top-Crop — Haare nicht abschneiden */
.hero__photo { object-position: center top; }

/* #4: Hero-Credentials-Name größer ("Marion Günther") */
.hero__credentials-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

/* #3: Welcome-Lead Bold größer (Begrüßungssatz "Anwaltsboutique...") */
.welcome__lead--bold {
    font-size: 1.25rem;
    line-height: 1.6;
}

/* #10: Marion-Foto im Team größer als die anderen */
.team-card--lead .team-card__photo {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}
.team-card--lead .team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
@media (min-width: 760px) {
    .team-card--lead .team-card__photo { max-width: 480px; }
}

/* #6 + #28: Kontakt-Block "Sprechen Sie mich an" — voll-amber wie CTA-Band */
.section--warm .contact-block {
    background: var(--accent);
    border: none;
    border-radius: 8px;
    padding: clamp(2.5rem, 4vw, 3.5rem) clamp(1.75rem, 3.5vw, 3rem);
    box-shadow: 0 16px 40px rgba(0,0,0,0.22);
    position: relative;
    overflow: hidden;
}
/* dezentes SPYRA.LEGAL-Wasserzeichen im Hintergrund (analog .cta-band::before) */
.section--warm .contact-block::before {
    content: 'SPYRA.LEGAL';
    position: absolute;
    font-family: var(--serif);
    font-size: clamp(8rem, 18vw, 18rem);
    font-weight: 700;
    color: rgba(255,255,255,0.10);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    line-height: 1;
}
.section--warm .contact-block > * {
    position: relative;
    z-index: 1;
}
.section--warm .contact-block .contact-info__label {
    font-size: 0.75rem;
    color: rgba(0,0,0,0.55);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.section--warm .contact-block .contact-info__value {
    font-size: 1.15rem;
    line-height: 1.55;
    color: var(--ink);
}
.section--warm .contact-block .contact-info__value a {
    color: var(--ink);
    text-decoration: none;
}
.section--warm .contact-block .contact-info__value a:hover {
    color: #ffffff;
}
.section--warm .contact-block .contact-info__item {
    margin-bottom: 1.5rem;
}
/* Buttons — Filled = weiß mit Petrol-Text (wie Vorlage CTA-Band); Ghost = Petrol-Outline */
.section--warm .contact-block .btn--filled {
    background: #ffffff;
    color: var(--petrol);
    border: 1px solid #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.95rem 1.75rem;
}
.section--warm .contact-block .btn--filled:hover {
    background: var(--petrol);
    color: #ffffff;
    border-color: var(--petrol);
}
.section--warm .contact-block .btn--ghost {
    background: transparent;
    color: var(--petrol);
    border: 1px solid var(--petrol);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.95rem 1.75rem;
}
.section--warm .contact-block .btn--ghost:hover {
    background: var(--petrol);
    color: var(--accent);
    border-color: var(--petrol);
}
.section--warm .contact-block .contact-block__actions {
    margin-top: 1.75rem;
    gap: 0.875rem;
}

@media (max-width: 600px) {
    .section--warm .contact-block::before { font-size: 6rem; }
    .section--warm .contact-block .contact-info__value { font-size: 1.0625rem; }
    .section--warm .contact-block .btn--filled,
    .section--warm .contact-block .btn--ghost { font-size: 1rem; padding: 0.8rem 1.4rem; width: 100%; }
}

/* ============================================================
   Welcome-Section: Team-Gruppenfoto mit Amber-Akzentrahmen
   ============================================================ */

.welcome__group-photo {
    margin: clamp(3rem, 6vw, 4.5rem) auto 0;
    max-width: 760px;
    padding: 0;
    text-align: center;
}

.welcome__group-photo-frame {
    position: relative;
    display: block;
    line-height: 0;            /* keine Baseline-Lücke unter dem Bild */
}

/* Versetzter Amber-Akzentrahmen unten rechts — visueller „Stempel" */
.welcome__group-photo-frame::after {
    content: '';
    position: absolute;
    inset: 16px -16px -16px 16px;
    border: 1px solid rgba(250,159,102,0.45);
    border-radius: 4px;
    pointer-events: none;
    z-index: -1;
}

.welcome__group-photo-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 22px 48px rgba(0,0,0,0.30), 0 6px 16px rgba(0,0,0,0.18);
    /* leichte Sättigung — Foto wirkt etwas wärmer */
    filter: saturate(1.04);
}

.welcome__group-photo-caption {
    margin-top: 1.5rem;
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}
.welcome__group-photo-caption::before,
.welcome__group-photo-caption::after {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--accent);
    opacity: 0.6;
}

@media (max-width: 760px) {
    .welcome__group-photo {
        max-width: 100%;
        margin-top: 2.5rem;
    }
    .welcome__group-photo-frame::after {
        inset: 10px -10px -10px 10px;
    }
    .welcome__group-photo-caption {
        font-size: 0.625rem;
        letter-spacing: 0.18em;
    }
    .welcome__group-photo-caption::before,
    .welcome__group-photo-caption::after {
        width: 18px;
    }
}



/* ============================================================
   A11Y-FIXES (Lighthouse-Konformität)
   ============================================================ */

/* Inline-Links im Body-Content unterstreichen (Lighthouse: Links nur durch Farbe) */
.welcome__body a,
.welcome__lead a,
.welcome__closing a,
.legal-body a,
.legal-card a,
.testimonial__text a,
.portfolio-main a,
.portfolio-contact-card__meta a,
.subpage-hero__eyebrow a,
.cta-band__desc a,
.footer__desc a,
.footer__credit a,
.maps-placeholder a {
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-thickness: 1px;
}

.welcome__body a:hover,
.legal-body a:hover,
.testimonial__text a:hover {
    text-decoration-thickness: 2px;
}

/* Buttons/Tiles/Nav/Footer-Links bleiben ohne Unterstreichung */
.btn,
.tile,
.nav__link,
.nav__dropdown-link,
.nav__lang,
.header__lang,
.footer__link,
.footer__lang-switch,
.portfolio-contact-card__btn,
.portfolio-areas__list a,
.portfolio-pagination a,
.testimonial__author,
.team-card a,
.skip-link {
    text-decoration: none;
}
