/* Reset und Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ============================================
       DARK MODE (aktiv)
       ============================================ */
    --primary-color: #719f00;
    --primary-dark: #5a7e00;
    --primary-light: #8fb82e;
    --secondary-color: #719f00;
    --accent-color: #719f00;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #737373;
    --text-light: #ffffff;
    --text-on-hero: #ffffff;
    --bg-primary: #111111;
    --bg-secondary: #1a1a1a;
    --bg-card: linear-gradient(135deg, #343434 0%, rgba(113, 159, 0, 0.05) 100%);
    --text-on-card: #ffffff;
    --bg-dark: #000000;
    --bg-header: rgba(17, 17, 17, 0.95);
    --text-header: #ffffff;
    --bg-hero: linear-gradient(135deg, #010101 0%, #1d1b1b 25%, #2a3907 85%, #25320c 100%);
    --bg-placeholder: linear-gradient(135deg, #2c2c2c, #1a1a1a);
    --border-color: #333333;
    --border-light: #444444;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-heavy: 0 20px 25px rgba(0, 0, 0, 0.5);
    --gradient-primary: linear-gradient(135deg, #719f00 0%, #8fb82e 100%);
    --gradient-secondary: linear-gradient(135deg, #719f00 0%, #5a7e00 100%);

    /* ============================================
       LIGHT MODE (auskommentiert - zum Aktivieren
       Dark Mode oben auskommentieren und diese
       Zeilen einkommentieren)
       ============================================
    --primary-color: #719f00;
    --primary-dark: #5a7e00;
    --primary-light: #8fb82e;
    --secondary-color: #719f00;
    --accent-color: #719f00;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #737373;
    --text-light: #ffffff;
    --text-on-hero: #ffffff;
    --bg-primary: #f5f5f5;
    --bg-secondary: #ffffff;
    --bg-card: linear-gradient(135deg, #1a1a1a 0%, rgba(113, 159, 0, 0.08) 100%);
    --text-on-card: #ffffff;
    --bg-dark: #1a1a1a;
    --bg-header: rgba(255, 255, 255, 0.95);
    --text-header: #1a1a1a;
    --bg-hero: linear-gradient(135deg, #719f00 0%, #5a7e00 50%, #3d5200 100%);
    --bg-placeholder: linear-gradient(135deg, #e0e0e0, #f5f5f5);
    --border-color: #333333;
    --border-light: #444444;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 25px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #719f00 0%, #8fb82e 100%);
    --gradient-secondary: linear-gradient(135deg, #719f00 0%, #5a7e00 100%);
    */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

/* Dark Cards - immer helle Schrift (auch im Light Mode) */
.lawyer-card,
.lawyer-card h3,
.lawyer-card h4,
.lawyer-card p,
.lawyer-card span:not(.article-category),
.service-card,
.service-card h3,
.service-card p,
.service-teaser-card,
.service-teaser-card h3,
.service-teaser-card p,
.contact-card,
.contact-card h3,
.contact-card p,
.article-card h3,
.article-card h4,
.article-card p,
.job-listing,
.job-listing h3,
.job-listing p,
.benefits-card,
.benefits-card h3,
.benefits-card p,
.contact-form label,
.contact-info-card,
.contact-info-card h3,
.contact-info-card p,
.quick-contact-card,
.quick-contact-card h3,
.quick-contact-card p,
.lawyer-overview-card,
.lawyer-overview-card h3,
.lawyer-overview-card p,
.team-member-card,
.team-member-card h4,
.team-member-card p,
.article-content,
.article-content h2,
.article-content h3,
.article-content p,
.article-content li,
.article-author-card,
.article-author-card h3,
.article-author-card p,
.article-toc,
.article-toc h3,
.article-toc li,
.article-related,
.article-related h3,
.article-related h4,
.faq-item,
.faq-item h3,
.faq-item p,
.location-card,
.location-card h3,
.location-card p,
.info-item,
.info-item h4,
.info-item p,
.service-area,
.service-area h4,
.service-area li,
.contact-info-block,
.contact-info-block h4,
.contact-info-block p,
.team-contact-card,
.team-contact-card h3,
.team-contact-card p {
    color: var(--text-on-card) !important;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.highlight {
    color: var(--secondary-color);
    font-weight: 700;
    font-style: italic;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-header);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1320px;
    margin: 0 auto;
}

/* Logo Styles */
.logo {
    position: relative;
}

.logo-image {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

/* PNG Logo styling - no SVG-specific overrides needed */

.logo-image:hover {
    opacity: 0.8;
}

.logo-fallback h1 {
    font-size: 1.75rem;
    margin-bottom: 0;
}

.logo-fallback .tagline {
    font-size: 0.875rem;
    color: var(--text-header);
    opacity: 0.7;
    margin-bottom: 0;
    font-weight: 400;
}

/* Legacy support for text logo */
.logo h1 {
    font-size: 1.75rem;
    margin-bottom: 0;
}

.tagline {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-weight: 400;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-item {
    position: relative;
    margin: 0 0.5rem;
}

.nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-header);
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(17, 17, 17, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-heavy);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 220px;
    z-index: 1001;
    list-style: none;
    padding: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

/* Header Phone */
.header-phone {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    border-radius: 0.5rem;
    background: rgba(113, 159, 0, 0.15);
    border: 1px solid rgba(113, 159, 0, 0.3);
    transition: all 0.3s ease;
    margin-left: 1rem;
    white-space: nowrap;
}

.header-phone:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.header-phone svg {
    color: var(--primary-color);
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.header-phone:hover svg {
    color: #fff;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Header Phone */
.header-phone {
    margin-left: 1.5rem;
}

.header-phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.header-phone-link:hover {
    color: #8bbf00;
}

.header-phone-link .phone-icon {
    width: 18px;
    height: 18px;
}

/* Sticky Contact CTA */
.sticky-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.sticky-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sticky-cta-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.5rem;
    background: var(--secondary-color);
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(113, 159, 0, 0.4);
    transition: all 0.3s ease;
}

.sticky-cta-btn:hover {
    background: #8bbf00;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(113, 159, 0, 0.5);
}

.sticky-cta-btn svg {
    width: 20px;
    height: 20px;
}

/* Header Phone - hide text at medium screens */
@media (max-width: 1100px) {
    .header-phone span {
        display: none;
    }

    .header-phone {
        padding: 0.5rem;
        background: transparent;
        border: none;
    }

    .header-phone svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {
    .header-phone .phone-number {
        display: none;
    }

    .header-phone-link .phone-icon {
        width: 22px;
        height: 22px;
    }

    .sticky-cta {
        bottom: 1rem;
        right: 1rem;
    }

    .sticky-cta-btn span {
        display: none;
    }

    .sticky-cta-btn {
        padding: 1rem;
        border-radius: 50%;
    }

    .sticky-cta-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Hero Section with Hamburg Background */
.hero {
    background: var(--gradient-primary); /* Fallback */
    background: url('../images/hero.jpg') center center, var(--gradient-primary);
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-light);
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(1, 1, 1, 0.88) 0%, rgba(29, 27, 27, 0.86) 25%, rgba(42, 57, 7, 0.83) 85%, rgba(37, 50, 12, 0.86) 100%);
    z-index: 1;
}

/* Hero Video Background */
.hero-video-section {
    background: var(--dark-bg);
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, rgba(1, 1, 1, 0.55) 0%, rgba(29, 27, 27, 0.5) 25%, rgba(42, 57, 7, 0.45) 85%, rgba(37, 50, 12, 0.5) 100%); */
    background: transparent;
    z-index: 1;
}

.hero-video-section::before {
    display: none;
}

/* Hero Fade-Out Animation */
.hero-video-section .hero-content {
    transition: opacity 1.5s ease-out;
    opacity: 1;
}

.hero-video-section .hero-video-overlay {
    transition: opacity 1.5s ease-out;
}

.hero-video-section.content-hidden .hero-content {
    opacity: 0;
    pointer-events: none;
}

.hero-video-section.content-hidden .hero-video-overlay {
    opacity: 0;
}

/* Video wird auch auf Mobile angezeigt */
@media (max-width: 768px) {
    .hero-video-section {
        min-height: 60vh;
    }
    .hero-video {
        /* Video bleibt sichtbar auf Mobile */
    }
}



.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glasmorphism effect for hero text */
.hero-video-section .hero-content {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 600px;
}

.hero-video-section .hero-title {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.hero-video-section .hero-description {
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

.hero-video-section .hero-buttons .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.hero-video-section .hero-buttons .btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.hero-video-section .hero-buttons .btn-secondary:hover {
    background: #fff;
    color: #000;
}



.hero-title {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}



.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-secondary);
    margin: 1rem auto;
    border-radius: 2px;
}

/* Lawyers Section */
.lawyers-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

/* Lawyer Images */
.lawyer-image {
    position: relative;
    text-align: center;
    margin-bottom: 1.5rem;
}

.lawyer-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.lawyer-photo:hover {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

/* Fallback: Show placeholder if image fails to load */
.lawyer-photo:not([src]),
.lawyer-photo[src=""],
.lawyer-photo:not([src*=".jpg"]):not([src*=".png"]):not([src*=".webp"]) + .placeholder-avatar {
    display: flex !important;
}

.lawyer-photo[src*=".jpg"] + .placeholder-avatar,
.lawyer-photo[src*=".png"] + .placeholder-avatar,
.lawyer-photo[src*=".webp"] + .placeholder-avatar {
    display: none;
}

.lawyers-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1320px;
    margin: 0 auto;
}

.partners-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.associates-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.lawyer-card {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    color: var(--text-on-card); /* Helle Schrift auf dunklen Cards */
}

.lawyer-card h3,
.lawyer-card h4,
.lawyer-card p,
.lawyer-card span {
    color: var(--text-on-card);
}

.lawyer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.lawyer-card:hover::before {
    transform: scaleY(1);
}

.lawyer-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* Partner Cards */
.lawyer-card-partner {
    min-height: 550px;
    position: relative;
    background: var(--bg-card);
    border: 3px solid transparent;
}

.lawyer-card-partner::before {
    width: 6px;
    background: var(--gradient-primary);
}

.lawyer-card-partner .lawyer-info {
    padding-top: 1rem;
}

.lawyer-card-partner h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.lawyer-card-partner h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: none;
    letter-spacing: 0.5px;
}

.lawyer-card-partner p {
    font-size: 1rem;
    line-height: 1.7;
}

.partner-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lawyer-photo-partner {
    width: 140px;
    height: 140px;
    border-width: 4px;
}

/* Partner Contact Information */
.partner-contact {
    margin: 1.5rem 0;
    padding: 1.5rem 0 1rem 0;
    border-top: 2px solid var(--primary-color);
}

.partner-contact h5 {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 1rem 0;
}

.contact-row {
    display: flex;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.contact-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.contact-link svg {
    width: 16px;
    height: 16px;
}

.team-title {
    color: var(--text-secondary) !important;
    font-size: 0.9rem;
    font-style: italic;
    margin: 0.5rem 0 1rem 0;
}

/* Social Links for Partners */
.social-links {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Locations Section */
/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: #262626;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(113, 159, 0, 0.3);
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    gap: 1rem;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(113, 159, 0, 0.05);
}

.faq-question span {
    flex: 1;
}

.faq-icon {
    stroke: var(--text-secondary);
    transition: transform 0.3s ease, stroke 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    stroke: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

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

.locations-section {
    background: var(--bg-primary);
    padding: 6rem 0;
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    justify-items: center;
}

.location-card {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
    width: 420px;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.location-card:hover::before {
    transform: scaleY(1);
}

.location-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.location-image {
    position: relative;
    text-align: center;
    margin-bottom: 1.5rem;
}

.location-photo {
    width: 110px;
    height: 110px;
    border-radius: 1rem;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.location-photo:hover {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.location-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 1rem;
    background: var(--gradient-primary);
    display: none;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 3px solid var(--primary-color);
}

.city-icon {
    font-size: 3rem;
    color: white;
}

.location-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}





.location-details {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
}

.address-block {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.address-block strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.contact-block .contact-item {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-block .contact-item strong {
    color: var(--text-light);
    display: inline-block;
    min-width: 80px;
}

.location-card .lawyer-link {
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-card {
        padding: 1.5rem;
    }
    
    .location-photo,
    .location-placeholder {
        width: 90px;
        height: 90px;
    }
}



.lawyer-image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.placeholder-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto;
}

.lawyer-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.lawyer-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.lawyer-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.lawyer-card-partner .lawyer-link {
    justify-content: center;
    width: 100%;
}

.lawyer-link:hover {
    color: var(--primary-light);
}



/* Services Section */
.services-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.services-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Service Teaser Cards (for Homepage) */
.service-teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.service-teaser-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    text-align: center;
}

.service-teaser-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.service-teaser-card:hover::before {
    transform: scaleY(1);
}

.service-teaser-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.service-teaser-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 1.2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-placeholder);
    border: 1px solid #404040;
    border-radius: 12px;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-teaser-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(113, 159, 0, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.service-teaser-icon svg {
    width: 36px;
    height: 36px;
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.service-teaser-card:hover .service-teaser-icon {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.2),
        0 0 0 2px var(--primary-color),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #333333, #2a2a2a);
    border-color: var(--primary-color);
}

.service-teaser-card:hover .service-teaser-icon::before {
    left: 100%;
}

.service-teaser-card:hover .service-teaser-icon svg {
    transform: scale(1.1);
    color: var(--primary-light);
}

.service-teaser-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.service-teaser-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
    flex: 1;
}

.service-teaser-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: auto;
    transition: all 0.3s ease;
}

.service-teaser-card:hover .service-teaser-link {
    color: var(--secondary-color);
    transform: translateX(3px);
}

/* Portfolio Link Button */
.services-portfolio-link {
    text-align: center;
    margin-top: 3rem;
}

.btn-portfolio {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-portfolio:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Full Service Cards (for Portfolio Pages) */
.service-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-features li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    padding-top: 1rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.service-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-content h3 {
    margin-bottom: 1rem;
}

.service-content p {
    margin-bottom: 1.5rem;
    flex: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.service-icon svg {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
}

/* Service Category */
.service-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-category img,
.service-category svg {
    width: 1.5em !important;
    height: 1.5em !important;
    max-width: 1.5em !important;
    max-height: 1.5em !important;
    vertical-align: middle;
    flex-shrink: 0;
}

.service-category.arbeitsrecht,
.service-category.arbeitnehmer,
.service-category.arbeitgeber,
.service-category.betriebsrat {
    background: rgba(255, 255, 255, 0.15);
    color: var(--primary-color);
}

.service-category.bankrecht {
    background: rgba(113, 159, 0, 0.1);
    color: var(--primary-color);
}

.service-category.erbrecht {
    background: rgba(113, 159, 0, 0.1);
    color: var(--primary-color);
}

.service-category.familienrecht,
.service-category.gesellschaftsrecht,
.service-category.immobilienrecht,
.service-category.insolvenzrecht,
.service-category.strafrecht,
.service-category.vertragsrecht {
    background: rgba(113, 159, 0, 0.1);
    color: var(--primary-color);
}

/* Quick Info */
.quick-info {
    margin-top: 2rem;
}

.quick-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    background: var(--bg-card);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

.info-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
}

.info-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Service Areas */
.service-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.service-area {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid var(--border-color);
}

.service-area h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

/* Mini Lawyer Card */
.lawyer-card-mini {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.lawyer-photo-mini {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.lawyer-photo-mini .lawyer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.lawyer-photo-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
}

.lawyer-initials {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.lawyer-info-mini h4 {
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.lawyer-info-mini p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Contact Methods */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.contact-method:hover {
    background: var(--bg-card);
    transform: translateY(-2px);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 18px;
    height: 18px;
}

/* Article Previews */
.articles-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.article-preview {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 2px solid var(--border-color);
}

.article-preview h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
}

.article-preview h4 a {
    color: var(--primary-color);
    text-decoration: none;
}

.article-preview h4 a:hover {
    color: var(--secondary-color);
}

.article-excerpt {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.article-author {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Expertise Content */
.expertise-content {
    margin: 3rem 0;
}

.expertise-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.expertise-content p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.recent-articles {
    margin-top: 3rem;
}

.recent-articles h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Career Page Styles */
.job-listings {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.job-listing {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.job-listing:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.job-header h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.3rem;
}

.job-type {
    background: rgba(113, 159, 0, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.job-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.application-process {
    margin-top: 4rem;
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 2px solid var(--border-color);
}

.application-process h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.application-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.step-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.benefits-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid var(--border-color);
    margin-top: 2rem;
}

.benefits-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: var(--bg-card);
    transform: translateX(5px);
}

.benefit-icon {
    width: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.benefit-icon svg {
    stroke: #ffffff;
}

.benefit-item span:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .application-steps {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .step-number {
        margin-bottom: 0.75rem;
    }
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-quick-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-quick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    z-index: 2;
}

.contact-quick-card:hover::before {
    transform: scaleY(1);
}

.contact-quick-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-color);
}

.contact-quick-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.contact-quick-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-quick-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.contact-quick-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-quick-link:hover {
    color: var(--secondary-color);
}

/* Location Cards */
.locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    justify-items: center;
}

.location-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 420px;
    max-width: 100%;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-color);
}

.location-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.location-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.location-card:hover .location-photo {
    transform: scale(1.05);
}

.location-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: none;
    align-items: center;
    justify-content: center;
}

.location-icon {
    font-size: 4rem;
    color: white;
}

.location-content {
    padding: 2rem;
}

.location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.location-header h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.5rem;
}

.location-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.location-badge.main {
    background: rgba(113, 159, 0, 0.1);
    color: var(--primary-color);
}

.location-badge.branch {
    background: rgba(113, 159, 0, 0.05);
    color: var(--text-secondary);
}

.location-address {
    margin-bottom: 1.5rem;
}

.location-address p {
    color: var(--text-primary);
    line-height: 1.6;
}

.location-contact-info {
    margin-bottom: 1.5rem;
}

.location-contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.location-contact-info .contact-icon {
    width: 20px;
    text-align: center;
}

.location-hours h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.location-hours p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Contact Form Section */
.contact-form-section {
    background: var(--bg-secondary);
    padding: 6rem 0;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.form-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.form-content > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-form {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 2px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

/* Contact Form 7 checkbox groups - minimal spacing */
.wpcf7-form .form-group.checkbox-group {
    margin-bottom: 0 !important;
    margin-top: 0.5rem !important;
}

/* Consecutive checkbox wrapper divs - tiny gap */
.wpcf7-form .form-group.checkbox-group + .form-group.checkbox-group {
    margin-top: 2px !important;
}

.wpcf7-form .form-group.checkbox-group p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

.form-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Form Sidebar */
.form-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid var(--border-color);
}

.contact-info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.contact-benefits li:last-child {
    border-bottom: none;
}

/* Quick Contact Card */
.quick-contact-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 2px solid rgba(113, 159, 0, 0.3);
    margin-bottom: 1.5rem;
}

.quick-contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
}

.quick-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.quick-contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.quick-contact-item:first-of-type {
    padding-top: 0;
}

.quick-contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(113, 159, 0, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-contact-icon svg {
    stroke: var(--primary-color);
}

.quick-contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.quick-contact-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-contact-value {
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.quick-contact-value:hover {
    color: var(--primary-color);
}

.emergency-contact {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 1rem;
    border: 2px solid rgba(255, 193, 7, 0.3);
}

.emergency-contact h3 {
    color: #ff6b35;
    margin-bottom: 1rem;
}

.emergency-contact p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.emergency-number {
    display: block;
    color: #ff6b35;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    margin: 1rem 0;
    padding: 0.75rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.emergency-number:hover {
    background: rgba(255, 107, 53, 0.2);
}

.emergency-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}



/* Responsive Adjustments */
@media (max-width: 768px) {
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Statistics Counter Section */
.stats-section {
    background: var(--bg-hero);
    padding: 6rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    border-bottom: 1px solid;
    border-top: 1px solid;
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

.stats-section .section-title {
    color: var(--text-light);
    margin-bottom: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 280px;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    display: inline-block;
    min-width: 120px;
}



.stat-item h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin: 1rem 0 0.5rem 0;
    font-weight: 600;
}

.stat-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
    flex: 1;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 3rem;
        min-width: 100px;
    }
    

    
    .stat-item h3 {
        font-size: 1.2rem;
    }
    
    .stats-section {
        padding: 4rem 0;
    }
    
    .stat-item {
        min-height: 240px;
    }
}

/* Trust Section */
.trust-section {
    background: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
}

/* Trust Section with Background Image */
.trust-section-bg {
    position: relative;
    overflow: visible;
}

.trust-section-bg .container {
    display: contents;
}

.trust-bg-image {
    width: 100%;
    height: 700px;
    background-size: cover;
    background-position: center 25%;
}

.trust-cta-bar {
    width: 100%;
    background: linear-gradient(135deg, #4a6b00 0%, #719f00 30%, #9dd000 50%, #719f00 70%, #4a6b00 100%);
    padding: 2rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 2rem;
}

.trust-cta-bar h2 {
    font-size: 1.2rem;
    margin: 0;
    color: #fff;
    font-weight: 600;
}

/* Floating CTA Widget */
.floating-cta {
    position: fixed;
    right: 1.5rem;
    bottom: 2rem;
    z-index: 1000;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.4s ease;
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 1px solid rgba(113, 159, 0, 0.2);
}

.floating-cta.visible {
    opacity: 1;
    transform: translateX(0);
}

.floating-cta-badge {
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid var(--primary-color);
}

.floating-cta-badge img {
    height: 55px;
    width: auto;
}

.floating-cta-buttons {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #1a1a1a 0%, #252525 100%);
    padding: 0.6rem;
    gap: 0.5rem;
}

.floating-cta-btn {
    width: 100%;
    height: 44px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.floating-cta-phone {
    background: linear-gradient(135deg, #8ab800 0%, #719f00 100%);
    color: #fff;
}

.floating-cta-phone:hover {
    background: linear-gradient(135deg, #9dd000 0%, #8ab800 100%);
    transform: translateY(-2px);
}

.floating-cta-contact {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.floating-cta-contact:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Tooltip on hover */
.floating-cta-btn::before {
    content: attr(title);
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: #1a1a1a;
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.floating-cta:hover .floating-cta-btn::before {
    opacity: 0;
}

.floating-cta-btn:hover::before {
    opacity: 1 !important;
}

@media (max-width: 768px) {
    .floating-cta {
        right: 1rem;
        bottom: 1.5rem;
    }

    .floating-cta-badge img {
        height: 44px;
    }

    .floating-cta-buttons {
        padding: 0.6rem;
    }

    .floating-cta-btn {
        height: 48px;
    }

    .floating-cta-btn svg {
        width: 22px;
        height: 22px;
    }

    .floating-cta-btn::before {
        display: none;
    }
}

.trust-overlay {
    display: none;
}

.trust-section-bg .trust-content {
    text-align: left;
    max-width: 600px;
}

.trust-section-bg .trust-content h2 {
    font-size: 2.2rem;
}

.trust-section-bg .trust-content p {
    margin: 0 0 1.5rem 0;
}

.trust-content h2 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.trust-content p {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    opacity: 0.9;
}

/* Trust Section CTA */
.trust-cta {
    width: 100%;
    background: var(--secondary-color);
    padding: 1.25rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 2rem;
}

.trust-cta h2 {
    font-size: 1.3rem;
    margin: 0;
    color: #000;
    font-weight: 600;
}

.trust-subtitle {
    display: none;
}

.trust-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-phone {
    background: #000;
    color: #fff;
}

.cta-phone:hover {
    background: #222;
    transform: translateY(-2px);
}

.cta-email {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cta-email:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

.cta-icon {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .trust-cta {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }

    .trust-cta h2 {
        font-size: 1.2rem;
        white-space: normal;
        text-align: center;
    }

    .trust-cta-buttons {
        flex-direction: row;
        gap: 1rem;
    }

    .cta-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Contact Info Section */
.contact-info-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3,
.quick-contact h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-details > div {
    margin-bottom: 2rem;
}

.address {
    line-height: 1.8;
}

.contact-item {
    margin-bottom: 0.5rem;
}

.office-hours {
    line-height: 1.8;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-card);
    color: var(--text-primary);
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

/* PNG Footer Logo styling - no SVG-specific overrides needed */

.footer-logo-image:hover {
    opacity: 0.8;
}

.footer-logo-fallback h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.footer-logo-fallback p {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-socials {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-socials span {
    display: block;
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 0.75rem;
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.6;
    font-size: 0.875rem;
}

.footer-certifications {
    margin-top: 1.5rem;
}

.certification-badge {
    height: 50px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.certification-badge:hover {
    opacity: 1;
}

.footer-memberships {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.membership-badge {
    height: 35px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    background: #fff;
    padding: 4px 8px;
    border-radius: 4px;
}

.membership-badge:hover {
    opacity: 1;
}

/* Footer Badges Bar */
.footer-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.footer-badge {
    height: 60px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    background: #fff;
    padding: 8px 12px;
    border-radius: 4px;
}

.footer-badge:hover {
    opacity: 1;
}

.footer-badge-tuv {
    padding: 0;
}

.footer-badges-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    margin-right: 1rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 1rem;
        max-width: 100%;
    }

    .nav-container {
        padding: 1rem 2rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: 1rem 0;
    }

    .nav-item {
        margin: 0;
        width: 100%;
    }

    .nav-link {
        padding: 1rem;
        width: 100%;
        border-radius: 0;
    }

    .header-phone {
        padding: 0.5rem;
        margin-left: 0.5rem;
        background: transparent;
        border: none;
    }

    .header-phone span {
        display: none;
    }

    .header-phone svg {
        width: 22px;
        height: 22px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--bg-secondary);
        margin-top: 0.5rem;
    }

    .hero {
        padding: 4rem 0;
        min-height: 70vh;
        background-attachment: scroll; /* Fixed attachment doesn't work well on mobile */
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .lawyers-grid {
        gap: 2rem;
    }
    
    .partners-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .associates-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .lawyer-card-partner {
        min-height: 450px;
    }
    
    .lawyer-photo-partner {
        width: 100px;
        height: 100px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-teaser-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-teaser-card {
        padding: 1.25rem;
        min-height: 180px;
    }

    .service-teaser-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1rem;
    }

    .service-teaser-icon svg {
        width: 34px;
        height: 34px;
    }

    .services-portfolio-link {
        margin-top: 2rem;
    }

    .btn-portfolio {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo-image {
        margin: 0 auto;
    }

    .footer-social-links {
        justify-content: center;
    }

    .footer-links {
        display: inline-block;
        text-align: center;
    }

    .footer-contact {
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .lawyer-card,
    .service-card {
        padding: 1.5rem;
    }

    .services-section,
    .lawyers-section,
    .trust-section,
    .contact-info-section {
        padding: 4rem 0;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Behavior */
html {
    scroll-padding-top: 100px;
}

/* Focus Styles for Accessibility - nur bei Keyboard-Navigation sichtbar */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--text-light);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Lawyer Overview Styles */
.lawyer-overview-card {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.lawyer-overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    z-index: 2;
}

.lawyer-overview-card:hover::before {
    transform: scaleY(1);
}

.lawyer-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-color);
}

.lawyer-specialties {
    margin: 1.5rem 0;
}

.lawyer-specialties h5 {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lawyer-specialties ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lawyer-specialties li {
    padding: 0.25rem 0;
    font-size: 0.9rem;
    opacity: 0.9;
    position: relative;
    padding-left: 1rem;
}

.lawyer-specialties li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.contact-buttons {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.lawyers-overview-grid {
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .lawyers-overview-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .lawyer-overview-card {
        padding: 1.5rem;
    }
}

/* Team Member Cards (smaller version for staff) */
.team-member-card {
    background: var(--bg-card);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    z-index: 2;
}

.team-member-card:hover::before {
    transform: scaleY(1);
}

.team-member-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-color);
}

.team-member-image {
    text-align: center;
    margin-bottom: 1.25rem;
}

.team-member-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.team-member-photo:hover {
    border-color: var(--primary-light);
    transform: scale(1.05);
}

.team-member-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto;
    border: 3px solid var(--primary-color);
}

.team-member-info h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.team-member-info h4 {
    color: var(--primary-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.team-member-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    flex: 1;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .team-member-card {
        padding: 1.25rem;
    }
    
    .team-member-photo,
    .team-member-placeholder {
        width: 70px;
        height: 70px;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }
}

/* Legal/Impressum Styles */
.legal-content {
    max-width: 100%;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.legal-section h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-weight: 600;
}

.legal-section h3:first-child {
    margin-top: 0;
}

.legal-section h4 {
    color: var(--primary-light);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    font-weight: 600;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section ul {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.legal-firm-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.locations-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

.location-info-block h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.location-info-block p {
    margin-bottom: 1rem;
}

.contact-info-block {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
    margin: 1rem 0;
}

.contact-info-block h4 {
    margin-top: 0;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .locations-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .legal-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
}

/* Newsroom Styles */
.newsroom-grid {
    display: grid;
    gap: 4rem;
}

.featured-article {
    margin-bottom: 4rem;
}

.article-card {
    background: var(--bg-card);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    position: relative;
    cursor: pointer;
}

/* Clickable article links */
a[href*="artikel/"] {
    cursor: pointer;
}

a[href*="artikel/"]:hover .article-card {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-color);
}

a[href*="artikel/"]:hover .article-card::before {
    transform: scaleY(1);
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    z-index: 2;
}

/* Removed old hover states - now handled by link hover */

.article-card.featured {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    padding: 2rem;
    min-height: 300px;
}

.article-image {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.featured .article-image {
    border-radius: 1rem;
}

.article-card:not(.featured) .article-image {
    height: 200px;
}

.article-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

a[href*="artikel/"]:hover .article-photo {
    transform: scale(1.05);
}

.article-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(113, 159, 0, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-icon {
    font-size: 3rem;
    opacity: 0.5;
}

.article-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card.featured .article-content {
    padding: 0;
    justify-content: center;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.article-category {
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-category.arbeitsrecht { background: rgba(113, 159, 0, 0.2); color: var(--primary-color); }
.article-category.gesellschaftsrecht { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.article-category.familienrecht { background: rgba(236, 72, 153, 0.2); color: #ec4899; }
.article-category.erbrecht { background: rgba(168, 85, 247, 0.2); color: #a855f7; }
.article-category.strafrecht { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.article-category.insolvenzrecht { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }
.article-category.immobilienrecht { background: rgba(34, 197, 94, 0.2); color: #22c55e; }
.article-category.allgemein { background: rgba(148, 163, 184, 0.2); color: #94a3b8; }

.article-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.article-card h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    line-height: 1.3;
}

.article-card h4 {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    line-height: 1.4;
}

.article-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
}

.article-author {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

/* Category Filter Styles */
.category-filters {
    margin-bottom: 2rem;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-light);
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-card.featured {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .category-filters {
        justify-content: flex-start !important;
    }
    
    .category-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .article-content {
        padding: 1rem;
    }
    
    .article-card h3 {
        font-size: 1.25rem;
    }
}

/* Lawyer Profile Styles */
.lawyer-hero {
    background: var(--bg-hero);
    color: var(--text-light);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid;
    border-top: solid 1px;
    margin-top: 80px;
}

.lawyer-hero-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 800px;
}

/* Lawyer Hero Photo */
.lawyer-hero-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: block;
}

.lawyer-hero-photo:hover {
    transform: scale(1.05);
    border-color: var(--secondary-color);
}

.lawyer-hero-image .lawyer-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 600;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.lawyer-hero-info h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.lawyer-title {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 400;
}

.lawyer-specialization {
    font-size: 22px;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.lawyer-contact-quick {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Secondary Button im Lawyer Hero: Ghost Button */
.lawyer-contact-quick .btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.lawyer-contact-quick .btn-secondary:hover {
    background: #fff;
    border-color: #fff;
    color: #1a1a1a;
}

/* Lawyer Hero Split Layout (Newsroom Style with Portrait) */
.lawyer-hero-split {
    background: var(--bg-hero);
    min-height: 550px;
    display: flex;
    align-items: center;
    margin-top: 80px;
}

.lawyer-hero-split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1320px;
    margin: 0 auto;
    align-items: center;
    min-height: 550px;
}

.lawyer-hero-split-text {
    color: var(--text-light);
    padding: 4rem;
    padding-left: calc((100vw - 1320px) / 2 + 2rem);
}

.lawyer-hero-profile {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.lawyer-hero-portrait {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.lawyer-hero-name h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.lawyer-hero-split-text .lawyer-specialization {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

.lawyer-hero-split-text .lawyer-contact-quick {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.lawyer-hero-split-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    padding-right: calc((100vw - 1320px) / 2 + 2rem);
}

.lawyer-hero-split-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1320px) {
    .lawyer-hero-split-text {
        padding-left: 2rem;
    }

    .lawyer-hero-split-image-wrapper {
        padding-right: 2rem;
    }
}

@media (max-width: 1024px) {
    .lawyer-hero-split-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .lawyer-hero-split-text {
        padding: 3rem 2rem;
        order: 2;
    }

    .lawyer-hero-split-image-wrapper {
        order: 1;
        padding: 2rem;
        justify-content: center;
    }

    .lawyer-hero-split-img {
        height: 350px;
        max-width: 500px;
    }

    .lawyer-hero-name h1 {
        font-size: 2rem;
    }

    .lawyer-hero-portrait {
        width: 100px;
        height: 100px;
    }
}

/* Karriere Hero Split Layout */
.karriere-hero-split {
    background: var(--bg-hero);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.karriere-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1320px;
    margin: 0 auto;
    padding: 4rem 2rem;
    align-items: center;
}

.karriere-hero-text {
    color: var(--text-light);
}

.karriere-hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.karriere-hero-text .highlight {
    color: var(--primary-color);
    font-style: italic;
}

.karriere-hero-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.karriere-hero-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.karriere-hero-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.karriere-hero-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

@media (max-width: 968px) {
    .karriere-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .karriere-hero-text h1 {
        font-size: 2.2rem;
    }

    .karriere-hero-image-wrapper {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .karriere-hero-img {
        height: 350px;
    }
}

/* Kontakt Hero Split Layout */
.kontakt-hero-split {
    background: var(--bg-hero);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.kontakt-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1320px;
    margin: 0 auto;
    padding: 4rem 2rem;
    align-items: center;
}

.kontakt-hero-text {
    color: var(--text-light);
}

.kontakt-hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.kontakt-hero-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.kontakt-hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.kontakt-hero-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.kontakt-hero-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: right center;
    display: block;
}

@media (max-width: 968px) {
    .kontakt-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .kontakt-hero-text h1 {
        font-size: 2.2rem;
    }

    .kontakt-hero-image-wrapper {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .kontakt-hero-image {
        height: 350px;
    }
}

/* Newsroom Hero Split Layout */
.newsroom-hero-split {
    background: var(--bg-hero);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.newsroom-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1320px;
    margin: 0 auto;
    padding: 4rem 2rem;
    align-items: center;
}

.newsroom-hero-text {
    color: var(--text-light);
}

.newsroom-hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.newsroom-hero-text .highlight {
    color: var(--primary-color);
    font-style: italic;
}

.newsroom-hero-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.newsroom-hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.newsroom-hero-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.newsroom-hero-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: right center;
    display: block;
}

@media (max-width: 968px) {
    .newsroom-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsroom-hero-text h1 {
        font-size: 2.2rem;
    }

    .newsroom-hero-image-wrapper {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .newsroom-hero-image {
        height: 350px;
    }
}

/* Anwälte Hero Split Layout */
.anwaelte-hero-split {
    background: var(--bg-hero);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.anwaelte-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1320px;
    margin: 0 auto;
    padding: 4rem 2rem;
    align-items: center;
}

.anwaelte-hero-text {
    color: var(--text-light);
}

.anwaelte-hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.anwaelte-hero-text .highlight {
    color: var(--primary-color);
    font-style: italic;
}

.anwaelte-hero-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.anwaelte-hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.anwaelte-hero-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.anwaelte-hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center 15%;
    display: block;
}

@media (max-width: 968px) {
    .anwaelte-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .anwaelte-hero-text h1 {
        font-size: 2.2rem;
    }

    .anwaelte-hero-image-wrapper {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .anwaelte-hero-image {
        height: 350px;
    }
}

/* Leistungen Hero Split Layout */
.leistungen-hero-split {
    background: var(--bg-hero);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.leistungen-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1320px;
    margin: 0 auto;
    padding: 4rem 2rem;
    align-items: center;
}

.leistungen-hero-text {
    color: var(--text-light);
}

.leistungen-hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.leistungen-hero-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.leistungen-hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.leistungen-hero-motto {
    font-size: 1rem;
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.leistungen-hero-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.leistungen-hero-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

@media (max-width: 968px) {
    .leistungen-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .leistungen-hero-text h1 {
        font-size: 2.2rem;
    }

    .leistungen-hero-image-wrapper {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .leistungen-hero-image {
        height: 350px;
    }
}

.lawyer-profile {
    padding: 6rem 0;
}

.profile-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.profile-section {
    margin-bottom: 4rem;
}

/* Atmosphere/Team Image in Profile */
.profile-atmosphere-image {
    margin: 3rem 0 4rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.profile-atmosphere-image .atmosphere-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.profile-section h3 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.expertise-item {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary-color);
}

.expertise-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.expertise-item ul {
    list-style: none;
    padding: 0;
}

.expertise-item li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.expertise-item li::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: 600;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--secondary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    align-items: start;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -27px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 3px solid var(--bg-primary);
}

.timeline-year {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.125rem;
}

.timeline-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Membership and Publication Lists */
.membership-list,
.publication-list {
    list-style: none;
    padding: 0;
}

.membership-list li,
.publication-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 2rem;
}

.membership-list li::before {
    content: '✓';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: 600;
}

.publication-list li::before {
    content: '📄';
    position: absolute;
    left: 0;
}

/* Profile Sidebar */
.profile-sidebar {
    position: sticky;
    top: 100px;
}

.contact-card,
.related-services,
.other-lawyers,
.special-info,
.emergency-info,
.languages-info {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-medium);
}

.contact-card h3,
.related-services h3,
.other-lawyers h3,
.special-info h3,
.emergency-info h3,
.languages-info h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.contact-info .contact-item {
    margin-bottom: 1.5rem;
}

.contact-info .contact-item:last-child {
    margin-bottom: 2rem;
}

.contact-info strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.125rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.contact-info small {
    display: block;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

.service-links,
.lawyer-links {
    list-style: none;
    padding: 0;
}

.service-links li,
.lawyer-links li {
    margin-bottom: 0.5rem;
}

.service-links a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-links a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.lawyer-links a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.lawyer-links a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

/* Special Information Cards */
.info-item {
    margin-bottom: 1.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.info-item p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Emergency Info Styles */
.emergency-info {
    background: var(--bg-card);
    border-color: rgba(255, 107, 53, 0.4);
}

.emergency-content {
    text-align: center;
}

.emergency-number {
    background: rgba(255, 107, 53, 0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    border: 2px solid rgba(255, 107, 53, 0.5);
}

.emergency-number a {
    color: #ff6b35;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
}

/* Special Expertise Highlights */
.special-expertise {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.expertise-highlight {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    border-left: 4px solid var(--secondary-color);
}

.expertise-highlight h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.expertise-highlight p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Language List */
.language-list {
    list-style: none;
    padding: 0;
}

.language-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-flag {
    font-size: 1.2rem;
    line-height: 1;
}

/* CTA Section for Lawyer Pages */
.cta-section {
    background: var(--bg-hero);
    border-bottom: 1px solid;
    border-top: solid 1px;
    color: var(--text-light);
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile Responsive for Lawyer Pages */
@media (max-width: 768px) {
    .lawyer-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .lawyer-hero-image {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .lawyer-hero-image .lawyer-avatar,
    .lawyer-hero-image .lawyer-hero-photo {
        width: 100px;
        height: 100px;
        font-size: 2rem;
        margin: 0 auto;
    }

    .lawyer-hero-info h1 {
        font-size: 2rem;
    }

    .profile-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
        overflow-x: hidden;
    }

    .profile-main,
    .profile-sidebar {
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .profile-sidebar {
        position: static;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
    }

    .timeline-year {
        font-size: 1rem;
    }

    .contact-card,
    .related-services,
    .other-lawyers,
    .special-info,
    .emergency-info,
    .languages-info {
        padding: 1.5rem;
    }

    .lawyer-contact-quick {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Contact Page Styles */
.contact-hero {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    text-align: center;
}

.contact-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.contact-hero .hero-content h2 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.contact-hero .hero-description {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content {
    padding: 4rem 0;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Form Styles */
.contact-form-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.contact-form-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.main-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--bg-card);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(113, 159, 0, 0.2);
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.checkbox-group {
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    cursor: pointer;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: var(--primary-color);
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    margin-top: 1rem;
}

/* Contact Info Section */
.contact-info-section {
    position: sticky;
    top: 100px;
}

.contact-info-section h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-medium);
}

.contact-header h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.contact-header p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.detail-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.detail-icon {
    font-size: 1.25rem;
    min-width: 24px;
    margin-top: 0.25rem;
}

.detail-content strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.detail-content p {
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.5;
}

.detail-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.detail-content a:hover {
    text-decoration: underline;
}

.office-hours,
.emergency-contact {
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.office-hours h4,
.emergency-contact h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.hours-list {
    margin-bottom: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.day {
    font-weight: 500;
    color: var(--text-primary);
}

.time {
    color: var(--text-secondary);
}

.hours-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    font-style: italic;
}

.emergency-contact {
    background: var(--bg-card);
    border: 2px solid rgba(255, 107, 53, 0.4);
}

.emergency-contact .emergency-number {
    background: rgba(255, 107, 53, 0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    border: 2px solid rgba(255, 107, 53, 0.5);
    margin-top: 1rem;
}

.emergency-contact .emergency-number a {
    color: #ff6b35;
    font-weight: 600;
    font-size: 1.25rem;
    text-decoration: none;
}

/* Map Section */
.map-section {
    padding: 4rem 0 2rem;
    background: var(--bg-secondary);
}

.map-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.map-section p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-content {
    text-align: center;
    color: var(--text-primary);
}

.map-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.map-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.map-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Transport Section */
.transport-section {
    padding: 4rem 0;
}

.transport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.transport-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

.transport-item:hover {
    transform: translateY(-3px);
}

.transport-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.transport-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.transport-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}


/* Team Contact Section */
.team-contact-section {
    padding: 4rem 0;
}

.team-contact-section h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.team-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
}

.team-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* Team Avatar Container */
.team-avatar-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.team-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    transition: all 0.3s ease;
    display: block;
}

.team-photo:hover {
    transform: scale(1.05);
    border-color: var(--secondary-color);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
}

.team-contact-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.team-contact-card > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: var(--bg-secondary);
    border-radius: 0.375rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.method-icon {
    font-size: 1rem;
    min-width: 20px;
}

.contact-method span:last-child {
    font-size: 0.9rem;
}

.emergency-note {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 0.375rem;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.emergency-note small {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.emergency-note a {
    color: #ff6b35;
    font-weight: 600;
    text-decoration: none;
}

.emergency-note a:hover {
    text-decoration: underline;
}

/* Article Styles */
.article-hero {
    background: var(--bg-hero);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    position: relative;
    margin-top: 80px;
}

.article-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.article-hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.article-meta-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.article-author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.author-avatar-fallback {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.author-details strong {
    color: var(--text-light);
    display: block;
    font-size: 1rem;
}

.author-details span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.article-date-info {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Article Content Layout */
.article-main {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    max-width: 1320px;
    margin: 0 auto;
    align-items: start;
}

.article-content {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
}

.article-featured-image {
    width: 100%;
    margin: 2rem 0 3rem 0;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.article-body {
    font-size: 0.875rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body h2 {
    font-size: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.article-body h3 {
    font-size: 1.3rem;
}

.article-body h4,
.article-body h5,
.article-body h6 {
    font-size: 1.1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.article-body a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.article-body a:hover {
    color: var(--primary-light);
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-light);
}

.article-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    font-style: italic;
}

.article-body ul,
.article-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

/* Article Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
}

.article-author-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-medium);
    text-align: center;
}

.article-author-card .author-avatar,
.article-author-card .author-avatar-fallback {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.article-author-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.article-author-card .specialization {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.article-author-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.author-contact-methods {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.author-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.author-contact-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.article-toc {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-medium);
}

.article-toc h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.article-toc ul {
    list-style: none;
    padding: 0;
}

.article-toc li {
    margin-bottom: 0.5rem;
}

.article-toc a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.article-toc a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.article-related {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-medium);
}

.article-related h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.related-article {
    display: block;
    text-decoration: none;
    color: var(--text-primary);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.related-article:last-child {
    border-bottom: none;
}

.related-article:hover {
    padding-left: 0.5rem;
}

.related-article h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.related-article .article-category {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Article Footer */
.article-footer {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--primary-color);
    text-align: center;
    background: var(--bg-secondary);
    border-radius: 1rem;
    padding: 3rem 2rem 2rem;
}

.article-footer h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.article-footer p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.article-share {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.article-share h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.share-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Mobile Responsive for Articles */
@media (max-width: 768px) {
    .article-hero h1 {
        font-size: 2rem;
    }

    .article-meta-hero {
        flex-direction: column;
        gap: 1rem;
    }

    .article-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .article-content {
        padding: 2rem;
    }

    .article-sidebar {
        position: static;
        order: -1;
    }

    .article-body {
        font-size: 0.875rem;
    }

    .author-contact-methods {
        flex-wrap: wrap;
    }

    .share-buttons {
        flex-direction: column;
        align-items: center;
    }

    .share-btn {
        justify-content: center;
        min-width: 200px;
    }
}

/* Read More Button Styles */
.read-more-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more-btn:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.read-more-btn:focus {
    outline: none;
}

.read-more-btn:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.profile-description {
    position: relative;
}

.description-preview,
.description-full {
    transition: opacity 0.3s ease;
}

/* Clickable Lawyer Cards */
.lawyer-card-clickable {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.lawyer-card-clickable:hover {
    text-decoration: none;
    color: inherit;
}

.lawyer-card-clickable .contact-buttons span {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.lawyer-card-clickable .contact-buttons span:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Service Cards Clickable */
.service-card-clickable {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-card-clickable:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.service-card-clickable:focus {
    outline: none;
}

.service-card-clickable:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Mobile Responsive for Contact Page */
@media (max-width: 768px) {
    .contact-hero .hero-content h1 {
        font-size: 2rem;
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-section {
        position: static;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .transport-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .team-contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card,
    .office-hours,
    .emergency-contact {
        padding: 1.5rem;
    }

    .map-container {
        height: 300px;
    }

    .transport-item,
    .faq-item,
    .team-contact-card {
        padding: 1.5rem;
    }

    .read-more-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================
   Contact Form 7 - Improved Readability
   ========================================== */

.wpcf7-form p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}

.wpcf7-form br {
    display: none !important;
}

.wpcf7-form .wpcf7-acceptance,
.wpcf7-form .wpcf7-checkbox {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wpcf7-form .wpcf7-acceptance label,
.wpcf7-form .wpcf7-checkbox label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    margin: 0 !important;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 2px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    padding: 0.75rem 1rem !important;
    border-radius: 0.5rem !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: var(--primary-color) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(113, 159, 0, 0.2) !important;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.wpcf7-form textarea {
    min-height: 100px !important;
    max-height: 150px !important;
}

.wpcf7-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    padding-right: 2.5rem !important;
}

.wpcf7-form select option {
    background: #1a1a1a;
    color: #ffffff;
}

/* Labels */
.wpcf7-form label {
    color: #ffffff !important;
    font-weight: 500 !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
}

/* Checkbox styling */
.wpcf7-form .wpcf7-checkbox,
.wpcf7-form .wpcf7-acceptance {
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wpcf7-form .wpcf7-list-item {
    margin: 0 !important;
}

.wpcf7-form input[type="checkbox"] {
    width: 1rem !important;
    height: 1rem !important;
    margin: 0 0.4rem 0 0 !important;
    padding: 0 !important;
    accent-color: var(--primary-color) !important;
}

/* Form rows spacing */
.wpcf7-form .form-row,
.wpcf7-form [style*="display: flex"],
.wpcf7-form [style*="display:flex"] {
    gap: 0.5rem !important;
    margin-bottom: 0.4rem !important;
}

/* Default spacing for input paragraphs */
.wpcf7-form > p:has(input[type="text"]),
.wpcf7-form > p:has(input[type="email"]),
.wpcf7-form > p:has(input[type="tel"]),
.wpcf7-form > p:has(select),
.wpcf7-form > p:has(textarea) {
    margin-bottom: 0.4rem !important;
}

/* Target Contact Form 7 specific wrapper spans */
.wpcf7-form .wpcf7-form-control-wrap {
    display: inline !important;
}

.wpcf7-form .wpcf7-acceptance,
.wpcf7-form .wpcf7-checkbox {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wpcf7-form .wpcf7-list-item {
    display: inline !important;
    margin: 0 !important;
}

.wpcf7-form .wpcf7-list-item label {
    display: inline !important;
    margin: 0 !important;
}

/* Submit button */
.wpcf7-form input[type="submit"] {
    background: var(--primary-color) !important;
    color: #000000 !important;
    border: none !important;
    padding: 0.75rem 2rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 0.5rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
    margin-top: 0.5rem !important;
}

.wpcf7-form input[type="submit"]:hover {
    background: #8ab800 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(113, 159, 0, 0.4) !important;
}

/* Error messages */
.wpcf7-not-valid-tip {
    color: #ff6b6b !important;
    font-size: 0.875rem !important;
    margin-top: 0.5rem !important;
}

.wpcf7-response-output {
    border-radius: 0.5rem !important;
    padding: 1rem !important;
    margin-top: 1.5rem !important;
}

/* Form row layout */
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}
