/* ===== Lokale Webfonts (DSGVO-konform, kein Google-Server) ===== */

/* Roboto Slab */
@font-face{
  font-family:'Roboto Slab';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('assets/fonts/roboto-slab-v36-latin-700.woff2') format('woff2');
}
@font-face{
  font-family:'Roboto Slab';
  font-style:normal;
  font-weight:800;
  font-display:swap;
  src:url('assets/fonts/roboto-slab-v36-latin-800.woff2') format('woff2');
}

/* Source Sans 3 */
@font-face{
  font-family:'Source Sans 3';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('assets/fonts/source-sans-3-v19-latin-regular.woff2') format('woff2');
}
@font-face{
  font-family:'Source Sans 3';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('assets/fonts/source-sans-3-v19-latin-600.woff2') format('woff2');
}
@font-face{
  font-family:'Source Sans 3';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('assets/fonts/source-sans-3-v19-latin-700.woff2') format('woff2');
}

:root{
  --ink:#241E19;
  --ink-soft:#332B24;
  --paper:#F4EEDF;
  --paper-deep:#EAE1C8;
  --red:#B32127;
  --red-deep:#7A1418;
  --brass:#A9813E;
  --brass-light:#CDA85F;
  --line:#D8CBA5;
  --muted:#6B6050;
  --cream:#F8F3E6;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:"Source Sans 3","Segoe UI",Arial,sans-serif;
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3{
  font-family:"Roboto Slab",Georgia,serif;
  font-weight:800;
  line-height:1.14;
  margin:0;
  letter-spacing:-0.01em;
}
p{margin:0;}
a{color:inherit;}
img{max-width:100%;display:block;}
svg{display:block;}
.wrap{max-width:1120px;margin:0 auto;padding:0 28px;}
a:focus-visible, button:focus-visible, summary:focus-visible{outline:3px solid var(--brass-light);outline-offset:2px;}

/* subtle paper grain, applied once site-wide */
body::before{
  content:"";
  position:fixed;inset:0;
  pointer-events:none;
  z-index:200;
  opacity:0.05;
  mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Barrierefreiheit ---------- */
address{font-style:normal;}

/* ---------- Header ---------- */
header{
  background:var(--ink);
  border-bottom:3px solid var(--brass);
}
.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:14px 0;
}
.brand{display:flex;align-items:center;gap:12px;}
/* .brand-mark{width:44px;height:44px;border-radius:50%;background:var(--cream);border:2px solid var(--brass);display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0;} */
.brand-mark img{width:100px;height:auto;display:block;}
.brand-word{display:flex;flex-direction:column;line-height:1;gap:3px;}
.brand-script{display:block;height:23px;width:auto;max-width:none;align-self:flex-start;}
.brand-name{font-family:"Roboto Slab",serif;color:#fff;font-weight:800;font-size:11px;letter-spacing:0.1em;text-transform:uppercase;}
nav.main-nav{display:flex;align-items:center;gap:30px;}
nav.main-nav a{
  font-size:15px;
  font-weight:600;
  text-decoration:none;
  color:var(--cream);
  padding:6px 2px;
  border-bottom:2px solid transparent;
}
nav.main-nav a:hover{border-bottom-color:var(--brass-light);color:#fff;}
.call-badge{display:flex;flex-direction:column;align-items:center;line-height:1.25;text-align:center;}
.call-badge span{font-size:18.5px;color:var(--brass-light);text-align: center;}
.call-badge a{font-family:"Roboto Slab",serif;font-weight:700;font-size:18px;color:#fff;text-decoration:none;}
.call-badge a:hover{color:var(--brass-light);}
.nav-toggle{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}
.nav-toggle-label{display:none;}

/* ---------- Hero ---------- */
.hero{
  background:var(--ink);
  color:var(--cream);
  padding:60px 0 54px;
  position:relative;
}
.hero .wrap{
  display:grid;
  grid-template-columns:1.2fr 0.8fr;
  gap:48px;
  align-items:center;
}
.hero-eyebrow{
  font-size:14.5px;
  color:var(--brass-light);
  font-weight:600;
  letter-spacing:0.02em;
  margin-bottom:16px;
}
.hero h1{font-size:clamp(32px,4.4vw,50px);color:#fff;max-width:14ch;}
.hero-lead{margin-top:20px;max-width:46ch;font-size:17.5px;color:#D9CFB5;}
.hero-cta{margin-top:30px;display:flex;flex-wrap:wrap;gap:16px;align-items:center;}
.btn{display:inline-block;font-family:"Roboto Slab",serif;font-weight:700;font-size:16px;text-decoration:none;padding:14px 26px;}
.btn-primary{background:var(--red);color:#fff;}
.btn-primary:hover{background:var(--red-deep);}
.btn-ghost{color:var(--cream);border:1px solid var(--brass);padding:13px 24px;}
.btn-ghost:hover{background:rgba(169,129,62,0.15);}

.seal-wrap{justify-self:end;}
.seal{width:500px;height:auto;}
.seal text{font-family:"Roboto Slab",serif;}

/* ---------- Sections ---------- */
section{padding:70px 0;}
.section-head{margin-bottom:40px;max-width:60ch;}
.section-kicker{font-size:14px;color:var(--brass);font-weight:700;margin-bottom:8px;}
.section-head h2{font-size:clamp(26px,3vw,34px);}
.section-head p{color:var(--muted);font-size:16px;margin-top:12px;}
section.dark{background:var(--ink);color:var(--cream);}
section.dark .section-head p{color:#C9BE9E;}
.rule{height:1px;background:var(--line);border:none;margin:0;}
section.dark .rule{background:#4A4037;}

/* ---------- Leistungen (Tafel-Raster) ---------- */
.board{
  border:1px solid var(--line);
  background:var(--cream);
}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);}
.service-cell{
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  display:flex;
  flex-direction:column;
}
.service-grid .service-cell:nth-child(3n){border-right:none;}
.service-photo{position:relative;height:150px;overflow:hidden;background:var(--ink);}
.service-photo img{width:100%;height:100%;object-fit:cover;filter:saturate(0.92) contrast(1.04);}
.service-icon-badge{
  position:absolute;
  bottom:-17px;left:20px;
  width:38px;height:38px;
  background:var(--ink);
  border:2px solid var(--brass);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
}
.service-icon-badge svg{width:18px;height:18px;stroke:var(--brass-light);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.service-body{padding:29px 24px 24px;flex:1;}
.service-cell h3{font-size:16.5px;font-weight:700;font-family:"Roboto Slab",serif;margin-bottom:6px;}
.service-cell p{color:var(--muted);font-size:14.5px;}

/* ---------- Referenzen ---------- */
.ref-feature-photo{margin-bottom:40px;border-bottom:1px solid #4A4037;padding-bottom:40px;}
.ref-feature-photo img{width:100%;height:auto;filter:saturate(0.95) contrast(1.03);}

.ref-list{display:grid;grid-template-columns:repeat(2,1fr);gap:2px;background:#4A4037;}
.ref-photo{overflow:hidden;aspect-ratio:16/10;}
.ref-photo img{width:100%;height:100%;object-fit:cover;filter:saturate(0.95) contrast(1.03);}

/* ---------- Über uns / Zertifikat ---------- */
.about-grid{display:grid;grid-template-columns:1.1fr 0.9fr;gap:52px;align-items:start;}
.about-grid p + p{margin-top:16px;}
.about-grid p{color:#3F372D;}
.cert{
  border:2px solid var(--brass);
  padding:6px;
}
.cert-inner{border:1px solid var(--brass);padding:28px 26px;}
.cert-title{font-family:"Roboto Slab",serif;font-weight:700;font-size:14px;color:var(--brass);text-align:center;margin-bottom:18px;}
.cert-row{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid var(--line);font-size:14.5px;}
.cert-row:first-of-type{border-top:none;}
.cert-row span:first-child{color:var(--muted);}
.cert-row span:last-child{font-weight:600;text-align:right;}

/* ---------- Kontakt ---------- */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:52px;}
.contact-block h3{font-size:20px;margin-bottom:16px;color:#fff;font-family:"Roboto Slab",serif;}
.contact-line{display:flex;gap:14px;padding:14px 0;border-top:1px solid #4A4037;font-size:15.5px;}
.contact-line:last-child{border-bottom:1px solid #4A4037;}
.contact-line span:first-child{color:#B9AF92;min-width:80px;}
.contact-line a{text-decoration:none;font-weight:600;color:#fff;}
.contact-line a:hover{color:var(--brass-light);}
.contact-line span:last-child{color:#EFE9D6;}

.emergency-plate{background:var(--red);color:#fff;padding:30px 32px;border:1px solid var(--red-deep);}
.emergency-plate .cap{font-family:"Roboto Slab",serif;font-weight:700;font-size:14.5px;color:#F3C9CB;}
.emergency-plate .big{font-family:"Roboto Slab",serif;font-weight:800;font-size:25px;margin:8px 0 12px;}
.emergency-plate p{font-size:15px;color:#F6DADB;max-width:38ch;}
.emergency-plate a.tel{display:inline-block;margin-top:16px;color:#fff;font-family:"Roboto Slab",serif;font-weight:700;border-bottom:2px solid rgba(255,255,255,0.6);text-decoration:none;padding-bottom:2px;}

/* ---------- Footer ---------- */
footer{background:#1A1511;color:#B9AF92;padding:50px 0 26px;border-top:3px solid var(--brass);}
footer .foot-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:40px;padding-bottom:32px;border-bottom:1px solid #3A3129;}
footer h2{font-family:"Roboto Slab",serif;color:#EFE9D6;font-size:15px;font-weight:700;margin-bottom:14px;}
.foot-brand-row{display:flex;align-items:center;gap:10px;margin-bottom:14px;}
.brand-mark--footer{width:38px;height:38px;}
.brand-mark--footer img{width:40px;}
.foot-brand-row .brand-script{height:20px;}
.foot-brand-row .brand-name{color:#EFE9D6;}
footer p, footer a{font-size:14.5px;color:#B9AF92;}
footer a{text-decoration:none;}
footer a:hover{color:var(--brass-light);}
footer ul{list-style:none;margin:0;padding:0;}
footer li{margin-bottom:9px;}
.legal-row{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-top:20px;font-size:13px;color:#8A8067;}
.legal-row a{color:#8A8067;font-size:13px;}
.legal-link{display:inline-block;margin:4px 0 14px;}

/* ---------- Responsive ---------- */
@media (max-width:860px){
  .hero .wrap{grid-template-columns:1fr;}
  .seal-wrap{justify-self:start;order:-1;}
  .seal{width:120px;height:120px;}
  .service-grid{grid-template-columns:repeat(2,1fr);}
  .service-grid .service-cell:nth-child(3n){border-right:1px solid var(--line);}
  .service-grid .service-cell:nth-child(2n){border-right:none;}
  .ref-feature-photo{padding-bottom:28px;margin-bottom:28px;}
  .ref-list{grid-template-columns:1fr;}
  .about-grid{grid-template-columns:1fr;}
  .contact-grid{grid-template-columns:1fr;}
  footer .foot-grid{grid-template-columns:1fr;gap:28px;}
}
@media (max-width:640px){
  .service-grid{grid-template-columns:1fr;}
  .service-grid .service-cell{border-right:none !important;}
}
@media (max-width:720px){
  .brand{gap:8px;}
  .brand-mark{width:36px;height:36px;}
  .brand-mark img{width:26px;}
  .brand-script{height:19px;}
  .brand-name{font-size:9.5px;}
  nav.main-nav{
    position:fixed;inset:62px 0 0 0;
    background:var(--ink);
    flex-direction:column;align-items:flex-start;
    padding:20px 28px;gap:4px;
    transform:translateX(100%);
    visibility:hidden;
    transition:transform .25s ease, visibility .25s;
    overflow-y:auto;
  }
  nav.main-nav a{width:100%;padding:14px 0;border-bottom:1px solid #4A4037;}
  .nav-toggle:checked ~ nav.main-nav{transform:translateX(0);visibility:visible;}
  .nav-toggle:focus-visible + .nav-toggle-label{outline:3px solid var(--brass-light);outline-offset:4px;}
  .nav-toggle-label{display:block;width:26px;height:20px;position:relative;cursor:pointer;}
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after{
    content:"";position:absolute;left:0;width:100%;height:2px;background:#fff;transition:transform .2s ease;
  }
  .nav-toggle-label span{top:9px;}
  .nav-toggle-label span::before{top:-8px;}
  .nav-toggle-label span::after{top:8px;}
  .call-badge{display:none;}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto;}*{transition:none !important;}}

/* ehemals Inline-Styles (Referenzen, Kontakt) */
section.dark .section-kicker{color:#CDA85F;}
section.dark .section-head h2{color:#fff;}

/* ---------- Impressum-Seite ---------- */
.legal-page .section-head h1{font-size:clamp(28px,3.4vw,40px);}
.legal-page .legal-copy{max-width:70ch;font-size:16px;line-height:1.7;color:#3F372D;}
.legal-page .legal-copy h2{font-size:clamp(22px,2.6vw,28px);margin:56px 0 4px;padding-bottom:12px;border-bottom:1px solid var(--line);}
.legal-page .legal-copy h2:first-child{margin-top:0;}
.legal-page .legal-copy h3{font-size:17px;font-weight:700;margin:30px 0 8px;}
.legal-page .legal-copy p + p{margin-top:12px;}
.legal-page .legal-copy ul{margin:12px 0;padding-left:22px;}
.legal-page .legal-copy li{margin-bottom:4px;}
.legal-page .legal-copy a{color:var(--red);text-decoration:none;word-break:break-word;}
.legal-page .legal-copy a:hover{color:var(--red-deep);text-decoration:underline;}
.legal-back{display:inline-block;margin-top:40px;font-family:"Roboto Slab",serif;font-weight:700;text-decoration:none;color:var(--red);}
.legal-back:hover{color:var(--red-deep);}
