/* @override 
    https://fxlb.de/fw/style.css
	https://franzundwilli.de/fwnew/style.css
	https://franzundwilli.de/style.css */
    
@font-face {
  font-display: swap;
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/josefin-sans-v32-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Josefin Sans';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/josefin-sans-v32-latin-italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/josefin-sans-v32-latin-500.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Josefin Sans';
  font-style: italic;
  font-weight: 500;
  src: url('fonts/josefin-sans-v32-latin-500italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/josefin-sans-v32-latin-600.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Josefin Sans';
  font-style: italic;
  font-weight: 600;
  src: url('fonts/josefin-sans-v32-latin-600italic.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/josefin-sans-v32-latin-700.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Josefin Sans';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/josefin-sans-v32-latin-700italic.woff2') format('woff2');
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Josefin Sans', sans-serif;
    overflow-x: hidden;
    color: #444b4b;
    line-height: 1.6;
    box-sizing: border-box;
    background-color: #b8e8e2;  /* etwas dunkleres Mint */
}

p a, .link {
    color: black;
    text-decoration: none;
    border-bottom: 4px solid #00AD9C;
    cursor: pointer;
    transition: border-color 0.2s ease;
}
p a:hover {
    border-bottom: 4px solid #8dd1c0;
}

/* ─── HEADER ──────────────────────────────────────────────────── */

header {
    background-color: black;
    color: white;
    padding: 0.8em 0;
    text-align: center;
}

.top-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 0.9em;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2em;
}

.social-media a {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-left: 10px;
    transition: opacity 0.2s ease;
}
.social-media a:hover { opacity: 0.7; }

.social-media a.instagram {
    background: url('img/instagram_icon.svg') no-repeat center center;
    background-size: contain;
}

.social-media a.facebook {
    background: url('img/facebook_icon.svg') no-repeat center center;
    background-size: contain;
}

/* ─── MAIN CONTENT ────────────────────────────────────────────── */

.main-content {
    background-color: #e0f9f6;
    text-align: center;
    padding: 2em 0;
    position: relative;
    overflow: visible;
    max-width: 1600px;
    margin: 0 auto;
}

/* ─── LOGO + ORDER BUTTON ─────────────────────────────────────── */

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: auto;
    margin-bottom: 40px;
    width: 100%;
    overflow: visible;
    gap: 2em;
    padding: 1em 0;
    box-sizing: border-box;
}

.spacer {
    flex: 1;
    min-width: 0;
}

.logo {
    flex: 0 0 auto;
    width: clamp(160px, 25%, 300px);
    text-align: center;
}

.logo img {
    width: 100%;
    display: block;
}

.order-button {
    flex: 1;
    min-width: 0;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    overflow: visible;
    animation: pulse 6s ease-in-out infinite;
    transform-origin: right center;
    cursor: pointer;
}

.order-button img {
    width: min(100%, 360px);
    height: auto;
    transform-origin: right center;
    display: block;
}

.order-button span, .order-button-main span, #reserve-button span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
    cursor: pointer;
}

@media (max-width: 750px) {
    .logo-container {
        justify-content: space-between;
        align-items: center;
        gap: 0.5em;
        padding: 0.5em 0 0.5em 1.5em;
    }
    .spacer { display: none; }
    .logo {
        flex: 0 0 auto;
        width: clamp(120px, 42%, 200px);
        text-align: left;
    }
    .order-button {
        flex: 0 1 auto;
        min-width: 0;
        justify-content: flex-end;
        overflow: visible;
    }
    .order-button img { width: clamp(140px, 48vw, 260px); }
}

@media (max-width: 450px) {
    .logo { width: clamp(100px, 38%, 160px); }
    .order-button img { width: clamp(120px, 50vw, 220px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.04); }
}

/* ─── NAVIGATION ──────────────────────────────────────────────── */

nav.menu ul {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5em;
}

nav.menu ul li {
    display: inline;
    margin: 0 15px;
}

nav.menu ul li a {
    color: black;
    text-decoration: none;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.08em;     /* luftiger bei Versalien */
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
}

nav.menu ul li a:hover {
    border-bottom: 2px solid #00AD9C;
}

@media (max-width: 500px) {
    nav.menu ul {
        padding: 0;
        text-align: center;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    nav.menu ul li { margin: 0 5px; }
    nav.menu ul li a { font-size: 0.8em; }
}

/* ─── SPECIALS + EVENT BOXES ──────────────────────────────────── */

#current-specials {
    background-color: #f8f8f0;
    padding: 1em 2em;
    border: 4px dashed #03ac9b;
    transform: rotate(-2deg);
    transform-origin: top left;
    margin-top: 4em;
    transition: transform 0.3s ease;
}

#current-specials:hover {
    transform: rotate(0deg);    /* richtet sich beim Hover aus */
}

#current-specials p {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    width: 100%;
    font-size: 1em;
}

#current-event {
    background-color: #f8f8f0;
    padding: 1em 2em;
    border: 4px dashed #03ac9b;
    transform: rotate(2deg);
    transform-origin: top left;
    margin-top: 2em;
    margin-bottom: 2em;
    transition: transform 0.3s ease;
}

#current-event:hover {
    transform: rotate(0deg);
}

#current-event p {
    width: 100%;
    font-size: 1em;
    line-height: 1.5;
}

/* ─── SCROLL FADE-IN ──────────────────────────────────────────── */

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ─── IMAGE SLIDERS ───────────────────────────────────────────── */

.image-section {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
    gap: 0;
    max-height: 700px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: #307972;
}

.image1 {
    flex-basis: 66.66%;
    aspect-ratio: 3 / 2;
    max-width: 66.66%;
    max-height: 700px;
}

.image2 {
    flex-basis: 33.33%;
    aspect-ratio: 3 / 4;
    max-width: 33.33%;
    max-height: 700px;
}

.slider-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.image1 img { animation: fade-left 30s infinite; }

@keyframes fade-left {
    0%, 100% { opacity: 0; }
    10%, 90%  { opacity: 1; }
}

.image2 img { animation: fade-right 21s infinite; }

@keyframes fade-right {
    0%, 100% { opacity: 0; }
    5%, 95%   { opacity: 1; }
}

.image1 img:nth-child(1) { animation-delay: 0s; }
.image1 img:nth-child(2) { animation-delay: 10s; }
.image1 img:nth-child(3) { animation-delay: 20s; }

.image2 img:nth-child(1) { animation-delay: 0s; }
.image2 img:nth-child(2) { animation-delay: 7s; }
.image2 img:nth-child(3) { animation-delay: 14s; }
.image2 img:nth-child(4) { animation-delay: 21s; }

/* ─── TEXT CONTENT + OVERLAYS ─────────────────────────────────── */

#text-content {
    position: relative;
    overflow: visible;
}

.txt {
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    position: relative;
    z-index: 1;
}

.section {
    padding: 20px 0;
    position: relative;
    width: 100%;
}

.section h2 {
    text-transform: uppercase;
    letter-spacing: 0.08em;     /* Versalien etwas weiter */
    z-index: 1;
    font-size: 1.3em;
    color: black;
}

.section p {
    font-size: 1.05em;
    line-height: 1.6;           /* luftiger: war 1.3 */
    color: black;
}

#dl-link p {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-top: 2em;
    font-weight: bold;
}

.overlay-left, .overlay-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20%;
    max-width: 280px;
    z-index: 0;
    overflow: visible;
    pointer-events: none;
}

.overlay-left { left: 0; }
.overlay-right { right: 0; }

.overlay-left img,
.overlay-right img {
    position: absolute;
    width: 240px;
    height: auto;
    will-change: transform;
    left: 50%;
    transform: translateX(-50%);
}

/* ─── IMAGE GRID ──────────────────────────────────────────────── */

.image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;               /* etwas enger für cleanes Raster */
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6px;
}

.image-grid img {
    width: calc(25% - 6px);
    max-width: 340px;
    aspect-ratio: 1 / 1;   /* quadratisch, einheitlich */
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.image-grid img:hover {
    opacity: 0.85;
}

/* ─── ORDER + RESERVE BUTTONS ─────────────────────────────────── */

.order-button-main {
    width: 100%;
    margin-top: 1em;
    cursor: pointer;
    animation: pulse 6s ease-in-out 2s infinite;
}

.order-button-main img {
    width: 100%;
    max-width: 850px;
}

#reserve-button {
    position: relative;
    width: 100%;
    margin-bottom: 1em;
    cursor: pointer;
    animation: pulse 6s ease-in-out 4s infinite;
}

#reserve-button img {
    width: 100%;
    max-width: 350px;
}

/* ─── IMPRESSUM / DATENSCHUTZ CONTENT ────────────────────────── */

div#content-wrap {
    width: 80%;
    max-width: 900px;
    margin: auto;
}

.header-logo {
    width: 100%;
    padding: 2em;
}

.header-logo img {
    width: 20%;
    min-width: 120px;
    max-width: 350px;
}

/* ─── ABOUT SECTION ───────────────────────────────────────────── */

#about { padding-bottom: 3em; }

/* ─── FOOTER ──────────────────────────────────────────────────── */

footer {
    background-color: black;
    color: white;
    padding: 3em 0;
    text-align: center;
    width: 100%;
}

.footer-logo { width: 100%; }

.footer-logo img {
    width: 20%;
    min-width: 120px;
    max-width: 350px;
    margin-bottom: 2em;
}

.footer p {
    margin: 1em 0;
    font-size: 0.9em;
}

.footer .social-media { margin-top: 1em; }

.footer .social-media a {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin: 0 10px;
    transition: opacity 0.2s ease;
}
.footer .social-media a:hover { opacity: 0.7; }

.opening-hours-bottom {
    display: inline-block;
    border: 2px solid white;
    padding: 1em 1.4em 0.9em;
    margin-bottom: 2em;
    letter-spacing: 0.04em;
}

.footer .social-media a.instagram {
    background: url('img/instagram_icon.svg') no-repeat center center;
    background-size: contain;
}

.footer .social-media a.facebook {
    background: url('img/facebook_icon.svg') no-repeat center center;
    background-size: contain;
}

.footer-links {
    color: white;
    text-decoration: none;
    margin-top: 2em;
}

.footer-links a {
    color: white;
    text-decoration: none;
    padding: 1em;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-links a:hover { opacity: 1; }

/* ─── RESPONSIVE ──────────────────────────────────────────────── */

@media (max-width: 1200px) {
    .overlay-left img,
    .overlay-right img {
        opacity: 0.5;
    }
}

@media (max-width: 500px) {
    .txt {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .txt h1, .txt h2, .txt h3, .txt p {
        font-size: calc(0.8em + 0.5vw);
    }
    .overlay-left, .overlay-right {
        width: 30%;
        max-width: none;
    }
    .image-grid img {
        width: calc(50% - 6px);
        max-width: none;
    }
}
