
:root {
    --navy: #07395d;
    --blue: #0d5685;
    --blue-dark: #062e4b;
    --cream: #f8f5ee;
    --ink: #183247;
    --muted: #6b7780;
    --white: #ffffff;
    --gold: #c9a45b;
    --border: #e2e6e8;
}

/* =========================
   GRUNDLAGEN
========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    font-family: "DM Sans", Arial, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

button,
input,
select {
    font: inherit;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

/* =========================
   HEADER / NAVIGATION
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 12px rgba(0, 43, 74, 0.08);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--navy);
    flex-shrink: 0;
}

.brand-mark {
    width: 58px;
    height: 58px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    border-radius: 50%;

    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand strong {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 20px;
    letter-spacing: 1.2px;
    display: block;
    line-height: 1.2;
}

.brand small {
    font-size: 9px;
    letter-spacing: 2.5px;
    display: block;
    color: #668092;
    margin-top: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 14px;
    font-weight: 600;
}

.nav-links a:not(.btn) {
    padding: 27px 0 23px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.nav-links a.active,
.nav-links a:not(.btn):hover {
    color: var(--blue);
    border-color: var(--blue);
}

/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 7px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.btn-primary {
    background: #0b5b8d;
    color: white;
    box-shadow: 0 8px 20px rgba(7, 57, 93, 0.17);
}

.btn-primary:hover {
    background: #07466e;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: white;
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.btn-outline:hover {
    background: white;
    color: var(--navy);
}

.btn-outline.light {
    border-color: #d7edf9;
    color: white;
}

.btn-small {
    min-height: 40px;
    padding: 0 18px;
}

/* =========================
   MOBILE MENU
========================= */

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 26px;
    color: var(--navy);
    cursor: pointer;
}

/* =========================
   HERO
========================= */

.hero {
    min-height: 610px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url("../images/restaurant_draussen.jpg") center center / cover no-repeat;
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(6, 45, 79, 0.91) 0%,
            rgba(7, 57, 93, 0.66) 48%,
            rgba(7, 57, 93, 0.10) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 75px 0;
    max-width: 1120px;
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 2.6px;
    font-weight: 700;
    margin: 0 0 13px;
    color: white;
}

.eyebrow.blue {
    color: var(--blue);
}

h1,
h2,
h3 {
    font-family: "Playfair Display", Georgia, serif;
}

h1 {
    font-size: clamp(46px, 5.5vw, 74px);
    line-height: 1.02;
    margin: 0 0 22px;
    max-width: 720px;
}

h1 em {
    font-style: normal;
    color: white;
}

h2 {
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.15;
    margin: 0 0 15px;
    color: var(--navy);
}

h3 {
    margin: 0 0 5px;
    color: var(--navy);
    font-size: 21px;
}

.hero-copy {
    max-width: 570px;
    font-size: 17px;
    margin: 0 0 30px;
    color: #eef7fb;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.scroll-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* =========================
   SPEISEKARTE
========================= */

.section {
    padding: 88px 0;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 42px;
}

.section-heading > p:last-child {
    color: var(--muted);
    margin: 0;
}

.dish-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.dish-card {
    min-width: 0;
    background: white;
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(7, 57, 93, 0.07);
    border: 1px solid #e9e4db;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.dish-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(7, 57, 93, 0.12);
}

.dish-card img {
    height: 170px;
}

.dish-card > div {
    padding: 17px 17px 20px;
}

.dish-card p {
    font-size: 14px;
    color: #66737c;
    margin: 0 0 10px;
    line-height: 1.55;
}

.dish-card span {
    font-weight: 700;
    color: var(--blue);
    font-size: 14px;
}

.center {
    text-align: center;
    margin-top: 30px;
}

.text-link {
    font-weight: 700;
    color: var(--blue);
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

/* =========================
   ÜBER UNS
========================= */

.about {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    background: var(--navy);
    color: white;
}

.about-image {
    min-height: 460px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9);
}

.about-copy {
    padding: 72px clamp(40px, 6vw, 90px);
    align-self: center;
}

.about-copy h2 {
    color: white;
}

.about-copy p:not(.eyebrow) {
    color: #d9e7ef;
    max-width: 520px;
}

/* =========================
   FEATURES
========================= */

.features {
    background: white;
    padding: 34px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid > div {
    min-width: 0;
    text-align: center;
    padding: 8px 25px;
    border-right: 1px solid #dfe3e5;
    display: flex;
    flex-direction: column;
}

.feature-grid > div:last-child {
    border-right: 0;
}

.feature-grid b {
    font-size: 28px;
    color: var(--blue);
    font-weight: 400;
}

.feature-grid strong {
    font-family: "Playfair Display", serif;
    color: var(--blue);
    font-size: 16px;
}

.feature-grid span {
    font-size: 12px;
    color: #7a858c;
}

/* =========================
   RESERVIERUNG
========================= */

.reservation {
    padding: 88px 0;
    background: #edf4f7;
}

.reservation-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 70px;
    align-items: start;
}

.reservation-inner > div:first-child {
    padding-top: 15px;
}

.reservation-inner p:not(.eyebrow) {
    color: var(--muted);
}

.reservation-form {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 35px rgba(7, 57, 93, 0.07);
}

.reservation-form label {
    min-width: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
}

.reservation-form input,
.reservation-form select {
    display: block;
    width: 100%;
    min-width: 0;
    margin-top: 6px;
    height: 46px;
    border: 1px solid #d8e0e4;
    border-radius: 5px;
    padding: 0 12px;
    font: inherit;
    color: var(--ink);
    background: white;
}

.reservation-form input:focus,
.reservation-form select:focus {
    outline: 2px solid rgba(13, 86, 133, 0.18);
    border-color: var(--blue);
}

.reservation-form button {
    grid-column: 1 / -1;
}

.form-note {
    grid-column: 1 / -1;
    margin: 0 !important;
    font-size: 13px;
    color: var(--blue) !important;
    min-height: 20px;
}

/* =========================
   GALERIE
========================= */

.gallery {
    padding: 88px 0 0;
}

.gallery .section-heading {
    margin-bottom: 35px;
}

.gallery-grid {
    width: 100%;
    height: 330px;
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr;
    overflow: hidden;
}

.gallery-grid > div {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-grid > div:hover img {
    transform: scale(1.04);
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: 100%;
    overflow: hidden;
    border-radius: 0;
}

.about-image {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: 0;
}

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

/* =========================
   FOOTER
========================= */

footer {
    position: relative;
    z-index: 2;
    background: var(--blue-dark);
    color: #d8e7ef;
    margin: 0;
    padding-top: 60px;
}

.footer-grid {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;

    /* Wichtig: keine .1fr mehr */
    grid-template-columns:
        minmax(220px, 1.5fr)
        minmax(170px, 1fr)
        minmax(200px, 1.1fr)
        minmax(100px, 0.6fr);

    gap: 45px;
    align-items: start;
}

.footer-grid > div {
    min-width: 0;
}

.footer-grid h3 {
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: white;
    margin: 0 0 12px;
}

.footer-grid p {
    margin: 0;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.footer-grid a:hover {
    color: white;
}

.footer-brand p {
    max-width: 250px;
    margin-top: 18px;
}

.brand.inverse {
    color: white;
}

.brand.inverse small {
    color: #ffffff;
}

.socials {
    display: flex;
    gap: 10px;
}

.socials a {
    width: 34px;
    height: 34px;
    border: 1px solid #7293a6;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    transition: 0.2s ease;
}

.socials a:hover {
    background: white;
    color: var(--navy);
    border-color: white;
}

.footer-bottom {
    width: min(1120px, calc(100% - 40px));
    margin: 45px auto 0;
    border-top: 1px solid #3c5b70;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 11px;
    color: #9eb5c3;
}

.footer-bottom a:hover {
    color: white;
}

/* =========================
   GROSSE BILDSCHIRME
========================= */

/*
   Bei 1920px bleibt der Inhalt bewusst
   auf ca. 1120px begrenzt.
*/

@media (min-width: 1600px) {
    .hero-content {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .gallery-grid {
        height: 360px;
    }

    .section {
        padding-top: 100px;
        padding-bottom: 100px;
    }
}

/* =========================
   TABLET / KLEINER DESKTOP
========================= */

@media (max-width: 1100px) {

    .nav-links {
        gap: 16px;
    }

    .dish-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns:
            minmax(200px, 1.4fr)
            minmax(150px, 1fr)
            minmax(180px, 1fr)
            minmax(90px, 0.7fr);

        gap: 30px;
    }

    .reservation-inner {
        gap: 40px;
    }
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .container {
        width: min(100% - 32px, 1120px);
    }

    .nav-links {
        gap: 12px;
        font-size: 13px;
    }

    .nav-links a:not(.btn) {
        padding-left: 0;
        padding-right: 0;
    }

    .about {
        grid-template-columns: 1fr;
    }

    .about-image {
        min-height: 380px;
    }

    .about-copy {
        padding: 65px 40px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 20px;
    }

    .feature-grid > div {
        border-right: 0;
    }

    .reservation-inner {
        grid-template-columns: 1fr;
    }

    .reservation-inner > div:first-child {
        padding-top: 0;
    }

    .gallery-grid {
        height: 280px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-bottom {
        width: min(100% - 32px, 1120px);
    }
}

/* =========================
   HANDY
========================= */

@media (max-width: 700px) {

    .container {
        width: min(100% - 28px, 1120px);
    }

    .nav {
        min-height: 68px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;

        background: white;

        display: none;
        flex-direction: column;
        align-items: stretch;

        padding: 12px 18px 20px;

        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a:not(.btn) {
        padding: 10px;
        border-bottom: 0;
    }

    .nav-links .btn {
        text-align: center;
        margin-top: 5px;
    }

    .brand strong {
        font-size: 16px;
    }

    .brand small {
        font-size: 7px;
        letter-spacing: 2px;
    }

    .hero {
        min-height: 590px;
    }

    .hero-content {
        padding: 55px 0;
    }

    h1 {
        font-size: clamp(42px, 12vw, 60px);
    }

    .hero-copy {
        font-size: 15px;
    }

    .section {
        padding: 65px 0;
    }

    .dish-grid {
        grid-template-columns: 1fr;
    }

    .dish-card img {
        height: 190px;
    }

    .about-image {
        min-height: 300px;
    }
    
    .about-images {
        height: 420px;
    }
    .about-copy {
        padding: 55px 25px;
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .feature-grid > div {
        padding: 12px 8px;
    }

    .reservation {
        padding: 65px 0;
    }

    .reservation-form {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .reservation-form button,
    .form-note {
        grid-column: auto;
    }

    .gallery {
        padding-top: 65px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        height: 340px;
    }

    .gallery-grid > div:first-child {
        grid-column: 1 / -1;
        height: 180px;
    }

    .footer-grid {
        width: min(100% - 28px, 1120px);
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        width: min(100% - 28px, 1120px);
        flex-direction: column;
        gap: 8px;
    }

    .scroll-hint {
        display: none;
    }
}

/* =========================
   SEHR KLEINE HANDYS
========================= */

@media (max-width: 420px) {

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        height: 420px;
        grid-template-columns: 1fr;
    }

    .gallery-grid > div:first-child {
        grid-column: auto;
    }
}

/* =========================================
IMPRESSUM / RECHTLICHE SEITEN
========================================= */

.legal-page {
min-height: calc(100vh - 180px);
padding: 90px 0 100px;
background: var(--cream, #f7f3ec);
}

.legal-container {
max-width: 900px;
}

.back-link {
display: inline-flex;
align-items: center;
gap: 8px;
margin-bottom: 35px;
color: var(--green, #173f35);
font-weight: 600;
text-decoration: none;
transition: opacity .2s ease;
}

.back-link {
opacity: .7;
}

.legal-page h1 {
margin: 0 0 12px;
color: var(--green, #173f35);
font-size: clamp(42px, 6vw, 68px);
line-height: 1;
}

.legal-intro {
margin: 0 0 55px;
color: #777;
font-size: 17px;
}

.legal-section {
margin-bottom: 42px;
padding-bottom: 32px;
border-bottom: 1px solid rgba(23, 63, 53, .12);
}

.legal-section {
border-bottom: none;
}

.legal-section h2 {
margin: 0 0 16px;
color: var(--green, #173f35);
font-size: 25px;
line-height: 1.2;
}

.legal-section p {
margin: 0 0 14px;
color: #444;
font-size: 16px;
line-height: 1.8;
}

.legal-section strong {
color: #222;
}

.legal-note {
color: #888 !important;
font-size: 14px !important;
font-style: italic;
}

.footer-bottom {
display: flex;
align-items: center;
justify-content: space-between;
gap: 30px;
}

.footer-links {
display: flex;
align-items: center;
gap: 24px;
}

.footer-links a {
color: inherit;
text-decoration: none;
transition: opacity .2s ease;
}

.footer-links a {
opacity: .65;
}

@media (max-width: 700px) {

.legal-page {
    padding: 60px 0 70px;
}

.legal-page h1 {
    font-size: 44px;
}

.legal-intro {
    margin-bottom: 40px;
}

.legal-section {
    margin-bottom: 32px;
    padding-bottom: 25px;
}

.legal-section h2 {
    font-size: 22px;
}

.footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.footer-links {
    flex-wrap: wrap;
    gap: 15px 22px;
}

}

/* Checkbox für den Hinweis zur Datenschutzerklärung im Reservierungsformular */
.reservation-form .privacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
  font-weight: 400;
}

.reservation-form .privacy-consent input[type="checkbox"] {
  width: auto;
  flex: 0 0 auto;
  margin-top: 4px;
}

.reservation-form .privacy-consent a {
  text-decoration: underline;
}
