/* Branchen-Seite Gastronomie. Baut auf style.css (body.home) auf.
   Showcase aus Tag vor-arbeiten-entfernt uebernommen, unten die seitenspezifischen Teile. */
/* Ausgewählte Arbeiten: je Kunde Logo, Kabel zu den Leistungen, Bilder rechts. Ohne JS: Kabel fertig. */
body.home .fall{position:relative;display:grid;grid-template-columns:minmax(0,1fr);--lane:13px;--faden:42px;margin-top:clamp(84px,11vw,168px)}
body.home .fall:first-of-type{margin-top:0}
body.home .fall-logo{margin:0;line-height:0;font-size:0}
body.home .fall-logo img{display:block;width:auto;height:auto;max-width:100%}
body.home .fall-logo .logo-breit{width:clamp(210px,23vw,320px)}
body.home .fall-logo .logo-mittel{width:clamp(164px,17vw,232px)}
body.home .fall-logo .logo-hoch{height:clamp(104px,15vh,144px)}
body.home .fall-wort{margin:0;font-size:clamp(34px,3.4vw,50px);font-weight:300;line-height:1.05;letter-spacing:.015em;color:#fff}
body.home .fall-draht{position:relative;margin:clamp(14px,2vh,22px) 0 0 var(--lane);padding-left:var(--faden)}
body.home .fall-draht::before{content:"";position:absolute;left:-.75px;top:calc(-1 * clamp(10px,1.6vh,16px));bottom:12px;width:1.5px;background:#fff}
.fall-an body.home .fall-draht::before{display:none}
body.home .fall-ort{margin:0;font-size:18px;line-height:1.35;color:var(--p-soft);text-wrap:balance}
body.home .fall-satz{margin:clamp(6px,1.1vh,12px) 0 0;font-size:clamp(20px,1.65vw,24px);line-height:1.3;font-weight:300;color:#fff;text-wrap:pretty}
body.home .knoten{list-style:none;padding:0;margin:clamp(12px,2.2vh,22px) 0 0}
body.home .knoten li{position:relative;font-size:20px;line-height:1.3;padding-block:clamp(3px,.6vh,6px);color:#fff;transition:color .25s}
body.home .knoten li::before{content:"";position:absolute;left:calc(-1 * var(--faden) - 4.5px);top:calc(clamp(3px,.6vh,6px) + .65em - 4.5px);width:9px;height:9px;border-radius:50%;box-sizing:border-box;background:#fff;border:1px solid #fff;transition:background .25s,border-color .25s,box-shadow .25s}
.fall-an body.home .knoten li{color:#a6a6a6}
.fall-an body.home .knoten li::before{background:#000;border-color:rgba(255,255,255,.5)}
.fall-an body.home .knoten li.erreicht{color:#fff}
.fall-an body.home .knoten li.erreicht::before{background:#fff;border-color:#fff}
.fall-an body.home .knoten li.erreicht.an::before{box-shadow:0 0 12px 3px rgba(255,255,255,.75)}
.fall-an body.home .knoten li.erreicht.an{text-shadow:0 0 16px rgba(255,255,255,.35)}
body.home .fall-kabel,body.home .fall-verb{display:none;position:absolute;left:0;top:0;overflow:visible;pointer-events:none}
.fall-an body.home .fall-kabel,.fall-an body.home .fall-verb{display:block}
body.home .fall-bilder{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(8px,1vw,16px);align-content:start}
body.home .fall-bilder figure{position:relative;z-index:1;margin:0;overflow:hidden;background:#101010}
body.home .fall-bilder img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
body.home .b-hero{grid-column:1/-1;aspect-ratio:3/2}
body.home .b-film{aspect-ratio:16/9}
body.home .g-2{grid-column:span 2;aspect-ratio:auto}
body.home .g-3{grid-column:span 3;aspect-ratio:3/2}
body.home .g-4{grid-column:span 4;aspect-ratio:3/2}
body.home .g-hoch{grid-row:span 2;aspect-ratio:auto}
body.home .fall-serie .g-2{aspect-ratio:4/3}

/* breite Fenster: Logo und Kabel bleiben im Kundenblock stehen */
@media (min-width:900px) and (min-height:520px){
  body.home .fall{grid-template-columns:minmax(0,4fr) minmax(0,8fr);column-gap:clamp(28px,3.4vw,64px)}
  body.home .fall-spalte{position:sticky;top:96px;align-self:start;padding-right:8px}
  body.home .fall-film .b-hero{aspect-ratio:16/9}
}
@media (min-width:900px) and (min-height:520px) and (max-height:700px){
  body.home .fall-spalte{top:76px}
  body.home .fall-logo .logo-hoch{height:clamp(84px,14vh,110px)}
  body.home .fall-logo .logo-breit{width:clamp(180px,20vw,270px)}
  body.home .fall-satz{font-size:20px;line-height:1.25}
  body.home .knoten li{font-size:18px;line-height:1.25}
  body.home .knoten li::before{top:calc(clamp(3px,.6vh,6px) + .625em - 4.5px)}
}

/* schmale Fenster: Logo, Hero volle Breite, Kabel links mit Knoten, dann 2 bis 3 Bilder */
@media not all and (min-width:900px) and (min-height:520px){
  body.home .fall{grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(8px,2vw,14px)}
  body.home .fall-spalte,body.home .fall-bilder{display:contents}
  body.home .fall-kopf{grid-column:1/-1;order:1;padding-bottom:8px}
  body.home .fall-logo .logo-breit{width:min(62vw,300px)}
  body.home .fall-logo .logo-hoch{height:96px}
  body.home .fall-logo .logo-mittel{width:min(44vw,200px)}
  body.home .fall-bilder figure.b-hero{order:2;grid-column:1/-1;margin-inline:calc(-1 * var(--pad));width:calc(100% + 2 * var(--pad));max-width:100vw}
  body.home .fall-draht{grid-column:1/-1;order:3;margin:12px 0 18px var(--lane)}
  body.home .fall-draht::before{top:-16px}
  body.home .fall-bilder figure{order:4}
  body.home .fall-bilder figure.b-hero{order:2}
  body.home .fall-satz{font-size:clamp(20px,5.4vw,24px)}
}
/* Telefon hochkant: einzeln untereinander, Halbformate paarweise */
@media (max-width:599px){
  body.home .fall-bilder figure{grid-column:1/-1;aspect-ratio:3/2}
  body.home .fall-bilder figure.b-film{aspect-ratio:16/9}
  body.home .fall-bilder figure.m-halb{grid-column:span 3;aspect-ratio:1/1}
  body.home .fall-bilder figure.g-hoch,body.home .fall-bilder figure.g-2{aspect-ratio:4/5;grid-row:auto}
  body.home .fall-serie figure.m-voll{aspect-ratio:3/2}
}
@media (max-height:520px){body.home .fall-bilder figure.b-hero{aspect-ratio:auto;height:82svh}body.home .fall-bilder figure.b-film{aspect-ratio:auto;height:82svh}}

/* Light fuer den Showcase */
[data-theme=light] body.home .fall-bilder figure{background:#e8e8e5}
[data-theme=light] body.home .fall-wort,[data-theme=light] body.home .fall-satz{color:#000}
[data-theme=light] body.home .fall-ort{color:#444}
[data-theme=light] body.home .fall-draht::before{background:#000}
[data-theme=light] body.home .knoten li{color:#000}
[data-theme=light] body.home .knoten li::before{background:#000;border-color:#000}
[data-theme=light].fall-an body.home .knoten li{color:#666}
[data-theme=light].fall-an body.home .knoten li::before{background:#fff;border-color:rgba(0,0,0,.5)}
[data-theme=light].fall-an body.home .knoten li.erreicht{color:#000}
[data-theme=light].fall-an body.home .knoten li.erreicht::before{background:#000;border-color:#000}
[data-theme=light].fall-an body.home .knoten li.erreicht.an::before{box-shadow:0 2px 7px rgba(0,0,0,.45)}
[data-theme=light].fall-an body.home .knoten li.erreicht.an{text-shadow:0 1px 3px rgba(0,0,0,.3)}

/* Light: Logos sind weiss hinterlegt */
[data-theme=light] body.home .fall-logo img{filter:invert(1)}
[data-theme=light] body.home .fall-bilder figure{background:#e8e8e5}
[data-theme=light] body.home .fall-wort,[data-theme=light] body.home .fall-satz{color:#000}

/* Navigation sofort sichtbar: diese Seite hat kein Logo-Intro */
.js body.gastro .nav:not(.nav-on):not(:focus-within){transform:none;opacity:1;pointer-events:auto}

/* Seite */
body.gastro{background:#000}
[data-theme=light] body.gastro{background:#fff}
body.gastro h1,body.gastro h2{margin:0}
body.gastro p{margin:0}

/* Hero: Text links, ein echtes Bild randlos rechts */
.g-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr);padding-inline:0;background:#000}
[data-theme=light] .g-hero{background:#fff}
.g-hero-text{padding:clamp(112px,16vh,170px) var(--pad) clamp(40px,7vh,80px);display:flex;flex-direction:column;justify-content:flex-end}
body.gastro .g-hero .eyebrow{font-size:20px;line-height:1.35;max-width:34em;margin-bottom:clamp(14px,2.4vh,26px);color:#f0f0f0}
[data-theme=light] body.gastro .g-hero .eyebrow{color:#222}
body.gastro .g-hero h1 span{display:inline;background:none;-webkit-background-clip:border-box;background-clip:border-box;color:#fff}
[data-theme=light] body.gastro .g-hero h1 span{color:#000}
body.gastro .g-hero h1{font-size:clamp(50px,min(7.4vw,14vh),124px);font-weight:500;line-height:1.02;letter-spacing:-.03em;color:#fff}
[data-theme=light] body.gastro .g-hero h1{color:#000}
body.gastro .g-hero .lead{margin-top:clamp(16px,2.8vh,30px);font-size:clamp(20px,1.6vw,24px);line-height:1.4;font-weight:300;color:#ececec;max-width:30em}
[data-theme=light] body.gastro .g-hero .lead{color:#222}
body.gastro .g-hero .actions{margin-top:clamp(20px,3.4vh,36px);display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-start}
.g-hero-bild{position:relative;margin:0;overflow:hidden;background:#101010;aspect-ratio:3/2}
[data-theme=light] .g-hero-bild{background:#e8e8e5}
.g-hero-bild img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:42% 50%}
@media (min-width:900px) and (min-height:520px){
  .g-hero{grid-template-columns:minmax(0,7fr) minmax(0,5fr);min-height:100svh}
  .g-hero-ohne{grid-template-columns:minmax(0,1fr)}
  .g-hero-bild{aspect-ratio:auto;min-height:100%}
  .g-hero-text{padding-right:clamp(24px,3vw,56px)}
}
@media (max-width:640px){body.gastro .g-hero .btn{flex:1 1 150px;padding-inline:14px}}

/* Showcase auf dieser Seite */
body.gastro #arbeiten{padding-top:clamp(84px,11vw,160px)}
body.gastro .fall-absatz{grid-column:1/-1;order:4;max-width:36em;padding-block:clamp(26px,3.6vw,56px) clamp(30px,4vw,60px)}
body.gastro .fall-absatz h4{margin:0;font-size:clamp(26px,2.4vw,34px);font-weight:400;line-height:1.18;letter-spacing:-.01em;color:#fff}
body.gastro .fall-absatz p{margin-top:12px;font-size:20px;line-height:1.5;color:#e4e4e4}
[data-theme=light] body.gastro .fall-absatz h4{color:#000}
[data-theme=light] body.gastro .fall-absatz p{color:#222}
@media (min-width:900px) and (min-height:520px){
  body.gastro .fall-gross .fall-bilder{margin-right:calc(-1 * var(--pad))}
  body.gastro .fall-gross .fall-absatz{padding-right:var(--pad)}
}
.fall-logo{margin:0}

/* Was wir lesen: vier grosse Woerter */
body.gastro .g-lesen h2{font-size:clamp(24px,2.3vw,32px);font-weight:400;line-height:1.3;color:#fff;margin-bottom:clamp(24px,3.4vw,52px)}
[data-theme=light] body.gastro .g-lesen h2{color:#000}
.g-worte{list-style:none;margin:0;padding:0}
.g-worte li{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:6px clamp(32px,6vw,96px);align-items:baseline;padding-block:clamp(16px,2vw,30px);border-top:1px solid rgba(255,255,255,.26)}
.g-worte li:last-child{border-bottom:1px solid rgba(255,255,255,.26)}
[data-theme=light] .g-worte li,[data-theme=light] .g-worte li:last-child{border-color:rgba(0,0,0,.24)}
.g-worte strong{font-size:clamp(56px,8.4vw,136px);font-weight:250;line-height:1;letter-spacing:-.03em;color:#fff}
[data-theme=light] .g-worte strong{color:#000}
body.gastro .g-worte p{font-size:clamp(20px,1.65vw,24px);line-height:1.35;font-weight:300;color:#ececec;max-width:24em}
[data-theme=light] body.gastro .g-worte p{color:#222}
@media (max-width:640px){.g-worte li{grid-template-columns:minmax(0,1fr)}}

/* Fuss: Klickziele */
body.gastro .foot a{min-height:48px}

/* Hotels */
body.gastro .g-hotels{padding-top:0}
body.gastro .g-hotel-text{font-size:clamp(26px,3vw,44px);line-height:1.28;font-weight:300;color:#f6f6f6;max-width:27em}
[data-theme=light] body.gastro .g-hotel-text{color:#0a0a0a}
body.gastro .g-weitere{display:flex;flex-wrap:wrap;align-items:center;gap:0 18px;margin-top:clamp(16px,2vw,28px);font-size:20px;color:#ececec}
[data-theme=light] body.gastro .g-weitere{color:#222}
body.gastro .g-weitere .textlink{margin-top:0;font-size:20px}

/* Kontakt: im Schwarz der Seite, ohne Bild dahinter */
body.gastro .g-kontakt{min-height:0;padding-block:clamp(40px,6vw,96px) clamp(72px,10vw,140px);display:block;background:#000}
[data-theme=light] body.gastro .g-kontakt{background:#fff}
body.gastro .g-kontakt .panel.big{max-width:none;padding:0;border:0;background:none}
body.gastro .g-kontakt .panel.big::before{display:none}
body.gastro .g-kontakt h2{font-size:clamp(44px,6.4vw,104px);font-weight:500;letter-spacing:-.03em;line-height:1.04;color:#fff}
[data-theme=light] body.gastro .g-kontakt h2{color:#000}
body.gastro .g-kontakt .panel.big p{font-size:clamp(20px,1.65vw,24px);max-width:34em}
body.gastro .g-kontakt .actions{margin-top:22px}
