/* --- CSS VARIABLES --- */
:root {
    --primary-color: #0f2744;
    --primary-light: #1e3c66;
    --accent-color: #c8a15b;
    --accent-hover: #e0b870;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #121212;
    --border-color: #e5e5e5;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
}

/* --- RESET & GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section-padding {
    padding: 100px 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-color); color: var(--bg-white); }
.text-white { color: var(--bg-white); }
.text-light-muted { color: rgba(255,255,255,0.7); }

.subtitle {
    display: block;
    color: var(--accent-color);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
}

/* --- TYPOGRAPHY & UTILS --- */
.accent { color: var(--accent-color); }
.accent-text { color: var(--accent-color); font-style: italic; }

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #dcb267 100%);
    background-size: 200% auto;
    color: var(--bg-white);
    border: none;
    transition: var(--transition);
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(200, 161, 91, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--bg-white);
    color: var(--bg-white);
}

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

.btn-outline {
    border: 1px solid var(--accent-color);
    padding: 8px 20px;
    border-radius: 4px;
    color: var(--accent-color) !important;
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--bg-white) !important;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    z-index: 1000;
    transition: var(--transition);
    background: var(--primary-color);
    color: var(--bg-white);
}

.navbar.scrolled {
    background: rgba(15, 39, 68, 0.85);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    padding: 15px 5%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .logo a {
    display: flex;
    align-items: center;
}

.nav-logo {
    max-height: 50px;
    width: auto;
    display: block;
    border-radius: 50%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-links a:not(.btn-outline)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:not(.btn-outline):hover::after {
    width: 100%;
}

.mobile-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--bg-white);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--bg-white);
    left: 0;
    transition: var(--transition);
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('../assets/img/hero.png') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 39, 68, 0.9) 0%, rgba(15, 39, 68, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 5%;
    color: var(--bg-white);
    margin-top: 50px;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--bg-white);
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* --- LEISTUNGEN (SERVICES) --- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.card-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

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

/* --- ÜBER UNS (ABOUT) --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.about-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
}

.about-grid:hover .about-image img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.check-list {
    margin-top: 30px;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-weight: bold;
}



/* Increase spacing between partner cards */
.partner-grid {
    gap: 60px; /* more breathing room */
}

.partner-card {
    margin-bottom: 30px; /* ensure separation when wrapping */
}

.partner-logo-placeholder {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--bg-white);
    margin: 0 auto 15px auto;
    font-size: 1rem;
}

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

.partner-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    color: var(--bg-white);
}

.partner-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.12);
}

.partner-card .partner-category {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.partner-card h3 {
    margin-top: 5px;
    margin-bottom: 12px;
    font-size: 1.4rem;
    color: var(--text-main);
}

.partner-card .partner-tagline {
    font-style: italic;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.partner-card p {
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.5;
}

.partner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.partner-tags .tag {
    background: var(--accent-color);
    color: var(--bg-white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.team-showcase {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    align-items: center;
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
}

.team-image-wrapper {
    overflow: hidden;
    height: 100%;
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.team-showcase:hover .team-image-wrapper img {
    transform: scale(1.05);
}

.team-text {
    padding: 40px;
}

.team-text h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.team-text p {
    color: var(--text-muted);
}

/* --- KONTAKT (CONTACT) --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item strong {
    display: block;
    color: var(--accent-color);
    margin-bottom: 5px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.contact-item p, .contact-item a {
    color: rgba(255,255,255,0.9);
}

.contact-form-wrapper {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 2px solid var(--border-color);
    background: transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
    box-shadow: 0 10px 10px -10px rgba(200, 161, 91, 0.2);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 0;
    color: var(--text-muted);
    transition: var(--transition);
    pointer-events: none;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    font-size: 0.8rem;
    color: var(--accent-color);
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

/* --- FOOTER --- */
footer {
    background: #0a1b30;
    color: var(--bg-white);
    padding-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 15px;
}

.footer-logo {
    max-height: 60px;
    width: auto;
    display: block;
    margin-bottom: 15px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
}

.footer-links h4,
.footer-legal h4 {
    font-family: var(--font-heading);
    color: var(--bg-white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 10px;
}

.footer-links ul a,
.footer-legal ul a {
    color: rgba(255,255,255,0.6);
}

.footer-links ul a:hover,
.footer-legal ul a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

/* --- ANIMATIONS --- */
.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

.fade-up { transform: translateY(40px); }
.fade-right { transform: translateX(-40px); }
.fade-left { transform: translateX(40px); }

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 3.5rem; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .experience-badge { right: 20px; bottom: -20px; }
    .team-showcase { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .navbar { padding: 15px 5%; background: rgba(15, 39, 68, 0.98); }
    .mobile-btn { display: block; z-index: 1001; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
    }
    
    .nav-links.active { right: 0; }
    
    .hero h1 { font-size: 2.8rem; }
    .hero-actions { flex-direction: column; }
    
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
}