/* Marina Hopfensee — "Goldene Stunde" Theme */

:root {
    --color-cream: #fbf4e6;
    --color-sand: #f0dfbc;
    --color-driftwood: #6b4a34;
    --color-driftwood-dark: #4a3324;
    --color-terracotta: #c1502e;
    --color-terracotta-dark: #9c3d22;
    --color-dusk: #232a3b;
    --color-dusk-light: #333c52;
    --color-slate: #5c6670;
    --color-text: #2b2420;
    --color-white: #ffffff;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --max-width: 1160px;
    --radius: 6px;
    --shadow-soft: 0 10px 30px rgba(43, 36, 32, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-cream);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-driftwood-dark);
    line-height: 1.2;
    margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a {
    color: var(--color-terracotta);
    text-decoration: none;
}
a:hover { text-decoration: underline; }

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85em 1.8em;
    border-radius: 999px;
    font-weight: 600;
    font-family: var(--font-body);
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease;
    border: 2px solid transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
    background: var(--color-terracotta);
    color: var(--color-white);
}
.btn-primary:hover { background: var(--color-terracotta-dark); }

.btn-outline {
    background: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

.btn-outline-dark {
    background: transparent;
    border-color: var(--color-driftwood);
    color: var(--color-driftwood-dark);
}
.btn-outline-dark:hover { background: rgba(107,74,52,0.08); }

/* Header / Nav */
.site-header {
    background: var(--color-cream);
    border-bottom: 1px solid rgba(107,74,52,0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.7rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-driftwood-dark);
}
.brand img { height: 44px; width: 44px; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--color-driftwood-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.95rem;
}
.nav-links a.active { color: var(--color-terracotta); }
.nav-links a:hover { color: var(--color-terracotta); text-decoration: none; }

.lang-switch {
    display: flex;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
}
.lang-switch a {
    padding: 0.15em 0.5em;
    border-radius: 4px;
    color: var(--color-slate);
}
.lang-switch a.active {
    background: var(--color-driftwood);
    color: var(--color-white);
}

/* Hero */
.hero {
    position: relative;
    color: var(--color-white);
    min-height: 78vh;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(35,29,25,0.15) 0%, rgba(35,29,25,0.75) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem 1.5rem 3.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}
.hero h1 { color: var(--color-white); }
.hero p { font-size: 1.2rem; max-width: 40em; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* Page header (non-home) */
.page-hero {
    background: var(--color-driftwood-dark);
    color: var(--color-white);
    padding: 3.5rem 0 2.5rem;
    text-align: center;
}
.page-hero h1 { color: var(--color-white); }
.page-hero p { color: var(--color-sand); max-width: 40em; margin: 0 auto; }

/* Sections */
section { padding: 3.5rem 0; }
.section-alt { background: var(--color-sand); }
.section-dark {
    background: var(--color-dusk);
    color: var(--color-sand);
}
.section-dark h2, .section-dark h3 { color: var(--color-white); }

.section-title { text-align: center; margin-bottom: 2rem; }

/* Card grid (teasers) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: var(--shadow-soft);
}
.card h3 { color: var(--color-terracotta-dark); }

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 0.8rem;
}
.gallery img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

/* Price table */
.price-block {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 1.8rem;
    margin-bottom: 1.6rem;
}
.price-block h3 { margin-bottom: 0.2em; }
.price-block .desc { color: var(--color-slate); margin-bottom: 1.2em; }

table.price-table {
    width: 100%;
    border-collapse: collapse;
}
.price-table th, .price-table td {
    text-align: left;
    padding: 0.6em 0.4em;
    border-bottom: 1px solid rgba(107,74,52,0.15);
}
.price-table th {
    font-family: var(--font-heading);
    color: var(--color-driftwood);
    font-weight: 700;
}
.price-table td.price {
    font-weight: 700;
    color: var(--color-terracotta-dark);
    text-align: right;
}
.price-table th:last-child, .price-table td:last-child { text-align: right; }

.note-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}
.note-list li {
    display: flex;
    align-items: baseline;
    gap: 0.6em;
}
.note-list li::before {
    content: "✓";
    color: var(--color-terracotta);
    font-weight: 700;
}

/* Info blocks (location/contact) */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
@media (max-width: 760px) {
    .info-grid { grid-template-columns: 1fr; }
}

.map-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 0;
    width: 100%;
    height: 320px;
}

.hours-box {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 1.4rem 1.6rem;
    box-shadow: var(--shadow-soft);
}
.hours-box ul { list-style: none; padding: 0; margin: 0; }
.hours-box li {
    display: flex;
    justify-content: space-between;
    padding: 0.3em 0;
    border-bottom: 1px dashed rgba(107,74,52,0.2);
}

/* Forms */
.form-grid {
    display: grid;
    gap: 1rem;
    max-width: 560px;
}
label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.3em;
}
input, textarea {
    width: 100%;
    padding: 0.7em 0.9em;
    border: 1px solid rgba(107,74,52,0.3);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--color-white);
}
input:focus, textarea:focus {
    outline: 2px solid var(--color-terracotta);
    outline-offset: 1px;
}
.form-message {
    padding: 0.9em 1.2em;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}
.form-message.success { background: #dff2e1; color: #275b31; }
.form-message.error { background: #fbe0da; color: #7a2d18; }
.honeypot { position: absolute; left: -9999px; }

/* Legal pages */
.legal-content h2 { margin-top: 1.6em; }
.legal-note {
    background: var(--color-sand);
    padding: 1em 1.4em;
    border-radius: var(--radius);
    margin-bottom: 2em;
    font-style: italic;
}
.legal-content dl { display: grid; grid-template-columns: 12em 1fr; gap: 0.4em 1em; }
.legal-content dt { font-weight: 700; color: var(--color-driftwood); }
.legal-content dd { margin: 0; }

/* Footer */
.site-footer {
    background: var(--color-dusk);
    color: var(--color-sand);
    padding: 3rem 0 1.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-grid h4 { color: var(--color-white); margin-bottom: 0.8em; }
.footer-grid a { color: var(--color-sand); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.5em; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 1.2rem;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Responsive nav */
@media (max-width: 880px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-cream);
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.5rem 1.5rem;
        border-bottom: 1px solid rgba(107,74,52,0.15);
    }
    .nav-links.open { display: flex; }
    .site-header { position: sticky; }
}
