/* ===== Alte Schmiede Tecklenburg – Custom Theme ===== */

:root {
    --color-dark:    #1a1209;
    --color-warm:    #2c1f0e;
    --color-gold:    #c9a96e;
    --color-cream:   #f5f0e8;
    --color-white:   #ffffff;
    --color-text:    #333333;
    --font-heading:  'Playfair Display', Georgia, serif;
    --font-body:     'Lato', Arial, sans-serif;
    --max-width:     1100px;
    --radius:        8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-white);
}

a { color: var(--color-gold); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ===== NAVBAR ===== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(26, 18, 9, 0.95);
    backdrop-filter: blur(6px);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.nav-logo-img {
    height: 52px;
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}
.nav-links a {
    color: #ddd;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-gold); text-decoration: none; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-gold);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: center center / cover no-repeat;
    background-color: var(--color-warm);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26,18,9,0.65) 0%, rgba(26,18,9,0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--color-white);
    padding: 2rem 1.5rem;
    max-width: 750px;
}

.hero-tagline {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-text {
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn-primary {
    display: inline-block;
    background: var(--color-gold);
    color: var(--color-dark);
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover {
    background: #e0bc80;
    text-decoration: none;
    transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section { padding: 5rem 1.5rem; }
.section-light  { background: var(--color-cream); }
.section-white  { background: var(--color-white); }
.section-dark   { background: var(--color-dark); color: var(--color-cream); }
.section-warm   { background: var(--color-warm); color: var(--color-cream); }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-label {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: inherit;
}

.section-intro {
    max-width: 750px;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    opacity: 0.9;
    margin-left: auto;
    margin-right: auto;
}

/* Two-column layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* Wenn kein Bild vorhanden, volle Breite */
.col-text-full {
    max-width: 750px;
}

/* Section image */
.col-image { display: flex; justify-content: center; }
.section-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}

/* Gasthaus image grid */
.gasthaus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.gasthaus-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.gasthaus-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.gasthaus-img-portrait {
    grid-row: span 2;
    height: 100%;
    min-height: 220px;
}

/* Image placeholder */
.image-placeholder, .room-image-placeholder {
    background: #d4c9b3;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 0.9rem;
}
.image-placeholder { min-height: 350px; }
.room-image-placeholder { min-height: 220px; margin-bottom: 1rem; }

/* Opening hours */
.opening-hours {
    margin: 1.5rem 0;
}
.opening-hours h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-gold);
}
.opening-hours table { border-collapse: collapse; }
.opening-hours td {
    padding: 0.2rem 1rem 0.2rem 0;
    font-size: 0.95rem;
}
.opening-hours td:first-child { font-weight: 700; min-width: 80px; }

.hint {
    font-size: 0.9rem;
    opacity: 0.85;
    border-left: 3px solid var(--color-gold);
    padding-left: 1rem;
    margin-top: 1rem;
}

/* Stats */
.stats-section { padding: 3.5rem 1.5rem; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 0.4rem;
}
.stat-label {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Zimmer section centering */
#zimmer .container { text-align: center; }
#zimmer .section-intro { text-align: center; }

/* Room cards */
.room-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem auto;
    max-width: 700px;
}
.room-card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    text-align: left;
}
.room-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.contact-box {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    display: inline-block;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-top: 1rem;
    line-height: 2;
    text-align: left;
}

/* Map */
.map-container { margin-top: 2.5rem; }
.map-caption {
    text-align: right;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    opacity: 0.7;
}

/* Contact section */
.contact-section { text-align: center; }
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
    text-align: left;
}
.contact-item h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}
.contact-item a { color: var(--color-gold); }

/* Events / Live section */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}
.event-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    border-left: 3px solid var(--color-gold);
    padding-left: 1.5rem;
}
.event-date {
    min-width: 10rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-gold);
    padding-top: 0.15rem;
}
.event-details h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}
.event-details p {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.6;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 200;
    background: rgba(20, 13, 5, 0.98);
    border-top: 2px solid var(--color-gold);
    display: flex;
    justify-content: center;
    padding: 1.5rem;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}

.cookie-inner {
    max-width: var(--max-width);
    width: 100%;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    justify-content: space-between;
}

.cookie-body { flex: 1; }

.cookie-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.cookie-text {
    color: #ccc;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.cookie-text a { color: var(--color-gold); }
.cookie-text strong { color: #eee; }

.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 0;
}

.cookie-category {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
    color: #bbb;
    font-size: 0.82rem;
    line-height: 1.4;
}
.cookie-category-disabled { opacity: 0.6; cursor: default; }
.cookie-category input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--color-gold);
    flex-shrink: 0;
    width: 15px; height: 15px;
}
.cookie-category strong { color: #ddd; display: block; }
.cookie-category small { color: #999; font-size: 0.78rem; }

.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
    min-width: 180px;
}

.cookie-btn {
    padding: 0.55rem 1.1rem;
    border: none;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
    text-align: center;
    width: 100%;
}
.cookie-btn:hover { opacity: 0.88; }
.cookie-btn:active { transform: scale(0.98); }

.cookie-btn-accept  { background: var(--color-gold); color: var(--color-dark); }
.cookie-btn-selection { background: transparent; color: var(--color-gold); border: 1px solid var(--color-gold); }
.cookie-btn-decline { background: transparent; color: #888; border: 1px solid #555; }

.footer-cookie-btn {
    background: none;
    border: none;
    color: #aaa;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}
.footer-cookie-btn:hover { color: var(--color-gold); }

/* Map placeholder */
.map-placeholder {
    background: #2a1f10;
    border: 1px dashed #5a4a30;
    border-radius: var(--radius);
    padding: 3rem 2rem;
    text-align: center;
    color: #aaa;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.map-placeholder p { font-size: 0.95rem; margin: 0; }
.map-hint { font-size: 0.78rem !important; color: #777 !important; }
.map-hint a { color: var(--color-gold); }

@media (max-width: 768px) {
    .cookie-inner { flex-direction: column; gap: 1.25rem; }
    .cookie-actions { min-width: 0; width: 100%; flex-direction: row; flex-wrap: wrap; }
    .cookie-btn { flex: 1; min-width: 140px; }
}

/* ===== LEGAL PAGES ===== */
.legal-page {
    padding-top: 6rem;
    padding-bottom: 4rem;
    min-height: 100vh;
    background: var(--color-cream);
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--color-gold);
    font-size: 0.9rem;
    transition: opacity 0.2s;
}
.back-link:hover { opacity: 0.7; text-decoration: none; }

.legal-content {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 2.5rem 3rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    max-width: 800px;
}

.legal-content h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.legal-content h2 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.legal-content p,
.legal-content li {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    color: #444;
}

.legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 2rem 0;
}

.legal-content strong { color: var(--color-dark); }

.legal-content a { color: var(--color-gold); }

@media (max-width: 768px) {
    .legal-content { padding: 1.5rem; }
}

/* ===== FOOTER ===== */
.site-footer {
    background: #0e0a04;
    color: #888;
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.85rem;
    line-height: 2;
}
.footer-logo-img {
    height: 60px;
    width: auto;
    margin: 0 auto 0.75rem;
    opacity: 0.9;
}
.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}
.site-footer a { color: #aaa; }
.site-footer a:hover { color: var(--color-gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: rgba(26,18,9,0.98);
        padding: 1rem 1.5rem 1.5rem;
        gap: 0.75rem;
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }

    .two-col, .two-col.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 2rem;
    }
    .two-col.reverse { display: flex; flex-direction: column-reverse; }

    .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .room-cards { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; text-align: center; }
    .gasthaus-grid { grid-template-columns: 1fr; }
    .gasthaus-images { grid-template-columns: 1fr 1fr; }
    .gasthaus-img-portrait { grid-row: auto; height: 220px; }
    .two-col { grid-template-columns: 1fr; }
    .col-image { margin-top: 1.5rem; }
}
