/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2a2a2a;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 400;
}

p {
    font-size: 1rem;
    font-weight: 300;
    color: #666;
    margin-bottom: 1rem;
}

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

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f0f0f0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

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

.logo-img {
    width: 80px;
    height: 40px;
    transition: transform 0.3s ease;
}

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

.logo-text {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #2a2a2a;
}

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

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 300;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
    display: block;
    z-index: 1001;
}

.nav-link:hover {
    color: #2a2a2a;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #2a2a2a;
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 30%;
    right: 15%;
    width: 200px;
    height: 200px;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    z-index: 0;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #2a2a2a;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
}

.btn-primary {
    background: #2a2a2a;
    color: white;
}

.btn-primary:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
}

.btn-secondary {
    color: #2a2a2a;
    background: transparent;
}

.btn-secondary:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
}

/* Geometric Shapes */
.hero-visual {
    position: relative;
    height: 400px;
    overflow: visible;
}

.geometric-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    z-index: 1;
}

/* Minimalist circles in bottom-left */
.shape-1 {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    top: 75%;
    left: 10%;
    background: #d0d0d0;
    border: none;
}

.shape-2 {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    top: 80%;
    left: 15%;
    background: #d0d0d0;
    border: none;
}

.shape-3 {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    top: 70%;
    left: 8%;
    background: #d0d0d0;
    border: none;
}

.shape-4 {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    top: 78%;
    left: 12%;
    background: #d0d0d0;
    border: none;
}

.shape-5 {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    top: 72%;
    left: 18%;
    background: #d0d0d0;
    border: none;
}

/* Minimalist arrow on the right */
.shape-6 {
    width: 2px;
    height: 50px;
    top: 20%;
    right: 8%;
    background: #d0d0d0;
    border: none;
}

.shape-6::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 8px solid #d0d0d0;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    font-weight: 300;
    color: #2a2a2a;
}

.contact .section-title {
    text-align: center;
}

/* Services Section */
.services {
    background: #fafafa;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 15%;
    right: 8%;
    width: 250px;
    height: 250px;
    border: 1px solid #d0d0d0;
    border-radius: 50%;
    z-index: 0;
}

.services::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 5%;
    width: 180px;
    height: 180px;
    border: 1px solid #d0d0d0;
    border-radius: 50%;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.service-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* SEO Icon - Using seo.png */
.icon-seo {
    position: relative;
    width: 80px;
    height: 80px;
    background: url('seo.png') no-repeat center;
    background-size: contain;
}

/* Webdesign Icon - Using webdesign.png */
.icon-webdesign {
    position: relative;
    width: 80px;
    height: 80px;
    background: url('webdesign.png') no-repeat center;
    background-size: contain;
}

/* Support Icon - Using support.png */
.icon-support {
    position: relative;
    width: 80px;
    height: 80px;
    background: url('support.png') no-repeat center;
    background-size: contain;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #2a2a2a;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Portfolio Section */
.portfolio {
    position: relative;
    overflow: hidden;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 12%;
    width: 220px;
    height: 220px;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    z-index: 0;
}

.portfolio::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 10%;
    width: 160px;
    height: 160px;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    z-index: 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.portfolio-item {
    background: white;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    transition: all 0.3s ease;
}

.portfolio-item:nth-child(1)::before {
    background: linear-gradient(90deg, #e3f2fd 0%, #bbdefb 100%);
}

.portfolio-item:nth-child(2)::before {
    background: linear-gradient(90deg, #f3e5f5 0%, #e1bee7 100%);
}

.portfolio-item:nth-child(3)::before {
    background: linear-gradient(90deg, #e8f5e8 0%, #c8e6c9 100%);
}

.portfolio-item:nth-child(4)::before {
    background: linear-gradient(90deg, #fff3e0 0%, #ffcc80 100%);
}

.portfolio-item:nth-child(5)::before {
    background: linear-gradient(90deg, #fce4ec 0%, #f8bbd9 100%);
}

.portfolio-item:nth-child(6)::before {
    background: linear-gradient(90deg, #e0f2f1 0%, #b2dfdb 100%);
}

.portfolio-item:nth-child(7)::before {
    background: linear-gradient(90deg, #f1f8e9 0%, #dcedc8 100%);
}

.portfolio-item:nth-child(8)::before {
    background: linear-gradient(90deg, #f9fbe7 0%, #f0f4c3 100%);
}

.portfolio-item:nth-child(9)::before {
    background: linear-gradient(90deg, #e8eaf6 0%, #c5cae9 100%);
}

.portfolio-item:nth-child(10)::before {
    background: linear-gradient(90deg, #fff8e1 0%, #ffecb3 100%);
}

.portfolio-item:nth-child(11)::before {
    background: linear-gradient(90deg, #e1f5fe 0%, #b3e5fc 100%);
}

.portfolio-item:nth-child(12)::before {
    background: linear-gradient(90deg, #f3e5f5 0%, #e1bee7 100%);
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.portfolio-item:hover::before {
    height: 4px;
}

.portfolio-image {
    height: 200px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.placeholder-shape {
    width: 80px;
    height: 80px;
    border: 1px solid #e0e0e0;
    position: relative;
}

.placeholder-shape::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: #e0e0e0;
}

.portfolio-item h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: #2a2a2a;
}

.portfolio-item p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    font-size: 0.95rem;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 2rem;
    color: #2a2a2a;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-visual {
    position: relative;
    height: 300px;
}

.about-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-shape {
    position: absolute;
    border: 1px solid #e0e0e0;
}

.shape-a {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 20%;
    transform: rotate(45deg);
}

.shape-b {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    top: 60%;
    right: 30%;
    border: 1px solid #d0d0d0;
}

.shape-c {
    width: 80px;
    height: 1px;
    top: 40%;
    left: 10%;
    background: #e0e0e0;
    border: none;
}

/* Team Section */
.team-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid #f0f0f0;
}

.team-section h3 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    font-weight: 300;
    color: #2a2a2a;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.member-avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.avatar-placeholder::before {
    content: '';
    width: 40px;
    height: 40px;
    background: #d0d0d0;
    border-radius: 50%;
}

.member-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s ease;
    border: 2px solid #f0f0f0;
}

/* Spezifische Anpassung für Lisa's Bild */
.team-member:nth-child(3) .member-image {
    object-position: center 20%;
}

.team-member:hover .avatar-placeholder {
    transform: scale(1.05);
}

.team-member:hover .member-image {
    transform: scale(1.05);
}

.team-member h4 {
    margin-bottom: 0.5rem;
    color: #2a2a2a;
    font-size: 1.2rem;
    font-weight: 500;
}

.member-role {
    color: #666;
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.member-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.contact .container {
    padding-left: 2rem;
    padding-right: 2rem;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-email {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 500;
    color: #2a2a2a;
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid #2a2a2a;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-align: center;
}

.contact-email:hover {
    background: #2a2a2a;
    color: white;
    transform: translateY(-2px);
}

.contact::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 8%;
    width: 180px;
    height: 180px;
    border: 1px solid #d0d0d0;
    border-radius: 50%;
    z-index: 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: #2a2a2a;
}

.contact-info p {
    margin-bottom: 2rem;
    color: #666;
    font-size: 1.1rem;
}

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

.contact-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-label {
    font-weight: 400;
    color: #2a2a2a;
}

.contact-value {
    color: #666;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    background: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #2a2a2a;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2a2a2a;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

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

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

.footer-logo .logo-img {
    width: 80px;
    height: 40px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

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

.footer-logo .logo-text {
    color: white;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-text {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.service-card,
.portfolio-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Cool Hover Effects */
.service-card:hover .service-icon {
    transform: scale(1.15) rotate(8deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .icon-seo {
    filter: brightness(0.8) contrast(1.2);
    transition: filter 0.4s ease;
}

.service-card:hover .icon-webdesign {
    filter: brightness(0.8) contrast(1.2);
    transition: filter 0.4s ease;
}

.service-card:hover .icon-support {
    filter: brightness(0.8) contrast(1.2);
    transition: filter 0.4s ease;
}

/* Portfolio items now without placeholder shapes */

/* Legal Pages */
.legal-section {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.legal-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 3rem;
    font-weight: 300;
    color: #2a2a2a;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h2 {
    font-size: 2rem;
    font-weight: 400;
    color: #2a2a2a;
    margin: 3rem 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.legal-content h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: #2a2a2a;
    margin: 2rem 0 1rem 0;
}

.legal-content h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2a2a2a;
    margin: 1.5rem 0 0.5rem 0;
}

.legal-content p {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
}

.impressum-info {
    background: #fafafa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.impressum-info h3 {
    color: #2a2a2a;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.impressum-info p {
    margin-bottom: 1rem;
    color: #666;
}

.impressum-info strong {
    color: #2a2a2a;
    font-weight: 500;
}

.datenschutz {
    margin-top: 3rem;
}

.datenschutz h2 {
    margin-top: 4rem;
}

.datenschutz h3 {
    margin-top: 3rem;
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .legal-title {
        font-size: 2.5rem;
    }
    
    .legal-content h2 {
        font-size: 1.8rem;
    }
    
    .legal-content h3 {
        font-size: 1.2rem;
    }
    
    .impressum-info {
        padding: 1.5rem;
    }
}
