/* ============================================
   Plantenhoff Café — Botanical Farmhouse
   ============================================ */

:root {
    --forest: #1B3A28;
    --moss: #2D5A3F;
    --fern: #4A7C59;
    --sage: #8BAF7C;
    --sage-mist: #B8CEB0;
    --parchment: #F7F3EC;
    --parchment-dark: #ECE6DA;
    --terracotta: #C17C4E;
    --terracotta-light: #D4956A;
    --bark: #2C2417;
    --stone: #6B6255;
    --white: #FDFCFA;
}

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

body {
    font-family: 'Nunito Sans', sans-serif;
    color: var(--bark);
    background-color: var(--parchment);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--forest);
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: var(--fern);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--terracotta);
}

::selection {
    background: var(--sage-mist);
    color: var(--forest);
}

/* ---------- Scroll Reveal Animations ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Navbar ---------- */
.navbar-cafe {
    background-color: rgba(27, 58, 40, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.65rem 0;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(139, 175, 124, 0.1);
}

.navbar-cafe.scrolled {
    padding: 0.4rem 0;
    background-color: rgba(27, 58, 40, 0.97);
    box-shadow: 0 4px 30px rgba(27, 58, 40, 0.15);
}

.navbar-cafe .navbar-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: var(--parchment) !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: font-size 0.3s ease;
}

.navbar-cafe .nav-link {
    font-family: 'Nunito Sans', sans-serif;
    color: rgba(247, 243, 236, 0.8) !important;
    font-weight: 400;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-cafe .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.3rem;
    left: 1rem;
    right: 1rem;
    height: 1px;
    background: var(--terracotta);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-cafe .nav-link:hover::after,
.navbar-cafe .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-cafe .nav-link:hover,
.navbar-cafe .nav-link:focus,
.navbar-cafe .nav-link.active {
    color: var(--parchment) !important;
}

.navbar-cafe .navbar-toggler {
    border-color: rgba(247, 243, 236, 0.25);
    padding: 0.4rem 0.65rem;
}

.navbar-cafe .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(247,243,236,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- Hero ---------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('/img/carousel3.jpg') center/cover no-repeat fixed;
    color: var(--parchment);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(27, 58, 40, 0.75) 0%,
        rgba(45, 90, 63, 0.55) 50%,
        rgba(27, 58, 40, 0.7) 100%
    );
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    padding: 2rem;
    animation: fadeIn 1.2s ease-out;
}

.hero-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--parchment);
    margin-bottom: 0.3rem;
    letter-spacing: -0.02em;
    line-height: 1;
    text-shadow: 0 2px 40px rgba(0,0,0,0.15);
}

.hero-content .hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 0.4rem;
    color: var(--sage-mist);
    letter-spacing: 0.02em;
}

.hero-content .hero-since {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(247, 243, 236, 0.5);
    margin-bottom: 2rem;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: rgba(247, 243, 236, 0.85);
}

.btn-ivy {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--terracotta);
    color: var(--white);
    border: none;
    padding: 0.85rem 2.2rem;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(193, 124, 78, 0.25);
}

.btn-ivy:hover {
    background-color: var(--terracotta-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(193, 124, 78, 0.35);
}

.btn-ivy-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    color: var(--fern);
    border: 2px solid var(--fern);
    padding: 0.75rem 2rem;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-ivy-outline:hover {
    background-color: var(--fern);
    color: var(--white);
    transform: translateY(-2px);
}

/* ---------- Section Divider ---------- */
.section-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 auto;
    max-width: 220px;
    color: var(--sage);
}

.section-divider hr {
    flex: 1;
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sage), transparent);
    opacity: 0.6;
}

.section-divider i {
    font-size: 1.1rem;
}

/* ---------- Sections ---------- */
section {
    padding: 5rem 0;
    position: relative;
}

section:nth-of-type(even) {
    background-color: var(--parchment-dark);
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading h2 {
    font-size: 2.6rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* ---------- Beschreibung ---------- */
#beschreibung p {
    font-size: 1.05rem;
    line-height: 1.85;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

#beschreibung p strong {
    color: var(--forest);
}

/* ---------- Carousel ---------- */
.carousel-section {
    overflow: hidden;
}

.carousel-section .carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.carousel-section .carousel-control-prev,
.carousel-section .carousel-control-next {
    width: 5%;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.carousel-section .carousel-control-prev:hover,
.carousel-section .carousel-control-next:hover {
    opacity: 1;
}

.carousel-section .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255,255,255,0.5);
    transition: background-color 0.3s;
}

.carousel-section .carousel-indicators .active {
    background-color: var(--terracotta);
}

@media (max-width: 767.98px) {
    .carousel-section .carousel-item img {
        height: 280px;
    }
}

/* ---------- Opening Hours Card ---------- */
.hours-card {
    background: var(--white);
    border: none;
    border-radius: 16px;
    overflow: hidden;
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 0 8px 40px rgba(27, 58, 40, 0.07),
                0 1px 3px rgba(27, 58, 40, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hours-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 50px rgba(27, 58, 40, 0.1),
                0 1px 3px rgba(27, 58, 40, 0.04);
}

.hours-card .card-header {
    background: linear-gradient(135deg, var(--forest) 0%, var(--moss) 100%);
    color: var(--parchment);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border: none;
}

.hours-card .list-group-item {
    display: flex;
    justify-content: space-between;
    padding: 0.85rem 1.5rem;
    border-color: rgba(27, 58, 40, 0.06);
    color: var(--bark);
    background: var(--white);
    font-size: 0.95rem;
    transition: background-color 0.2s;
}

.hours-card .list-group-item:hover {
    background-color: rgba(139, 175, 124, 0.05);
}

.hours-card .list-group-item.today {
    background-color: rgba(139, 175, 124, 0.1);
    font-weight: 700;
    border-left: 4px solid var(--fern);
}

.hours-card .list-group-item.ruhetag {
    color: var(--stone);
    font-style: italic;
}

.hours-card .list-group-item.ruhetag span:last-child {
    color: var(--terracotta);
    font-weight: 600;
    font-style: normal;
}

/* ---------- Location ---------- */
.map-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(27, 58, 40, 0.07);
    border: 3px solid var(--parchment-dark);
}

.map-container iframe {
    width: 100%;
    height: 380px;
    border: 0;
}

.map-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    cursor: pointer;
    background: transparent;
}

.map-overlay-hint {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 3;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 0.95rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    pointer-events: none;
    border-radius: inherit;
}

.location-info {
    padding: 0.5rem 0;
}

.location-info h2,
.location-info h4 {
    font-family: 'Cormorant Garamond', serif;
}

.location-info i {
    color: var(--fern);
    width: 1.3rem;
}

.location-info p {
    font-size: 0.95rem;
}

/* ---------- Impressum Accordion ---------- */
.accordion-impressum .accordion-item {
    border: none;
    border-bottom: 1px solid rgba(27, 58, 40, 0.08);
    background: transparent;
}

.accordion-impressum .accordion-button {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--forest);
    background-color: transparent;
    padding: 1.1rem 0;
    box-shadow: none;
}

.accordion-impressum .accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--forest);
    box-shadow: none;
}

.accordion-impressum .accordion-button::after {
    filter: hue-rotate(120deg) brightness(0.6);
}

.accordion-impressum .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-impressum .accordion-body {
    color: var(--stone);
    line-height: 1.8;
    padding: 0 0 1.2rem 0;
    font-size: 0.92rem;
}

/* ---------- Amenity Badges ---------- */
.amenity-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.amenity-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--moss);
    background-color: rgba(139, 175, 124, 0.12);
    border: 1px solid rgba(139, 175, 124, 0.25);
    border-radius: 50px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.amenity-badge:hover {
    background-color: rgba(139, 175, 124, 0.2);
    border-color: var(--sage);
    transform: translateY(-1px);
}

.amenity-badge i {
    color: var(--fern);
    font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.footer-cafe {
    background: linear-gradient(180deg, var(--forest) 0%, #152E1F 100%);
    color: rgba(247, 243, 236, 0.6);
    padding: 3rem 0 2rem;
    text-align: center;
    font-size: 0.85rem;
    position: relative;
}

.footer-cafe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sage), transparent);
    opacity: 0.3;
}

.footer-cafe a {
    color: var(--sage-mist);
    transition: color 0.3s ease;
}

.footer-cafe a:hover {
    color: var(--terracotta-light);
}

.footer-cafe .bi-instagram {
    font-size: 1.1rem;
    vertical-align: middle;
    margin-left: 0.3rem;
    transition: color 0.3s ease;
}

/* ---------- Subpage Header ---------- */
.subpage-header {
    background: linear-gradient(160deg, var(--forest) 0%, var(--moss) 100%);
    color: var(--parchment);
    text-align: center;
    padding: 8rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.subpage-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
}

.subpage-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.2rem;
    color: var(--parchment);
    margin-bottom: 0.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.subpage-header p {
    color: rgba(247, 243, 236, 0.7);
    font-size: 1.1rem;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    position: relative;
    z-index: 1;
}

/* ---------- FAQ Page ---------- */
.faq-section {
    padding: 3.5rem 0 5rem;
}

.accordion-faq .accordion-item {
    border: none;
    background: var(--white);
    border-radius: 12px !important;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 12px rgba(27, 58, 40, 0.04);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.accordion-faq .accordion-item:hover {
    box-shadow: 0 4px 20px rgba(27, 58, 40, 0.08);
}

.accordion-faq .accordion-button {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--forest);
    background-color: var(--white);
    padding: 1.1rem 1.3rem;
    border-radius: 12px !important;
}

.accordion-faq .accordion-button:not(.collapsed) {
    background-color: rgba(139, 175, 124, 0.08);
    color: var(--forest);
    box-shadow: none;
}

.accordion-faq .accordion-button::after {
    filter: hue-rotate(120deg) brightness(0.6);
}

.accordion-faq .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(74, 124, 89, 0.15);
    border-color: var(--sage);
}

.accordion-faq .accordion-button i {
    color: var(--terracotta);
    font-size: 1rem;
}

.accordion-faq .accordion-body {
    color: var(--bark);
    line-height: 1.8;
    padding: 0 1.3rem 1.3rem 1.3rem;
    font-size: 0.95rem;
}

.accordion-faq .accordion-body ul {
    padding-left: 1.2rem;
}

.accordion-faq .accordion-body li {
    margin-bottom: 0.25rem;
}

.faq-contact {
    color: var(--stone);
}

.faq-contact p:first-child {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--forest);
    font-weight: 600;
}

/* ---------- Info Columns (Öffnungszeiten & Ortsangabe subpages) ---------- */
.info-col {
    text-align: center;
    padding: 1.5rem 1rem;
}

.info-col i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: rgba(139, 175, 124, 0.12);
    color: var(--fern);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.info-col:hover i {
    background: var(--fern);
    color: var(--white);
    transform: scale(1.05);
}

.info-col h5 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
}

.info-col p {
    font-size: 0.9rem;
    color: var(--stone);
}

/* ---------- Scroll offset for fixed navbar ---------- */
html {
    scroll-padding-top: 70px;
    scroll-behavior: smooth;
}

/* ---------- Text utilities ---------- */
.text-muted {
    color: var(--stone) !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .subpage-header h1 {
        font-size: 2.5rem;
    }

    .section-heading h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        background-attachment: scroll;
    }
}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content .hero-tagline {
        font-size: 1.15rem;
    }

    .subpage-header h1 {
        font-size: 2rem;
    }

    .subpage-header {
        padding: 7rem 0 2.5rem;
    }

    section {
        padding: 3rem 0;
    }

    .section-heading h2 {
        font-size: 1.9rem;
    }

    .hours-card {
        border-radius: 12px;
    }

    .map-container {
        border-radius: 12px;
    }

    .amenity-badge {
        font-size: 0.78rem;
        padding: 0.35rem 0.7rem;
    }
}
