/* CSS Reset und Grundlagen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

/* Header */
header {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
}

.back-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid #ffffff;
}

.back-link:hover {
    background-color: #ffffff;
    color: #1a1a1a;
}

/* Navigation */
nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: #cccccc;
}

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

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 2rem;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    border: 2px solid #1a1a1a;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background-color: #ffffff;
    color: #1a1a1a;
}

/* Main Content */
main {
    padding: 8rem 2rem 4rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Sections */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title, .page-title {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 2rem;
}

/* Content Sections */
.content-section {
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
}

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.content-section p {
    margin-bottom: 1rem;
    color: #333333;
    line-height: 1.8;
}

/* Tables */
.info-table, table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.info-table th,
.info-table td,
th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.info-table th,
th {
    background-color: #ffffff;
    font-weight: 500;
    color: #1a1a1a;
    width: 30%;
}

.info-table td,
td {
    color: #333333;
}

th {
    background-color: #f5f5f5;
}

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

.portfolio-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
}

.portfolio-item:hover {
    border-color: #1a1a1a;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.portfolio-item h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.portfolio-item p {
    color: #666666;
    line-height: 1.6;
}

.img {
    width: 100%;
    height: 400px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #999999;
    font-size: 0.9rem;
}
/* Portfolio Images */
.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 1px solid #e0e0e0;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.portfolio-item:hover img {
    border-color: #1a1a1a;
}

.placeholder-image {
    width: 100%;
    height: 200px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #999999;
    font-size: 0.9rem;
}

/* About Section */
.about {
    background-color: #f9f9f9;
}

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

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
}

.about-details {
    background-color: #ffffff;
    padding: 2rem;
    border: 1px solid #e0e0e0;
}

.interests {
    margin-top: 2rem;
}

.interests h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.interests-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
}

.interests-list li {
    background-color: #f5f5f5;
    padding: 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    font-size: 0.9rem;
    color: #333333;
    transition: all 0.3s ease;
}

.interests-list li:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1a1a1a;
}

input, textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #1a1a1a;
}

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

.submit-button {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 1rem 2rem;
    border: 2px solid #1a1a1a;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background-color: #ffffff;
    color: #1a1a1a;
}

/* Image Credits und Source Lists */
.image-credit {
    background-color: #ffffff;
    padding: 1rem;
    margin: 1rem 0;
    border-left: 3px solid #1a1a1a;
}

.image-credit strong {
    color: #1a1a1a;
}

.source-list {
    list-style: none;
    padding: 0;
}

.source-list li {
    background-color: #ffffff;
    padding: 1rem;
    margin: 0.5rem 0;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.source-list li:hover {
    border-color: #1a1a1a;
    transform: translateX(5px);
}

.source-list li strong {
    color: #1a1a1a;
    display: block;
    margin-bottom: 0.5rem;
}

.source-list li a {
    color: #666666;
    text-decoration: none;
    word-break: break-all;
}

.source-list li a:hover {
    color: #1a1a1a;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Responsive Design, natürlich von Youtube-inspieriert. */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    nav {
        gap: 1rem;
    }

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

    .hero {
        padding: 6rem 1rem 3rem;
    }

    main {
        padding: 6rem 1rem 3rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .section-title, .page-title {
        font-size: 2rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .interests-list {
        justify-content: center;
    }

    .content-section {
        padding: 1.5rem;
    }
}

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

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

    .portfolio-item {
        padding: 1.5rem;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}