/* === Fonts (lokal, DSGVO-konform) === */
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto Condensed';
    src: url('../fonts/Roboto_Condensed-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto Condensed';
    src: url('../fonts/Roboto_Condensed-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* === Farben und Variablen === */
:root {
    --gold: #BC903D;
    --dark-purple: #340059;
    --white: #FFFFFF;
    --off-white: #FAF8F5;
    --text-dark: #1a1a1a;
    --text-gray: #555555;
    --max-width: 900px;
}

/* === Reset === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === Body === */
body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--gold);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* === Header === */
.site-header {
    background: var(--white);
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 30px auto;
    width: calc(100% - 60px);
    border-radius: 0;
}

.site-header a.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-header .logo img {
    height: 55px;
}

.site-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.site-nav a {
    text-decoration: none;
    color: var(--gold);
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 4px;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--dark-purple);
    border-bottom-color: var(--dark-purple);
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    margin: 5px 0;
    transition: 0.3s;
}

/* === Main Content === */
.site-content {
    background: var(--off-white);
    max-width: 1000px;
    margin: 0 auto;
    width: calc(100% - 60px);
    padding: 50px 60px;
    flex: 1;
}

/* === Seitenüberschriften === */
h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 2.4em;
    color: var(--dark-purple);
    margin-bottom: 30px;
    line-height: 1.2;
}

h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1.6em;
    color: var(--text-dark);
    margin-top: 40px;
    margin-bottom: 15px;
    line-height: 1.3;
}

h3 {
    font-weight: 700;
    font-size: 1em;
    margin-top: 25px;
    margin-bottom: 8px;
}

p {
    margin-bottom: 15px;
}

ul, ol {
    margin: 15px 0 15px 30px;
    line-height: 1.8;
}

li {
    margin-bottom: 5px;
}

a {
    color: var(--gold);
    text-decoration: underline;
    transition: color 0.2s;
}

a:hover {
    color: var(--dark-purple);
}

/* === Hero (Startseite) === */
.hero {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.hero-text {
    flex: 1;
}

.hero-text ul {
    margin: 15px 0 20px 20px;
    line-height: 1.8;
}

.hero-text ul li {
    margin-bottom: 5px;
}

.hero-image {
    flex: 0 0 380px;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* === Buttons (CTA) === */
.btn {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 12px 28px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

.btn:hover {
    background: var(--dark-purple);
}

/* === Leistungen === */
.leistung-block {
    margin-bottom: 40px;
}

.leistung-block h2 {
    margin-top: 0;
}

/* === Projekte === */
.projekt {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0d8ce;
}

.projekt:last-child {
    border-bottom: none;
}

.projekt h2 {
    margin-top: 0;
    font-size: 1.5em;
}

.projekt .meta {
    color: var(--gold);
    font-style: italic;
    margin-bottom: 20px;
    font-size: 0.95em;
}

/* === Blog === */
.blog-list {
    list-style: none;
}

.blog-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e0d8ce;
    align-items: flex-start;
}

.blog-item:last-child {
    border-bottom: none;
}

.blog-item-image {
    flex: 0 0 250px;
}

.blog-item-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-item-content {
    flex: 1;
}

.blog-item-content h2 {
    margin-top: 0;
    font-size: 1.4em;
    color: var(--dark-purple);
}

.blog-item-content h2 a {
    color: var(--dark-purple);
    text-decoration: none;
}

.blog-item-content h2 a:hover {
    color: var(--gold);
}

.blog-item-content .read-more {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.95em;
}

.blog-item-content .read-more:hover {
    text-decoration: underline;
}

/* === Über mich === */
.about-contact {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    align-items: flex-start;
}

.about-photo {
    flex: 0 0 280px;
}

.about-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.about-form {
    flex: 1;
}

.about-form h2 {
    margin-top: 0;
}

.social-links {
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-links a {
    display: inline-flex;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.social-links a:hover {
    opacity: 1;
}

/* === Kontaktformular === */
.contact-form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 500;
}

.contact-form label .required {
    color: #c00;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    max-width: 350px;
    padding: 8px 10px;
    border: 1px solid #ccc;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    background: var(--white);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form .privacy-note {
    font-size: 13px;
    margin-top: 10px;
}

.contact-form .privacy-note a {
    color: var(--gold);
}

.contact-form .btn {
    margin-top: 15px;
}

.form-hint {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 10px;
}

/* === Blog-Artikel Einzelansicht === */
.article-header {
    margin-bottom: 30px;
}

.article-header .article-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin-bottom: 20px;
}

.article-content {
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 18px;
}

.article-back {
    margin-top: 40px;
}

.article-back a {
    color: var(--gold);
    text-decoration: none;
}

.article-back a:hover {
    text-decoration: underline;
}

/* === Footer === */
.site-footer {
    background: var(--dark-purple);
    color: var(--white);
    padding: 25px 40px;
    max-width: 1000px;
    margin: 0 auto 30px;
    width: calc(100% - 60px);
    font-size: 13px;
}

.site-footer a {
    color: #ccc;
    text-decoration: none;
    margin-right: 10px;
}

.site-footer a:hover {
    color: var(--white);
}

.footer-links {
    margin-bottom: 5px;
}

.footer-copy {
    color: #aaa;
}

/* === Responsive === */
@media (max-width: 768px) {
    .site-header {
        width: calc(100% - 20px);
        margin-top: 10px;
        padding: 15px 20px;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 100;
    }

    .site-nav.open {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .site-header {
        position: relative;
    }

    .site-content {
        width: calc(100% - 20px);
        padding: 30px 25px;
    }

    .site-footer {
        width: calc(100% - 20px);
        margin-bottom: 10px;
    }

    .hero {
        flex-direction: column;
    }

    .hero-image {
        flex: none;
        width: 100%;
    }

    .blog-item {
        flex-direction: column;
    }

    .blog-item-image {
        flex: none;
        width: 100%;
    }

    .about-contact {
        flex-direction: column;
    }

    .about-photo {
        flex: none;
        width: 100%;
        max-width: 300px;
    }
}
