/* cormorant-garamond-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/cormorant-garamond-v21-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* cormorant-garamond-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/cormorant-garamond-v21-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* cormorant-garamond-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/cormorant-garamond-v21-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* cormorant-garamond-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/cormorant-garamond-v21-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* cormorant-garamond-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/cormorant-garamond-v21-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* cormorant-garamond-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/cormorant-garamond-v21-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* cormorant-garamond-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/cormorant-garamond-v21-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* cormorant-garamond-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/cormorant-garamond-v21-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* cormorant-garamond-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/cormorant-garamond-v21-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* cormorant-garamond-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/cormorant-garamond-v21-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* karla-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Karla';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/karla-v33-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* karla-200italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Karla';
  font-style: italic;
  font-weight: 200;
  src: url('../fonts/karla-v33-latin-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* karla-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Karla';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/karla-v33-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* karla-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Karla';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/karla-v33-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* karla-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/karla-v33-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* karla-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Karla';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/karla-v33-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* karla-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Karla';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/karla-v33-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* karla-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Karla';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/karla-v33-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* karla-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Karla';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/karla-v33-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* karla-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Karla';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/karla-v33-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* karla-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Karla';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/karla-v33-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* karla-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Karla';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/karla-v33-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* karla-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Karla';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/karla-v33-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* karla-800italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Karla';
  font-style: italic;
  font-weight: 800;
  src: url('../fonts/karla-v33-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root{
    --nav-height: 72px;
  /* Farben — warme, editorial Palette */
  --cream:        #F6EFE1;
  --cream-soft:   #FAF5EA;
  --cream-deep:   #EDE3D0;
  --ink:          #1A1410;
  --ink-soft:     #211813;
  --ink-mute:     #6B5E50;
  --saffron:      #C8731F;
  --saffron-deep: #A85A14;
  --gold:         #B8923D;
  --indigo:       #1F2A3B;
  --terra:        #9A4422;
  --line:         #C9B894;

  /* Typografie */
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --body:    "Karla", system-ui, -apple-system, sans-serif;

  /* Abstand */
  --gutter:    clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 10vw, 8rem);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body{
    font-family: var(--body);
}

html{
    scroll-behavior: smooth;
}

p{
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 300;
}

p.note{
    font-family: var(--display);
    font-style: italic;
    color: var(--ink-soft);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}
p.note::before{
    content: "";
    width: 32px;
    height: 1px;
    background: currentColor;
}

a{
    text-decoration: none;
}

h1{
    font-family: var(--display);
    font-weight: 700;
    font-size: 2rem;
}

h2{
    font-family: var(--display);
    font-style: italic;
    font-weight: 500;
}

h3{
    font-family: var(--display);
    font-weight: 500;
}

/* generisch — funktioniert auf h1, h2, h3 */
.highlight{
    color: var(--saffron);
    font-style: italic;
}

/* Lead-Paragraph (war früher als h2 missbraucht im Story-Bereich) */
.lead{
    font-family: var(--display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1.3;
    color: var(--ink);
}

/* Hero-Kicker (war früher h2 vor dem h1) */
.hero-kicker{
    font-family: var(--display);
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1;
    margin: 0;
}

.contentbox, .textarea{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.contentbox.twocol{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.container{
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    padding: clamp(1.25rem, 6vw, 4rem);
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

section{
    padding: 2rem 0;
    background-color: var(--cream);
}

section.dark{
    background-color: var(--ink);
    color: var(--cream);
}

.section-heading{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-heading h2{
    font-size: 3rem;
    font-style: normal;
}

.hero-tag{
    color: var(--saffron);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}
.hero-tag::before{
    content: "";
    width: 32px;
    height: 1px;
    background: currentColor;
}

section.hero h1{
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1;
    font-family: var(--display);
    font-weight: 700;
}

section.hero{
    padding: inherit;
    height: calc(100svh - var(--nav-height));
    width: 100svw;
    display: flex;
    flex-wrap: nowrap;
    align-items: end;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent), url('../img/hero_background.jpg') center/cover no-repeat;
    color: var(--cream);    
}

.hero-content{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.hero-buttons{
    display: flex;
    gap: .5rem;
    margin-top: 2rem;
}
/*
@media (max-width: 720px){
    .hero-buttons{
        display: flex;
        flex-direction: column;
    }
}
*/
a.button{
    background-color: var(--saffron);
    color: white;
    padding: 1rem 1.75rem;
}

a.button.secondary{
    background-color: var(--terra);
}

.imagearea{
    aspect-ratio: 1/1;
    overflow: hidden;
    max-height: 640px;
    justify-self: center;
}

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

.contentbox.twocol{
    gap: 3rem;
    align-items: center;
}

.card-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
}

.card{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid var(--saffron);
    padding: 2rem;
    background-color: var(--ink-soft);
}

.card-title{
    font-size: 2rem;
    font-style: normal;
}

.card-subtitle{
    color: var(--saffron);
    font-family: var(--display);
    font-style: italic;
}

.card-content{

}

/* ===== CARD ICONS ===== */
.card-icon{
    width: 48px;
    height: 48px;
    color: var(--saffron);
    margin-bottom: 0.5rem;
}

.card-icon svg{
    width: 100%;
    height: 100%;
    display: block;
}

/* ===== FOOTER ===== */
footer{
    background-color: var(--ink);
    color: var(--cream);
    padding: 4rem 0 2rem;
}

.footer-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(246, 239, 225, 0.15);
}

.footer-col{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand h2{
    font-size: 2rem;
    color: var(--saffron);
}

.footer-brand p{
    color: rgba(246, 239, 225, 0.6);
}

.footer-col h3{
    font-family: var(--body);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--saffron);
    font-weight: 600;
}

.footer-col p,
.footer-col a{
    color: rgba(246, 239, 225, 0.75);
    line-height: 1.85;
    font-size: 1rem;
}

.footer-col a:hover{
    color: var(--saffron);
}

.footer-bottom{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    font-size: 0.85rem;
    color: rgba(246, 239, 225, 0.5);
}

.footer-bottom a:hover{
    color: var(--saffron);
}

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

.menu-tabs{
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.menu-tab{
    background: transparent;
    border: 1px solid var(--line);
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-family: var(--body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all 0.2s ease;
}

.menu-tab:hover{
    border-color: var(--ink);
    color: var(--ink);
}

.menu-tab.active{
    background: var(--ink);
    color: var(--cream);
    border-color: var(--ink);
}

.menu-content{
    min-height: 200px;
}

.menu-loading{
    text-align: center;
    color: var(--ink-mute);
    font-style: italic;
    font-family: var(--display);
}

.menu-list{
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 0 3rem;
}

.menu-item{
    display: grid;
    grid-template-columns: 2.5rem 1fr auto;
    gap: 0.85rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    align-items: baseline;
}

.menu-item-num{
    font-family: var(--display);
    font-style: italic;
    color: var(--saffron);
    font-size: 1rem;
}

.menu-item-body{
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.menu-item-name{
    font-family: var(--display);
    font-weight: 500;
    font-size: 1.25rem;
    color: var(--ink);
    line-height: 1.2;
}

.menu-item-name sup{
    font-size: 0.55em;
    color: var(--ink-mute);
    margin-left: 0.15em;
    font-weight: 400;
}

.menu-item-desc{
    font-size: 0.92rem;
    color: var(--ink-mute);
    line-height: 1.5;
    max-width: 52ch;
}

.menu-item-price{
    font-family: var(--display);
    font-weight: 500;
    font-size: 1.15rem;
    color: var(--ink);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* Getränke mit mehreren Größen */
.menu-item-variants{
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.menu-item-variants .variant{
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    align-items: baseline;
}

.menu-item-variants .size{
    font-size: 0.8rem;
    color: var(--ink-mute);
    font-family: var(--body);
}

.menu-item-variants .price{
    font-family: var(--display);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--ink);
    min-width: 4rem;
}

.menu-note{
    font-family: var(--display);
    font-style: italic;
    color: var(--ink-mute);
    text-align: center;
    margin-top: 2rem;
    max-width: 48ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}

@media (max-width: 720px){
    .menu-tabs{
        position: sticky;
        top: 0;
        z-index: 10;
        background: var(--cream);
        padding-block: 1rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        
        /* Edge-to-Edge: aus dem Container-Padding ausbrechen */
        margin-inline: calc(clamp(1.25rem, 6vw, 4rem) * -1);
        padding-inline: clamp(1.25rem, 6vw, 4rem);
        
        /* Scrollbar verstecken */
        scrollbar-width: none;
        -ms-overflow-style: none;
        
        /* sanfter Scroll */
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        
        /* Fade an den Rändern (Hinweis, dass es weitergeht) */
        mask-image: linear-gradient(
            to right,
            transparent 0,
            black 1.5rem,
            black calc(100% - 1.5rem),
            transparent 100%
        );
    }
    
    .menu-tabs::-webkit-scrollbar{
        display: none;
    }
    
    .menu-tab{
        flex-shrink: 0;
    }
}



.topnav{
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);   /* Forciert GPU-Layer */
}

.topnav.hidden{
    transform: translate3d(0, -100%, 0);   /* 3d statt 2d → GPU */
}

.topnav-container{
    height: var(--nav-height);
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-block: 0 !important;
}

.topnav-brand{
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    color: var(--ink);
}

.topnav-brand-name{
    font-family: var(--display);
    font-weight: 500;
    font-size: 1.35rem;
    line-height: 1;
}

.topnav-brand-name em{
    color: var(--saffron);
    font-style: italic;
}

.topnav-brand-tag{
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-mute);
}

.topnav-menu{
    display: flex;
    align-items: center;
    gap: 2rem;
}

.topnav-menu a{
    color: var(--ink-soft);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.topnav-menu a:hover{
    color: var(--saffron);
}

.topnav-cta{
    color: white !important;
    padding: 0.65rem 1.3rem;
    font-size: 0.9rem;
}

.topnav-toggle{
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-right: -0.5rem;
}

.topnav-toggle span{
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--ink);
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Sticky-Tabs unter die Nav schieben */
.menu-tabs{
    top: var(--nav-height) !important;
}

/* Anker-Sprünge unter der Nav landen lassen */
section[id], footer[id]{
    scroll-margin-top: calc(var(--nav-height) + 1rem);
}

@media (max-width: 820px){
    .topnav-toggle{ display: block; }
    .topnav-brand-tag{ display: none; }

.topnav-menu{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem clamp(1.25rem, 6vw, 4rem) 2rem;
    border-bottom: 1px solid var(--line);
    
    transform: translate3d(0, -100%, 0);
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
    
    visibility: hidden;
}

.topnav.open .topnav-menu{
    transform: translate3d(0, 0, 0);
    visibility: visible;
}

    .topnav-menu a{
        padding: 1rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--line);
    }

    .topnav-menu a.topnav-cta{
        border-bottom: none;
        margin-top: 1rem;
        text-align: center;
    }

    .topnav.open .topnav-toggle span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
    .topnav.open .topnav-toggle span:nth-child(2){ opacity: 0; }
    .topnav.open .topnav-toggle span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }
}

.legal{
    max-width: 720px;
    margin: 0 auto;
    padding-block: 2rem 4rem;
}

.legal h1{
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 2.5rem;
}

.legal h2{
    font-family: var(--display);
    font-style: italic;
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--saffron);
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.legal p{
    margin-bottom: 1rem;
    color: var(--ink-soft);
}

.legal a{
    color: var(--saffron);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal a:hover{
    color: var(--saffron-deep);
}

.topnav-back{
    color: var(--ink-soft);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.topnav-back:hover{
    color: var(--saffron);
}

.menu-tabs{
    transition: top 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.topnav.hidden ~ main .menu-tabs{
    top: 0 !important;
}