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

:root {
    --primary-color: #7b6b5e;
    --secondary-color: #453A31;
    --accent-color: #7b6b5e;
    --bg-warm: #f3e9dd;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-white);
    font-size: 16px;
    overflow-x: hidden;
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-narrow {
    max-width: 1000px;
    padding: 0 40px;
}

/* Header */
.header {
    background: var(--bg-warm);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(243, 233, 221, 0.95);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(243, 233, 221, 0.98);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 40px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.logo-link:hover .logo-img {
    transform: scale(1.05);
}

.logo-link:hover .logo-text {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 12rem 0 10rem;
    background: linear-gradient(135deg, var(--bg-warm) 0%, rgba(243, 233, 221, 0.7) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(123, 107, 94, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease-out;
    padding: 0 2rem;
}

.hero-title {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 2rem;
    line-height: 1.5;
    animation: slideDown 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 2.5rem;
    line-height: 1.4;
    animation: slideDown 0.8s ease-out 0.4s both;
}

.hero-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-light);
    margin: 2.5rem auto;
    max-width: 900px;
    line-height: 1.9;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    animation: slideUp 0.8s ease-out 0.6s both;
    transition: var(--transition);
}

.hero-quote:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-quote footer {
    margin-top: 1rem;
    font-style: normal;
    font-size: 0.95rem;
}

.hero-quote cite {
    font-weight: 500;
}

.hero-logo {
    margin-top: 3rem;
}

.logo-large {
    height: 200px;
    width: auto;
    margin: 0 auto;
    display: block;
    animation: fadeIn 1s ease-out 0.8s both;
    transition: var(--transition);
}

.logo-large:hover {
    transform: scale(1.05);
}

/* Sections */
.section {
    padding: 8rem 0;
    position: relative;
}

.section-alt {
    background: var(--bg-warm);
}

.section-title {
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.section:hover .section-title::after {
    width: 100px;
}

/* About Section */
.section-quote {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 4rem;
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.about-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.about-images img,
.about-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: block;
    transition: var(--transition-slow);
}

.about-images img:first-child,
.about-image:first-child {
    object-position: top;
}

.about-images img:hover,
.about-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-list {
    list-style: none;
    font-size: 1.1rem;
    line-height: 2.2;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    padding-left: 0;
}

.about-text {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text-light);
    margin-top: 2.5rem;
}

.content-text {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text-light);
    padding: 0 2rem;
}

.content-text p {
    margin-bottom: 1.5rem;
}

.content-quote {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

.content-quote cite {
    font-weight: 500;
    font-style: normal;
    display: block;
    margin-top: 0.5rem;
}

.sources {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-light);
}

.source-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.focus-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.focus-list ul {
    list-style: none;
    font-size: 1.15rem;
    line-height: 2.5;
    color: var(--text-light);
    text-align: left;
    padding: 0;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.service-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Contact Section */
.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: start;
    padding: 0 2rem;
}

.contact-info {
    font-size: 1.15rem;
    line-height: 2.2;
    color: var(--text-light);
}

.contact-info strong {
    color: var(--primary-color);
    font-weight: 600;
}

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

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

.contact-form {
    background: var(--bg-light);
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-form:hover {
    box-shadow: var(--shadow-md);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(123, 107, 94, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
}

.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: var(--bg-warm);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateX(-5px);
}

/* Impressum Section */
.impressum-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--bg-white) 0%, var(--bg-warm) 100%);
}

.impressum-header {
    text-align: center;
    margin-bottom: 4rem;
}

.impressum-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    position: relative;
    display: inline-block;
}

.impressum-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.impressum-back {
    margin-top: 3rem;
}

.btn-icon {
    margin-right: 0.5rem;
    font-size: 1.1em;
}

.impressum-content {
    background: var(--bg-white);
    padding: 5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    max-width: 1100px;
    margin: 0 auto;
}

.impressum-content:hover {
    box-shadow: var(--shadow-lg);
}

.impressum-block {
    margin-bottom: 3.5rem;
    padding-bottom: 3.5rem;
    border-bottom: 2px solid var(--bg-warm);
    position: relative;
}

.impressum-block:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.impressum-block-highlight {
    background: linear-gradient(135deg, var(--bg-warm) 0%, rgba(243, 233, 221, 0.3) 100%);
    padding: 3rem;
    border-radius: 20px;
    border: none;
    margin-bottom: 4rem;
}

.block-header {
    margin-bottom: 2rem;
}

.block-header h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.block-intro {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-top: 1rem;
}

.impressum-address {
    font-style: normal;
    margin: 2rem 0;
}

.address-item {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: var(--text-light);
    font-size: 1.05rem;
    padding-left: 1.5rem;
    position: relative;
}

.address-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2em;
}

.address-item strong {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.address-label {
    font-weight: 600;
    color: var(--text-color);
    margin-right: 0.5rem;
}

.impressum-address a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.impressum-address a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.impressum-footer-note {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-light);
}

.impressum-footer-note a {
    color: var(--primary-color);
    text-decoration: none;
}

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

/* Privacy Section */
.impressum-block-privacy {
    padding-top: 1rem;
}

.privacy-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 16px;
    transition: var(--transition);
}

.privacy-section:hover {
    background: rgba(243, 233, 221, 0.4);
    transform: translateX(5px);
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-icon {
    font-size: 1.4rem;
    opacity: 0.8;
}

.privacy-section p {
    color: var(--text-light);
    line-height: 2;
    font-size: 1.05rem;
    margin-bottom: 0;
}

.impressum-list-detailed {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0 0;
}

.impressum-list-detailed > li {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    color: var(--text-light);
    font-size: 1.05rem;
    padding-left: 1.5rem;
    position: relative;
}

.impressum-list-detailed > li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.impressum-list-detailed strong {
    color: var(--primary-color);
    font-weight: 600;
}

.impressum-sublist {
    list-style: none;
    padding-left: 1.5rem;
    margin-top: 0.75rem;
    border-left: 2px solid var(--bg-warm);
    padding-left: 1.5rem;
}

.impressum-sublist li {
    margin-bottom: 0.75rem;
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--text-light);
    padding-left: 1rem;
    position: relative;
}

.impressum-sublist li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
}

.footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
    line-height: 1.8;
}

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

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

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

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

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icon:hover {
    transform: scale(1.1);
}

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

/* Demo Images */
.demo-image {
    filter: brightness(0.95);
    transition: var(--transition-slow);
}

.demo-image:hover {
    filter: brightness(1);
    transform: scale(1.02);
}

/* Smooth reveal animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
}

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

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        padding: 0 30px;
    }

    .nav {
        padding: 1.2rem 30px;
    }

    .logo-text {
        font-size: 1rem;
    }

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

    .hero-subtitle {
        font-size: 1.5rem;
    }

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

    .about-content,
    .content-text,
    .focus-list,
    .about-images {
        padding: 0 1rem;
    }

    .about-text,
    .content-text p {
        text-align: left !important;
        margin-bottom: 1.25rem;
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .container-narrow {
        padding: 0 20px;
    }

    .nav {
        padding: 1rem 20px;
    }

    .logo-text {
        font-size: 0.9rem;
        gap: 0.75rem;
    }

    .logo-img {
        height: 40px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
        gap: 1.5rem;
    }

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

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2.2rem;
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        padding: 0 1rem;
    }

    .hero-quote {
        padding: 1.5rem;
        margin: 2rem 1rem;
    }

    .impressum-content {
        padding: 3rem 2rem;
    }

    .impressum-title {
        font-size: 2.5rem;
    }

    .impressum-block-highlight {
        padding: 2rem 1.5rem;
    }

    .privacy-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .privacy-section h3 {
        font-size: 1.15rem;
        flex-wrap: wrap;
    }

    .section-icon {
        font-size: 1.2rem;
    }

    .address-item {
        font-size: 1rem;
        padding-left: 1.25rem;
    }

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

    .about-images {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .about-text,
    .content-text p {
        text-align: left !important;
        line-height: 1.8;
        margin-bottom: 1.2rem;
    }

    .content-text {
        padding: 0 1rem;
        line-height: 1.8;
    }

    .about-text {
        margin-top: 1.5rem;
        padding: 0 0.5rem;
    }

    .content-text p {
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 0;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .about-text,
    .content-text p {
        text-align: left !important;
        line-height: 1.75;
        margin-bottom: 1.1rem;
    }

    .content-text {
        padding: 0 0.75rem;
    }

    .about-text {
        margin-top: 1.25rem;
        padding: 0 0.5rem;
    }
}

