/* =============================================================
   Trattoria Sicilia — minimal / hell
   Ein Stylesheet für alle Seiten.
   ============================================================= */

:root {
    --bg:        #ffffff;
    --bg-alt:    #f6f5f3;
    --ink:       #17171a;
    --ink-soft:  #55555c;
    --line:      #e6e4e0;
    --accent:    #b0452e;
    --wrap:      1080px;
    --narrow:    720px;
    --pad:       24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.15;
    margin: 0;
}

p {
    margin: 0 0 1em;
}

/* ---------- Layout-Helfer ---------- */

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding-inline: var(--pad);
}

.wrap.narrow {
    max-width: var(--narrow);
}

.section {
    padding-block: clamp(56px, 9vw, 104px);
}

.section.alt {
    background: var(--bg-alt);
}

.kicker {
    display: block;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}

.lead {
    font-size: clamp(18px, 2.2vw, 21px);
    color: var(--ink-soft);
    max-width: 58ch;
}

.section h2 {
    font-size: clamp(26px, 4vw, 40px);
    margin-bottom: 18px;
}



.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px var(--pad);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--line);
}

.brand {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 26px;
}

.site-nav a {
    font-size: 14px;
    color: var(--ink-soft);
    text-decoration: none;
    padding-block: 4px;
    transition: color 0.15s ease;
}

.site-nav a:hover {
    color: var(--ink);
}

.site-nav a.active {
    color: var(--ink);
    border-bottom: 1px solid var(--ink);
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: #fff;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.btn:hover {
    background: transparent;
    color: var(--ink);
}

.btn.ghost {
    background: transparent;
    color: var(--ink);
}

.btn.ghost:hover {
    background: var(--ink);
    color: #fff;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

/* ---------- Hero (Startseite) ---------- */

.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 82vh;
    padding: 0 var(--pad) clamp(48px, 8vw, 90px);
    color: #fff;
    background: #222 center / cover no-repeat;
    background-image:
        linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.34) 55%, rgba(0, 0, 0, 0.45) 100%),
        url("restaurant.jpg");
}

.hero .btn {
    border-color: #fff;
    background: #fff;
    color: var(--ink);
}

.hero .btn:hover {
    background: transparent;
    color: #fff;
}

.hero .btn.ghost {
    background: transparent;
    color: #fff;
}

.hero .btn.ghost:hover {
    background: #fff;
    color: var(--ink);
}

.hero .hero-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    width: 100%;
}

.hero .kicker {
    color: #fff;
    opacity: 0.85;
}

.hero h1 {
    position: relative;
    display: inline-block;
    font-size: clamp(38px, 7vw, 76px);
    max-width: 16ch;
    margin-top: 6px;
    padding: 6px 8px;
    color: var(--ink);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55), 0 0 3px rgba(0, 0, 0, 0.4);
    animation: rise 0.9s ease both;
    transition: transform 0.5s ease;
}

/* macchia / splash traslucida dietro tutto il titolo */
.hero h1::before {
    content: "";
    position: absolute;
    inset: -9% -10%;
    z-index: -1;
    pointer-events: none;
    background: #fff;
    opacity: 0.2;
    border-radius: 46% 54% 60% 40% / 54% 44% 56% 46%;
    filter: blur(2px);
    box-shadow:
        -2.4em  0.2em 0 -3em    #fff,
         2.6em -0.7em 0 -1.05em #fff,
        -1.9em  1.4em 0 -1.15em #fff,
         2.2em  1.3em 0 -1.2em  #fff,
        -2.9em -0.9em 0 -1.3em  #fff,
         0.4em  1.9em 0 -1.3em  #fff;
}

.hero h1:hover {
    transform: translateY(-6px);
}

.hero p {
    margin-top: 18px;
    font-size: clamp(17px, 2.4vw, 22px);
    max-width: 46ch;
    color: rgba(255, 255, 255, 0.9);
}

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

/* ---------- Volle Bildbreite ---------- */

.band {
    height: clamp(240px, 42vw, 460px);
    background: #222 center / cover no-repeat;
}

/* ---------- Nummerierte Spalten ---------- */

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.pillars .pillar {
    border-top: 2px solid var(--ink);
    padding-top: 18px;
}

.pillars .num {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--ink-soft);
}

.pillars h3 {
    font-size: 21px;
    margin: 6px 0 10px;
}

.pillars p {
    font-size: 15px;
    color: var(--ink-soft);
    margin: 0;
}

/* ---------- Speisekarte: Zeilen ---------- */

.menu-group {
    margin-top: 44px;
}

.menu-group:first-of-type {
    margin-top: 24px;
}

.menu-group h3 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.menu-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.menu-row .name {
    font-weight: 500;
}

.menu-row .desc {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--ink-soft);
}

.menu-row .price {
    white-space: nowrap;
    color: var(--ink-soft);
    font-variant-numeric: tabular-nums;
}

/* ---------- Speisekarte: eingescannte Karten ---------- */

.scans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.scans a {
    display: block;
    border: 1px solid var(--line);
    transition: opacity 0.15s ease;
}

.scans a:hover {
    opacity: 0.86;
}

/* ---------- Kontaktblock ---------- */

.contact-big a {
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.contact-big .phone {
    display: inline-block;
    margin: 6px 0 4px;
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 600;
    letter-spacing: -0.02em;
}

address {
    font-style: normal;
    color: var(--ink-soft);
}

/* ---------- Formular ---------- */

.form {
    max-width: var(--narrow);
    margin-top: 30px;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.field {
    margin-bottom: 22px;
}

.field label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.field input,
.field textarea {
    width: 100%;
    padding: 10px 2px;
    font: inherit;
    color: var(--ink);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    transition: border-color 0.15s ease;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-bottom-color: var(--ink);
}

.form .btn {
    width: 100%;
    margin-top: 6px;
}

#form-message {
    margin-top: 18px;
    font-size: 15px;
}

#form-message.success { color: #1e6b3c; }
#form-message.error   { color: var(--accent); }

.muted {
    color: var(--ink-soft);
    font-size: 15px;
}

/* ---------- Fußzeile ---------- */

.site-footer {
    border-top: 1px solid var(--line);
    padding: 40px var(--pad);
}

.site-footer .wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: var(--ink-soft);
}

.site-footer a {
    text-decoration: none;
    border-bottom: 1px solid var(--line);
}

/* ---------- Mobil ---------- */

@media (max-width: 760px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .site-nav {
        gap: 4px 18px;
    }

    .pillars {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero {
        min-height: 72vh;
    }
}
