/* ============================================================
   Cafe Central — Wilhelmsburg
   Retro Wiener Konditorei · Himbeere / Honig / Teal auf Creme
   Inspiriert von österreichischen Konditorei-Plakaten der 60er
   ============================================================ */

/* =================== DESIGN TOKENS =================== */
:root {
    --bg-primary: #fdf8ed;
    --bg-secondary: #f5e8c8;
    --bg-card: #ffffff;
    --bg-elevated: #faf2d9;

    --text-primary: #2d2317;
    --text-secondary: #544030;
    --text-muted: #8a7660;

    --himbeere: #c23b4b;
    --himbeere-bright: #e04a5d;
    --himbeere-deep: #8e2535;

    --honig: #d4a017;
    --honig-bright: #eab72c;
    --honig-deep: #a47a0c;

    --petrol: #2e7b78;
    --petrol-bright: #3d9a96;

    --altrosa: #e8a0a5;

    --border: #e6d8b4;
    --border-strong: #c9b88c;

    --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
    --font-script: 'Kalam', 'Caveat', cursive;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.75rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    --space-xxl: 8rem;

    --container: 1180px;
    --container-narrow: 840px;
    --radius: 6px;
    --radius-lg: 16px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(ellipse at 10% 0%, rgba(212, 160, 23, 0.08), transparent 50%),
        radial-gradient(ellipse at 90% 100%, rgba(194, 59, 75, 0.06), transparent 50%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--petrol);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

a:hover { color: var(--himbeere); border-bottom-color: var(--himbeere); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.8rem, 6.5vw, 5.5rem); font-weight: 800; font-style: italic; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 600; }

p { margin-bottom: var(--space-sm); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-md); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--space-md); }

section { padding: var(--space-xxl) 0; }

@media (max-width: 768px) { section { padding: var(--space-xl) 0; } }

.script {
    font-family: var(--font-script);
    font-weight: 400;
    color: var(--himbeere);
    font-size: 1.5em;
    line-height: 1;
    transform: rotate(-1deg);
    display: inline-block;
}

/* =================== BUTTONS =================== */
.btn {
    display: inline-block;
    padding: 1rem 2.2rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    text-align: center;
    border-bottom: 2px solid transparent !important;
}

.btn-primary {
    background: var(--himbeere);
    color: #fff;
    border-color: var(--himbeere);
}

.btn-primary:hover {
    background: var(--himbeere-bright);
    border-color: var(--himbeere-bright);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(194, 59, 75, 0.3);
}

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

.btn-ghost:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

/* Trikolore-Akzentlinie */
.accent-line {
    display: inline-flex;
    width: 100px;
    height: 4px;
    margin: var(--space-sm) 0 var(--space-md);
    background: linear-gradient(90deg,
        var(--himbeere) 0%, var(--himbeere) 33.33%,
        var(--honig) 33.33%, var(--honig) 66.66%,
        var(--petrol) 66.66%, var(--petrol) 100%);
    border-radius: 2px;
}

.accent-line.center { display: block; margin-left: auto; margin-right: auto; }

/* =================== HEADER / NAV =================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.1rem 0;
    background: rgba(253, 248, 237, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition);
}

.site-header.scrolled { border-bottom-color: var(--border); }

.nav { display: flex; align-items: center; justify-content: space-between; }

.logo {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 800;
    font-style: italic;
    color: var(--text-primary);
    letter-spacing: -0.015em;
    line-height: 1;
    border-bottom: none !important;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.logo small {
    display: block;
    font-family: var(--font-script);
    font-size: 1.15rem;
    color: var(--himbeere);
    font-weight: 400;
    font-style: normal;
    transform: rotate(-1deg);
    letter-spacing: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    border-bottom-color: var(--honig);
}

.nav-cta {
    padding: 0.65rem 1.5rem;
    background: var(--himbeere);
    color: #fff !important;
    border-radius: var(--radius);
    font-weight: 600;
    border-bottom: none !important;
}

.nav-cta:hover { background: var(--himbeere-bright); border-bottom-color: transparent !important; }

.nav-toggle { display: none; background: transparent; border: none; color: var(--text-primary); cursor: pointer; padding: 0.5rem; }

@media (max-width: 860px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        background: var(--bg-secondary);
        padding: var(--space-xl) var(--space-md);
        transition: right var(--transition);
        border-left: 6px solid var(--himbeere);
    }
    .nav-links.open { right: 0; }
    .nav-toggle { display: block; }
}

/* =================== HERO =================== */
.hero {
    position: relative;
    isolation: isolate;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7rem var(--space-md) var(--space-xl);
    overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(253, 248, 237, 0.85) 0%,
        rgba(253, 248, 237, 0.92) 60%,
        rgba(253, 248, 237, 0.98) 100%);
    z-index: 1;
}

/* Trikolore-Streifen am Header-Unterende */
.hero::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg,
        var(--himbeere) 0%, var(--himbeere) 33.33%,
        var(--honig) 33.33%, var(--honig) 66.66%,
        var(--petrol) 66.66%, var(--petrol) 100%);
    z-index: 2;
}

.hero-content { max-width: 820px; animation: fadeUp 1.1s ease-out; position: relative; z-index: 2; }

.hero-greeting {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--himbeere);
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
    transform: rotate(-1deg);
}

.hero h1 { color: var(--text-primary); margin-bottom: var(--space-sm); }

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: var(--space-md) auto var(--space-lg);
    line-height: 1.6;
}

.hero-ctas { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; }

.hero-mini { min-height: 55vh; }
.hero-mini .hero-content { max-width: 720px; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =================== OPENING BANNER =================== */
.opening-banner {
    background: var(--bg-secondary);
    padding: var(--space-md) 0;
    border-top: 4px solid var(--honig);
    border-bottom: 4px solid var(--honig);
    text-align: center;
    position: relative;
}

.opening-banner .label {
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--himbeere);
    display: block;
    margin-bottom: 0.3rem;
    line-height: 1;
    transform: rotate(-0.5deg);
}

.opening-banner .hours {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--text-primary);
    font-weight: 700;
}

.opening-banner .closed {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-family: var(--font-sans);
    display: block;
    margin-top: 0.3rem;
    font-style: italic;
}

/* =================== SECTION HEADER =================== */
.section-header { text-align: center; max-width: 720px; margin: 0 auto var(--space-xl); }

.section-kicker {
    font-family: var(--font-script);
    font-size: 1.7rem;
    color: var(--himbeere);
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
    transform: rotate(-0.5deg);
}

.section-header h2 { margin-bottom: var(--space-sm); }
.section-header p { color: var(--text-secondary); font-size: 1.1rem; }

/* =================== ABOUT =================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-text h2 { margin-bottom: var(--space-sm); }
.about-text p { color: var(--text-secondary); font-size: 1.06rem; margin-bottom: var(--space-sm); }

.about-signature {
    font-family: var(--font-script);
    color: var(--himbeere);
    margin-top: var(--space-sm);
    font-size: 1.8rem;
    line-height: 1;
    transform: rotate(-0.5deg);
    display: inline-block;
}

.about-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(45, 35, 23, 0.15);
    border: 4px solid var(--bg-card);
}

.about-image img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
    .about-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
    .about-image { max-width: 420px; margin: 0 auto; }
}

/* =================== SPECIALTIES =================== */
.section-specialties { background: var(--bg-secondary); position: relative; }

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.specialty-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 3px solid transparent;
    transition: all var(--transition);
    box-shadow: 0 8px 24px rgba(45, 35, 23, 0.08);
    position: relative;
}

.specialty-card:nth-child(1) { border-top: 4px solid var(--himbeere); }
.specialty-card:nth-child(2) { border-top: 4px solid var(--honig); }
.specialty-card:nth-child(3) { border-top: 4px solid var(--petrol); }

.specialty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(45, 35, 23, 0.18);
}

.specialty-image { aspect-ratio: 4 / 3; overflow: hidden; }
.specialty-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.specialty-card:hover .specialty-image img { transform: scale(1.07); }

.specialty-body { padding: var(--space-md); }
.specialty-body h3 { margin-bottom: 0.6rem; }
.specialty-body p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 0; line-height: 1.65; }

/* =================== MENU =================== */
.menu-category { margin-bottom: var(--space-xl); }
.menu-category:last-child { margin-bottom: 0; }
.menu-category-header { text-align: center; margin-bottom: var(--space-lg); }
.menu-category-header h2 { margin-bottom: var(--space-xs); }

.menu-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 760px;
    margin: 0 auto;
}

.menu-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 2px dotted var(--border-strong);
    align-items: baseline;
}

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

.menu-item-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.menu-item-desc { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 0.25rem; line-height: 1.55; }

.menu-price {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--himbeere);
    white-space: nowrap;
    padding-left: var(--space-sm);
    font-weight: 700;
}

.menu-highlight {
    background: var(--bg-card);
    border: 2px solid var(--honig);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    max-width: 760px;
    margin: 0 auto var(--space-xl);
    text-align: center;
    box-shadow: 0 10px 30px rgba(212, 160, 23, 0.15);
    position: relative;
}

.menu-highlight::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--himbeere), var(--honig), var(--petrol));
    border-radius: 2px;
}

.menu-highlight .kicker {
    font-family: var(--font-script);
    color: var(--himbeere);
    font-size: 1.7rem;
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
    transform: rotate(-1deg);
}

.menu-highlight h3 { margin-bottom: 0.6rem; }
.menu-highlight p { color: var(--text-secondary); margin-bottom: 0; }

.allergens-legend {
    max-width: 760px;
    margin: var(--space-xl) auto 0;
    padding-top: var(--space-md);
    border-top: 2px dotted var(--border-strong);
    text-align: center;
}

.allergens-legend h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

.allergens-legend p { color: var(--text-muted); font-size: 0.86rem; line-height: 1.8; }

/* =================== CONTACT =================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: var(--space-lg); } }

.contact-info {
    padding: var(--space-md);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border-top: 4px solid var(--himbeere);
    box-shadow: 0 10px 30px rgba(45, 35, 23, 0.08);
}

.contact-info h3 { margin-bottom: var(--space-sm); font-size: 1.5rem; }

.contact-info-row {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    padding: var(--space-sm) 0;
    border-bottom: 2px dotted var(--border-strong);
}

.contact-info-row:last-child { border-bottom: none; }

.contact-info-row svg { width: 22px; height: 22px; color: var(--himbeere); flex-shrink: 0; margin-top: 0.25rem; }

.contact-info-row .label {
    display: block;
    font-size: 0.75rem;
    color: var(--petrol);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.contact-info-row .value { color: var(--text-primary); font-size: 1.05rem; line-height: 1.5; font-weight: 500; }
.contact-info-row .value a { color: var(--text-primary); border-bottom: 1px solid var(--honig); }
.contact-info-row .value a:hover { color: var(--himbeere); border-bottom-color: var(--himbeere); }

.hours-table { width: 100%; border-collapse: collapse; margin-top: var(--space-sm); }
.hours-table td { padding: 0.65rem 0; color: var(--text-secondary); border-bottom: 2px dotted var(--border-strong); font-size: 0.98rem; }
.hours-table td:last-child { text-align: right; color: var(--text-primary); font-weight: 600; font-family: var(--font-display); }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table .closed { color: var(--himbeere); font-style: italic; }

/* =================== MAP =================== */
.map-wrapper {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 4px solid var(--bg-card);
    box-shadow: 0 10px 30px rgba(45, 35, 23, 0.12);
}

.map-placeholder {
    position: absolute;
    inset: 0;
    background-image: url('../assets/map-placeholder.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.map-placeholder::before { content: ''; position: absolute; inset: 0; background: rgba(253, 248, 237, 0.88); }

.map-consent { position: relative; z-index: 1; text-align: center; padding: var(--space-md); max-width: 360px; }
.map-consent svg { width: 40px; height: 40px; color: var(--himbeere); margin-bottom: var(--space-xs); }
.map-consent h4 { font-family: var(--font-display); color: var(--text-primary); font-size: 1.3rem; margin-bottom: 0.5rem; }
.map-consent p { color: var(--text-secondary); font-size: 0.88rem; margin-bottom: var(--space-sm); line-height: 1.5; }
.map-consent .btn { padding: 0.7rem 1.5rem; font-size: 0.88rem; }

.map-iframe { width: 100%; height: 100%; border: none; display: none; }
.map-wrapper.loaded .map-placeholder { display: none; }
.map-wrapper.loaded .map-iframe { display: block; }

/* =================== CTA BANNER =================== */
.cta-banner {
    background: var(--bg-secondary);
    padding: var(--space-xl) 0;
    text-align: center;
    position: relative;
    border-top: 6px solid var(--himbeere);
    border-bottom: 6px solid var(--petrol);
}

.cta-banner h2 { margin-bottom: var(--space-sm); }
.cta-banner p { color: var(--text-secondary); margin-bottom: var(--space-md); font-size: 1.15rem; }

/* =================== FOOTER =================== */
.site-footer {
    padding: var(--space-lg) 0 var(--space-md);
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--himbeere) 0%, var(--himbeere) 33.33%,
        var(--honig) 33.33%, var(--honig) 66.66%,
        var(--petrol) 66.66%, var(--petrol) 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
}

@media (max-width: 720px) {
    .footer-grid { grid-template-columns: 1fr; gap: var(--space-md); text-align: center; }
}

.footer-col h5 {
    font-family: var(--font-display);
    color: var(--text-primary);
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

.footer-col ul { list-style: none; }
.footer-col li { padding: 0.3rem 0; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; border-bottom: none; }
.footer-col a:hover { color: var(--himbeere); }

.footer-brand .logo { margin-bottom: 0.5rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; max-width: 320px; }

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 2px dotted var(--border);
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-bottom a { color: var(--text-muted); margin: 0 0.5rem; border-bottom: none; }
.footer-bottom a:hover { color: var(--himbeere); }

.made-by { margin-top: 0.5rem; font-size: 0.75rem; }
.made-by a { color: var(--himbeere); }

/* =================== FADE-IN =================== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* =================== MOBILE =================== */
@media (max-width: 640px) {
    body { font-size: 16px; }
    .hero { min-height: 88vh; padding-top: 6rem; }
    .hero-tagline { font-size: 1.1rem; }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .menu-item { grid-template-columns: 1fr; }
    .menu-price { padding-left: 0; padding-top: 0.4rem; }
}
