/*
Theme Name: Dirk Roth GmbH Theme
Author: Dirk Roth GmbH
Description: Responsives individuelles Theme nach dem freigegebenen Entwurf. Funktionsverwaltung separat im Plugin Roth Betrieb.
Version: 1.0.11
Requires at least: 6.6
Requires PHP: 8.2
License: GPL-2.0-or-later
Text Domain: dirk-roth
*/
:root{--red:#e30313;--ink:#252528;--muted:#616169;--paper:#f6f6f5;--line:#e5e5e8;--max:1240px}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:white;font:17px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--red)}button,input,select,textarea{font:inherit}button,a,input,textarea,select{touch-action:manipulation}img{max-width:100%;height:auto;display:block}h1,h2,h3{line-height:1.1;letter-spacing:-.035em;margin:0 0 20px}h1{font-size:clamp(40px,5.5vw,76px)}h2{font-size:clamp(30px,3.1vw,44px)}h3{font-size:24px}p{margin:0 0 20px}.wrap{width:min(var(--max),calc(100% - 64px));margin:auto}.skip{position:fixed;top:-100px;left:20px;z-index:100;background:#fff;padding:15px}.skip:focus{top:10px}:focus-visible{outline:3px solid #125fc5;outline-offset:4px}.topbar{background:#373a40;color:#fff;font-size:13px;padding:6px 0}.topbar .wrap{display:flex;justify-content:space-between;gap:20px}.toplinks{display:flex;gap:24px}.site-header{background:#ffffffed;position:relative;z-index:5}.header-inner{display:flex;gap:36px;align-items:center;min-height:164px}.brand{flex:0 0 169px}.brand img{width:169px;height:135px;object-fit:contain}.navigation{margin-left:auto}.navigation ul{display:flex;list-style:none;gap:25px;margin:0;padding:0;align-items:center}.navigation li{position:relative}.navigation a{display:block;font-size:15px;padding:15px 0}.navigation .current-menu-item>a{border-bottom:2px solid var(--red)}.navigation ul ul{display:none;position:absolute;top:100%;left:0;min-width:220px;background:white;padding:15px;box-shadow:0 10px 35px #0002}.navigation li:hover>ul,.navigation li:focus-within>ul{display:block}.menu-toggle{display:none}.btn{display:inline-flex;align-items:center;justify-content:center;gap:20px;background:var(--red);color:white;border:1px solid var(--red);border-radius:2px;padding:14px 24px;font-weight:650;font-size:15px;min-height:48px;cursor:pointer}.btn:hover{color:#fff;background:#b6000d}.btn.outline{background:transparent;color:var(--ink);border-color:#68686d}.btn.outline:hover{background:#f0f0f0}.eyebrow{color:var(--red);text-transform:uppercase;font-size:13px;letter-spacing:.09em;margin-bottom:10px}.hero{position:relative;isolation:isolate;min-height:590px;background:var(--paper);overflow:hidden}.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:75% center;z-index:-3}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff 0%,#fffffff5 30%,#ffffffbb 52%,#ffffff05 85%);z-index:-2}.watermark{position:relative;isolation:isolate;overflow:hidden}.watermark:before{content:"";position:absolute;inset:0;background:url('assets/logo.svg') no-repeat 95% 45%;background-size:520px;opacity:.045;transform:rotate(-13deg);z-index:-1;pointer-events:none}.hero .wrap{padding:58px 0 50px}.hero-content{max-width:690px}.hero h1 span,h2 span{color:var(--red)}.hero .lead{font-size:22px;max-width:560px}.actions{display:flex;gap:20px;flex-wrap:wrap;margin:28px 0 42px}.trust{display:flex;gap:35px;font-size:14px;font-weight:550}.trust>div{display:flex;align-items:center;gap:13px;max-width:190px}.icon{font-size:36px;line-height:1;color:var(--red)}.section{padding:64px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}.section-head h2{margin:0}.text-link{font-size:13px;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.text-link:after{content:" →";color:var(--red);font-size:22px}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.card{border:1px solid var(--line);background:white;box-shadow:0 6px 20px #00000006;transition:transform .2s}.card:hover{transform:translateY(-3px)}.card img{width:100%;height:185px;object-fit:cover}.card-body{padding:25px}.card h3{font-size:21px}.card p{font-size:15px;color:var(--muted)}.card .arrow{text-align:right;color:var(--red);font-size:24px}.story{display:grid;grid-template-columns:1fr 1fr;background:var(--paper)}.story>img{width:100%;height:100%;min-height:380px;object-fit:cover}.story-copy{padding:55px clamp(30px,5vw,75px)}.project img{height:205px}.project figcaption{padding:14px 0;font-size:14px}.project{margin:0}.contact-strip{background:#303238;color:#fff;padding:32px 0}.contact-strip .wrap{display:flex;justify-content:space-between;align-items:center;gap:28px;flex-wrap:wrap}.contact-strip a{display:block}.contact-strip small{display:block;color:#ddd}.footer{padding:38px 0;font-size:14px;background:#fafafa}.footer .wrap{display:flex;justify-content:space-between;gap:25px;flex-wrap:wrap}.footer-links{display:flex;gap:20px;flex-wrap:wrap}.page-head{padding:64px 0;background:var(--paper)}.content{padding:55px 0;min-height:350px}.content .entry{max-width:900px}.entry h2{margin-top:35px}.entry a:not(.btn){text-decoration:underline;text-underline-offset:3px}.entry ul{padding-left:25px}.notice{border-left:4px solid var(--red);background:#fff4f4;padding:16px 20px;margin:24px 0;font-size:15px}.roth-form{max-width:850px;display:grid;grid-template-columns:1fr 1fr;gap:20px}.roth-form label{display:flex;flex-direction:column;gap:8px;font-weight:600;font-size:15px}.roth-form input,.roth-form select,.roth-form textarea{width:100%;padding:13px;border:1px solid #999;border-radius:2px;background:#fff;min-height:48px}.roth-form .full{grid-column:1/-1}.roth-form .checkbox{display:flex;flex-direction:row;align-items:flex-start;font-weight:400}.checkbox input{width:22px;min-height:22px;flex:none}.roth-honeypot{position:absolute;left:-9999px}.roth-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.roth-gallery figure{margin:0}.roth-gallery img{width:100%;height:220px;object-fit:cover}.roth-gallery figcaption{font-size:14px;margin:8px 0}.roth-table{width:100%;border-collapse:collapse}.roth-table th,.roth-table td{padding:12px;border-bottom:1px solid var(--line);text-align:left}.status{font-size:13px;color:var(--muted)}.pagination{margin-top:30px}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media(min-width:1600px){.hero{min-height:640px}}@media(max-width:1100px){.header-inner{gap:20px}.navigation ul{gap:16px}.header-cta{display:none}.grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:900px){.wrap{width:calc(100% - 36px)}.topbar .wrap>span,.toplinks a:last-child{display:none}.toplinks{width:100%;justify-content:space-between;gap:10px}.header-inner{min-height:120px;justify-content:space-between}.brand{flex-basis:120px}.brand img{width:120px;height:96px}.menu-toggle{display:block;margin-left:auto;background:white;border:1px solid #999;padding:10px 15px;min-height:48px}.navigation{display:none;position:absolute;top:100%;left:0;right:0;padding:20px;background:white;box-shadow:0 15px 20px #0001}.navigation.open{display:block}.navigation ul{display:block}.navigation ul ul{display:block;position:static;box-shadow:none;padding:0 0 0 20px}.hero{min-height:650px}.hero:after{background:linear-gradient(180deg,#fff 5%,#ffffffee 40%,#ffffff55 100%)}.hero-photo{object-position:65% center}.hero .wrap{padding:35px 0}.hero .lead{font-size:18px}.trust{gap:14px;flex-wrap:wrap}.trust>div{max-width:135px;font-size:12px}.icon{font-size:28px}.section{padding:42px 0}.section-head{align-items:start;flex-direction:column}.grid{gap:16px}.card-body{padding:18px}.card img{height:150px}.story{grid-template-columns:1fr}.story>img{height:280px;min-height:0}.story-copy{padding:35px 22px}.roth-gallery{grid-template-columns:repeat(2,1fr)}.roth-gallery img{height:170px}.watermark:before{background-size:380px}.page-head{padding:40px 0}}@media(max-width:420px){.grid{grid-template-columns:1fr}.actions .btn{width:100%}.roth-form{grid-template-columns:1fr}.roth-gallery{grid-template-columns:1fr}.trust{gap:18px}.topbar{font-size:11px}}

.appointment{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:15px}.roth-form fieldset{border:1px solid #ccc;padding:20px}.entry pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}@media(max-width:600px){.appointment{grid-template-columns:1fr}}

.reference-placeholder{height:205px;background:linear-gradient(140deg,#f0f0f1,#e1e1e4);color:#a6a6ad;display:flex;align-items:center;justify-content:center;gap:25px;border:1px solid #ddd}.reference-placeholder span{font-size:50px;font-weight:700;opacity:.45}.hero .roth-gallery{grid-template-columns:repeat(4,1fr)}.section>.wrap>.roth-gallery{grid-template-columns:repeat(4,1fr)}@media(max-width:1100px){.section>.wrap>.roth-gallery{grid-template-columns:repeat(2,1fr)}}@media(max-width:420px){.section>.wrap>.roth-gallery{grid-template-columns:1fr}}

/* Proportions and watermark visibility, editorial update. */
.brand{flex-basis:208px}.brand img{width:208px;height:166px}.header-inner{min-height:190px}.page-head.watermark:before{opacity:.095;background-position:92% 50%;background-size:440px}.page-head .wrap{position:relative;z-index:1}@media(max-width:900px){.brand{flex-basis:144px}.brand img{width:144px;height:115px}.header-inner{min-height:140px}.page-head.watermark:before{background-size:290px;background-position:115% 50%;opacity:.075}}
/* Subpages: editable copy, service cards and existing project photography. */
.page-head h1{max-width:850px;font-size:clamp(34px,4.4vw,62px)}
.entry:has(.roth-editorial){max-width:none}
.roth-editorial{width:100%}
.roth-intro{display:grid;grid-template-columns:1.15fr 1fr;gap:42px;align-items:center;margin-bottom:42px}
.roth-lead{font-size:21px;line-height:1.6}
.roth-editorial-photo{margin:0}
.roth-editorial-photo img{width:100%;height:320px;object-fit:cover;border-radius:2px}
.roth-detail-grid,.roth-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin:36px 0}
.roth-detail{padding:28px;background:var(--paper);border-top:3px solid var(--red)}
.entry .roth-detail h2{font-size:27px;margin-top:0;letter-spacing:-.02em}
.roth-detail p:last-child,.roth-detail ul:last-child{margin-bottom:0}
.roth-detail-grid>.roth-detail:last-child:nth-child(odd){grid-column:1/-1}
.roth-detail li{margin:7px 0}
.roth-process,.roth-related,.roth-history{margin:42px 0}
.roth-process ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 42px;padding-left:24px}
.roth-related{padding:26px 30px;border:1px solid var(--line)}
.entry .roth-related h2{margin-top:0;font-size:27px}
.roth-related ul{display:flex;gap:14px 30px;flex-wrap:wrap;margin:0;list-style:none;padding:0}
.roth-cta{background:var(--paper);padding:30px;border-left:4px solid var(--red);margin-top:40px}
.entry .roth-cta h2{margin-top:0;font-size:30px}
.roth-cta a{font-weight:650}
.roth-service-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:32px 0 46px}
.roth-service-card{border:1px solid var(--line);display:flex;flex-direction:column;position:relative;background:white}
.roth-service-card .roth-editorial-photo img{height:220px;border-radius:0}
.roth-card-copy{padding:24px;flex:1}
.roth-card-copy h2{margin:0 0 20px;font-size:24px;line-height:1.2;letter-spacing:-.025em}
.entry .roth-card-copy h2 a{text-decoration:none}
.roth-card-copy p{font-size:16px;color:var(--muted);margin-bottom:26px}
.roth-card-arrow{color:var(--red);display:block;text-align:right;font-size:24px}
.roth-history ol{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:0;padding:0}
.roth-history li{border-left:3px solid var(--red);padding:0 0 0 22px}
.roth-history strong{color:var(--red);font-size:25px}
.roth-history p{margin:6px 0 0}
@media(max-width:1100px){.roth-service-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.roth-intro,.roth-detail-grid,.roth-contact-grid,.roth-process ol,.roth-history ol{grid-template-columns:1fr}.roth-intro{gap:24px}.roth-lead{font-size:19px}.roth-editorial-photo img{height:260px}.roth-detail{padding:23px}.roth-detail-grid>.roth-detail:last-child:nth-child(odd){grid-column:auto}.roth-related,.roth-cta{padding:24px}.roth-service-cards{gap:18px}.roth-card-copy{padding:20px}}
@media(max-width:500px){.roth-service-cards{grid-template-columns:1fr}}

/* Keep the entire coloured logo visible within each title area. */
.page-head.watermark:before{inset:auto 5% auto auto;top:50%;width:30%;height:76%;background-position:center;background-size:contain;transform:translateY(-50%) rotate(-10deg)}@media(max-width:900px){.page-head.watermark:before{right:2%;width:42%;height:76%;background-position:center;background-size:contain}}
