/* Hand-drawn Style CSS for German Pension Consulting */
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&family=Caveat:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kalam', cursive;
    line-height: 1.6;
    color: #2c3e50;
    background: #f8f9fa;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 3px solid #2c5f2d;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5f2d;
}

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

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #2c5f2d;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2c5f2d;
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #a8e6cf, #dcedc8);
    padding: 120px 0 80px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0 15 Q25 5 50 15 T100 15 V20 H0 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 100px 20px;
    animation: wave 3s linear infinite;
}

@keyframes wave {
    0% { background-position-x: 0; }
    100% { background-position-x: 100px; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-family: 'Caveat', cursive;
    font-size: 3rem;
    font-weight: 700;
    color: #2c5f2d;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #34495e;
}

.cta-button {
    display: inline-block;
    background: #2c5f2d;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.3);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.cta-button:hover {
    background: white;
    color: #2c5f2d;
    border-color: #2c5f2d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 95, 45, 0.4);
}

.hero-svg {
    width: 100%;
    height: 300px;
    filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.1));
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
    position: relative;
}

.services h2 {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c5f2d;
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #27ae60;
    border-radius: 2px;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(44, 95, 45, 0.05), transparent);
    transform: rotate(-45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.service-card:hover::before {
    opacity: 1;
    animation: shimmer 1s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(-45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(-45deg); }
}

.service-card:hover {
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: #2c5f2d;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.service-card h3 {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c5f2d;
    font-weight: 600;
}

.service-card p {
    color: #555;
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><circle cx="30" cy="30" r="2" fill="rgba(44,95,45,0.1)"/></svg>');
    background-size: 60px 60px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text h2 {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2c5f2d;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 1.1rem;
}

.expertise-list {
    list-style: none;
    margin-top: 1.5rem;
}

.expertise-list li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 2rem;
}

.expertise-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 1.2rem;
}

.about-svg {
    width: 100%;
    height: 250px;
    filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.1));
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials h2 {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c5f2d;
}

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

.testimonial-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 20px;
    border-left: 5px solid #27ae60;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px) rotate(-1deg);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.quote-icon {
    width: 40px;
    height: 30px;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: #2c5f2d;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
}

.blog h2 {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c5f2d;
}

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

.blog-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.blog-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.blog-card h3 {
    font-family: 'Caveat', cursive;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-card h3 a {
    color: #2c5f2d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h3 a:hover {
    color: #27ae60;
}

.blog-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.read-more {
    color: #2c5f2d;
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.read-more::after {
    content: ' →';
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact h2 {
    font-family: 'Caveat', cursive;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c5f2d;
}

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

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

.contact-icon {
    width: 24px;
    height: 24px;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

/* Newsletter Form */
.newsletter-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 20px;
    border: 3px solid #e9ecef;
}

.newsletter-form h3 {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2c5f2d;
}

.newsletter-form p {
    margin-bottom: 1.5rem;
    color: #666;
}

.newsletter-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-family: 'Kalam', cursive;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #2c5f2d;
}

.newsletter-form button {
    background: #2c5f2d;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-family: 'Kalam', cursive;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.newsletter-form button:hover {
    background: white;
    color: #2c5f2d;
    border-color: #2c5f2d;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
}

.footer-logo span {
    font-family: 'Caveat', cursive;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    color: #bdc3c7;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: white;
    padding: 1rem;
    z-index: 10000;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.cookie-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 8px 16px;
    border: 2px solid white;
    border-radius: 20px;
    background: transparent;
    color: white;
    font-family: 'Kalam', cursive;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.cookie-btn.accept-all {
    background: #27ae60;
    border-color: #27ae60;
}

.cookie-btn:hover {
    background: white;
    color: #2c3e50;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-content h3 {
    font-family: 'Caveat', cursive;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #2c5f2d;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
}

.cookie-category label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.cookie-category input[type="checkbox"] {
    margin-right: 0.5rem;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .services h2,
    .about-text h2,
    .testimonials h2,
    .blog h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .service-card,
    .blog-card,
    .testimonial-card {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .cookie-banner,
    .cookie-modal {
        display: none !important;
    }
    
    .hero {
        margin-top: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero,
    .services,
    .about-section,
    .testimonials,
    .blog,
    .contact {
        page-break-inside: avoid;
        margin-bottom: 20pt;
    }
}