/* =========================================================
   Vertrags Werkstatt — Mag. Doris-Bettina Fürtbauer
   Classical law firm style: Dunkelblau + Gold
   ========================================================= */

:root {
    --primary-dark: #0d2340;
    --primary-darker: #081a30;
    --primary-mid: #1a3358;
    --accent-gold: #b8964a;
    --accent-gold-light: #d4b063;
    --accent-gold-dark: #8a6f33;
    --bg-cream: #faf8f3;
    --bg-paper: #f4f0e6;
    --bg-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-body: #2c2c2c;
    --text-muted: #6a6a6a;
    --border: #e5e0d4;
    --border-strong: #c9c2b0;
    --shadow-sm: 0 2px 8px rgba(13, 35, 64, 0.06);
    --shadow-md: 0 8px 24px rgba(13, 35, 64, 0.10);
    --shadow-lg: 0 20px 60px rgba(13, 35, 64, 0.15);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg-cream);
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
    font-weight: 500;
    color: var(--primary-dark);
    line-height: 1.2;
    letter-spacing: 0.01em;
    margin: 0 0 0.6em 0;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1em 0; }
a { color: var(--accent-gold-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

/* ---------- Layout ---------- */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}
.container-narrow {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ---------- Header / Navigation ---------- */
.site-header {
    background: var(--primary-dark);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(184, 150, 74, 0.3);
}
.site-header .top-bar {
    background: var(--primary-darker);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    padding: 8px 0;
    letter-spacing: 0.04em;
}
.site-header .top-bar .container {
    display: flex;
    justify-content: flex-end;
    gap: 28px;
}
.site-header .top-bar a { color: rgba(255,255,255,0.7); }
.site-header .top-bar a:hover { color: var(--accent-gold-light); }

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}
.brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-decoration: none;
    color: #fff;
}
.brand-mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #fff;
}
.brand-mark .gold { color: var(--accent-gold-light); }
.brand-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

.nav-menu {
    display: flex;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-menu a {
    color: rgba(255,255,255,0.85);
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all .2s;
}
.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-gold-light);
    border-bottom-color: var(--accent-gold);
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background:
        linear-gradient(135deg, rgba(13,35,64,0.92) 0%, rgba(8,26,48,0.88) 100%),
        radial-gradient(circle at 20% 80%, rgba(184,150,74,0.18) 0%, transparent 55%);
    color: #fff;
    padding: 120px 0 140px;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        repeating-linear-gradient(45deg,
            rgba(255,255,255,0.015) 0px,
            rgba(255,255,255,0.015) 1px,
            transparent 1px,
            transparent 12px);
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero .eyebrow {
    color: var(--accent-gold-light);
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 24px;
    font-weight: 500;
}
.hero h1 {
    color: #fff;
    margin-bottom: 28px;
}
.hero h1 .gold { color: var(--accent-gold-light); font-style: italic; }
.hero .lede {
    font-size: 1.18rem;
    color: rgba(255,255,255,0.85);
    max-width: 620px;
    margin-bottom: 40px;
    line-height: 1.6;
}
.hero-rule {
    width: 80px;
    height: 2px;
    background: var(--accent-gold);
    margin: 0 0 32px 0;
    border: none;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid var(--accent-gold);
    background: transparent;
    color: var(--accent-gold-light);
    cursor: pointer;
    transition: all .25s;
    text-decoration: none;
}
.btn:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}
.btn-primary {
    background: var(--accent-gold);
    color: var(--primary-dark);
}
.btn-primary:hover {
    background: var(--accent-gold-light);
    color: var(--primary-darker);
}
.btn-dark {
    border-color: var(--primary-dark);
    color: var(--primary-dark);
}
.btn-dark:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* ---------- Sections ---------- */
section { padding: 100px 0; }
.section-light { background: var(--bg-white); }
.section-cream { background: var(--bg-cream); }
.section-paper { background: var(--bg-paper); }
.section-dark {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.9);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--accent-gold-light); }

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 70px;
}
.section-head .eyebrow {
    color: var(--accent-gold-dark);
    font-size: 0.78rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 18px;
}
.section-head h2 { margin-bottom: 18px; }
.section-head .subline {
    color: var(--text-muted);
    font-size: 1.08rem;
}

.divider {
    width: 60px;
    height: 1px;
    background: var(--accent-gold);
    margin: 24px auto;
    border: none;
}

/* ---------- Cards / Practice areas ---------- */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}
.area-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    padding: 48px 36px;
    transition: all .3s;
    position: relative;
    border-top: 3px solid var(--accent-gold);
}
.area-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.area-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-dark);
    color: var(--accent-gold-light);
    margin-bottom: 28px;
}
.area-card h3 {
    margin-bottom: 16px;
    color: var(--primary-dark);
}
.area-card p {
    color: var(--text-muted);
    font-size: 0.97rem;
}
.area-card ul {
    margin: 16px 0 0 0;
    padding: 0;
    list-style: none;
}
.area-card li {
    padding: 8px 0 8px 22px;
    position: relative;
    font-size: 0.94rem;
    color: var(--text-body);
    border-bottom: 1px solid var(--border);
}
.area-card li:last-child { border-bottom: none; }
.area-card li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 700;
}

/* ---------- About / Profile ---------- */
.profile {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: center;
}
.profile-image {
    background: var(--primary-dark);
    aspect-ratio: 4/5;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.profile-image::before {
    content: "";
    position: absolute;
    top: 16px; left: 16px;
    right: -16px; bottom: -16px;
    border: 1px solid var(--accent-gold);
    z-index: -1;
}
.profile-image-placeholder {
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-mid) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold-light);
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-style: italic;
}
.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
}
.profile-content .eyebrow {
    color: var(--accent-gold-dark);
    font-size: 0.78rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 18px;
}
.profile-content h2 { margin-bottom: 8px; }
.profile-content .role {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 28px;
    font-style: italic;
}

/* ---------- CTA / Quote band ---------- */
.quote-band {
    text-align: center;
    padding: 100px 0;
    background: var(--primary-dark);
    color: #fff;
    position: relative;
}
.quote-band::before {
    content: """;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Cormorant Garamond', serif;
    font-size: 8rem;
    color: var(--accent-gold);
    opacity: 0.4;
    line-height: 1;
}
.quote-band blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-style: italic;
    line-height: 1.5;
    max-width: 820px;
    margin: 0 auto;
    color: #fff;
    padding-top: 40px;
}
.quote-band cite {
    display: block;
    margin-top: 28px;
    font-style: normal;
    font-size: 0.85rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--accent-gold-light);
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}
.contact-info dl {
    margin: 0;
}
.contact-info dt {
    font-size: 0.78rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-gold-dark);
    font-weight: 600;
    margin-top: 28px;
}
.contact-info dt:first-of-type { margin-top: 0; }
.contact-info dd {
    margin: 8px 0 0 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}
.contact-info a { color: var(--text-dark); }
.contact-info a:hover { color: var(--accent-gold-dark); }

.contact-form .field {
    margin-bottom: 22px;
}
.contact-form label {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-strong);
    background: var(--bg-white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color .2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}
.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}
.contact-form .privacy-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 12px 0 22px;
    line-height: 1.5;
}

/* ---------- Page header (subpages) ---------- */
.page-header {
    background: var(--primary-dark);
    color: #fff;
    padding: 80px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--accent-gold) 50%,
        transparent 100%);
}
.page-header h1 {
    color: #fff;
    margin-bottom: 0;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
}
.page-header .breadcrumb {
    font-size: 0.78rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--accent-gold-light);
    margin-bottom: 16px;
}

/* ---------- Prose (legal pages) ---------- */
.prose h2 {
    margin-top: 2.5em;
    padding-top: 1.5em;
    border-top: 1px solid var(--border);
    font-size: 1.6rem;
}
.prose h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.prose h3 {
    margin-top: 2em;
    font-size: 1.2rem;
}
.prose p { color: var(--text-body); }
.prose ul, .prose ol {
    color: var(--text-body);
    padding-left: 1.4em;
}
.prose li { margin-bottom: 0.5em; }
.prose .placeholder {
    background: rgba(184, 150, 74, 0.12);
    padding: 2px 6px;
    border-radius: 2px;
    color: var(--accent-gold-dark);
    font-style: italic;
    font-size: 0.95em;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--primary-darker);
    color: rgba(255,255,255,0.7);
    padding: 70px 0 30px;
    font-size: 0.92rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.site-footer h4 {
    color: var(--accent-gold-light);
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 22px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a {
    color: rgba(255,255,255,0.7);
}
.site-footer a:hover {
    color: var(--accent-gold-light);
}
.footer-brand .brand-mark { font-size: 1.65rem; }
.footer-brand p {
    margin-top: 16px;
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    line-height: 1.6;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav-menu {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        gap: 0;
        padding: 12px 0;
        border-top: 1px solid rgba(255,255,255,0.08);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }
    .nav-menu.open { max-height: 500px; }
    .nav-menu li {
        padding: 0 32px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .nav-menu li:last-child { border-bottom: none; }
    .nav-menu a { display: block; padding: 14px 0; }
    .site-header .top-bar .container { justify-content: center; gap: 18px; }

    .profile { grid-template-columns: 1fr; gap: 48px; }
    .profile-image { max-width: 320px; margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .hero { padding: 80px 0 100px; }
    section { padding: 70px 0; }
    .container, .container-narrow { padding: 0 24px; }
}
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { justify-content: center; text-align: center; }
}
