/* Allgemeine Root-Variablen */
:root {
    --accent-color: #8d8d8d;
    --primary-color: #1B1C1F;
    --secondary-color: #616161;
    --text-color: #1f1f1f;
    --secondary-text-color: #5c5b5b;
}

/* Reset und Allgemeine Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;logo
    color: var(--text-color);
    scroll-behavior: smooth;
}
body {
    min-height: 100vh;
    background-color: #fff;
    font-size: 1rem;
    line-height: 1.6;
}

/* Entfernt weiße Ränder */
body, html {
    width: 100%;
    overflow-x: hidden;
}

/* Header Styles */
header {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url(DSC03263.jpg) no-repeat center center/cover;
    color: #fff;
    text-align: center;
    position: relative;
}
header .logo {
    margin-bottom: 10px;
}
header img {
    max-width: 200px;
    height: auto;
}
header h1 {
    font-size: clamp(1.5rem, 4vw, 3rem);
    margin: 0;
    line-height: 1.2;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 5px;
}
header .read-more,
header a.price-list,
header a.about-me {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    font-size: 1.25rem;
    font-weight: 500;
    border-radius: 1000px;
    padding: 0.5em 1.25em;
    text-decoration: none;
    margin-top: 10px;
    transition: 200ms ease;
    cursor: pointer;
}
header .read-more:hover,
header a.price-list:hover,
header a.about-me:hover {
    background-color: var(--secondary-color);
}

/* Section Styles */
section {
    padding: 20px;
    width: 100%;
}
h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    margin-bottom: 20px;
}

/* Portfolio Section Styles */
#portfolio-section {
    background-color: var(--secondary-color);
    padding: 80px 20px 150px 20px;
}
#portfolio-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    color: var(--accent-color);
    margin-bottom: 40px;
}
#portfolio-section details {
    margin-bottom: 15px;
    border: 1px solid var(--accent-color);
    border-radius: 6px;
    padding: 10px;
    background-color: #fff;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
#portfolio-section details summary {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    color: var(--primary-color);
    padding: 20px;
}
#portfolio-section details summary:hover {
    color: var(--secondary-color);
}
#portfolio-section .text-container {
    padding: 20px;
}
#portfolio-section img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Preissection Styles */
#price-section {
    background-color: var(--secondary-color);
    padding: 80px 20px 150px 20px;
}
#price-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    color: var(--accent-color);
    margin-bottom: 40px;
}
#price-section details {
    margin-bottom: 15px;
    border: 1px solid var(--accent-color);
    border-radius: 6px;
    padding: 10px;
    background-color: #fff;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
#price-section details summary {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    color: var(--primary-color);
    padding: 20px;
}
#price-section details summary:hover {
    color: var(--secondary-color);
}
#price-section ul {
    list-style-type: disc;
    padding-left: 20px;
}
#price-section ul li {
    margin-bottom: 5px;
    color: var(--text-color);
}
#price-section h3 {
    color: var(--primary-color);
    margin-top: 20px;
}
#price-section p {
    color: var(--text-color);
}

/* Tabellenanpassungen */
details table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
details table th, details table td {
    padding: 12px;
    text-align: left;
    border: 1px solid var(--accent-color);
    color: var(--text-color);
}
details table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}
details table tr:nth-child(even) {
    background-color: var(--secondary-color);
}
details table tr:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Footer Styles */
footer {
    background-color: var(--secondary-color);
    padding: 50px 20px;
    text-align: center;
    color: #fff;
}
footer a {
    color: var(--text-color);
    text-decoration: none;
}
footer a:hover {
    color: var(--secondary-text-color);
}
footer h3 {
    margin-top: 50px;
    font-size: clamp(1.5rem, 2vw, 2rem);
    color: var(--text-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }
    header .logo {
        margin-right: 0;
        margin-bottom: 10px;
    }
    header img {
        max-width: 120px;
    }
    header h1 {
        font-size: 1.8rem;
        margin: 0;
        text-align: center;
    }
    header .read-more {
        font-size: 0.9rem;
        padding: 0.4em 1em;
    }
    section {
        padding: 10px;
    }
    #portfolio-section h2, #price-section h2 {
        font-size: 1.8rem;
    }
    #portfolio-section details, #price-section details {
        padding: 10px;
    }
    footer {
        padding: 10px;
    }
    footer h3 {
        font-size: 1.5rem;
    }
}
