/*
Theme Name: FG Bausachverständige Premium
Theme URI: https://fg-bausachverstaendige.de/
Author: FG Bausachverständige
Description: Ruhiges, hochwertiges WordPress-Theme für einen freiberuflichen Bausachverständigen.
Version: 26.0
*/

:root{
  --green:#123f34;
  --green-dark:#0b2f27;
  --gold:#c6a45b;
  --ink:#17231f;
  --muted:#65706b;
  --line:#dfe5e1;
  --paper:#ffffff;
  --soft:#f5f6f3;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
.container{width:min(var(--max),calc(100% - 56px));margin:0 auto}
.narrow{max-width:900px}

/* Header */
.site-header{height:86px;background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:20}
.header-inner{height:86px;display:flex;align-items:center;justify-content:space-between;gap:35px}
.brand{display:block;line-height:0}
.brand img{width:142px;height:auto}
.main-nav{display:flex;align-items:center;gap:34px;margin-left:auto}
.main-nav a,.header-phone{text-decoration:none;font-size:14px}
.main-nav a{color:#394640}
.main-nav a:hover{color:var(--green)}
.header-phone{font-weight:700;color:var(--green);white-space:nowrap}
.mobile-nav{display:none}
.mobile-nav summary{list-style:none;cursor:pointer}
.mobile-nav summary::-webkit-details-marker{display:none}
.mobile-links{position:absolute;right:0;top:55px;background:#fff;border:1px solid var(--line);padding:10px;min-width:210px}
.mobile-links a{display:block;padding:9px 10px;text-decoration:none}

/* Hero */
.hero{height:650px;position:relative;overflow:hidden;background:var(--green-dark);color:#fff}
.hero-image,.hero-shade{position:absolute;inset:0}
.hero-image img{width:100%;height:100%;object-fit:cover;object-position:center}
.hero-shade{background:linear-gradient(90deg,rgba(7,38,31,.88) 0%,rgba(7,38,31,.62) 43%,rgba(7,38,31,.15) 78%,rgba(7,38,31,.05) 100%)}
.hero-inner{height:100%;display:flex;align-items:center;position:relative;z-index:2}
.hero-copy{max-width:690px;padding-bottom:20px}
.eyebrow,.section-label{font-size:11px;letter-spacing:.16em;font-weight:700;text-transform:uppercase}
.eyebrow{color:#e1c984;margin:0 0 20px}
.hero h1{font-size:clamp(48px,6vw,78px);line-height:1.01;letter-spacing:-.045em;margin:0 0 25px;font-weight:700}
.hero-lead{font-size:18px;line-height:1.6;max-width:610px;color:rgba(255,255,255,.88);margin:0 0 31px}
.button{display:inline-block;background:var(--gold);color:#17221e;text-decoration:none;padding:13px 21px;font-size:14px;font-weight:700;border:1px solid var(--gold)}
.button:hover{background:#d1b46f}

/* Services */
.service-intro{background:#fff;border-bottom:1px solid var(--line)}
.service-intro .section-label{color:var(--green);padding-top:42px}
.service-list{display:grid;grid-template-columns:repeat(4,1fr);margin-top:18px}
.service-list a{padding:24px 26px 30px 0;border-right:1px solid var(--line);text-decoration:none}
.service-list a:not(:first-child){padding-left:26px}
.service-list a:last-child{border-right:0}
.service-list span{display:block;font-size:17px;font-weight:700;color:var(--green);line-height:1.3}
.service-list small{display:block;margin-top:7px;color:var(--muted);font-size:13px;line-height:1.5}

/* General sections */
.section{padding:105px 0}
.section-label{color:var(--green);margin-bottom:18px}
.service-detail{background:#fff}
.service-detail.soft{background:var(--soft)}
.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:center}
.detail-grid.reverse .detail-image{order:2}
.detail-grid.reverse .detail-copy{order:1}
.detail-image{height:390px;overflow:hidden}
.detail-image img{width:100%;height:100%;object-fit:cover}
.detail-copy{max-width:510px}
.detail-copy h2,.about-copy h2,.process h2,.contact h2,.statement h2{font-size:clamp(34px,4.2vw,53px);line-height:1.08;letter-spacing:-.035em;margin:0 0 22px;font-weight:700;color:var(--green-dark)}
.detail-copy p,.about-copy p,.process-text p,.contact p,.statement p{color:var(--muted);margin:0 0 17px}

/* Statement */
.statement{background:var(--green);color:#fff;padding:92px 0}
.statement .section-label{color:#d9bd79}
.statement-inner{display:grid;grid-template-columns:1.05fr .95fr;gap:90px;align-items:center}
.statement h2{color:#fff;margin:0}
.statement p{color:rgba(255,255,255,.78);font-size:17px;margin:0}

/* About */
.about{background:#fff}
.about-grid{display:grid;grid-template-columns:430px 1fr;gap:95px;align-items:center}
.about-image{height:530px;overflow:hidden}
.about-image img{width:100%;height:100%;object-fit:cover;object-position:center top}
.about-copy{max-width:600px}

/* Process */
.process{background:var(--soft)}
.process-inner{display:grid;grid-template-columns:.75fr 1.25fr;gap:100px}
.process-text{display:grid;grid-template-columns:1fr 1fr;column-gap:55px;row-gap:28px}
.process-text p{margin:0}
.process-text strong{color:var(--green);font-size:16px}

/* Contact */
.contact{border-top:1px solid var(--line)}
.contact-inner{display:grid;grid-template-columns:1.1fr .9fr;gap:100px;align-items:start}
.contact-data{margin-top:28px!important}
.contact-data a{text-decoration:none;color:var(--green);font-weight:700}

/* Footer */
.footer{background:#10251f;color:#fff;padding:55px 0 20px}
.footer-inner{display:grid;grid-template-columns:1.2fr 1fr .6fr;gap:70px}
.footer-logo{width:140px;background:#fff;padding:5px}
.footer p,.footer span,.footer a{font-size:13px;color:rgba(255,255,255,.68)}
.footer-contact{display:flex;flex-direction:column;gap:4px}
.footer-contact strong{font-size:14px;color:#fff}
.footer-links{display:flex;flex-direction:column;gap:6px}
.footer-links a{text-decoration:none}
.footer-links a:hover{color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.13);margin-top:45px;padding-top:17px}

/* Legal/content pages */
.page-content{min-height:60vh;padding:90px 0}
.legal-page{max-width:900px;margin:0 auto}
.legal-page h1{font-size:clamp(40px,5vw,62px);line-height:1.05;letter-spacing:-.04em;color:var(--green-dark);margin:0 0 35px}
.legal-page h2{font-size:25px;line-height:1.2;color:var(--green);margin:38px 0 12px}
.legal-page p{color:var(--muted)}
.legal-page a{color:var(--green);font-weight:700}
.legal-meta{font-size:12px!important;color:#8a928e!important;margin-top:45px!important}

@media(max-width:900px){
  .main-nav{gap:18px}.header-phone{display:none}
  .hero{height:590px}
  .service-list{grid-template-columns:1fr 1fr}
  .service-list a:nth-child(2){border-right:0}
  .service-list a:nth-child(n+3){border-top:1px solid var(--line)}
  .detail-grid,.statement-inner,.about-grid,.process-inner,.contact-inner{grid-template-columns:1fr;gap:45px}
  .detail-grid.reverse .detail-image{order:0}.detail-grid.reverse .detail-copy{order:0}
  .detail-copy{max-width:none}
  .about-image{height:460px;max-width:560px}
  .process-text{max-width:700px}
  .footer-inner{grid-template-columns:1fr 1fr}
}
@media(max-width:650px){
  .container{width:min(var(--max),calc(100% - 32px))}
  .site-header,.header-inner{height:74px}
  .brand img{width:122px}
  .main-nav,.header-phone{display:none}
  .mobile-nav{display:block}
  .hero{height:570px}
  .hero-shade{background:linear-gradient(90deg,rgba(7,38,31,.88),rgba(7,38,31,.48))}
  .hero-copy{padding-top:20px}
  .hero h1{font-size:46px}
  .hero-lead{font-size:16px}
  .service-intro .section-label{padding-top:32px}
  .service-list{grid-template-columns:1fr}
  .service-list a,.service-list a:not(:first-child){border-right:0;border-top:1px solid var(--line);padding:19px 0}
  .service-list a:first-child{border-top:0}
  .section{padding:72px 0}
  .detail-image{height:280px}
  .statement{padding:72px 0}
  .statement-inner{gap:28px}
  .about-image{height:390px}
  .process-text{grid-template-columns:1fr;gap:24px}
  .footer-inner{grid-template-columns:1fr;gap:35px}
}
