/* pipapo — portada: hero con logo real por trazos, pizza real en 3D y chispas del horno de leña */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.home, .home * { min-width: 0; }

/* intro */
.intro { position: fixed; inset: 0; z-index: 3000; background: var(--teal); display: grid; place-items: center; transition: opacity .6s, visibility .6s; }
.intro-logo { width: min(520px, 76vw); }
.intro-logo svg { width: 100%; height: auto; fill: #fff; }
.intro.fuera { opacity: 0; visibility: hidden; }

/* logo en nav */
.nav-logo--svg { width: 128px; display: block; }
.nav-logo--svg svg { width: 100%; height: auto; fill: #fff; transition: fill .4s; }
nav.scrolled .nav-logo--svg svg { fill: var(--primary-dark); }

/* hero */
.h-hero { position: relative; min-height: 100vh; min-height: 100svh; background: radial-gradient(120% 90% at 70% 40%, #9fd0ca 0%, var(--teal) 45%, #5f9f98 100%); color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 120px 0 0; }
.h-funken { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.h-hero-in { position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: center; }
.h-eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--primary-dark); }
.h-logo { margin: 1.4rem 0 1rem; width: min(100%, 560px); }
.h-logo svg { width: 100%; height: auto; display: block; fill: #fff; filter: drop-shadow(0 6px 18px rgba(20, 60, 56, .25)); }
.h-bio { font-size: 1.05rem; letter-spacing: .04em; color: var(--primary-dark); }
.h-bio em { font-style: normal; font-weight: 700; }
.h-wort { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin: 1.2rem 0 2.2rem; line-height: 1.2; }
.h-cine { display: inline-block; color: var(--primary-dark); }
.h-cine.wechsel { animation: hcine .55s cubic-bezier(.2, .8, .2, 1); }
@keyframes hcine { from { opacity: 0; transform: translateY(55%) rotate(3deg); } to { opacity: 1; transform: none; } }
.h-btns { display: flex; flex-wrap: wrap; gap: 1rem; }
.h-hero .btn-outline { border-color: rgba(255, 255, 255, .85); }
.btn-blue:hover { background: var(--primary); transform: translateY(-2px); }
.btn-outline:hover { background: rgba(255, 255, 255, .14); }

.h-pizza { position: relative; aspect-ratio: 1; width: min(100%, 520px); justify-self: center; perspective: 1100px; }
.h-teller { position: absolute; inset: 6%; border-radius: 50%; overflow: hidden; transform-style: preserve-3d; transform: rotateX(48deg) rotateZ(0deg); box-shadow: 0 0 0 14px #fff, 0 0 0 16px rgba(0, 0, 0, .06), 0 40px 60px rgba(20, 60, 56, .35); will-change: transform; }
.h-teller img { width: 100%; height: 100%; object-fit: cover; }
.h-schatten { position: absolute; left: 14%; right: 14%; bottom: 8%; height: 14%; border-radius: 50%; background: radial-gradient(rgba(20, 60, 56, .35), transparent 70%); filter: blur(8px); z-index: -1; }
.h-badge { position: absolute; top: 4%; right: 2%; width: 108px; height: 108px; border-radius: 50%; background: var(--lavendel); color: var(--primary-dark); display: grid; place-content: center; text-align: center; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; line-height: 1.5; transform: rotate(-12deg); box-shadow: 0 10px 24px rgba(20, 60, 56, .25); animation: hwipp 6s ease-in-out infinite; }
.h-badge b { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.05rem; letter-spacing: 0; text-transform: none; }
@keyframes hwipp { 50% { transform: rotate(-4deg) translateY(-6px); } }

.h-strip { position: relative; z-index: 2; margin-top: 3rem; background: rgba(255, 255, 255, .96); color: var(--primary-dark); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.h-strip span { padding: 1.4rem 1.2rem; text-align: center; border-right: 1px solid var(--border); font-size: .9rem; }
.h-strip span:last-child { border-right: 0; }
.h-strip small { display: block; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; opacity: .7; margin-bottom: .2rem; }
.h-strip b { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 900; font-style: italic; }

/* konzept */
.k-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.2rem; }
.k-item { padding: 2rem 1.4rem; border-radius: 22px; background: var(--primary-light); transition: transform .35s, box-shadow .35s, background .35s; }
.k-item:hover { transform: translateY(-6px); background: #fff; box-shadow: 0 20px 40px rgba(20, 60, 56, .12); }
.k-n { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 900; font-size: 2rem; color: var(--lavendel-dunkel); }
.k-item h3 { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--primary-dark); margin: .6rem 0 .5rem; line-height: 1.25; }
.k-item p { font-size: .9rem; color: var(--text-mid); line-height: 1.6; }

/* haus */
.haus { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.haus h2 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); color: var(--primary-dark); line-height: 1.15; margin: .8rem 0 1.4rem; }
.haus p { color: var(--text-mid); }
.haus a { color: var(--primary); font-weight: 700; border-bottom: 1px solid currentColor; }
.haus-fakten { list-style: none; margin-top: 1.6rem; display: grid; gap: .7rem; }
.haus-fakten li { padding-left: 1.8rem; position: relative; font-weight: 600; color: var(--primary-dark); }
.haus-fakten li::before { content: ''; position: absolute; left: 0; top: .45em; width: .8rem; height: .8rem; border-radius: 50%; background: var(--lavendel); box-shadow: 0 0 0 3px #fff; }
.haus-foto { margin: 0; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px rgba(20, 60, 56, .18); transform: rotate(1.5deg); background: #fff; }
.haus-foto figcaption { padding: .9rem 1.2rem; font-size: .85rem; color: var(--text-mid); }

/* zitate */
.zitate { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.zitat { margin: 0; padding: 2.2rem; border-radius: 22px; background: var(--paper); border: 1px solid var(--paper-dark); position: relative; }
.zitat::before { content: '\201E'; position: absolute; top: -.2rem; left: 1.2rem; font-family: 'Playfair Display', serif; font-size: 4.5rem; color: var(--lavendel); line-height: 1; }
.zitat p { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.08rem; color: var(--primary-dark); line-height: 1.6; padding-top: 1.2rem; }
.quelle { text-align: center; margin-top: 2rem; font-size: .85rem; color: var(--text-light); }
.quelle a { color: var(--primary); font-weight: 600; }

/* instagram */
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin-bottom: 3rem; }
.ig-post { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--teal); box-shadow: var(--shadow-lg); }
.ig-post img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.ig-post:hover img { transform: scale(1.06); }
.ig-post span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.2rem 1rem; color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; background: linear-gradient(transparent, rgba(10, 30, 28, .75)); }
.center { text-align: center; }

/* reservierung */
.btn-full { width: 100%; justify-content: center; }
.res-hinweis { display: block; min-height: 1.2em; margin-top: .5rem; font-size: .8rem; color: #b3261e; font-weight: 600; }
.res-tel { margin-top: 1.2rem; text-align: center; font-size: .9rem; color: var(--text-mid); }
.res-tel a { color: var(--primary); font-weight: 700; }
.opening-hours li.heute { opacity: 1; font-weight: 700; color: #fff; }
.opening-hours li.heute span:first-child::after { content: ' · heute'; color: var(--lavendel); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.kueche { list-style: none; margin-top: 1.4rem; font-size: .9rem; opacity: .85; }
.kueche li { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; }
.jetzt { margin-top: 1.4rem; display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; }
.jetzt::before { content: ''; width: .7rem; height: .7rem; border-radius: 50%; background: var(--dot, #9e9e9e); box-shadow: 0 0 0 4px rgba(255, 255, 255, .15); }
.jetzt.offen { --dot: #7ee2a8; }
.res-klein { margin-top: 1rem; font-size: .8rem; opacity: .65; }

/* anfahrt */
.anfahrt { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: center; }
.anfahrt-h { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--primary-dark); margin: .6rem 0 1rem; }
.adresse { font-size: 1.25rem; font-weight: 700; color: var(--primary-dark); margin-bottom: .8rem; }
.anfahrt-btns { margin: 1.8rem 0; }
.zweites { margin-top: 1rem; padding: 1.4rem; border-radius: 18px; background: #fff; border-left: 5px solid #1f4d36; }
.zweites a { display: block; margin-top: .4rem; color: #1f4d36; }
.karte { border-radius: 24px; overflow: hidden; height: 420px; box-shadow: var(--shadow-lg); }
.karte iframe { width: 100%; height: 100%; border: 0; }

/* pie */
.pie { padding: 5rem 0 2.4rem; background: var(--primary-dark); color: #fff; }
.pie-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.4rem; }
.pie-logo { width: 190px; display: block; margin-bottom: 1rem; }
.pie-logo svg { width: 100%; height: auto; fill: #fff; }
.pie h4 { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--lavendel); margin-bottom: 1rem; }
.pie p, .pie li { font-size: .92rem; opacity: .88; line-height: 1.8; }
.pie ul { list-style: none; }
.pie a:hover { color: var(--lavendel); }
.pie-unten { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .8rem; opacity: .7; }
.pie-unten a { text-decoration: underline; }

@media (max-width: 1100px) {
  .k-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .h-hero-in { grid-template-columns: 1fr; text-align: center; }
  .h-logo { margin-inline: auto; }
  .h-btns { justify-content: center; }
  .h-pizza { width: min(78vw, 400px); order: -1; margin-top: -1rem; }
  .haus, .anfahrt { grid-template-columns: 1fr; gap: 2.4rem; }
  .zitate, .ig-grid { grid-template-columns: 1fr; }
  .ig-grid { max-width: 440px; margin-inline: auto; }
  .pie-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .h-hero { padding-top: 96px; }
  .h-strip { grid-template-columns: 1fr 1fr; }
  .h-strip span:nth-child(2) { border-right: 0; }
  .h-strip span:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .k-grid { grid-template-columns: 1fr; }
  .h-badge { width: 84px; height: 84px; font-size: .55rem; }
  .karte { height: 320px; }
  .nav-logo--svg { width: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  .h-badge, .h-cine.wechsel { animation: none; }
}

/* secciones (antes inline en index.html) */
.home section:not(.h-hero) { padding: 8rem 0; overflow: hidden; }
.bg-white { background: var(--white); }
.bg-blue { background: var(--primary-light); }
.section-header { text-align: center; margin-bottom: 4.5rem; padding: 0 1rem; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: clamp(2.3rem, 5.4vw, 3.8rem); color: var(--primary-dark); font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; margin-top: .8rem; }
@media (max-width: 640px) { .home section:not(.h-hero) { padding: 5rem 0; } }

/* contraste: el turquesa de marca es claro; texto oscuro sobre él, blanco solo en el logo */
.h-wort { color: var(--primary-dark); }
.h-cine { color: #4b4ca3; }
.h-hero .btn-outline { color: var(--primary-dark); border-color: var(--primary-dark); }
.h-hero .btn-outline:hover { background: rgba(29, 79, 74, .08); }
.zitat p { padding-top: 1.8rem; }
.h-strip b { white-space: nowrap; }
@media (max-width: 640px) { .h-strip b { font-size: 1.5rem; } }
.home nav:not(.scrolled) .nav-links a:not(.nav-cta) { color: var(--primary-dark); }
.home nav:not(.scrolled) .hamburger span { background-color: var(--primary-dark); }
