/* Omni Bau & Service – Stylesheet
   Schriften sind lokal eingebunden (kein Google-Fonts-Aufruf, datenschutzfreundlich). */

@font-face{font-family:"Nunito";font-weight:400;font-style:normal;font-display:swap;src:url("../fonts/nunito-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Nunito";font-weight:600;font-style:normal;font-display:swap;src:url("../fonts/nunito-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"Nunito";font-weight:700;font-style:normal;font-display:swap;src:url("../fonts/nunito-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"Nunito";font-weight:800;font-style:normal;font-display:swap;src:url("../fonts/nunito-latin-800-normal.woff2") format("woff2")}

:root{
  /* Farben aus dem Logo: Schwarz #080A0B, Rot #E50914 */
  --bg:#F4F2EF;
  --white:#FFFFFF;
  --ink:#080A0B;
  --dark:#101315;
  --muted:#4A5056;
  --line:rgba(8,10,11,.12);
  --accent:#E50914;
  --accent-dark:#B80710;
  --accent-text:#C40812;
  --accent-soft:#FDE6E7;
  --accent-light:#FF5A63;
  --focus:#E50914;
  --on-dark:#FFFFFF;
  --on-dark-muted:#CDD2D7;
  --font:"Nunito",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --r-lg:36px;
  --r-md:24px;
  --r-sm:16px;
  --shadow:0 10px 30px rgba(8,10,11,.08);
  --wrap:1120px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:18px;line-height:1.6}
img,svg{max-width:100%}
a{color:inherit}
h1,h2,h3{margin:0}
p{margin:0}

:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:8px}
.services :focus-visible,.site-footer :focus-visible,.tabbar :focus-visible{outline-color:#fff}

.skip{position:absolute;left:-999px;top:8px;background:var(--ink);color:#fff;padding:12px 18px;border-radius:999px;z-index:100}
.skip:focus{left:8px}

.wrap{max-width:var(--wrap);margin:0 auto;padding-left:24px;padding-right:24px}

/* Abgerundete Flächen */
.panel{width:calc(100% - 32px);max-width:1280px;margin:0 auto;border-radius:var(--r-lg)}

/* ---------- Typo ---------- */
.eyebrow{align-self:flex-start;display:inline-flex;align-items:center;font-weight:700;font-size:14px;letter-spacing:.1em;text-transform:uppercase;color:var(--accent-text);background:var(--accent-soft);padding:6px 16px;border-radius:999px}
.display{font-family:var(--font);font-weight:800;line-height:1.08;letter-spacing:-.015em;text-wrap:balance}
.h2{font-size:clamp(32px,4.6vw,50px)}
.lead{text-wrap:pretty}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;gap:10px;align-items:center;justify-content:center;min-height:54px;padding:0 30px;font:inherit;font-weight:700;font-size:17px;text-decoration:none;cursor:pointer;border:2px solid var(--accent);border-radius:999px;transition:background .2s,color .2s,border-color .2s,transform .2s}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-dark);border-color:var(--accent-dark)}
.btn-ghost{background:var(--white);color:var(--ink);border-color:var(--white);box-shadow:var(--shadow)}
.btn-ghost:hover{background:var(--ink);border-color:var(--ink);color:#fff}
.btn-light{background:var(--accent);border-color:var(--accent);color:#fff}
.btn-light:hover{background:#fff;border-color:#fff;color:var(--ink)}
.btn svg{width:22px;height:22px;flex:none}

/* ---------- Header ---------- */
.site-header{padding:12px 16px 0}
.site-header .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 24px;background:var(--white);border-radius:999px;box-shadow:var(--shadow);padding:8px 12px 8px 24px;max-width:1120px}
.brand{display:flex;align-items:center;min-height:44px;text-decoration:none}
.brand img{display:block;height:60px;width:auto}
.nav{display:flex;align-items:center;gap:2px}
.nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;font-weight:600;font-size:16px;text-decoration:none;border-radius:999px;transition:background .2s,color .2s}
.nav a:hover{background:var(--bg)}
.nav a.cta{background:var(--accent);color:#fff;padding:0 22px;margin-left:6px}
.nav a.cta:hover{background:var(--accent-dark);color:#fff}

/* ---------- Hero ---------- */
.hero .wrap{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(440px,100%),1fr));gap:48px 56px;align-items:center;padding-top:56px;padding-bottom:72px}
.hero-copy{display:flex;flex-direction:column;gap:26px}
.hero h1{font-size:clamp(36px,5.8vw,64px);line-height:1.04}
.hero-text{font-size:clamp(18px,2.2vw,21px);max-width:34em;color:var(--muted);text-wrap:pretty}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px}

.plan{margin:0;background:var(--white);border-radius:var(--r-lg);box-shadow:var(--shadow);overflow:hidden}
.plan svg{display:block;width:100%;height:auto;stroke-linejoin:round}
.plan figcaption{display:flex;flex-wrap:wrap;border-top:1px solid var(--line);font-size:14px;font-weight:600}
.plan figcaption span{padding:12px 20px}
.plan figcaption span:first-child{flex:1 1 140px;letter-spacing:.06em}
.plan figcaption span:last-child{flex:2 1 220px;color:var(--muted);font-weight:400}

/* ---------- Über uns ---------- */
.about{background:var(--white)}
.about .wrap{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(440px,100%),1fr));gap:48px 64px;padding-top:80px;padding-bottom:80px}
.about-head{display:flex;flex-direction:column;gap:20px}
.about-body{display:flex;flex-direction:column;gap:32px}
.about-body p{max-width:36em}
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:12px;margin:0;padding:0;list-style:none}
.facts li{background:var(--bg);border-radius:var(--r-sm);padding:18px 18px 16px;display:flex;flex-direction:column;gap:2px}
.facts strong{font-weight:800;font-size:24px;line-height:1.15;letter-spacing:-.01em}
.facts span{font-size:15px;color:var(--muted)}

/* ---------- Leistungen ---------- */
.services{background:var(--dark);color:var(--on-dark);margin-top:16px}
.services .wrap{display:flex;flex-direction:column;gap:44px;padding-top:80px;padding-bottom:80px}
.services-head{display:flex;flex-direction:column;gap:16px;max-width:40em}
.services .eyebrow{color:var(--accent-light);background:rgba(255,90,99,.16)}
.services-head p:last-child{color:var(--on-dark-muted)}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:16px;margin:0;padding:0;list-style:none}
.card{background:#1A1E21;border:1px solid #2C3237;border-radius:var(--r-md);padding:28px 24px;display:flex;flex-direction:column;gap:14px;transition:transform .25s ease,border-color .25s ease,background .25s ease}
.card:hover{transform:translateY(-4px);border-color:var(--accent-light);background:#20252A}
.card svg{width:56px;height:56px;padding:14px;border-radius:50%;background:rgba(255,90,99,.15);color:var(--accent-light)}
.card h3{font-weight:800;font-size:21px;line-height:1.2;letter-spacing:-.01em}
.card p{font-size:16px;color:var(--on-dark-muted)}

/* ---------- Kontakt ---------- */
.contact .wrap{display:flex;flex-direction:column;gap:44px;padding-top:88px;padding-bottom:88px}
.contact-head{display:flex;flex-direction:column;gap:16px;max-width:40em}
.contact-head p:last-child{color:var(--muted);text-wrap:pretty}
.contact-grid{display:flex;flex-wrap:wrap;gap:24px 32px;align-items:flex-start}
.contact-info{flex:1 1 300px;display:flex;flex-direction:column;gap:24px}
.details{margin:0;display:flex;flex-direction:column;gap:12px}
.details div{background:var(--white);border-radius:var(--r-sm);padding:16px 20px}
.details dt{font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.details dd{margin:4px 0 0}
.details a{font-weight:700}
.details .sub{display:block;font-size:15px;color:var(--muted);margin-top:2px}
.qr{display:flex;align-items:center;gap:16px}
.qr img{flex:none;display:block;width:120px;height:120px;border-radius:var(--r-sm);box-shadow:var(--shadow)}
.qr-box{flex:none;width:120px;height:120px;border:2px dashed #8A9096;border-radius:var(--r-sm);display:flex;align-items:center;justify-content:center;text-align:center;padding:10px;font-size:13px;line-height:1.3;font-weight:700;color:var(--muted)}
.qr-box img{display:block;width:100%;height:100%;object-fit:contain}
.qr p{font-size:15px;color:var(--muted);max-width:15em}
.qr strong{color:var(--ink)}

/* ---------- WhatsApp-Karte ---------- */
.wa-card{flex:2 1 460px;background:var(--white);border-radius:var(--r-lg);box-shadow:var(--shadow);padding:clamp(24px,4vw,44px);display:flex;flex-direction:column;gap:22px}
.wa-card h3{font-weight:800;font-size:clamp(26px,3.2vw,34px);line-height:1.1;letter-spacing:-.015em}
.wa-card>p{color:var(--muted);max-width:34em;text-wrap:pretty}
.steps{margin:0;padding:0;list-style:none;counter-reset:s;display:flex;flex-direction:column;gap:14px}
.steps li{counter-increment:s;display:flex;gap:14px;align-items:flex-start}
.steps li::before{content:counter(s);flex:none;width:34px;height:34px;display:flex;align-items:center;justify-content:center;background:var(--accent);color:#fff;border-radius:50%;font-weight:800;font-size:16px;line-height:1}
.steps li{padding-top:2px}
.wa-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 20px}
.wa-qr{display:flex;align-items:center;gap:18px;background:var(--bg);border-radius:var(--r-md);padding:16px}
.wa-qr img{flex:none;display:block;width:124px;height:124px;border-radius:var(--r-sm)}
.wa-qr p{font-size:15px;color:var(--muted);max-width:18em}
@media (max-width:720px){.wa-qr{display:none}.wa-card{order:-1}}

/* ---------- Footer ---------- */
.site-footer{background:var(--ink);color:#E6E8EA;border-radius:var(--r-lg) var(--r-lg) 0 0;margin-top:8px}
.site-footer .wrap{display:flex;flex-direction:column;gap:48px;padding-top:64px;padding-bottom:40px}
.foot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:36px 32px}
.foot-col{display:flex;flex-direction:column;gap:10px;font-size:15px}
.foot-col h2{font-weight:800;font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--accent-light);margin-bottom:6px}
.foot-col a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}
.foot-col a:hover{text-decoration:underline}
.foot-brand img{display:block;height:84px;width:auto;margin-left:-6px}
.foot-note{color:#B5BCC3;max-width:20em}
.foot-bottom{border-top:1px solid #2B3136;padding-top:24px;font-size:14px;color:#B5BCC3}

/* ---------- Platzhalter (vor dem Livegang ersetzen) ---------- */
.ph{background:var(--accent-soft);color:#8A0610;padding:1px 8px;border-radius:8px;font-weight:700}
.site-footer .ph,.services .ph{background:rgba(255,90,99,.2);color:#FFA4A9}

/* ---------- Unterseiten ---------- */
.page{padding-top:56px;padding-bottom:96px;max-width:760px}
.page h1{font-weight:800;font-size:clamp(32px,5vw,48px);line-height:1.1;letter-spacing:-.015em;margin-bottom:28px}
.page h2{font-weight:800;font-size:22px;line-height:1.2;margin:36px 0 10px}
.page p{margin-bottom:14px}
.page ul{margin:0 0 14px 1.3em;padding:0}
.page li{margin-bottom:6px}
.page .btn{margin-top:20px}

/* ---------- Animationen ---------- */
@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes draw{to{stroke-dashoffset:0}}
@keyframes fade{from{opacity:0}to{opacity:1}}
.rise{animation:rise .8s cubic-bezier(.2,.7,.2,1) both}
.d1{animation-delay:.05s}.d2{animation-delay:.18s}.d3{animation-delay:.3s}.d4{animation-delay:.42s}
.draw{stroke-dasharray:1;stroke-dashoffset:1;animation:draw 1.5s cubic-bezier(.3,.6,.2,1) forwards}
.w2{animation-delay:.35s}.w3{animation-delay:.6s}.w4{animation-delay:.9s}
.fadein{animation:fade .9s ease both;animation-delay:1.1s}
.fadein0{animation:fade .9s ease both;animation-delay:.2s}

/* ---------- Mobile: schwebende Leiste unten ---------- */
.tabbar{display:none}
@media (max-width:720px){
  body{padding-bottom:92px}
  .site-header{padding:10px 12px 0}
  .site-header .wrap{border-radius:28px;padding:6px 16px}
  .site-header .nav{display:none}
  .panel{width:calc(100% - 24px);border-radius:28px}
  .tabbar{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:50;background:var(--ink);border-radius:26px;box-shadow:0 8px 28px rgba(0,0,0,.35);padding:5px;gap:4px}
  .tabbar a{display:flex;flex-direction:column;gap:2px;align-items:center;justify-content:center;min-height:52px;padding:0 4px;color:var(--on-dark);font-weight:600;font-size:14px;text-decoration:none;text-align:center;border-radius:21px}
  .tabbar a.cta{background:var(--accent);color:#fff;font-weight:700}
  .tabbar a svg{width:20px;height:20px}
  .site-header .brand img{height:50px}
  .site-footer{margin-bottom:-92px;padding-bottom:92px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .rise,.fadein,.fadein0{animation:none}
  .draw{animation:none;stroke-dashoffset:0}
  .card,.btn{transition:none}
  .card:hover,.btn:hover{transform:none}
}

/* ===== Hero mit 3D-Animation (Blick von der Tür, Boden wird ersetzt) ===== */
.stage-canvas,.stage-hint,.stage-ui{display:none}
.stage-fallback{display:block}
.hero .wrap{grid-template-columns:1fr;align-items:center}
@media (min-width:960px){.hero .wrap{grid-template-columns:1fr 1fr}}

/* Neues Layout, sobald JavaScript aktiv ist */
.js3d .hero .wrap{grid-template-columns:1fr;gap:28px;align-items:start;padding-top:36px;padding-bottom:56px;max-width:1240px}
.js3d .stage-fallback{display:none}
.js3d .stage-canvas,.js3d .stage-ui{display:block}
.js3d .stage-hint{display:flex}
.js3d .stage{position:relative;height:clamp(460px,calc(100svh - 128px),860px);background:linear-gradient(180deg,#fff,#F3F0EB);border-radius:var(--r-lg);box-shadow:var(--shadow);overflow:hidden}
.js3d .stage-canvas{position:absolute;inset:0}
.js3d .stage-canvas canvas{display:block;width:100%!important;height:100%!important}
.build-on .stage-col{height:340vh}
.build-on .stage{position:sticky;top:12px}
.stage-hint{position:absolute;left:50%;top:16px;transform:translateX(-50%);align-items:center;gap:8px;background:var(--ink);color:#fff;font-size:13px;font-weight:700;padding:8px 16px;border-radius:999px;transition:opacity .4s,transform .4s;white-space:nowrap;pointer-events:none;z-index:2}
.stage-hint::after{content:"\2193";color:var(--accent-light)}
.stage-hint.gone{opacity:0;transform:translate(-50%,-8px)}
.stage-ui{position:absolute;left:14px;right:14px;bottom:14px;z-index:2;background:rgba(255,255,255,.93);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:24px;padding:14px 18px 12px;box-shadow:0 6px 24px rgba(8,10,11,.12)}
.stage-cap{margin:0 0 10px;display:flex;flex-wrap:wrap;gap:2px 12px;align-items:baseline;min-height:1.4em}
.stage-cap strong{font-weight:800;font-size:clamp(17px,2vw,20px)}
.stage-cap span{color:var(--muted);font-size:15px}
.build-steps{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.build-steps li{font-size:12.5px;font-weight:700;line-height:1;padding:7px 12px;border-radius:999px;border:1.5px solid var(--line);color:var(--muted);transition:background .25s,color .25s,border-color .25s}
.build-steps li.done{background:var(--ink);border-color:var(--ink);color:#fff}
.build-steps li.on{background:var(--accent);border-color:var(--accent);color:#fff}
.bar{height:4px;border-radius:4px;background:var(--line);margin:11px 0 8px;overflow:hidden}
.bar i{display:block;height:100%;background:var(--accent);transform-origin:left;transform:scaleX(0)}
.stage-note{margin:0;font-size:12px;color:var(--muted)}
@media (min-width:960px){
  .js3d .hero-copy{display:grid;grid-template-columns:1.15fr 1fr;gap:16px 56px;align-items:end}
  .js3d .hero-copy .eyebrow{grid-column:1;grid-row:1;justify-self:start}
  .js3d .hero-copy h1{grid-column:1;grid-row:2}
  .js3d .hero-copy .hero-text{grid-column:2;grid-row:1;align-self:end}
  .js3d .hero-copy .hero-actions{grid-column:2;grid-row:2;align-self:start}
}
@media (max-width:720px){
  .js3d .stage{height:calc(100svh - 128px);min-height:440px}
  .stage-cap strong{font-size:17px}
  .stage-cap span{font-size:14px;flex-basis:100%}
  .build-steps{counter-reset:bs;gap:8px}
  .build-steps li{counter-increment:bs;font-size:0;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center}
  .build-steps li::before{content:counter(bs);font-size:13px;font-weight:800}
  .stage-ui{padding:12px 14px 10px;left:10px;right:10px;bottom:10px}
}
@media (prefers-reduced-motion:reduce){.build-on .stage-col{height:auto}}

/* ===== Feinschliff ===== */
.nw{white-space:nowrap}
.foot-legal{border-top:0;padding-top:0;display:flex;flex-wrap:wrap;gap:4px 24px;align-items:center}
.foot-legal a{min-height:44px;display:inline-flex;align-items:center}
@media (max-width:640px){
  .cards{gap:12px}
  .card{display:grid;grid-template-columns:44px 1fr;column-gap:14px;row-gap:4px;align-items:start;padding:18px 16px}
  .card svg{grid-row:1/3;width:44px;height:44px;padding:11px}
  .card h3{font-size:18px;overflow-wrap:anywhere}
  .card p{font-size:15px}
}

/* ===== Sprachumschalter ===== */
.head-right{display:flex;align-items:center;gap:6px}
.lang{position:relative}
.lang summary{list-style:none;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 12px 0 10px;border-radius:999px;cursor:pointer;font-weight:700;font-size:15px;border:1.5px solid var(--line);background:var(--white);transition:background .2s,border-color .2s;-webkit-user-select:none;user-select:none}
.lang summary::-webkit-details-marker{display:none}
.lang summary:hover{background:var(--bg)}
.lang[open] summary{border-color:var(--ink)}
.lang summary svg{width:20px;height:20px}
.lang summary .chev{width:16px;height:16px;transition:transform .2s}
.lang[open] summary .chev{transform:rotate(180deg)}
.lang ul{position:absolute;right:0;top:calc(100% + 8px);z-index:80;margin:0;padding:6px;list-style:none;min-width:190px;background:var(--white);border-radius:20px;box-shadow:0 12px 36px rgba(8,10,11,.22)}
.lang li a{display:flex;align-items:center;gap:12px;min-height:46px;padding:0 14px;border-radius:14px;text-decoration:none;font-weight:600;font-size:16px}
.lang li a:hover{background:var(--bg)}
.lang li a[aria-current="true"]{background:var(--ink);color:#fff}
.lang li .code{display:inline-block;min-width:26px;font-size:12.5px;font-weight:800;letter-spacing:.06em;color:var(--accent)}
.lang li a[aria-current="true"] .code{color:var(--accent-light)}
.legal-note{background:var(--white);border-radius:var(--r-sm);padding:12px 18px;font-size:15px;color:var(--muted)}
@media (max-width:760px){
  .site-header .head-right{margin-left:auto}
  .lang summary{padding:0 10px 0 8px}
}
