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

:root {
    --primary-green: #003d2b;
    --accent-green: #98C976;
    --text-dark: #151F28;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --light-gray: #e9ecef;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo Styles - Soft Fade Background */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(152, 201, 118, 0.2) 30%,
        rgba(152, 201, 118, 0.3) 50%,
        rgba(152, 201, 118, 0.2) 70%,
        transparent 100%);
    padding: 6px 25px;
    position: relative;
}

.logo-image {
    height: 35px;
    width: 35px;
    object-fit: contain;
    margin-right: 8px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #98C976;
    margin: 0;
}

.logo:hover .logo-text {
    color: var(--accent-green);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.nav-links a:hover {
    color: var(--accent-green);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-green);
    transition: width 0.3s ease;
    z-index: -1;
}

.nav-links a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.burger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-green);
    transition: 0.3s;
}

/* Hero Section - One-time Entrance Animation */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 61, 43, 0.7), rgba(0, 61, 43, 0.7)), 
                url('../images/header2.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin: 0;
    position: relative;
    top: 0;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    animation: professional-enter 1.5s ease-out; /* One-time animation */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.2;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

/* Professional Entrance Animation - Plays once */
@keyframes professional-enter {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Welcome Section - Updated for full width */
.welcome-section {
    padding: 5rem 5%;
    background-color: var(--white);
}

.welcome-container {
    max-width: 1200px;
    margin: 0 auto;
}

.welcome-text.full-width {
    width: 100%;
    max-width: 100%;
}

.welcome-text h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 2rem;
}

.welcome-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Remove agent image related styles */
.agent-image {
    display: none;
}

/* Responsive Design - Remove grid references for welcome section */
@media (max-width: 768px) {
    .welcome-container {
        /* Remove grid-template-columns since we only have one column now */
    }
}

/* Justified Text */
.justified-text {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.7;
}

.justified-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

/* Agent Image Styles */
.agent-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--light-gray);
    position: relative;
}

.agent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.agent-image img[src=""] {
    opacity: 0;
}

.agent-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light-gray);
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-style: italic;
    flex-direction: column;
    gap: 1rem;
}

/* Properties Section - Original Spacing */
.properties-section {
    padding: 6rem 5% 5rem; 
    background-color: var(--white);
}

.properties-container {
    max-width: 1200px;
    margin: 0 auto;
}

.properties-container h1 {
    margin-bottom: 2rem; /* Original spacing */
    text-align: left; /* Left-bound like other h1 titles */
}

.properties-grid {
    display: grid;
    gap: 3rem; /* Original spacing */
}

/* Property Card with Full Width Link Box */
.property-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.property-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

/* Pure Image Cropping - No Grey Background */
.carousel {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* Creates 4:3 aspect ratio */
    overflow: hidden;
}

.carousel-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Pure cropping - no stretching */
    display: block;
}

.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--white);
    transform: scale(1.1);
}

.property-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.property-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.property-features li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

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

/* ImmobilienScout24 Link Box - Full Width (No Jumping) */
.property-link-box {
    padding: 0.5rem;
    background-color: rgba(152, 201, 118, 0.1);
    border-top: 1px solid var(--accent-green);
    text-align: center;
    width: 100%;
}

.property-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease; /* Only color transition - no transform */
    padding: 12px 24px;
    font-size: 1.1rem;
}

.property-link:hover {
    color: var(--accent-green);
    /* No transform:translateY to prevent jumping */
}

.property-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.property-link:hover i {
    transform: scale(1.1); /* Only icon scales slightly */
}

/* Contact Section */
.contact-section {
    padding: 6rem 5% 5rem; 
    background-color: var(--white);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-header {
    text-align: left;
    margin-bottom: 1.5rem;
    grid-column: 1 / -1;
}

.contact-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.contact-header p {
    font-size: 1.2rem;
    color: var(--text-dark);
    max-width: 600px;
    margin-bottom: 0;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s ease;
    padding: 1.25rem;
    border-radius: 10px;
    background-color: var(--background-light);
    border: 1px solid var(--light-gray);
}

.contact-item:hover {
    background-color: rgba(152, 201, 118, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.contact-item:hover .fas {
    transform: scale(1.1);
}

.contact-item i {
    /* Font Awesome Eigenschaften entfernen für SVG Icons */
    font-size: 0 !important;
    width: 22px !important;
    height: 22px !important;
    margin-top: 0;
}

/* SVG Icons für Contact Items */
.contact-item .fas {
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-green);
    font-size: 1.1rem;
}

.contact-details p {
    margin-bottom: 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.contact-link {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    color: var(--accent-green);
}

.contact-map {
    height: 100%;
}

.map-placeholder {
    height: 100%;
    background-color: var(--light-gray);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-style: italic;
    flex-direction: column;
    gap: 1rem;
    min-height: 450px;
    padding: 2rem; /* Added padding for better spacing */
    text-align: center; /* Center the text */
    box-sizing: border-box; /* Ensure padding is included in height */
}

/* Responsive Design */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-links.active {
        right: 0;
    }

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

    .hero-content {
        animation: professional-enter 1.2s ease-out;
    }

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

    .property-content {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-header {
        grid-column: 1;
        margin-bottom: 1rem;
    }
    
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-item {
        padding: 1rem;
        gap: 1rem;
    }
    
    .contact-item i {
        width: 20px !important;
        height: 20px !important;
    }
    
    .map-placeholder {
        min-height: 300px;
        padding: 1.5rem; /* Increased padding for mobile */
    }

    .logo {
        padding: 5px 15px;
    }
    
    .logo-image {
        height: 30px;
        width: 30px;
        margin-right: 6px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

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

    .hero-content {
        animation: professional-enter 1s ease-out;
    }

    .welcome-text h2 {
        font-size: 2rem;
    }
    
    .agent-image {
        height: 300px;
    }

    .logo {
        padding: 4px 12px;
    }
    
    .logo-image {
        height: 25px;
        width: 25px;
        margin-right: 4px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }

    .property-info {
        padding: 1.5rem;
    }
    
    .contact-header h1 {
        font-size: 1.8rem;
    }
    
    .contact-header p {
        font-size: 1.1rem;
    }
    
    .contact-item {
        padding: 0.8rem;
    }
    
    .contact-details h3 {
        font-size: 1rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
    }
    
    .map-placeholder {
        padding: 1.25rem; /* Slightly reduced but still sufficient padding for very small screens */
        min-height: 280px;
    }
    
    .map-placeholder span {
        padding: 0 0.5rem; /* Additional horizontal padding for the text */
    }
}

/* Legal Section */
.legal-section {
    padding: 6rem 5% 5rem;
    background-color: var(--white);
    min-height: calc(100vh - 200px);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section h2 {
    margin-bottom: 2rem;
}

.legal-section h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.legal-section p {
    margin-bottom: 1rem;
}

.impressum-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--primary-green);
    color: var(--white);
    text-align: center;
    padding: 2rem 5%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-links.active {
        right: 0;
    }

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

    .hero-content {
        animation: professional-enter 1.2s ease-out;
    }

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

    .property-content {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-header {
        grid-column: 1;
        margin-bottom: 1rem;
    }
    
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-item {
        padding: 1rem;
        gap: 1rem;
    }
    
    .contact-item i {
        width: 20px !important;
        height: 20px !important;
    }
    
    .map-placeholder {
        min-height: 300px;
    }

    .logo-image {
        height: 30px;
        width: 30px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

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

    .hero-content {
        animation: professional-enter 1s ease-out;
    }

    .welcome-text h2 {
        font-size: 2rem;
    }
    
    .agent-image {
        height: 300px;
    }

    .logo-image {
        height: 25px;
        width: 25px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }

    .property-info {
        padding: 1.5rem;
    }
    
    .contact-header h1 {
        font-size: 1.8rem;
    }
    
    .contact-header p {
        font-size: 1.1rem;
    }
    
    .contact-item {
        padding: 0.8rem;
    }
    
    .contact-details h3 {
        font-size: 1rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Ensure body has no margin */
body {
    margin: 0;
    padding: 0;
}

/* External Link jetzt mit SVG Icon */
.external-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.external-link:hover {
    color: var(--accent-green);
}

.external-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-green);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.external-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* External Link Icon */
.external-link::before {
    display: none !important;
    content: none !important;
    font-family: unset !important;
}

/* Ensure the link is visible in paragraphs */
.welcome-text .external-link {
    display: inline-flex;
    align-items: center;
}

/* Karte */
.contact-map iframe {
    border-radius: 10px;
    min-height: 450px;
}

@media (max-width: 768px) {
    .contact-map iframe {
        min-height: 300px;
    }
}

/* Email Protection Styles */
.protected-email {
    cursor: pointer;
    transition: all 0.3s ease;
}

.protected-email:hover {
    color: var(--accent-green);
}

/* E-Mail-Links wie normale Contact-Links - ohne Fettdruck */
.contact-item .protected-email {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: normal; /* Statt 600 (fett) */
}

.contact-item .protected-email:hover {
    color: var(--accent-green);
}

/* Email Protection Styles */
.protected-email {
    cursor: pointer;
    transition: all 0.3s ease;
}

.protected-email:hover {
    color: var(--accent-green);
}

/* Phone/Fax Protection Styles */
.protected-telefon {
    cursor: pointer;
    transition: all 0.3s ease;
}

.protected-telefon:hover {
    color: var(--accent-green);
}

/* Sicherstellen, dass die geschützten Links wie normale Links aussehen */
.contact-item .protected-email,
.contact-item .protected-telefon {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: normal;
}

.contact-item .protected-email:hover,
.contact-item .protected-telefon:hover {
    color: var(--accent-green);
}

/* No-JS Fallback Styles */
.no-js .protected-email::before {
    content: 'E-Mail: ';
    font-weight: bold;
}

.no-js .protected-telefon::before {
    content: 'Tel: ';
    font-weight: bold;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 3px solid var(--accent-green);
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: none;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.cookie-content h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

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

.cookie-options {
    margin: 2rem 0;
}

.cookie-option {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    background: var(--background-light);
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cookie-option:hover {
    background: rgba(152, 201, 118, 0.05);
    border-color: var(--accent-green);
    transform: translateY(-2px);
}

.cookie-option input[type="checkbox"] {
    margin-right: 1.5rem;
    width: 20px;
    height: 20px;
    accent-color: var(--accent-green);
    cursor: pointer;
}

.cookie-option input[type="checkbox"]:disabled {
    accent-color: var(--primary-green);
    opacity: 0.7;
}

.cookie-option-content {
    flex: 1;
}

.cookie-option-title {
    display: block;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 0.25rem;
}

.cookie-option-desc {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
    opacity: 0.8;
}

.cookie-option i {
    font-size: 1.2rem;
    margin-left: 1rem;
}

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

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

/* Cookiebot exakt nachbauen */
.cookie-btn-primary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.cookie-btn-primary:hover {
    background: var(--primary-green);
    color: white;
}

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

.cookie-btn-secondary:hover {
    background: #002c1f;
    border-color: #002c1f;
}

.cookie-btn-link {
    background: transparent;
    color: var(--primary-green);
    text-decoration: underline;
    border: none;
    padding: 0.7rem 1rem;
}

.cookie-btn-link:hover {
    color: var(--accent-green);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cookie-container {
        padding: 1.5rem;
    }
    
    .cookie-option {
        padding: 1rem;
    }
    
    .cookie-option input[type="checkbox"] {
        margin-right: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cookie-container {
        padding: 1rem;
    }
    
    .cookie-content h3 {
        font-size: 1.3rem;
    }
    
    .cookie-option {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .cookie-option i {
        margin-left: 0;
        margin-top: 0.5rem;
        align-self: flex-end;
    }
}

/* Burger Menu Animation */
.burger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Sicherstellen dass Nav über Cookie-Banner liegt */
.nav-links {
    z-index: 10001; /* Höher als Cookie-Banner (10000) */
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px; /* Erhöht für besseren Abstand */
        right: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 10001; /* Über Cookie-Banner */
    }

    .nav-links.active {
        right: 0;
    }
    
    .burger {
        display: flex;
        z-index: 10002; /* Noch höher */
    }
}

/* Externe Link Icons */
.external-link::after {
    content: ' ↗';
    font-size: 0.8em;
    margin-left: 2px;
    display: inline-block;
}

/* Sicherstellen dass externe Links sichtbar sind */
.welcome-text .external-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.welcome-text .external-link:hover {
    color: var(--accent-green);
}

.welcome-text .external-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent-green);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.welcome-text .external-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* === KORREKTUREN FÜR SVG-ICONS === */

/* Contact Icons auf SVG umstellen */
.contact-item i {
    /* Font Awesome Eigenschaften entfernen */
    font-size: 0 !important;
    width: 22px !important;
    height: 22px !important;
    color: transparent !important;
}

/* Sicherstellen dass SVG Icons korrekt angezeigt werden */
.contact-item .fas {
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

/* Quadrat vor "Herrn Mustermann" entfernen */
.contact-item::before {
    display: none !important;
    content: none !important;
}

/* Contact Item Hover-Effekte für SVG Icons */
.contact-item:hover .fas {
    transform: scale(1.1);
}

.contact-item .fas {
    transition: all 0.3s ease;
}

/* Responsive Anpassungen für Contact Icons */
@media (max-width: 768px) {
    .contact-item i {
        width: 20px !important;
        height: 20px !important;
    }
}

@media (max-width: 480px) {
    .contact-item i {
        width: 18px !important;
        height: 18px !important;
    }
}
/* DSGVO-konforme Maps Consent Styles */
.maps-consent-container {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.maps-consent-content h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.maps-consent-content p {
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.maps-consent-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.maps-consent-btn:hover {
    background: #002c1f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 61, 43, 0.3);
}

.maps-privacy-note {
    margin-top: 15px;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .maps-consent-container {
        padding: 2rem;
        height: 300px;
        min-height: 300px;
    }
    
    .maps-consent-content h3 {
        font-size: 1.3rem;
    }
}

/* ===== RAHMENLOSE GOOGLE MAPS MIT SOFORTIGEN ABGERUNDETEN ECKEN ===== */
.maps-consent-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: transparent;
    border: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
    /* Erzwingt sofortige abgerundete Ecken */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.maps-consent-container iframe {
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
    /* Erzwingt sofortige abgerundete Ecken */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* Contact Map Bereich */
.contact-map {
    background: transparent;
    padding: 0;
    margin: 0;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .maps-consent-container {
        height: 300px;
        border-radius: 8px;
    }
    
    .maps-consent-container iframe {
        border-radius: 8px !important;
    }
}

/* Footer Links Styling - WEIßE LINKS mit allen Pseudo-Klassen */
.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* ALLE Link-Zustände explizit definieren */
.footer-links a,
.footer-links a:link,
.footer-links a:visited,
.footer-links a:focus,
.footer-links a:active {
    color: var(--white) !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    /* Reset aller Browser-Standards */
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Hover-Zustand */
.footer-links a:hover {
    color: var(--accent-green) !important;
    text-decoration: none !important;
    background-color: transparent !important;
}

/* Unterstrich-Animation */
.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-green);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

/* Spezifisch für Safari - entfernt Standard-Link-Stile */
@media not all and (min-resolution:.001dpcm) { 
    @supports (-webkit-appearance:none) {
        .footer-links a {
            -webkit-text-fill-color: var(--white) !important;
            -webkit-text-stroke: 0px !important;
        }
        .footer-links a:hover {
            -webkit-text-fill-color: var(--accent-green) !important;
        }
    }
}

/* Responsive Footer Links */
@media (max-width: 768px) {
    .footer-links {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .footer-links a {
        padding: 0.25rem 0;
    }
}
