/* ======== RESET & GRUNDEINSTELLUNGEN ======== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --clr-red: #D90429;
    --clr-yellow: #FFC300;
    --clr-green: #2A9D8F;
    --clr-black: #1E1E1E;
    --clr-white: #FFFFFF;
    --clr-gray: #f9f9f9;
    --font-heading: 'Anton', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --font-logo: 'Permanent Marker', cursive;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-white);
    color: var(--clr-black);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--clr-red);
    text-decoration: none;
}

/* ======== PRELOADER ======== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--clr-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    flex-direction: column;
}

.preloader-logo {
    overflow: hidden;
}

.preloader-logo img {
    width: min(68vw, 520px);
    max-width: 520px;
    display: block;
    transform: translateY(100%);
}

.preloader-balken {
    width: min(60vw, 440px);
    max-width: 440px;
    height: 6px;
    background-color: var(--clr-white);
    transform: scaleX(0);
    transform-origin: left;
    margin-top: 20px;
    border-radius: 4px;
}

/* ======== HEADER / NAV ======== */
header {
    position: fixed;
    width: 100%;
    padding: 28px 5%;
    z-index: 100;
    background: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled,
body:not(.home) header {
    background: var(--clr-black);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    display: flex;
    align-items: center;
}

nav .logo img {
    height: clamp(64px, 8.5vh, 140px);
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
}

nav .logo {
    padding-left: 18px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 50px;
}

.nav-links a {
    text-decoration: none;
    color: var(--clr-white);
    font-weight: 700;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--clr-yellow);
}

.btn-bestellen {
    background-color: var(--clr-red);
    color: var(--clr-white);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-bestellen:hover {
    background-color: var(--clr-yellow);
    color: var(--clr-black);
    transform: scale(1.05);
}

.nav-item {
    opacity: 0;
    transform: translateY(-50px);
}

/* ======== MOBILE NAV ======== */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--clr-white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

header.scrolled .nav-toggle span,
body:not(.home) header .nav-toggle span {
    background: var(--clr-white);
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--clr-black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}

.mobile-nav-menu.open {
    transform: translateX(0);
}

.mobile-nav-menu ul {
    list-style: none;
    text-align: center;
    padding: 0;
}

.mobile-nav-menu li {
    margin: 20px 0;
}

.mobile-nav-menu a {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 8vw, 2.5rem);
    color: var(--clr-white);
    text-decoration: none;
}

.mobile-nav-menu a:hover {
    color: var(--clr-yellow);
}

.btn-bestellen-mobile {
    background-color: var(--clr-red);
    color: var(--clr-white);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 30px;
}

/* ======== HERO SEKTION ======== */
.hero {
    min-height: 100vh;
    width: 100%;
    background-color: var(--clr-black);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 5% 50px 5%;
    overflow: hidden;
    position: relative;
}

.hero-content {
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-family: var(--font-logo);
    font-size: clamp(3rem, 10vw, 8rem);
    color: var(--clr-white);
    line-height: 1;
    position: relative;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title span {
    display: block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--clr-yellow);
    font-weight: 700;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(30px);
}

.btn.hero-btn {
    background-color: var(--clr-yellow);
    color: var(--clr-black);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    margin-top: 30px;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.btn.hero-btn:hover {
    transform: scale(1.05);
}

.hero-image-container {
    position: absolute;
    right: 5%;
    bottom: 5%;
    width: 45%;
    max-width: 600px;
    z-index: 1;
    perspective: 1000px;
}

.hero-image {
    width: 100%;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6));
    opacity: 0;
    transform: translateX(100%);
}

/* ======== ALLGEMEINE SEKTIONEN ======== */
.page-section {
    padding: 100px 5%;
    background-color: var(--clr-white);
    position: relative;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 40px;
}

.content-wrapper-full {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.section-tag {
    font-family: var(--font-heading);
    color: var(--clr-red);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 40px;
    text-align: center;
}

/* ======== ÜBER UNS VORSCHAU ======== */
.ueber-preview .content-wrapper {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.ueber-preview h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--clr-black);
    margin-bottom: 20px;
}

.ueber-preview p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.ueber-preview .image-content img {
    border-radius: 10px;
}

/* ======== BUTTONS ======== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn:focus {
    outline: 3px solid rgba(217, 4, 41, 0.12);
    outline-offset: 4px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.menu-preview.light-theme .btn {
    background-color: var(--clr-red);
    color: var(--clr-white);
    padding: 14px 32px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(217, 4, 41, 0.18);
}

.menu-preview.light-theme .btn:hover {
    background-color: var(--clr-yellow);
    color: var(--clr-black);
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.cta-menu {
    background: linear-gradient(90deg, #d90429 0%, #e63946 100%);
    color: var(--clr-white);
    padding: 14px 34px;
    border-radius: 14px;
    font-size: 1.05rem;
    box-shadow: 0 10px 30px rgba(217, 4, 41, 0.18);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.cta-menu:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(217, 4, 41, 0.22);
}

.cta-menu:active {
    transform: translateY(-2px) scale(0.995);
}

.cta-menu:focus {
    outline: 3px solid rgba(230, 57, 70, 0.18);
    outline-offset: 4px;
}

/* ======== MENÜ HIGHLIGHTS ======== */
.menu-preview.light-theme {
    background-color: var(--clr-gray);
    padding: 100px 5%;
}

.menu-preview.light-theme .section-title {
    color: var(--clr-black);
}

.highlight-grid.light {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.highlight-grid.light .highlight-item {
    background-color: var(--clr-white);
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.highlight-grid.light .highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.highlight-grid.light .highlight-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 2px solid var(--clr-red);
}

.highlight-grid.light .highlight-item h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--clr-black);
    padding: 20px;
}

/* ======== FEEDBACK/REZENSIONEN ======== */
.feedback-preview {
    background-color: var(--clr-white);
    text-align: center;
}

.review-carousel-container {
    position: relative;
    max-width: 90%;
    margin: 0 auto;
    overflow: hidden;
}

.review-carousel-track {
    display: flex;
}

.review-card {
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0 10px;
    background: var(--clr-gray);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-left: 5px solid var(--clr-red);
    min-height: 180px;
}

.review-stars {
    color: #ffb400;
    font-size: 1.2em;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 15px;
    text-align: left;
    font-style: italic;
    flex-grow: 1;
}

.review-author {
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--clr-black);
    font-size: 1.1rem;
    margin-top: 10px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--clr-white);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 1.8rem;
    z-index: 10;
    color: var(--clr-black);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.carousel-btn:hover {
    background: var(--clr-gray);
}

.carousel-btn.prev {
    left: -20px;
}

.carousel-btn.next {
    right: -20px;
}

/* ======== FOOTER ======== */
footer {
    background-color: var(--clr-black);
    color: var(--clr-white);
    padding: 80px 5%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-logo img {
    width: 120px;
    margin-bottom: 20px;
}

.footer-logo p {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.7;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--clr-yellow);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-contact p,
.footer-contact a {
    color: var(--clr-white);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--clr-yellow);
}

.footer-contact p {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* ======== UNTERSEITEN HERO ======== */
.subpage-hero {
    background-color: var(--clr-gray);
    color: var(--clr-black);
    padding: 150px 5% 80px 5%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.subpage-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--clr-black);
    opacity: 0;
    transform: translateY(30px);
}

.subpage-hero p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--clr-red);
    opacity: 0;
    transform: translateY(30px);
}

body:not(.home) main {
    padding-top: 80px;
}

/* ======== MENÜ-SEITE ======== */
.menu-kategorien {
    padding-top: 60px;
}

.menu-kategorie {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 0 5%;
}

.kategorie-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--clr-red);
    border-bottom: 3px solid var(--clr-yellow);
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 40px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.menu-card {
    background-color: var(--clr-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.menu-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.menu-card-content {
    padding: 25px;
}

.menu-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--clr-black);
    margin-bottom: 10px;
}

.menu-card-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.8;
}

.menu-card-content .price {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--clr-red);
    font-weight: 700;
}

/* ======== ÜBER UNS SEITE ======== */
.ueber-layout {
    grid-template-columns: 1.5fr 1fr;
    align-items: flex-start;
}

.text-fokus {
    max-width: 900px;
}

.text-fokus h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.text-fokus p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0;
}

.check-list li {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--clr-red);
    margin-bottom: 10px;
}

.image-gallery-ueber img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.call-box {
    background: var(--clr-gray);
    padding: 24px;
    margin-top: 24px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.call-box b {
    font-size: 1.3em;
}

.call-box-phone {
    color: var(--clr-red);
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin-top: 8px;
}

/* ======== KONTAKT SEITE ======== */
.kontakt-layout {
    grid-template-columns: 1fr 1.5fr;
    align-items: flex-start;
}

.kontakt-info h3,
.feedback-form-section h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
}

.kontakt-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.map-placeholder {
    width: 100%;
    height: 310px;
    border-radius: 10px;
    margin-top: 20px;
    overflow: hidden;
}

.map-placeholder iframe {
    border: none;
    width: 100%;
    height: 100%;
}

/* ======== FORMULAR STILE ======== */
.feedback-form-section {
    background-color: var(--clr-white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--font-body);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ======== RESPONSIVE DESIGN ======== */

/* Tablet (bis 992px) */
@media (max-width: 992px) {
    .nav-links,
    .btn-bestellen {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .ueber-preview .content-wrapper,
    .ueber-layout,
    .kontakt-layout {
        grid-template-columns: 1fr;
    }

    .highlight-grid.light {
        grid-template-columns: repeat(2, 1fr);
    }

    .review-card {
        flex-basis: calc(50% - 20px);
        max-width: calc(50% - 20px);
    }

    .carousel-btn.prev {
        left: 5px;
    }

    .carousel-btn.next {
        right: 5px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile (bis 768px) */
@media (max-width: 768px) {
    header {
        padding: 15px 5%;
    }

    nav .logo img {
        height: 80px;
        width: 80px;
    }

    .hero {
        flex-direction: column;
        justify-content: flex-start;
        text-align: center;
        padding: 100px 5% 50px 5%;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 15vw, 4rem);
    }

    .hero-image-container {
        position: static;
        width: 80%;
        max-width: 400px;
        margin: 0 auto;
        transform: none;
        perspective: none;
        opacity: 0;
        transform: translateY(50px);
    }

    .hero-image {
        transform: none;
        opacity: 1;
    }

    .page-section {
        padding: 60px 5%;
    }

    .highlight-grid.light,
    .menu-grid {
        grid-template-columns: 1fr;
    }

    .review-carousel-container {
        max-width: 100%;
    }

    .review-card {
        flex-basis: 90%;
        max-width: 90%;
        margin: 0 5%;
        padding: 20px;
        min-height: 150px;
    }

    .review-text {
        font-size: 1em;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
        background: rgba(255, 255, 255, 0.7);
    }

    .carousel-btn.prev {
        left: 2px;
    }

    .carousel-btn.next {
        right: 2px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links ul {
        padding: 0;
        text-align: center;
    }

    .footer-contact p,
    .footer-contact a {
        text-align: center;
    }

    .subpage-hero {
        padding: 120px 5% 50px 5%;
        margin-top: 0;
    }

    body:not(.home) main {
        padding-top: 65px;
    }

    .menu-kategorien {
        padding-top: 40px;
    }
}
