/* ==========================================================================
   Steam Inn – statischer Nachbau (ehem. WordPress/The7/Elementor)
   ========================================================================== */

/* ---------- Fonts (lokal gehostet, DSGVO-konform) ---------- */
@font-face{font-family:"Stardos Stencil";src:url("../fonts/stardos-stencil-latin-700-normal.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Stardos Stencil";src:url("../fonts/stardos-stencil-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Fira Sans";src:url("../fonts/fira-sans-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Fira Sans";src:url("../fonts/fira-sans-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Fira Sans";src:url("../fonts/fira-sans-latin-600-normal.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Fira Sans";src:url("../fonts/fira-sans-latin-700-normal.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}

/* ---------- Tokens ---------- */
:root{
  --brown:#503735;
  --brown-dark:#2e2120;
  --accent:#9d6049;
  --accent-light:#c58a72;
  --soft:#fbf9f9;
  --white:#fff;
  --f-head:"Stardos Stencil",Georgia,"Times New Roman",serif;
  --f-body:"Fira Sans",Helvetica,Arial,sans-serif;
  --pad-x:4%;
  --header-h:124px;
  --header-h-small:72px;
}

/* ---------- Reset / Basis ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--f-body);font-size:1rem;line-height:1.6;color:var(--brown);background:var(--soft);overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
.slide picture,.tile picture{display:contents}
a{color:var(--accent);text-decoration:none;transition:color .2s}
a:hover{color:var(--brown)}
h1,h2,h3,h4{font-family:var(--f-head);font-weight:700;text-transform:uppercase;line-height:1.1;margin:0;overflow-wrap:break-word;hyphens:manual}
p{margin:0 0 1em}
ul{margin:0 0 1em;padding-left:1.25em}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.skip-link{position:absolute;left:-9999px;top:0;z-index:1000;background:var(--brown);color:#fff;padding:.75em 1.25em}
.skip-link:focus{left:1rem;top:1rem;color:#fff}
.nowrap{white-space:nowrap}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
section[id]{scroll-margin-top:var(--header-h)}
.icon{width:1em;height:1em;display:inline-block;vertical-align:-.125em;flex-shrink:0}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:100;background:#fff;box-shadow:0 0 0 rgba(0,0,0,0);transition:box-shadow .3s}
.site-header.is-scrolled{box-shadow:0 1px 0 rgba(80,55,53,.12)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:0 var(--pad-x) 0 1.25%;min-height:var(--header-h);transition:min-height .3s}
.brand{padding:.5rem 0}
.brand{display:block;flex-shrink:0}
.brand img{width:108px;height:108px;transition:width .3s,height .3s}
.header-main{position:relative;flex:1;align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:.5rem;padding:10px 0 5px}
.header-center{display:flex;flex-direction:column;align-items:center;gap:6px}
.wordmark{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);line-height:0;pointer-events:none;transition:opacity .25s}
.wordmark img{width:200px;height:auto}

.topbar{align-self:flex-end;display:flex;gap:2rem;font-size:.8125rem;font-weight:500;text-transform:uppercase;color:var(--brown);transition:opacity .25s,margin .3s,max-height .3s;max-height:40px;overflow:hidden}
.topbar a{color:var(--brown)}
.topbar a:hover{color:var(--accent)}
.topbar span,.topbar a{display:inline-flex;align-items:center;gap:.5em}
.topbar .icon{font-size:1.15em}

.main-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:1.6rem}
.main-nav a{font-weight:600;font-size:.875rem;text-transform:uppercase;color:var(--accent);padding:.35em 0;position:relative}
.main-nav a:hover,.main-nav a[aria-current="true"]{color:var(--brown)}
.main-nav a[aria-current="true"]{color:var(--brown)}
.header-spacer{width:108px;flex-shrink:0}
.nav-toggle{display:none;background:none;border:0;padding:.5rem;margin-right:-.5rem;color:var(--accent);cursor:pointer}
.nav-toggle svg{width:28px;height:28px}
.nav-toggle .i-close{display:none}
.nav-toggle[aria-expanded="true"] .i-open{display:none}
.nav-toggle[aria-expanded="true"] .i-close{display:block}
.mobile-meta{display:none}

/* ---------- Hero Slider ---------- */
.hero{position:relative;height:68vh;min-height:420px;overflow:hidden;background:var(--brown-dark);color:#fff}
.slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .5s ease,visibility 0s linear .5s}
.slide.is-active{opacity:1;visibility:visible;transition:opacity .5s ease,visibility 0s}
.slide-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;transform:scale(1);transition:transform 7.2s linear;color:transparent}
.hero.is-ready .slide.is-active .slide-bg.kenburns{transform:scale(1.18)}
.slide::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.32)}
.slide-inner{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 8% 2%}
.slide-title{font-size:clamp(2.25rem,1rem + 4vw,5rem);line-height:1.1;margin-bottom:.3em;text-shadow:0 2px 18px rgba(0,0,0,.25)}
.slide-text{font-size:clamp(1.05rem,.55rem + 1.55vw,2.1rem);line-height:1.3;text-transform:uppercase;max-width:62ch;margin:0;text-shadow:0 1px 10px rgba(0,0,0,.3)}
.slide-text.is-sentence{text-transform:none}
.hero-arrow{position:absolute;top:50%;z-index:5;transform:translateY(-50%);width:48px;height:48px;display:grid;place-items:center;background:transparent;border:0;color:#fff;cursor:pointer;opacity:.75;transition:opacity .2s}
.hero-arrow:hover{opacity:1}
.hero-arrow svg{width:30px;height:30px}
.hero-arrow.prev{left:1.2%}
.hero-arrow.next{right:1.2%}
.hero-dots{position:absolute;left:0;right:0;bottom:22px;z-index:5;display:flex;justify-content:center;gap:12px}
.hero-dots button{width:12px;height:12px;padding:0;border-radius:50%;border:1.5px solid #fff;background:rgba(255,255,255,.3);cursor:pointer;transition:background .25s,transform .25s}
.hero-dots button[aria-current="true"]{background:#fff;transform:scale(1.1)}
.hero-dots button:hover{background:rgba(255,255,255,.7)}

/* ---------- Angebots-Kacheln ---------- */
.tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:2px;margin-top:2px;background:var(--soft)}
.tile{position:relative;overflow:hidden;min-height:max(30vh,280px);display:flex;align-items:center;background:var(--brown);color:#fff;isolation:isolate}
.tile-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transform:scale(1);transition:transform .7s ease;color:transparent}
.tile::before{content:"";position:absolute;inset:0;z-index:-1;background:rgba(80,55,53,.5);transition:background-color .7s}
.tile.overlay-multiply::before{mix-blend-mode:multiply;background:rgba(80,55,53,.47)}
.tile:hover .tile-bg,.tile:focus-within .tile-bg{transform:scale(1.25)}
.tile:hover::before{background:rgba(80,55,53,.35)}
.tile-content{padding:2% 8%;max-width:900px}
.tile h3{font-size:clamp(1.55rem,1.05rem + 1.5vw,2.5rem);line-height:1.15;margin-bottom:.45em}
.tile p{font-size:clamp(1rem,.9rem + .3vw,1.125rem);line-height:1.5;margin:0}

/* ---------- Markenleiste ---------- */
.brands{margin-top:2px;padding:40px;display:flex;justify-content:center;align-items:center;background-color:#2b2020;background-image:url("../img/steam-inn-footer-bg.jpg");background-image:image-set(url("../img/steam-inn-footer-bg.webp") type("image/webp"),url("../img/steam-inn-footer-bg.jpg") type("image/jpeg"));background-position:center;background-size:cover;background-repeat:no-repeat}
.brands img{width:100%;max-width:2050px;height:auto}

/* ---------- Punktesystem ---------- */
.points{display:grid;grid-template-columns:62fr 38fr;gap:2rem 4%;align-items:center;padding:clamp(3rem,5vw,5rem) var(--pad-x) clamp(2.5rem,4vw,4rem)}
.section-title{font-size:clamp(2rem,1.1rem + 3vw,4.25rem);color:var(--accent);line-height:1.05;text-align:center}
.points .section-title{margin-bottom:.35em;text-align:left}
.points-text{font-size:1.0625rem;line-height:1.6;max-width:72ch}
.points-text strong{font-weight:600}
.points-text ul{padding-left:1.3em;margin-bottom:1.2em}
.points-text li{margin:.15em 0}
.store-badges{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:14px;margin-top:1.4rem}
.store-badges a{display:block;border-radius:10px;transition:transform .2s,opacity .2s}
.store-badges a:hover{transform:translateY(-2px);opacity:.9}
.store-badges img{height:52px;width:auto}
.points-media img{width:100%;max-width:560px;margin:0 auto}

/* ---------- Beratung & Kontakt ---------- */
.contact{position:relative;overflow:hidden;color:#fff;background:#4a3634;padding:70px var(--pad-x);margin:1px 0 40px;isolation:isolate}
.contact-bg{position:absolute;inset:0;z-index:-2;background-color:#4a3634;background-image:url("../img/steam-inn-beratung-bg.jpg");background-image:image-set(url("../img/steam-inn-beratung-bg.webp") type("image/webp"),url("../img/steam-inn-beratung-bg.jpg") type("image/jpeg"));background-position:center;background-size:cover;background-repeat:no-repeat;animation:kenburns 12s ease-out infinite alternate}
.contact::before{content:"";position:absolute;inset:0;z-index:-1;background:rgba(80,55,53,.52)}
@keyframes kenburns{from{transform:scale(1)}to{transform:scale(1.15)}}
.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2.5rem 3%;align-items:center}
.contact-item{text-align:center;display:flex;flex-direction:column;align-items:center}
.contact-item .icon{font-size:50px;width:50px;height:50px;margin-bottom:15px;color:#fffbfb}
.contact-item h3{font-family:var(--f-head);font-weight:400;font-size:1.125rem;line-height:1.3;margin-bottom:6px}
.contact-item p{margin:0;font-size:.9375rem}
.contact-big{display:inline-block;margin-top:1rem;font-family:var(--f-head);font-weight:400;text-transform:uppercase;font-size:clamp(1.4rem,1rem + 1.1vw,2.1rem);line-height:1.2;color:var(--accent-light);overflow-wrap:anywhere}
.contact-big:hover{color:#fff}
.contact-item .hours{font-size:1.0625rem;line-height:1.6}

/* ---------- Anfahrt ---------- */
.directions{text-align:center;padding:0 0 0}
.directions .section-title{padding:0 var(--pad-x);margin-bottom:.5em}
.directions-lead{font-size:clamp(1.15rem,1rem + .5vw,1.5625rem);line-height:1.6;margin:0 0 .45em;padding:0 var(--pad-x)}
.directions address{font-style:normal}
.map-link{display:block;position:relative;margin-top:1.75rem;background:#e8e6e6;overflow:hidden}
.map-link img{width:100%;height:auto;min-height:220px;object-fit:cover;object-position:37% 50%;filter:grayscale(.15);transition:filter .3s}
.map-link:hover img{filter:none}
.map-hint{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);background:rgba(80,55,53,.92);color:#fff;font-size:.875rem;font-weight:500;padding:.55em 1.1em;border-radius:40px;white-space:nowrap;display:inline-flex;align-items:center;gap:.5em;pointer-events:none}

/* ---------- Footer ---------- */
.site-footer{position:relative;color:#fff;background-color:#2b2020;background-image:url("../img/steam-inn-footer-bg.jpg");background-image:image-set(url("../img/steam-inn-footer-bg.webp") type("image/webp"),url("../img/steam-inn-footer-bg.jpg") type("image/jpeg"));background-position:center top;background-size:cover;background-repeat:no-repeat;isolation:isolate}
.site-footer::before{content:"";position:absolute;inset:0;z-index:-1;background:rgba(43,32,32,.55)}
.footer-grid{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:2rem;padding:50px 7% 30px}
.footer-logo{justify-self:start;display:block;transition:opacity .2s}
.footer-logo:hover{opacity:.85}
.footer-logo img{width:clamp(110px,9vw,160px);height:auto}
.footer-col{text-align:center}
.footer-col h2{font-weight:400;font-size:1.25rem;margin-bottom:.9em}
.footer-phone{display:inline-block;font-family:var(--f-body);font-weight:600;font-size:clamp(1.6rem,1.3rem + 1vw,2.1rem);color:#fff;margin-bottom:.55em;letter-spacing:-.01em}
.footer-phone:hover,.footer-col a:hover{color:var(--accent-light)}
.footer-col p{margin:0;font-size:1.0625rem;line-height:1.5}
.footer-col a{color:#fff}
.footer-social{justify-self:end;text-align:center}
.footer-social p{margin-bottom:.6em}
.social-links{display:flex;gap:1.6rem;justify-content:center;list-style:none;margin:0;padding:0}
.social-links a{display:block;color:#fff}
.social-links .icon{width:26px;height:26px}
.footer-bottom{text-align:center;font-size:.875rem;padding:2.5rem var(--pad-x) 1.4rem;line-height:1.6}
.footer-bottom a{color:#fff}
.footer-bottom a:hover{color:var(--accent-light)}
.footer-bottom .sep{opacity:.7;margin:0 .35em}

/* ---------- Rechtstexte (Impressum/Datenschutz) ---------- */
.legal{background:#fff;padding:clamp(2.5rem,5vw,4.5rem) var(--pad-x) clamp(3rem,6vw,5rem)}
.legal-inner{max-width:900px;margin:0 auto}
.legal h1{font-size:clamp(2rem,1.2rem + 2.6vw,3.25rem);color:var(--accent);margin-bottom:.8em}
.legal h2{font-size:clamp(1.15rem,1rem + .5vw,1.4rem);line-height:1.3;margin:2em 0 .6em;color:var(--brown)}
.legal h3{font-family:var(--f-body);font-weight:600;text-transform:none;font-size:1.05rem;line-height:1.4;margin:1.4em 0 .4em}
.legal p,.legal li{font-size:1rem;line-height:1.7}
.legal ul{margin-bottom:1.2em}
.legal address{font-style:normal;margin-bottom:1em;line-height:1.7}
.legal a{overflow-wrap:anywhere}
.legal dl{margin:0 0 1em}
.legal dt{font-weight:600}
.legal dd{margin:0 0 .6em}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width:1180px){
  .main-nav ul{gap:1.1rem}
  .header-spacer{display:none}
}
@media (max-width:1024px){
  :root{--header-h:84px}
  .header-inner{padding:.5rem var(--pad-x);min-height:var(--header-h)}
  .brand img{width:70px;height:70px}
  .header-main{display:none}
  .nav-toggle{display:block}
  .mobile-meta{display:block}
  /* Mobile-Navigation */
  .mobile-panel{position:fixed;left:0;right:0;top:var(--panel-top,84px);bottom:0;background:#fff;overflow-y:auto;padding:1.5rem var(--pad-x) 2rem;transform:translateY(-8px);opacity:0;visibility:hidden;transition:opacity .25s,transform .25s,visibility 0s linear .25s;border-top:1px solid rgba(157,96,73,.25)}
  .mobile-panel.is-open{opacity:1;visibility:visible;transform:none;transition:opacity .25s,transform .25s}
  .mobile-panel ul{list-style:none;margin:0;padding:0}
  .mobile-panel li a{display:block;padding:.95rem 0;border-bottom:1px solid rgba(157,96,73,.35);font-weight:700;font-size:1.0625rem;color:var(--accent)}
  .mobile-panel li a:hover{color:var(--brown)}
  .mobile-panel .mobile-meta{margin-top:1.5rem;font-size:.9375rem;line-height:1.9}
  .mobile-panel .mobile-meta a,.mobile-panel .mobile-meta span{display:flex;align-items:center;gap:.6em;color:var(--brown)}
  body.nav-open{overflow:hidden}

  .tiles{grid-template-columns:1fr}
  .tile{min-height:300px}
  .contact-grid{grid-template-columns:repeat(2,1fr)}
  .contact-grid{align-items:start}
  .contact-item.hours-item{grid-column:1 / -1}
  .footer-grid{padding:44px var(--pad-x) 24px}
}
@media (min-width:1025px){
  .mobile-panel{display:none}
}
@media (max-width:860px){
  .points{grid-template-columns:1fr;gap:2.25rem}
  .points-media img{max-width:440px}
}
@media (max-width:767px){
  :root{--pad-x:20px;--header-h:76px}
  .brand img{width:62px;height:62px}
  .hero{height:auto;min-height:0;aspect-ratio:auto}
  .hero{height:420px}
  .slide-inner{padding:20px 44px 40px}
  .slide-title{font-size:2.6rem}
  .hero-arrow{width:40px;height:40px}
  .hero-arrow svg{width:24px;height:24px}
  .hero-arrow.prev{left:2px}
  .hero-arrow.next{right:2px}
  .hero-dots{bottom:16px}
  .tile{min-height:240px}
  .tile-content{padding:28px 20px}
  .brands img{max-width:520px}
  .points{padding-top:2.75rem}
  .points-text{font-size:1rem}
  .store-badges img{height:46px;width:auto}
  .contact{padding:48px 20px;margin-bottom:32px}
  .contact-grid{grid-template-columns:1fr;gap:2.25rem}
  .contact-item .icon{font-size:42px;width:42px;height:42px;margin-bottom:10px}
  .map-link img{min-height:260px;aspect-ratio:4/3;object-position:44% 50%}
  .footer-grid{grid-template-columns:1fr;justify-items:center;gap:2rem}
  .footer-logo,.footer-social{justify-self:center}
  .footer-logo img{width:120px}
  .footer-bottom{padding-top:1.5rem}
  .footer-bottom .line{display:block}
  .footer-bottom .sep.first{display:none}
}
@media (max-width:380px){
  .slide-title{font-size:2rem}
  .section-title{font-size:1.85rem}
  .tile h3{font-size:1.45rem}
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .hero.is-ready .slide.is-active .slide-bg.kenburns{transform:none}
}

/* Fehlende Bilder: Fläche bleibt farbig statt Broken-Icon */
img.is-missing{visibility:hidden}
