/*
Theme Name: Scervino Digital V5
Theme URI: https://scervino-digital.com
Author: Scervino Digital
Description: Helles, reduziertes WordPress-Theme für Scervino Digital.
Version: 6.3.0
Text Domain: scervino-digital
*/
:root{
  --bg:#fbfaf7; --card:#fff; --text:#1d1b18; --muted:#6c6862;
  --line:#e9e2d8; --gold:#b97b22; --gold2:#d59a3d; --dark:#111820;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);line-height:1.6}
a{text-decoration:none;color:inherit}
.container{width:min(1180px,calc(100% - 40px));margin:auto}
.site-header{position:sticky;top:0;z-index:20;background:rgba(251,250,247,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(0,0,0,.04)}
.nav{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.brand{font-size:1.42rem;font-weight:700;letter-spacing:.14em}
.brand span{display:block;color:var(--gold);font-size:.58rem;letter-spacing:.55em;margin-left:.28em;margin-top:-4px}
.menu{display:flex;gap:28px;font-size:.9rem}
.menu a:hover{color:var(--gold)}
.btn{display:inline-flex;align-items:center;gap:8px;padding:11px 19px;border-radius:14px;background:linear-gradient(135deg,var(--gold),var(--gold2));color:#fff;font-weight:600;box-shadow:0 10px 26px rgba(183,122,33,.14)}
.btn.secondary{background:transparent;color:var(--text);border:1px solid var(--line);box-shadow:none}
.hero{min-height:650px;display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:64px;padding:72px 0 58px}
.kicker{color:var(--gold);font-size:.72rem;letter-spacing:.2em;font-weight:700;text-transform:uppercase}
.hero h1{font-family:Georgia,serif;font-size:clamp(2.8rem,4.8vw,5rem);line-height:1.01;margin:18px 0 24px;font-weight:500;letter-spacing:-.035em}
.hero h1 em{color:var(--gold);font-style:normal}
.hero p{max-width:620px;color:var(--muted);font-size:1rem}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.traits{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:38px}
.trait{border-top:1px solid var(--line);padding-top:12px;color:#45413c;font-size:.9rem}
.hero-visual{position:relative;min-height:500px;border-radius:28px;overflow:hidden;background:linear-gradient(180deg,#fff,#f5f1ea);border:1px solid var(--line);box-shadow:0 24px 70px rgba(31,26,20,.055)}
.hero-visual:before{content:"";position:absolute;inset:11%;border:1px solid rgba(183,122,33,.16);border-radius:24px;background:
radial-gradient(circle at 28% 30%,rgba(183,122,33,.08),transparent 28%),
linear-gradient(135deg,rgba(255,255,255,.99),rgba(245,241,234,.94));}
.hero-visual:after{content:"TECH · FOTO · WEB · AUTOMATION";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:clamp(.75rem,1.05vw,1rem);letter-spacing:.22em;color:#8d7b65;white-space:nowrap}
.tech-lines{position:absolute;inset:18%;border-radius:20px;background:
linear-gradient(90deg,transparent 49.6%,rgba(183,122,33,.16) 50%,transparent 50.4%),
linear-gradient(transparent 49.6%,rgba(183,122,33,.16) 50%,transparent 50.4%)}
.tech-orbit{position:absolute;width:190px;height:190px;border:1px solid rgba(183,122,33,.22);border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%)}
.tech-orbit:before,.tech-orbit:after{content:"";position:absolute;border:1px solid rgba(183,122,33,.16);border-radius:50%;inset:22px}
.tech-orbit:after{inset:48px}
section{padding:76px 0}
.section-title{text-align:center;margin-bottom:32px}
.section-title h2{font-family:Georgia,serif;font-weight:500;font-size:clamp(2.2rem,3.6vw,3.7rem);margin:5px 0}
.services{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:20px;box-shadow:0 10px 28px rgba(22,22,22,.03);transition:.22s}
.card:hover{transform:translateY(-3px);box-shadow:0 15px 36px rgba(22,22,22,.055)}
.iconbox{width:48px;height:48px;border-radius:12px;background:#f7efe4;display:grid;place-items:center;color:var(--gold);font-weight:800;margin-bottom:16px}
.card h3{margin:0 0 8px;font-size:1.02rem}
.card p{color:var(--muted);font-size:.88rem}
.more{color:var(--gold);font-weight:600;font-size:.88rem}
.about{background:linear-gradient(180deg,#fff,#f8f4ed)}
.about-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:50px;align-items:center}
.about h2{font-family:Georgia,serif;font-size:clamp(2.2rem,3.6vw,3.7rem);font-weight:500;line-height:1.1;margin:10px 0 18px}
.about-icons{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.about-icon{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px}
.cert{margin-top:30px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.badges{display:flex;gap:10px}
.badge{padding:9px 15px;border-radius:9px;background:#f7eee0;color:#7d5417;font-weight:800}
.projects{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.project{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.project .ph{aspect-ratio:16/9;background:linear-gradient(135deg,#eee8df,#f8f5f0);display:flex;align-items:center;justify-content:center;color:#938b81}
.project .body{padding:18px}
.site-footer{background:var(--dark);color:#fff;padding:46px 0 26px}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:40px}
.site-footer p,.site-footer a{color:#b7c0c8}
.footer-bottom{margin-top:28px;padding-top:18px;border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;color:#8e98a2;font-size:.84rem}
@media(max-width:980px){
  .menu{display:none}
  .hero{grid-template-columns:1fr;min-height:auto;gap:32px;padding-top:42px}
  .hero-visual{min-height:360px}
  .services{grid-template-columns:repeat(2,1fr)}
  .about-grid{grid-template-columns:1fr}
  .projects{grid-template-columns:1fr}
}
@media(max-width:640px){
  .container{width:min(100% - 24px,1180px)}
  .nav .btn{display:none}
  .hero h1{font-size:3rem}
  .traits{grid-template-columns:1fr 1fr}
  .services{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
}

/* V3 Hero Equipment Composition */
.hero{grid-template-columns:1.02fr .98fr;gap:54px;padding-top:62px}
.hero h1{font-size:clamp(2.7rem,4.35vw,4.65rem)}
.hero-visual{
  min-height:500px;border:0;background:transparent;box-shadow:none;
  overflow:visible;position:relative;
}
.hero-visual:before,.hero-visual:after,.tech-lines,.tech-orbit{display:none!important}
.equipment-stage{
  position:absolute;inset:5% 0 2% 0;
  border-radius:36px;
  background:
    radial-gradient(circle at 54% 44%,rgba(185,123,34,.11),transparent 35%),
    radial-gradient(circle at 50% 58%,rgba(17,24,32,.045),transparent 55%);
}
.equipment-stage:after{
  content:"";position:absolute;left:12%;right:5%;bottom:8%;
  height:28px;border-radius:50%;background:rgba(30,26,20,.10);
  filter:blur(18px);
}
.drone-img{
  position:absolute;z-index:4;width:78%;right:-3%;top:2%;
  filter:drop-shadow(0 22px 22px rgba(20,20,20,.16));
}
.camera-art{
  position:absolute;z-index:5;left:8%;bottom:8%;width:37%;height:42%;
  filter:drop-shadow(0 18px 18px rgba(20,20,20,.16));
}
.camera-body{
  position:absolute;left:8%;right:4%;bottom:0;height:66%;
  border-radius:24px 28px 18px 18px;
  background:linear-gradient(145deg,#292c2f,#090a0b 65%,#25282a);
  box-shadow:inset 0 1px 2px rgba(255,255,255,.2);
}
.camera-top{
  position:absolute;left:20%;top:11%;width:54%;height:35%;
  clip-path:polygon(16% 100%,24% 25%,72% 25%,90% 100%);
  background:linear-gradient(145deg,#303438,#101214);
}
.camera-lens{
  position:absolute;z-index:2;width:55%;aspect-ratio:1;right:-8%;bottom:4%;
  border-radius:50%;background:
    radial-gradient(circle at 45% 42%,#304d57 0 8%,#0b171d 9% 21%,#20262a 22% 31%,#08090a 32% 45%,#31363a 46% 53%,#08090a 54% 67%,#1f2326 68%);
  border:5px solid #151719;box-shadow:0 4px 12px rgba(0,0,0,.45);
}
.camera-brand{position:absolute;z-index:3;left:27%;top:46%;font-size:.64rem;color:#eee;letter-spacing:.12em;font-weight:700}
.gimbal-art{
  position:absolute;z-index:3;right:1%;bottom:3%;width:31%;height:53%;
  filter:drop-shadow(0 17px 15px rgba(20,20,20,.16));
}
.gimbal-grip{
  position:absolute;right:23%;bottom:0;width:24%;height:64%;
  border-radius:14px 14px 22px 22px;
  background:linear-gradient(90deg,#0a0b0c,#33373a 52%,#111315);
  transform:rotate(5deg);
}
.gimbal-arm{
  position:absolute;right:29%;top:14%;width:49%;height:44%;
  border:12px solid #1a1d20;border-left-width:9px;border-radius:35% 20% 25% 45%;
  transform:rotate(-15deg);
}
.gimbal-cam{
  position:absolute;right:50%;top:3%;width:39%;height:22%;
  border-radius:8px;background:linear-gradient(145deg,#34383b,#0c0d0e);
}
.gimbal-cam:after{
  content:"";position:absolute;width:28%;aspect-ratio:1;border-radius:50%;
  right:10%;top:22%;background:radial-gradient(circle,#28434e 0 20%,#080a0b 24% 55%,#3b3f42 58%);
}
.equipment-caption{
  position:absolute;z-index:7;right:6%;bottom:0;
  font-size:.65rem;letter-spacing:.18em;color:#9a7b53;text-transform:uppercase;
}
@media(max-width:980px){
 .hero-visual{min-height:430px}
 .equipment-stage{inset:0}
}

/* V4: genuine equipment imagery */
.camera-art,.gimbal-art{display:none!important}
.equipment-stage{
  background:
    radial-gradient(circle at 55% 46%,rgba(185,123,34,.10),transparent 33%),
    radial-gradient(circle at 50% 58%,rgba(17,24,32,.035),transparent 58%);
}
.drone-img{
  width:72%;right:0;top:0;z-index:4;
  filter:drop-shadow(0 20px 20px rgba(20,20,20,.14));
}
.sony-real{
  position:absolute;z-index:5;width:48%;left:0;bottom:4%;
  object-fit:contain;filter:drop-shadow(0 20px 18px rgba(20,20,20,.15));
}
.rs5-real{
  position:absolute;z-index:3;width:38%;right:0;bottom:1%;
  object-fit:contain;filter:drop-shadow(0 20px 18px rgba(20,20,20,.14));
}
.equipment-caption{right:2%;bottom:-2%;font-size:.6rem}
@media(max-width:980px){
  .sony-real{width:44%}.rs5-real{width:34%}.drone-img{width:66%}
}


/* V5 — editorial hero inspired by approved mockup */
.hero{min-height:720px;grid-template-columns:.86fr 1.14fr;gap:24px;padding:58px 0 38px;align-items:center}
.hero-copy{position:relative;z-index:2}
.hero h1{font-size:clamp(3rem,4.45vw,4.9rem);line-height:.93;margin:22px 0 26px;letter-spacing:-.045em}
.hero p{max-width:540px;font-size:.98rem;line-height:1.7}
.hero-visual{min-height:610px}
.equipment-stage{position:absolute;inset:0;background:radial-gradient(ellipse at 54% 54%,rgba(185,123,34,.075),transparent 48%)}
.equipment-stage:after{left:8%;right:0;bottom:5%;height:22px;opacity:.55}
.drone-img{width:83%;right:-5%;top:1%;z-index:4}
.sony-real{width:54%;left:1%;bottom:3%;z-index:5}
.rs5-real{width:45%;right:-3%;bottom:1%;z-index:5}
.hero-categories{display:grid;grid-template-columns:repeat(4,1fr);margin-top:44px;border-top:1px solid var(--line);padding-top:16px;max-width:650px}
.hero-categories>div{display:flex;gap:10px;align-items:flex-start;padding:0 14px;border-right:1px solid var(--line)}
.hero-categories>div:first-child{padding-left:0}.hero-categories>div:last-child{border:0}
.hero-categories b{color:var(--gold);font-size:1.3rem;line-height:1.1;font-weight:500}
.hero-categories span{display:flex;flex-direction:column;line-height:1.2}.hero-categories strong{font-size:.7rem;letter-spacing:.04em}.hero-categories small{font-size:.61rem;color:var(--muted);margin-top:6px;white-space:nowrap}
@media(max-width:980px){.hero{grid-template-columns:1fr;padding-top:42px}.hero-visual{min-height:520px}.hero-categories{grid-template-columns:repeat(2,1fr);gap:18px}.hero-categories>div{border:0;padding:0}.drone-img{width:70%;right:3%}.sony-real{width:43%;left:8%}.rs5-real{width:34%;right:8%}}
@media(max-width:640px){.hero h1{font-size:3.15rem}.hero-visual{min-height:390px}.hero-categories{grid-template-columns:1fr 1fr}.drone-img{width:76%;right:0}.sony-real{width:48%;left:0}.rs5-real{width:38%;right:0}}

/* ================================
   V5.2 PRESENTATION FIX
   Exact open hero composition, no image box
   ================================ */
.hero{
  min-height:690px !important;
  grid-template-columns: .83fr 1.17fr !important;
  gap: 22px !important;
  padding: 48px 0 34px !important;
  align-items:center !important;
}
.hero h1{
  font-size:clamp(3rem,4.3vw,4.85rem) !important;
  line-height:.95 !important;
  letter-spacing:-.035em !important;
}
.hero p{
  max-width:540px !important;
  font-size:1rem !important;
}
.v52-visual{
  position:relative !important;
  min-height:620px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
}
.v52-visual:before,
.v52-visual:after{
  display:none !important;
}
.v52-equipment{
  position:absolute !important;
  width:112% !important;
  max-width:none !important;
  height:auto !important;
  right:-8% !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  object-fit:contain !important;
  display:block !important;
  filter:drop-shadow(0 18px 18px rgba(40,32,20,.055)) !important;
}
.traits{
  margin-top:30px !important;
}
@media(max-width:1100px){
  .hero{grid-template-columns:1fr 1fr !important;gap:10px !important}
  .v52-equipment{width:108% !important;right:-4% !important}
}
@media(max-width:980px){
  .hero{grid-template-columns:1fr !important}
  .v52-visual{min-height:500px !important}
  .v52-equipment{width:100% !important;right:0 !important}
}

/* V5.3 — exact live-page background match */
body,
.hero,
.v52-visual{
  background:#fbfaf7 !important;
}
.v52-visual{
  overflow:visible !important;
}
.v52-equipment{
  width:112% !important;
  right:-8% !important;
  filter:none !important;
  background:#fbfaf7 !important;
  mix-blend-mode:normal !important;
}

/* =========================
   V6 PRESENTATION VERSION
   first viewport = exact approved visual
   ========================= */
body.v6-site{background:#fbfaf7}
body.v6-site .site-header{display:none!important}
.v6-hero-wrap{
  position:relative;
  width:100%;
  margin:0;
  padding:0;
  background:#fbfaf7;
  overflow:hidden;
}
.v6-hero-image{
  display:block;
  width:100%;
  height:auto;
  margin:0 auto;
}
.v6-hotspots{position:absolute;inset:0;pointer-events:none}
.v6-hotspots .hs{position:absolute;display:block;pointer-events:auto;background:transparent}
.hs-home{left:30.1%;top:2.5%;width:4.5%;height:6%}
.hs-leistungen{left:35.5%;top:2.5%;width:7.5%;height:6%}
.hs-projekte{left:44.4%;top:2.5%;width:6%;height:6%}
.hs-technologien{left:51.4%;top:2.5%;width:8.6%;height:6%}
.hs-ueber{left:61%;top:2.5%;width:7%;height:6%}
.hs-kontakt{left:68.4%;top:2.5%;width:6%;height:6%}
.hs-idee{left:82.7%;top:1.8%;width:14%;height:7%}
.hs-mehr{left:4.7%;top:76%;width:14%;height:7%}
.hs-projects{left:20.5%;top:76%;width:14%;height:7%}
@media(max-width:900px){
  .v6-hero-wrap{overflow-x:auto}
  .v6-hero-image{min-width:1100px}
}

/* =========================
   V6.2 — One-screen presentation fit
   ========================= */

.v6-hero-wrap{
  height:calc(100vh - 0px) !important;
  min-height:760px !important;
  max-height:920px !important;
  display:flex !important;
  align-items:flex-start !important;
  justify-content:center !important;
  overflow:hidden !important;
  background:#fbfaf7 !important;
}

.v6-hero-image{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center top !important;
  display:block !important;
}

/* Slightly move the interactive regions to match the scaled hero */
.v6-hotspots{
  position:absolute !important;
  inset:0 !important;
}

@media(min-width:1200px){
  .v6-hero-wrap{
    height:calc(100vh - 1px) !important;
    min-height:700px !important;
  }
}

@media(max-width:1199px){
  .v6-hero-wrap{
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
  }
  .v6-hero-image{
    width:100% !important;
    height:auto !important;
    object-fit:contain !important;
  }
}

@media(max-width:900px){
  .v6-hero-image{
    min-width:0 !important;
  }
}


/* ==================================================
   V6.3 — COMPLETE SITE BELOW V6.2 HERO
   IMPORTANT: no V6.2 hero rules are changed here.
   ================================================== */
body.v6-site .site-footer{display:block!important}
.v63-section{padding:86px 0;background:#fbfaf7;border-top:1px solid #eee7dc}
.v63-heading{text-align:center;max-width:720px;margin:0 auto 42px}
.v63-heading h2,.v63-split h2,.v63-about h2{
  font-family:Georgia,serif;font-weight:500;letter-spacing:-.035em;color:#1d1b18
}
.v63-heading h2{font-size:clamp(2.5rem,4vw,4rem);line-height:1;margin:8px 0 16px}
.v63-heading p,.v63-split p,.v63-about p{color:#6c6862}
.v63-services{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.v63-card{background:#fff;border:1px solid #e9e2d8;border-radius:18px;padding:28px 25px;min-height:280px;box-shadow:0 14px 38px rgba(35,28,19,.035);transition:.25s}
.v63-card:hover{transform:translateY(-5px);box-shadow:0 18px 46px rgba(35,28,19,.07)}
.v63-icon{font-size:2rem;color:#b97b22;margin-bottom:22px;line-height:1}
.v63-card h3{font-size:1.05rem;text-transform:uppercase;letter-spacing:.04em;margin:0 0 12px}
.v63-card p{color:#6c6862;font-size:.92rem}
.v63-card a,.v63-gold-link{color:#b97b22;font-weight:700;font-size:.9rem}
.v63-projects-section{background:#f8f4ed}
.v63-projects{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.v63-project{background:#fff;border:1px solid #e9e2d8;border-radius:17px;overflow:hidden}
.v63-project-visual{aspect-ratio:1.38;display:flex;align-items:flex-end;padding:20px;background:#ede7dd;position:relative;overflow:hidden}
.v63-project-visual:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 70% 25%,rgba(185,123,34,.20),transparent 34%),linear-gradient(135deg,rgba(17,24,32,.06),transparent)}
.v63-project-visual span{position:relative;font-size:.72rem;letter-spacing:.18em;font-weight:800;color:#8b5a16}
.v63-photo{background:linear-gradient(135deg,#ded7cd,#f5eee5)}
.v63-web{background:linear-gradient(135deg,#ece7df,#fff)}
.v63-air{background:linear-gradient(135deg,#e5e8e6,#f5efe5)}
.v63-project-body{padding:20px}
.v63-project-body h3{margin:0 0 6px;font-size:1.05rem}
.v63-project-body p{margin:0;color:#6c6862;font-size:.9rem}
.v63-tech-section{background:#fff}
.v63-split{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:center}
.v63-split h2{font-size:clamp(2.5rem,4vw,4rem);line-height:1.05;margin:10px 0 18px}
.v63-tech-grid{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e9e2d8;border-radius:18px;overflow:hidden}
.v63-tech-grid div{padding:27px;border-bottom:1px solid #e9e2d8}
.v63-tech-grid div:nth-child(odd){border-right:1px solid #e9e2d8}
.v63-tech-grid div:nth-last-child(-n+2){border-bottom:0}
.v63-tech-grid strong,.v63-tech-grid span{display:block}
.v63-tech-grid strong{margin-bottom:7px}
.v63-tech-grid span{color:#6c6862;font-size:.88rem}
.v63-about-section{background:linear-gradient(180deg,#fbfaf7,#f5eee4)}
.v63-about{display:grid;grid-template-columns:.9fr 1.1fr;gap:80px;align-items:start}
.v63-about h2{font-size:clamp(2.8rem,4.5vw,4.8rem);line-height:.98;margin:12px 0}
.v63-about h2 em{font-style:normal;color:#b97b22}
.v63-about p{font-size:1.02rem;margin-top:0}
body.v6-site .site-footer{padding-top:58px}
body.v6-site .site-footer .brand{color:#fff}
@media(max-width:980px){
 .v63-services,.v63-projects{grid-template-columns:1fr 1fr}
 .v63-split,.v63-about{grid-template-columns:1fr;gap:34px}
}
@media(max-width:640px){
 .v63-section{padding:58px 0}
 .v63-services,.v63-projects,.v63-tech-grid{grid-template-columns:1fr}
 .v63-tech-grid div,.v63-tech-grid div:nth-child(odd){border-right:0;border-bottom:1px solid #e9e2d8}
 .v63-tech-grid div:last-child{border-bottom:0}
}
