:root {
    --bg: #f6f2eb;
    --bg-alt: #ffffff;
    --text: #262626;
    --muted: #6a6a6a;
    --accent: #b08a57;
    --accent-soft: rgba(176, 138, 87, 0.08);
    --border: #ddd6c9;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.06);
    --radius-lg: 18px;
    --radius-xl: 26px;
    --radius-pill: 999px;
}

/* Grundlayout */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #fdfaf4 0, #f6f2eb 40%, #f3efe8 100%);
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.6rem;
}

/* Header & Navigation */

.site-header {
    padding-top: 1.4rem;
    padding-bottom: 3.5rem;
    position: relative;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.2rem;
}

.logo {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.logo-subline {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    font-size: 0.9rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--muted);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    transition: all 0.18s ease-out;
}

.main-nav a:hover {
    color: var(--text);
    border-color: var(--border);
    background-color: rgba(255, 255, 255, 0.7);
}

/* Hero */

.hero {
    padding-top: 0.8rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 3.2rem;
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.72rem;
    color: var(--muted);
    margin: 0 0 0.7rem;
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.4rem, 3rem, 3.4rem);
    line-height: 1.1;
    margin: 0 0 1.1rem;
}

.hero-lead {
    margin: 0 0 1.4rem;
    font-size: 1rem;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.18s ease-out;
}

.btn.primary {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(176, 138, 87, 0.35);
}

.btn.ghost {
    background-color: transparent;
    border-color: var(--border);
    color: var(--text);
}

.btn.ghost:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.hint-text {
    font-size: 0.8rem;
    color: var(--muted);
}

/* Hero Visual */

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.sheet-mockup {
    background: linear-gradient(135deg, #fefcf7 0%, #faf4eb 60%, #f8efe4 100%);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #e1d7c6;
    width: 100%;
    max-width: 360px;
    padding: 1rem 1.3rem 1.4rem;
    position: relative;
    overflow: hidden;
}

.sheet-header {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.65rem;
    color: var(--muted);
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #e1d7c6;
}

.sheet-body {
    padding-top: 1.1rem;
}

.sheet-script {
    font-family: "Great Vibes", "Playfair Display", serif;
    font-size: 1.7rem;
    line-height: 1.3;
    color: #4b3621;
    margin-bottom: 1.1rem;
}

.sheet-note {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted);
}

.ink-stain {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 0, 0, 0.06), transparent 60%);
    top: 68%;
    right: -10%;
    transform: rotate(-15deg);
}

/* Allgemeine Sections */

.section {
    padding: 4rem 0;
}

.section-alt {
    background: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(222, 215, 204, 0.7);
    border-bottom: 1px solid rgba(222, 215, 204, 0.7);
}

.section h2 {
    font-family: "Playfair Display", serif;
    font-size: 1.7rem;
    margin-top: 0;
    margin-bottom: 0.6rem;
}

.section-intro {
    max-width: 650px;
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: flex-start;
}

/* Highlight Box */

.highlight-box {
    background: var(--accent-soft);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.5rem;
    border: 1px solid rgba(176, 138, 87, 0.25);
}

.highlight-box h3 {
    margin-top: 0;
    margin-bottom: 0.7rem;
    font-size: 1.1rem;
    font-family: "Playfair Display", serif;
}

.small {
    font-size: 0.82rem;
    color: var(--muted);
}

/* Cards (Handschrift) */

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

.card {
    background-color: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.5rem;
    border: 1px solid rgba(210, 200, 182, 0.8);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.02);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
}

.card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

/* Poems / Worte */

.poem-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
    margin-top: 2rem;
}

.poem-card {
    background: var(--bg-alt);
    border-radius: var(--radius-xl);
    padding: 1.6rem 1.7rem;
    border: 1px solid #e3dbcf;
    position: relative;
    overflow: hidden;
}

.poem-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(176, 138, 87, 0.08), transparent 60%);
    opacity: 0.6;
    pointer-events: none;
}

.poem-card h3 {
    position: relative;
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
    font-family: "Playfair Display", serif;
}

.poem-body {
    position: relative;
    font-size: 0.9rem;
    margin-bottom: 0.9rem;
}

.poem-meta {
    position: relative;
    font-size: 0.8rem;
    color: var(--muted);
}

/* Galerie */

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

.gallery-item {
    margin: 0;
}

.gallery-placeholder {
    background: repeating-linear-gradient(
        135deg,
        #f6f0e6,
        #f6f0e6 10px,
        #f1e7da 10px,
        #f1e7da 20px
    );
    border-radius: var(--radius-lg);
    border: 1px dashed #d4c7b5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted);
}

.gallery-item figcaption {
    margin-top: 0.6rem;
    font-size: 0.82rem;
    color: var(--muted);
}

/* Kontakt */

.contact-layout {
    align-items: stretch;
}

.contact-box {
    background-color: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.6rem;
    border: 1px solid rgba(210, 200, 182, 0.9);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.03);
    align-self: center;
}

.contact-box h3 {
    margin-top: 0;
    margin-bottom: 0.7rem;
    font-size: 1.1rem;
    font-family: "Playfair Display", serif;
}

.contact-mail {
    font-weight: 500;
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 0.05rem;
}

.contact-mail:hover {
    color: var(--accent);
}

/* Footer */

.site-footer {
    padding: 2.2rem 0 2.6rem;
    border-top: 1px solid rgba(210, 200, 182, 0.9);
    background: rgba(248, 244, 238, 0.9);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 2rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--muted);
}

.footer-logo {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-tagline {
    margin-left: 0.5rem;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

/* Responsiv */

@media (max-width: 840px) {
    .nav-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-visual {
        order: -1;
        margin-bottom: 1.8rem;
    }

    .two-column {
        grid-template-columns: minmax(0, 1fr);
    }

    .card-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .poem-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .gallery-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .main-nav {
        gap: 0.4rem;
    }
}
