/* Branchendesign: Montage & Werbetechnik */
:root{--navy:#172033;--navy-2:#090e18;--teal:#f97316;--teal-dark:#c2410c;--mint:#fff0e4;--paper:#f7f7f5;--text:#283240;--muted:#687385;--line:#dfe3e8;--radius:14px}
.brand-mark{font-size:.7rem;border-radius:6px;background:linear-gradient(145deg,#fb923c,#ea580c)}
.brand-logo{display:block;width:auto;height:66px;max-width:270px;object-fit:contain}
.nav-wrap{min-height:88px}
.brand-light{padding:7px 11px;border-radius:10px;background:#fff}
.brand-light .brand-logo{filter:none}
.hero{background:radial-gradient(circle at 82% 28%,rgba(249,115,22,.17),transparent 31%),linear-gradient(135deg,#fffaf5 0%,#f4f5f7 100%)}
.hero:before{border-color:rgba(249,115,22,.09)}.hero-visual:before{border-radius:12px;background:linear-gradient(145deg,#1f2937,#090e18);transform:rotate(-5deg)}
.progress i{background:linear-gradient(90deg,#f97316,#fdba74)}.status-dot{background:#f97316}.about-visual{border-radius:16px;background:linear-gradient(145deg,#c2410c,#172033)}
.quote-card span,.steps span{color:#fdba74}.contact{background:linear-gradient(180deg,#fff,#fff8f2)}
.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.project-tile{margin:0}.project-placeholder{aspect-ratio:4/3;display:grid;place-items:center;overflow:hidden;margin-bottom:22px;border-radius:var(--radius);color:#fff;background:linear-gradient(135deg,#f97316,#9a3412);box-shadow:var(--shadow)}
.project-placeholder-alt{background:linear-gradient(135deg,#374151,#111827)}.project-placeholder-dark{background:linear-gradient(135deg,#c2410c,#172033)}.project-placeholder span{padding:8px 13px;border:1px dashed rgba(255,255,255,.7);border-radius:5px;background:rgba(0,0,0,.18);font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.project-tile>p{margin-bottom:7px;color:var(--teal-dark);font-size:.75rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.project-tile h3{margin-bottom:0}
@media (max-width:900px){.project-grid{grid-template-columns:1fr 1fr}.project-tile:last-child{grid-column:1/-1}.main-nav{gap:0}}
@media (max-width:620px){.project-grid{grid-template-columns:1fr}.project-tile:last-child{grid-column:auto}}
@media (max-width:620px){.brand-logo{height:48px;max-width:195px}.nav-wrap{min-height:68px}.main-nav{inset:68px 0 auto}}
.hero-photo{position:relative;margin:0;overflow:hidden;border-radius:18px;box-shadow:0 25px 60px rgba(23,32,51,.2)}
.hero-photo img{display:block;width:100%;min-height:440px;object-fit:cover;object-position:center}
.hero-photo figcaption{position:absolute;right:12px;bottom:10px;padding:6px 9px;border-radius:5px;color:#fff;background:rgba(9,14,24,.72);font-size:.68rem}
select{width:100%;margin-top:7px;border:1px solid #bcccdc;border-radius:10px;padding:12px 14px;color:var(--text);background:#fbfdfe;outline:none}
select:focus{border-color:var(--teal);box-shadow:0 0 0 4px rgba(249,115,22,.12)}
.contact-note a{color:var(--navy);font-weight:750}.contact-note a:hover{color:var(--teal-dark)}
.footer-legal-title{margin-top:15px}.mobile-call{display:none}
@media (max-width:900px){.hero-photo img{min-height:390px}}
@media (max-width:620px){body{padding-bottom:65px}.hero-photo img{min-height:300px}.hero-photo figcaption{font-size:.6rem}.mobile-call{position:fixed;z-index:60;display:flex;left:14px;right:14px;bottom:10px;min-height:50px;align-items:center;justify-content:center;border-radius:999px;color:#fff;background:var(--teal);box-shadow:0 10px 30px rgba(0,0,0,.28);font-weight:850}}
.gallery-grid{grid-template-columns:repeat(4,1fr)}
.gallery-grid .project-tile{display:block;padding-bottom:5px;border-radius:var(--radius);transition:transform .25s,box-shadow .25s}
.gallery-grid .project-tile:hover{transform:translateY(-6px)}
.gallery-grid .project-tile img{display:block;width:100%;aspect-ratio:4/3;margin-bottom:20px;border-radius:var(--radius);object-fit:cover;box-shadow:var(--shadow)}
.gallery-grid .project-tile:hover img{box-shadow:0 24px 60px rgba(23,32,51,.2)}
@media (max-width:1050px){.gallery-grid{grid-template-columns:repeat(2,1fr)}.gallery-grid .project-tile:last-child{grid-column:auto}}
@media (max-width:620px){.gallery-grid{grid-template-columns:1fr}}
.about-photo{position:relative;min-height:480px;margin:0;overflow:hidden;border-radius:16px;box-shadow:var(--shadow)}
.about-photo img{display:block;width:100%;height:480px;object-fit:cover;object-position:center}
.about-photo figcaption{position:absolute;left:16px;bottom:14px;padding:8px 11px;border-radius:5px;color:#fff;background:rgba(9,14,24,.78);font-size:.74rem;font-weight:750}
.footer-logo{height:50px;filter:none!important}
@media (max-width:900px){.about-photo{min-height:390px}.about-photo img{height:390px}}
@media (max-width:620px){.about-photo{min-height:320px}.about-photo img{height:320px}.footer-logo{height:42px}}

/* Mobile Feinoptimierung */
@media (max-width:620px){
  html{scroll-padding-top:70px}
  body{font-size:16px;line-height:1.55;padding-bottom:calc(72px + env(safe-area-inset-bottom))}
  .container{width:calc(100% - 32px)}
  .nav-wrap{min-height:68px}
  .brand-logo{height:38px;max-width:170px}
  .menu-toggle{width:46px;height:46px;padding:9px;touch-action:manipulation}
  .main-nav{inset:68px 0 auto;max-height:calc(100dvh - 68px);overflow-y:auto;padding:12px 16px 22px}
  .main-nav a{min-height:48px;display:flex;align-items:center;padding:12px 10px;font-size:1rem}
  .main-nav .button{justify-content:center;margin-top:10px}
  .hero{padding:48px 0 58px}
  .hero-grid{gap:38px}
  .hero-copy{text-align:left}
  h1{margin-bottom:18px;font-size:clamp(2.25rem,11vw,3rem);line-height:1.04;overflow-wrap:anywhere}
  h2{font-size:clamp(1.85rem,8vw,2.4rem);line-height:1.08}
  h3{font-size:1.18rem}
  .eyebrow{font-size:.72rem;line-height:1.45}
  .hero-text{font-size:1.03rem}
  .button-row{align-items:stretch;margin:26px 0 22px}
  .button-row .button,.button-row .text-link{width:100%;min-height:50px;text-align:center}
  .button-row .text-link{display:flex;align-items:center;justify-content:center}
  .trust-list{align-items:flex-start}
  .hero-photo{border-radius:12px}
  .hero-photo img{width:100%;min-height:0;aspect-ratio:4/3;object-fit:cover}
  .hero-photo figcaption{left:8px;right:auto;bottom:8px;max-width:calc(100% - 16px)}
  .section{padding:58px 0}
  .section-head{margin-bottom:30px}
  .section-head>p{font-size:1rem}
  .intro-grid{gap:10px}
  .card-grid{gap:16px}
  .service-card{padding:25px 22px}
  .icon{margin-bottom:20px}
  .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}
  .gallery-grid .project-tile img{aspect-ratio:1/1;margin-bottom:10px;border-radius:9px}
  .gallery-grid .project-tile h3{font-size:1rem;line-height:1.18}
  .project-tile>p{margin-bottom:4px;font-size:.64rem;line-height:1.35;letter-spacing:.08em}
  .about-grid,.contact-grid{gap:38px}
  .about-photo{min-height:0;border-radius:12px}
  .about-photo img{height:auto;aspect-ratio:4/3}
  .benefits div{padding:14px 0}
  .steps{gap:1px}
  .steps li{padding:25px 22px}
  .contact-note{margin-top:24px;padding:20px 18px;overflow-wrap:anywhere}
  .contact-form{padding:23px 18px;border-radius:12px}
  input,select,textarea{min-height:48px;font-size:16px}
  textarea{min-height:140px}
  .contact-form .button{width:100%;min-height:50px}
  .checkbox{font-size:.92rem}
  .footer{padding:54px 0 95px}
  .footer-grid{gap:28px}
  .footer-grid a{min-height:40px;display:flex;align-items:center}
  .footer-bottom{margin-top:35px}
  .mobile-call{left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));min-height:52px}
  .legal{padding:58px 0}
}

@media (min-width:430px) and (max-width:620px){
  .gallery-grid{gap:22px 16px}
  .gallery-grid .project-tile h3{font-size:1.05rem}
}

@media (max-width:370px){
  .container{width:calc(100% - 24px)}
  h1{font-size:2.12rem}
  .brand-logo{height:34px;max-width:150px}
  .contact-form{padding:20px 14px}
  .gallery-grid{gap:18px 10px}
  .gallery-grid .project-tile h3{font-size:.92rem}
}

/* Kompakte Smartphone-Ansicht */
@media (max-width:620px){
  body{font-size:14.5px;line-height:1.48}
  .container{width:calc(100% - 24px)}
  .nav-wrap{min-height:60px}
  .brand-logo{height:32px;max-width:145px}
  .menu-toggle{width:42px;height:42px}
  .main-nav{inset:60px 0 auto;padding:8px 12px 16px;max-height:calc(100dvh - 60px)}
  .main-nav a{min-height:43px;padding:9px 8px;font-size:.94rem}
  .hero{padding:34px 0 42px}
  .hero-grid{gap:26px}
  h1{max-width:100%;margin-bottom:14px;font-size:clamp(1.9rem,9vw,2.35rem);line-height:1.03}
  h2{margin-bottom:14px;font-size:clamp(1.55rem,7vw,1.95rem);line-height:1.08}
  h3{font-size:1.05rem}
  .eyebrow{margin-bottom:9px;font-size:.65rem}
  .hero-text{font-size:.94rem;line-height:1.55}
  .button-row{gap:9px;margin:20px 0 17px}
  .button-row .button,.button-row .text-link{min-height:44px;padding:10px 16px;font-size:.9rem}
  .trust-list{gap:3px;font-size:.79rem}
  .hero-photo{width:min(100%,420px);margin-inline:auto}
  .hero-photo img{aspect-ratio:16/10}
  .hero-photo figcaption{padding:4px 6px;font-size:.52rem}
  .section{padding:42px 0}
  .section-head{gap:3px;margin-bottom:22px}
  .section-head>p,.intro-grid div>p{font-size:.91rem}
  .card-grid{gap:11px}
  .service-card{padding:19px 17px}
  .service-card h3{margin-bottom:8px}
  .service-card p{margin-bottom:12px;font-size:.88rem}
  .icon{width:42px;height:42px;margin-bottom:14px}
  .gallery-grid{gap:17px 10px}
  .gallery-grid .project-tile img{margin-bottom:7px}
  .gallery-grid .project-tile h3{font-size:.9rem;line-height:1.15}
  .project-tile>p{font-size:.56rem}
  .about-grid,.contact-grid{gap:27px}
  .about-photo{width:min(100%,420px);margin-inline:auto}
  .about-photo img{aspect-ratio:16/10}
  .about-copy>p:not(.eyebrow){font-size:.9rem}
  .benefits{margin-top:20px}
  .benefits div{padding:10px 0;font-size:.87rem}
  .steps li{padding:19px 17px}
  .steps span{margin-bottom:10px}
  .steps h3{margin-bottom:8px}
  .steps p{margin-bottom:0;font-size:.87rem}
  .contact-grid>div>p:not(.eyebrow){font-size:.92rem}
  .contact-note{margin-top:18px;padding:15px 14px}
  .contact-form{padding:18px 14px}
  .form-row{gap:0}
  label{margin-bottom:12px;font-size:.8rem}
  input,select,textarea{min-height:44px;margin-top:5px;padding:10px 11px}
  textarea{min-height:110px}
  .contact-form .button{min-height:45px}
  .contact-form small{font-size:.74rem}
  .footer{padding:42px 0 88px}
  .footer-grid{gap:20px}
  .footer-grid p{margin-top:8px;font-size:.85rem}
  .footer-grid a{min-height:34px}
  .footer-bottom{gap:8px;margin-top:25px;padding-top:15px;font-size:.73rem}
  .footer-logo{height:39px}
  .mobile-call{min-height:48px;font-size:.92rem}
}

/* Anklickbare Projektgalerie */
.gallery-grid .project-tile{cursor:zoom-in}
.gallery-more{display:flex;justify-content:center;margin-top:40px}
.contact-person{display:flex;flex-direction:column;gap:2px;padding:10px 0;border-bottom:1px solid var(--line)}
.contact-person b{color:var(--navy)}
.projects-page-intro{padding:72px 0 42px;background:linear-gradient(135deg,#fffaf5,#f4f5f7)}
.projects-page-intro h1{margin-bottom:14px;font-size:clamp(2.4rem,5vw,4.4rem)}
.projects-page-intro p:not(.eyebrow){max-width:720px;color:var(--muted);font-size:1.05rem}
.gallery-lightbox{width:min(94vw,1100px);max-width:none;height:min(92vh,850px);max-height:none;margin:auto;padding:52px 64px 42px;border:0;border-radius:16px;color:#fff;background:rgba(9,14,24,.96);box-shadow:0 30px 90px rgba(0,0,0,.55)}
.gallery-lightbox::backdrop{background:rgba(2,6,12,.84);backdrop-filter:blur(5px)}
.gallery-lightbox[open]{display:grid;grid-template-columns:50px minmax(0,1fr) 50px;grid-template-rows:minmax(0,1fr) auto;gap:12px;align-items:center}
.gallery-lightbox figure{min-width:0;height:100%;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.gallery-lightbox figure img{display:block;max-width:100%;max-height:calc(92vh - 145px);border-radius:10px;object-fit:contain;background:#05080d}
.gallery-lightbox figcaption{margin-top:12px;text-align:center;font-size:.95rem}
.gallery-close,.gallery-arrow{border:0;color:#fff;background:rgba(255,255,255,.12);cursor:pointer}
.gallery-close{position:absolute;top:12px;right:14px;width:42px;height:42px;border-radius:50%;font-size:1.8rem;line-height:1}
.gallery-arrow{width:46px;height:56px;border-radius:10px;font-size:2.2rem;line-height:1}
.gallery-close:hover,.gallery-arrow:hover{background:var(--teal)}
.gallery-counter{grid-column:1/-1;margin:0;text-align:center;color:#cbd5e1;font-size:.8rem}

@media (max-width:620px){
  .gallery-more{margin-top:28px}.gallery-more .button{width:100%}
  .projects-page-intro{padding:38px 0 24px}
  .gallery-lightbox{width:100vw;height:100dvh;padding:58px 10px 30px;border-radius:0}
  .gallery-lightbox[open]{grid-template-columns:42px minmax(0,1fr) 42px;gap:5px}
  .gallery-lightbox figure img{max-height:calc(100dvh - 150px);border-radius:7px}
  .gallery-lightbox figcaption{margin-top:9px;font-size:.8rem}
  .gallery-arrow{width:40px;height:50px;font-size:1.8rem}
  .gallery-close{top:9px;right:10px}
}

/* Verhindert verbreiterte oder verzerrte Galerien auf Smartphones */
@media (max-width:620px){
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  img{max-width:100%;height:auto}
  .projects,.projects .container,.gallery-grid,.gallery-grid .project-tile{min-width:0;max-width:100%}
  .gallery-grid{grid-template-columns:1fr;width:100%;gap:24px}
  .gallery-grid .project-tile{width:min(100%,300px);margin-inline:auto;overflow:hidden}
  .gallery-grid .project-tile img{display:block;width:100%;height:auto;aspect-ratio:auto;max-height:225px;object-fit:contain;object-position:center;background:#eef1f4}
  .gallery-grid .project-tile p,.gallery-grid .project-tile h3{max-width:100%;overflow-wrap:anywhere;word-break:normal;hyphens:auto}
}

@media (max-width:340px){.gallery-grid .project-tile{width:min(100%,260px)}}

.imprint-contacts{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:18px 0 30px}
.imprint-contacts section{padding:22px;border:1px solid var(--line);border-radius:var(--radius);background:var(--paper)}
.imprint-contacts h3{margin-bottom:10px}
.imprint-contacts p{margin-bottom:0;overflow-wrap:anywhere}
.imprint-contacts a{color:var(--teal-dark);text-decoration:underline}
@media (max-width:620px){.imprint-contacts{grid-template-columns:1fr;gap:14px}.imprint-contacts section{padding:17px}}
