
:root{
  --green:#061b14;
  --green-soft:#0b3023;
  --green-accent:#176b4a;
  --red:#bd302d;
  --red-dark:#8e2221;
  --cream:#f3eee6;
  --white:#fffdf9;
  --ink:#121512;
  --muted:#6f746f;
  --line:#d9d3ca;
  --dark-line:rgba(255,255,255,.14);
  --sans:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--sans);
  background:var(--cream);
  color:var(--ink);
  line-height:1.55;
}
a{color:inherit}
img{display:block;width:100%;height:auto}
.container{width:min(1180px,calc(100% - 40px));margin:0 auto}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{line-height:.98;letter-spacing:-.045em}
h1{font-size:clamp(4rem,9vw,8.5rem)}
h2{font-size:clamp(2.5rem,5vw,5.2rem)}
h3{font-size:clamp(1.45rem,2.5vw,2.1rem)}

.kicker{
  margin-bottom:12px;
  font-size:.72rem;
  font-weight:850;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.kicker-red{color:#ef655f}
.kicker-green{color:var(--green-accent)}
.lead{font-size:1.08rem}
.muted{color:var(--muted)}

/* Header / Wortmarke */
.site-header{
  position:absolute;
  inset:0 0 auto;
  z-index:20;
  color:#fff;
}
.site-header.solid{
  position:sticky;
  background:rgba(5,25,18,.97);
  border-bottom:1px solid var(--dark-line);
  backdrop-filter:blur(10px);
}
.nav-wrap{
  min-height:90px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
}
.brand{
  min-width:178px;
  display:inline-block;
  color:#fff;
  text-decoration:none;
}
.brand strong{
  display:block;
  font-size:1.08rem;
  line-height:1;
  font-weight:900;
  letter-spacing:.105em;
  text-transform:uppercase;
}
.brand small{
  display:block;
  margin-top:6px;
  color:rgba(255,255,255,.62);
  font-size:.61rem;
  line-height:1;
  font-weight:750;
  letter-spacing:.17em;
  text-transform:uppercase;
}
.brand-rule{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  width:76px;
  height:3px;
  margin-top:9px;
  overflow:hidden;
}
.brand-rule i:nth-child(1){background:#16814e}
.brand-rule i:nth-child(2){background:#fff}
.brand-rule i:nth-child(3){background:#c93632}

.nav{
  display:flex;
  align-items:center;
  gap:27px;
  flex-wrap:wrap;
}
.nav a{
  position:relative;
  padding:8px 0;
  color:rgba(255,255,255,.73);
  text-decoration:none;
  font-size:.73rem;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
  transition:color .2s ease;
}
.nav a::after{
  content:"";
  position:absolute;
  left:0;right:100%;bottom:2px;
  height:2px;
  background:#fff;
  transition:right .2s ease;
}
.nav a:hover,.nav a.active{color:#fff}
.nav a:hover::after,.nav a.active::after{right:0}
.nav .contact-link{
  padding:11px 16px;
  border-radius:999px;
  background:var(--red);
  color:#fff;
}
.nav .contact-link::after{display:none}
.nav .contact-link:hover{background:var(--red-dark)}

/* Buttons */
.btn-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:29px}
.btn{
  min-height:47px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 20px;
  border-radius:999px;
  text-decoration:none;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.btn-red{background:var(--red);color:white}
.btn-red:hover{background:var(--red-dark)}
.btn-ghost{color:#fff;border:1px solid rgba(255,255,255,.38);background:rgba(5,20,15,.08)}
.btn-dark{background:var(--green);color:#fff}
.btn-outline{border:1px solid var(--line);background:transparent}

/* Startseite */
.hero{
  min-height:810px;
  position:relative;
  display:grid;
  place-items:center;
  color:#fff;
  text-align:center;
  overflow:hidden;
  isolation:isolate;
  background-color:#061b14;
}
.hero::before{
  content:"";
  position:absolute;
  z-index:-2;
  inset:-3%;
  background-image:url("assets/pizza.jpg");
  background-repeat:no-repeat;
  background-position:64% 50%;
  background-size:max(116vw,1215px) auto;
}
.hero::after{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  background:
    radial-gradient(circle at 65% 52%,rgba(0,0,0,.02),rgba(0,0,0,.12) 30%,rgba(3,19,13,.60) 72%),
    linear-gradient(180deg,rgba(3,17,12,.50),rgba(3,17,12,.64));
  border-bottom:6px solid transparent;
  border-image:linear-gradient(90deg,#16814e 0 33.33%,#fff 33.33% 66.66%,#c93632 66.66%) 1;
}
.hero-inner{
  position:relative;
  z-index:2;
  padding-top:92px;
}
.hero h1{
  max-width:1100px;
  margin:0 auto;
  font-size:clamp(4.5rem,10.2vw,9.4rem);
  font-weight:950;
  text-transform:uppercase;
}
.hero h1 span,
.hero h1 em{
  display:block;
  font-style:normal;
}
.hero h1 em{
  display:block;
  width:100%;
  margin-top:.18em;
  color:transparent;
  font-size:.68em;
  line-height:1.05;
  font-family:Arial, Helvetica, sans-serif;
  font-weight:800;
  white-space:nowrap;
  -webkit-text-stroke:1.25px rgba(255,255,255,.92);
  text-stroke:1.25px rgba(255,255,255,.92);
  letter-spacing:.03em;
}
.hero .lead{
  max-width:610px;
  margin:23px auto 0;
  color:rgba(255,255,255,.86);
}
.hero .btn-row{justify-content:center}
.hero-tag{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:8px 12px;
  margin-bottom:24px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:999px;
  background:rgba(5,24,17,.18);
  font-size:.68rem;
  font-weight:850;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.hero-tag i{width:7px;height:7px;border-radius:50%;background:var(--red)}

.section{padding:92px 0}
.section-white{background:var(--white)}
.section-dark{position:relative;overflow:hidden;background:var(--green);color:#fff}
.section-red{background:var(--red-dark);color:#fff}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:30px;
  margin-bottom:34px;
}
.section-head h2{margin-bottom:0}
.section-head p{max-width:390px;margin-bottom:4px;color:var(--muted)}

.food-grid{
  display:grid;
  grid-template-columns:1.08fr .92fr .92fr;
  gap:18px;
}
.food-card{
  position:relative;
  min-height:500px;
  overflow:hidden;
  border-radius:4px;
  text-decoration:none;
  color:white;
  background:#111;
}
.food-card:first-child{min-height:540px}
.food-card img{
  width:100%;height:100%;
  object-fit:cover;
  position:absolute;inset:0;
  transition:transform .45s ease;
}
.food-card:nth-child(1) img{object-position:67% 50%}
.food-card:nth-child(2) img{object-position:52% 54%}
.food-card:nth-child(3) img{object-position:58% 50%}
.food-card:hover img{transform:scale(1.035)}
.food-card::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(0deg,rgba(1,9,6,.78),rgba(1,9,6,.03) 63%);
}
.food-card-copy{
  position:absolute;
  left:26px;right:26px;bottom:25px;
  z-index:2;
}
.food-card h3{
  margin:0 0 6px;
  font-size:2.55rem;
  font-weight:900;
}
.food-card p{
  margin:0;
  color:rgba(255,255,255,.78);
  font-size:.83rem;
  font-weight:650;
  letter-spacing:.02em;
}

.split{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:78px;
  align-items:start;
}
.hours{border-top:1px solid var(--dark-line)}
.hours-row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:22px;
  padding:16px 0;
  border-bottom:1px solid var(--dark-line);
}
.hours-row span{color:#bdc8c1}
.hours-row strong{font-weight:800}

.doodles{position:absolute;inset:0;pointer-events:none;opacity:.075}
.doodle{position:absolute;color:#fff;border:2px solid currentColor}
.doodle-pizza{
  width:150px;height:150px;border-radius:50%;
  right:4%;top:13%;transform:rotate(14deg)
}
.doodle-pizza::before{
  content:"";
  position:absolute;
  width:13px;height:13px;border-radius:50%;
  left:30px;top:36px;background:currentColor;
  box-shadow:54px 10px currentColor,30px 58px currentColor;
}
.doodle-bowl{
  width:155px;height:72px;border-radius:0 0 84px 84px;
  left:3%;bottom:12%;transform:rotate(-8deg)
}
.doodle-bowl::after{
  content:"~~~";
  position:absolute;
  left:20px;top:-49px;
  font-size:43px;
  letter-spacing:-12px;
}

.reserve-strip .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}
.reserve-strip h2{
  margin-bottom:0;
  font-size:clamp(2.5rem,5vw,4.7rem);
  font-weight:900;
}
.reserve-strip .btn{background:#fff;color:var(--red-dark)}

/* Unterseiten */
.page-hero{
  min-height:430px;
  display:flex;
  align-items:flex-end;
  position:relative;
  isolation:isolate;
  color:#fff;
  overflow:hidden;
  background:#061b14;
}
.page-hero::before{
  content:"";
  position:absolute;
  z-index:-2;
  inset:0;
  background:url("assets/pizza.jpg") 67% 50%/cover no-repeat;
}
.page-hero::after{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  background:linear-gradient(90deg,rgba(4,22,16,.88),rgba(4,22,16,.36));
}
.page-hero .container{
  position:relative;
  z-index:2;
  padding:145px 0 59px;
}
.page-hero h1{
  margin-bottom:10px;
  font-size:clamp(3.8rem,7vw,6.6rem);
  font-weight:950;
  text-transform:uppercase;
}
.page-hero p{max-width:480px;color:#dfe5e1;margin-bottom:0}

.menu-section{padding:82px 0 96px}
.category-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-bottom:74px;
}
.category-visual{
  position:relative;
  min-height:330px;
  overflow:hidden;
  border-radius:3px;
}
.category-visual img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  transition:transform .4s ease;
}
.category-visual:nth-child(1) img{object-position:67% 50%}
.category-visual:nth-child(3) img{object-position:50% 44%}
.category-visual:hover img{transform:scale(1.025)}
.category-visual::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(0deg,rgba(0,0,0,.68),transparent 62%);
}
.category-visual span{
  position:absolute;
  z-index:2;
  left:22px;bottom:18px;
  color:#fff;
  font-size:1.8rem;
  font-weight:900;
  letter-spacing:-.035em;
}

.menu-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:36px;
  counter-reset:menu-category;
}
.menu-card{
  counter-increment:menu-category;
  background:transparent;
  border:0;
  border-top:3px solid var(--green);
  border-radius:0;
  padding:20px 0 0;
}
.menu-card h3{
  display:flex;
  align-items:baseline;
  gap:13px;
  margin:0 0 24px;
  color:var(--green);
  font-size:2rem;
  font-weight:900;
}
.menu-card h3::before{
  content:"0" counter(menu-category);
  color:var(--red);
  font-size:.67rem;
  font-weight:900;
  letter-spacing:.13em;
}
.menu-item{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  padding:15px 0 16px;
  border-top:1px solid var(--line);
}
.menu-item:first-of-type{border-top:0}
.menu-item strong{
  display:block;
  font-size:.98rem;
  line-height:1.25;
  font-weight:850;
  letter-spacing:-.015em;
}
.menu-item small{
  display:block;
  margin-top:5px;
  color:var(--muted);
  font-size:.77rem;
  line-height:1.4;
}
.menu-item b{
  align-self:start;
  color:var(--red-dark);
  white-space:nowrap;
  font-size:.92rem;
  font-weight:900;
}
.notice{
  margin-top:42px;
  padding-top:15px;
  border-top:1px solid var(--line);
  color:#70736f;
  font-size:.78rem;
}

/* Galerie */
.gallery-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  grid-auto-rows:260px;
  gap:12px;
}
.gallery-item{position:relative;overflow:hidden;border-radius:3px}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.gallery-item:hover img{transform:scale(1.025)}
.gallery-item:first-child{grid-row:span 2}
.gallery-item:nth-child(4){grid-column:span 2}
.gallery-item::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(0deg,rgba(0,0,0,.47),transparent 55%)
}

/* Kontakt */
.contact-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:65px
}
.contact-card{
  background:transparent;
  border:0;
  border-top:3px solid var(--green);
  border-radius:0;
  padding:22px 0 0;
}
.contact-card h3{margin-bottom:20px}
.contact-card a{text-decoration:none;font-weight:850;color:var(--green)}

/* Footer */
.footer{
  background:#03100b;
  color:#c6cfca;
  padding:29px 0;
  border-top:1px solid var(--dark-line);
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  font-size:.76rem;
}
.footer a{text-decoration:none;color:inherit}

@media(max-width:980px){
  .food-grid{grid-template-columns:1fr 1fr}
  .food-card:first-child{grid-column:span 2}
  .menu-grid{grid-template-columns:1fr 1fr}
  .menu-card:last-child{grid-column:span 2}
}

@media(max-width:780px){
  .split,.contact-grid{grid-template-columns:1fr}
  .category-grid{grid-template-columns:1fr}
  .category-visual{min-height:360px}
  .gallery-grid{grid-template-columns:1fr 1fr}
  .gallery-item:first-child{grid-row:auto}
  .gallery-item:nth-child(4){grid-column:auto}
}

@media(max-width:680px){
  .container{width:min(100% - 28px,1180px)}
  .site-header.solid{position:static}
  .nav-wrap{display:block;padding:17px 0}
  .brand{min-width:0}
  .nav{margin-top:17px;gap:7px 17px}
  .nav a{font-size:.66rem}
  .nav .contact-link{padding:0;background:transparent;border-radius:0}
  .nav .contact-link::after{display:block}
  .hero{
    min-height:700px;
    place-items:end center;
  }
  .hero::before{
    inset:0;
    background-position:63% 50%;
    background-size:auto 100%;
  }
  .hero-inner{padding:145px 0 82px}
  .hero h1{font-size:clamp(3.7rem,18vw,5.5rem)}
  .hero h1 em{
    display:block;
    margin-top:.22em;
    font-size:.58em;
    line-height:1.08;
    letter-spacing:.045em;
    white-space:nowrap;
    -webkit-text-stroke:.8px rgba(255,255,255,.92);
    text-stroke:.8px rgba(255,255,255,.92);
  }
  .section{padding:68px 0}
  .section-head{display:block}
  .section-head p{margin-top:13px}
  .food-grid{grid-template-columns:1fr}
  .food-card,.food-card:first-child{grid-column:auto;min-height:390px}
  .reserve-strip .container{display:block}
  .reserve-strip .btn{margin-top:22px}
  .menu-section{padding:64px 0 76px}
  .category-grid{margin-bottom:54px}
  .menu-grid{grid-template-columns:1fr;gap:46px}
  .menu-card:last-child{grid-column:auto}
  .gallery-grid{grid-template-columns:1fr;grid-auto-rows:290px}
}

/* Mobile hero refinement */
@media(max-width:680px){
  .nav-wrap{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
    padding:18px 0 13px;
  }
  .brand strong{
    font-size:1rem;
    letter-spacing:.1em;
  }
  .brand small{
    margin-top:5px;
    font-size:.55rem;
    letter-spacing:.14em;
  }
  .brand-rule{
    width:62px;
    height:2px;
    margin-top:8px;
  }
  .nav{
    width:100%;
    display:grid;
    grid-template-columns:repeat(5,auto);
    justify-content:space-between;
    gap:0;
    margin-top:0;
  }
  .nav a,
  .nav .contact-link{
    padding:7px 0;
    background:transparent;
    border-radius:0;
    font-size:.59rem;
    letter-spacing:.07em;
  }
  .nav .contact-link::after{display:block}

  .hero{
    min-height:680px;
    place-items:center;
  }
  .hero::before{
    inset:0;
    background-position:66% 50%;
    background-size:cover;
  }
  .hero::after{
    background:
      linear-gradient(180deg,rgba(3,17,12,.50) 0%,rgba(3,17,12,.36) 30%,rgba(3,17,12,.62) 100%),
      radial-gradient(circle at 64% 50%,rgba(0,0,0,.02),rgba(3,19,13,.24) 45%,rgba(3,19,13,.50) 100%);
  }
  .hero-inner{
    width:100%;
    padding:174px 0 58px;
  }
  .hero-tag{
    margin-bottom:18px;
    padding:6px 10px;
    font-size:.57rem;
    letter-spacing:.1em;
  }
  .hero h1{
    font-size:1rem;
    line-height:1;
  }
  .hero h1 span{
    display:block;
    font-size:clamp(3rem,15.5vw,3.85rem);
    line-height:.94;
    white-space:nowrap;
  }
  .hero h1 em{
    display:block;
    width:auto;
    margin-top:.52rem;
    color:rgba(255,255,255,.96);
    font-family:var(--sans);
    font-size:clamp(1.75rem,9.3vw,2.35rem);
    font-weight:500;
    line-height:1;
    letter-spacing:.13em;
    white-space:nowrap;
    -webkit-text-stroke:0;
    text-stroke:0;
  }
  .hero .lead{
    max-width:310px;
    margin-top:22px;
    font-size:.94rem;
    line-height:1.55;
  }
  .hero .btn-row{
    gap:9px;
    margin-top:24px;
  }
  .hero .btn{
    min-height:43px;
    padding:0 15px;
    font-size:.65rem;
    letter-spacing:.055em;
  }
}

/* narrow-phone safeguard */


@media(max-width:390px){
  .container{width:calc(100% - 24px)}
  .nav a,
  .nav .contact-link{
    font-size:.56rem;
    letter-spacing:.045em;
  }
  .hero-inner{padding-top:168px}
  .hero h1 span{
    font-size:clamp(2.8rem,15vw,3.55rem);
  }
  .hero h1 em{
    font-size:clamp(1.65rem,8.8vw,2.05rem);
    letter-spacing:.11em;
  }
  .hero .lead{
    max-width:292px;
    font-size:.9rem;
  }
  .hero .btn{
    padding:0 13px;
    font-size:.62rem;
  }
}


/* Sanfte Seitenwechsel v1 */

/* =========================================================
   Sanfte Seitenwechsel
   Cross-document View Transitions für interne Navigation
   ========================================================= */

html{
  background:var(--green);
}

body{
  min-height:100vh;
}

@view-transition{
  navigation:auto;
}

::view-transition-group(root){
  animation-duration:360ms;
  animation-timing-function:cubic-bezier(.22,.8,.25,1);
}

::view-transition-old(root){
  animation:page-leave 180ms ease-in both;
}

::view-transition-new(root){
  animation:page-enter 360ms cubic-bezier(.22,.8,.25,1) both;
}

@keyframes page-leave{
  from{
    opacity:1;
    transform:scale(1);
  }
  to{
    opacity:0;
    transform:scale(.992);
  }
}

@keyframes page-enter{
  from{
    opacity:0;
    transform:translateY(10px) scale(1.004);
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

/* Inhalt erscheint nach einem Seitenwechsel dezent, ohne Show-Effekt */
.page-hero .container,
.hero-inner{
  animation:content-arrive 520ms cubic-bezier(.22,.8,.25,1) 40ms both;
}

@keyframes content-arrive{
  from{
    opacity:.78;
    transform:translateY(8px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@media(prefers-reduced-motion:reduce){
  ::view-transition-group(root),
  ::view-transition-old(root),
  ::view-transition-new(root){
    animation-duration:1ms !important;
  }

  .page-hero .container,
  .hero-inner{
    animation:none !important;
  }
}



/* Restaurantgeschichte auf der Startseite */
.history-intro{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:72px;
  align-items:end;
  margin-bottom:42px;
  padding-bottom:34px;
  border-bottom:1px solid var(--line);
}

.history-intro h2{
  margin-bottom:0;
}

.history-copy{
  max-width:590px;
  justify-self:end;
}

.history-copy p{
  margin:0;
  color:var(--muted);
  font-size:1.02rem;
  line-height:1.7;
}

.history-copy p + p{
  margin-top:11px;
}

@media(max-width:780px){
  .history-intro{
    grid-template-columns:1fr;
    gap:18px;
    align-items:start;
    margin-bottom:32px;
    padding-bottom:28px;
  }

  .history-copy{
    max-width:620px;
    justify-self:start;
  }
}

@media(max-width:680px){
  .history-copy p{
    font-size:.94rem;
    line-height:1.65;
  }
}

/* V11 – neue Kartenkategorien, bestehendes Design unverändert */
.menu-grid-categories{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:52px 46px;
}

.menu-grid-categories .menu-card{
  grid-column:auto !important;
  width:auto !important;
  justify-self:stretch !important;
}

.menu-grid-categories .menu-card h3{
  font-size:1.72rem;
}

/* Galerie weiterhin ohne Bildbeschriftungen */
.gallery-item::after{
  display:none !important;
}

@media(max-width:780px){
  .menu-grid-categories{
    grid-template-columns:1fr;
    gap:44px;
  }
}
