:root {
    --border-light: #e2e8f0;
    --accent-gold: #c9a227;
    --accent-gold-light: #e8c547;
    --shadow-sm: 0 1px 3px rgba(30, 77, 122, 0.08);
    --shadow-md: 0 4px 12px rgba(30, 77, 122, 0.12);
    --shadow-lg: 0 8px 30px rgba(30, 77, 122, 0.15);
    --shadow-gold: 0 4px 20px rgba(201, 162, 39, 0.25);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* === HERO === */
.hero {
    background: var( --e-global-color-330ae91 );
    padding: 11rem 2rem 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 600;
    color: var( --e-global-color-text );
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero p {
    color: var( --e-global-color-text );
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

/* === SEARCH BOX === */
.search-box {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(30, 77, 122, 0.15);
    max-width: 800px;
    margin: 0 auto;
}

.search-fields {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.field-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var( --e-global-color-primary );
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.field-wrapper {
    position: relative;
}

.field-wrapper svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var( --e-global-color-primary );
}

.search-box input,
.search-box select {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    color: var( --e-global-color-primary );
    background: var(--sk-white);
    transition: all 0.2s;
    appearance: none;
    cursor: pointer;
}

.search-box input:focus,
.search-box select:focus {
    outline: none;
    border-color: var( --e-global-color-primary );
    box-shadow: 0 0 0 4px rgba(30, 77, 122, 0.1);
}

.search-box select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
    padding-right: 3rem;
}

.search-btn {
    background: var( --e-global-color-primary );
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    white-space: nowrap;
}

.search-btn:hover {
    background: var( --e-global-color-secondary );
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 77, 122, 0.12);
}

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

.popular-searches {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
    line-height: 1.3;
}

.popular-searches span {
    font-size: 0.85rem;
    color: var( --e-global-color-primary );
}

.popular-tag {
    background: var( --e-global-color-01f396f );
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var( --e-global-color-secondary );
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.popular-tag:hover {
    background: var( --e-global-color-primary );
    color: white !important;
}

/* === RESULTS SECTION === */
.results-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.results-title {
    
    font-size: 1.8rem;
    color: var( --e-global-color-primary );
}

.results-title span {
    color: var( --e-global-color-primary );
}

.results-count {
    color: var( --e-global-color-primary );
    font-size: 0.95rem;
}

.sort-filter {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-filter label {
    font-size: 0.9rem;
    color: var( --e-global-color-primary );
}

.sort-filter select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
}

/* === LAWYER CARDS === */
.lawyers-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.lawyer-card {
    background: #F3FDF8;
    border-radius: 12px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: start;
    box-shadow: var(--shadow-sm);
    border: 1px solid var( --e-global-color-d4995e1 );
    transition: all 0.3s ease;
    position: relative;
}

.lawyer-card:hover {
    box-shadow: 0 4px 12px rgba(30, 77, 122, 0.12);
    transform: translateY(-2px);
    border-color: var( --e-global-color-primary );
}

/* Premium Styling */
.lawyer-card.premium {
    background: linear-gradient(135deg, #fffdf5 0%, #fff9e6 100%);
    border: 2px solid var(--accent-gold);
    box-shadow: var(--shadow-gold);
    padding-top: 2.5rem;
}

.lawyer-card.premium:hover {
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.35);
}

.premium-badge {
    position: absolute;
    top: -1px;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    color: white;
    padding: 0.35rem 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 0 0 6px 6px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.doctor-termin-buchen {
	margin-top: 20px;
}
.premium-badge svg {
    width: 12px;
    height: 12px;
}

.lawyer-avatar {
    width: 100px;
    height: 100px;
    border-radius: 12px !important;
    object-fit: cover;
    background: var( --e-global-color-01f396f );
    border: 3px solid var( --e-global-color-d4995e1 ) !important;
}

.premium .lawyer-avatar {
    border-color: var(--accent-gold);
}

.lawyer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lawyer-name {
    
    font-size: 1.25rem;
    font-weight: 600;
    color: var( --e-global-color-primary );
    margin: 0;
}

.premium .lawyer-name {
    color: var( --e-global-color-secondary );
}
.lawyer-extra-info,
.lawyer-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.specialty-tag {
    background: var( --e-global-color-d4995e1 );
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    line-height: 1.3;
    font-weight: 500;
}

.premium .specialty-tag {
    background: rgba(201, 162, 39, 0.15);
    color: #8a6d1b;
}
.lawyer-info-row,
.lawyer-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var( --e-global-color-text );
    font-size: 0.9rem;
}
.lawyer-info-row svg,
.lawyer-location svg {
    width: 16px;
    min-width: 16px;
    height: 16px;
    color: var( --e-global-color-primary );
}

.lawyer-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars svg {
    width: 16px;
    height: 16px;
    fill: var(--accent-gold);
}

.rating-text {
    font-size: 0.85rem;
    color: var( --e-global-color-secondary );
}

.rating-text strong {
    color: var( --e-global-color-primary );
}

.lawyer-description {
    color: var( --e-global-color-secondary );
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 0.5rem;
}

.lawyer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
    min-width: 160px;
}

.btn-contact {
    background: var( --e-global-color-primary );
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}

.btn-contact:hover {
    color: var(--sk-white);
    background: var( --e-global-color-secondary );
    transform: translateY(-1px);
}

.premium .btn-contact {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b8922a 100%);
}

.premium .btn-contact:hover {
    color: var(--sk-white);
    background: linear-gradient(135deg, #b8922a 0%, #a07d20 100%);
}

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

.btn-profile {
    color: var( --e-global-color-primary );
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-profile:hover {
    color: var( --e-global-color-secondary );
    text-decoration: underline;
}

.btn-profile svg {
    width: 14px;
    height: 14px;
}

.contact-info {
    font-size: 0.8rem;
    color: var( --e-global-color-primary );
    text-align: right;
}

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

.contact-info a:hover {
    color: var( --e-global-color-primary );
}

/* === PREMIUM CTA === */
.premium-cta {
    background: linear-gradient(135deg, var( --e-global-color-primary ) 0%, var( --e-global-color-secondary ) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.premium-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.premium-cta-content {
    position: relative;
    z-index: 1;
}

.premium-cta h3 {
    
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.75rem;
}

.premium-cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    max-width: 500px;
}

.premium-cta-btn {
    background: var(--accent-gold);
    color: white;
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.premium-cta-btn:hover {
    color: var(--sk-white);
    background: var(--accent-gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.premium-cta-btn svg {
    width: 18px;
    height: 18px;
}



/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lawyer-card {
    animation: fadeInUp 0.4s ease forwards;
}

.lawyer-card:nth-child(1) { animation-delay: 0.1s; }
.lawyer-card:nth-child(2) { animation-delay: 0.15s; }
.lawyer-card:nth-child(3) { animation-delay: 0.2s; }
.lawyer-card:nth-child(4) { animation-delay: 0.25s; }
.lawyer-card:nth-child(5) { animation-delay: 0.3s; }
.lawyer-card:nth-child(6) { animation-delay: 0.35s; }
.lawyer-card:nth-child(7) { animation-delay: 0.4s; }

.load-more.search-btn {
    margin: auto;
    margin-top: 50px;
}
.lawyer-info-row svg {
    width: 16px;
}
.premium-lawyers {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 20px;
}
/* === RESPONSIVE UPDATES === */
@media (max-width: 1100px) {
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .trust-stats {
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }
    .search-btn {
        justify-content: center;
    }
}

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

    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .article-card.small {
        grid-template-columns: 1fr;
    }

    .article-card.small .article-image {
        height: 150px;
    }
}



@media (max-width: 900px) {
    .featured-logos {
        gap: 2.5rem;
    }
	.doctor-termin-buchen {
		margin-top: 0px;
	}
}

@media (max-width: 600px) {
    .featured-logos {
        gap: 2rem;
    }

    .featured-logo svg {
        height: 22px;
    }

    .logo-text-zeit,
    .logo-text-wiwo,
    .logo-text-beck {
        font-size: 1.1rem;
    }

    .logo-text-taz {
        font-size: 1.3rem;
    }
}


/* === RESPONSIVE === */
@media (max-width: 900px) {
    .search-fields {
        grid-template-columns: 1fr;
    }

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

    .lawyer-avatar {
        margin: 0 auto;
    }

    .lawyer-actions {
        align-items: center;
        min-width: auto;
    }

    .lawyer-specialties {
        justify-content: center;
    }
    .lawyer-rating {
        justify-content: center;
    }
    .lawyer-info-row,
    .lawyer-location {
        justify-content: center;
    }

    .premium-cta {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .premium-cta .premium-cta-btn {
        justify-content: center;
    }

}

@media (max-width: 600px) {
   
    .hero {
        padding: 6.5rem 1rem 3rem;
    }

    .results-section {
        padding: 2rem 1rem;
    }
    .load-more.search-btn {
        margin: auto;
        margin-top: 30px;
    }

    
}

.premium-lawyers {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 20px;
}
.premium-lawyers .lawyer-card {
	display: flex;
	flex-direction: column;
	align-items: center;
    text-align: center;
	padding-top: 55px;
}
.premium-lawyers .lawyer-info-row, .premium-lawyers .lawyer-location {
   display: block;
}
.premium-lawyers .lawyer-info-row svg, .premium-lawyers .lawyer-location svg {
   margin-top: -2px;
    margin-right: 5px;
    vertical-align: middle;
}
.premium-slider {
	width: 100%;
	padding: 0 20px;
}
.premium-slider .swiper-button-next, .premium-slider .swiper-button-prev {
	width: 30px;
	height: 30px;
	background-color: #154f54;
	border-radius: 50%;
}
.premium-slider .swiper-button-next:after, 
.premium-slider .swiper-button-prev:after {
    font-size: 13px;
    color: #fff;
}
.premium-lawyers .doctor-termin-buchen {
    margin-top: 0px;
}
@media (max-width: 991px) {
	.premium-lawyers {
		grid-template-columns: repeat(2,1fr);
	}
}
@media (max-width: 767px) {
	.premium-lawyers {
		grid-template-columns: repeat(1,1fr);
	}
	.premium-lawyers {
		width: calc(100% + 40px);
		margin-left: -20px;
	}
	.premium-lawyers .doctor-termin-buchen {
		padding: 10px 20px !important;
	}
	.premium-lawyers .lawyer-card {
    	height: 100%;
		box-shadow: none;
	}
	.premium-slider .slide {
		height: auto;
	}
	.premium-lawyers .lawyer-card .premium-badge {
    	right: auto;
	}
}
.middle-text {
	margin-top: 20px;
	margin-bottom: 10px;
}