/* ===========================================================
   Lackiertechnik Stein GmbH — Stylesheet
   Palette: Anthrazit #1c1d20, Off-White #f3f1ec, Lackrot #b8312f,
            Chromgrau #8a8d91, Tiefschwarz #101113
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --ink:        #1c1d20;
  --ink-deep:   #101113;
  --paper:      #f3f1ec;
  --paper-dim:  #e8e4db;
  --red:        #b8312f;
  --red-dark:   #8f2422;
  --chrome:     #8a8d91;
  --chrome-light: #c8cacd;
  --line: rgba(28,29,32,0.12);

  --display: 'Oswald', sans-serif;
  --body: 'Inter', sans-serif;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  padding-top: 84px; /* fixed header height */
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }

h1,h2,h3,h4{
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1{ font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.04; letter-spacing: 0; }
h2{ font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.1; }
h3{ font-size: 1.25rem; }
p{ margin: 0 0 1em; color: #34343a; }

.eyebrow{
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 0.9em;
}
.eyebrow::before{
  content:"";
  width: 28px; height: 2px;
  background: var(--red);
  display:inline-block;
}

.wrap{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

:focus-visible{
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* ---------- Lackstreifen — signature divider ---------- */
.lackstreifen{
  height: 10px;
  width: 100%;
  background: linear-gradient(90deg,
    var(--ink) 0%, var(--ink) 14%,
    var(--chrome) 14%, var(--chrome) 17%,
    var(--paper-dim) 17%, var(--paper-dim) 38%,
    var(--red) 38%, var(--red) 45%,
    var(--ink-deep) 45%, var(--ink-deep) 62%,
    var(--chrome-light) 62%, var(--chrome-light) 67%,
    var(--ink) 67%, var(--ink) 84%,
    var(--red-dark) 84%, var(--red-dark) 100%);
}

/* ---------- Header / Nav ---------- */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index: 8003;
  background: var(--ink);
  border-bottom: 3px solid var(--red);
}
.nav-row{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  height: 84px;
}
.brand{
  display:flex; align-items:center; gap: 14px;
  color: var(--paper);
}
.brand img{ height: 56px; width: 56px; border-radius: 50%; }
.brand-text{
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
.brand-text small{
  display:block;
  font-family: var(--body);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--chrome-light);
  text-transform: uppercase;
  margin-top: 3px;
}
.main-nav{ display:flex; align-items:center; gap: 2px; }
.main-nav a{
  font-family: var(--display);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chrome-light);
  padding: 10px 16px;
  border-radius: 2px;
  transition: color .15s ease, background .15s ease;
}
.main-nav a:hover{ color: var(--paper); background: rgba(255,255,255,0.06); }
.main-nav a.active{ color: var(--paper); }
.main-nav a.active{ position:relative; }
.main-nav a.active::after{
  content:"";
  position:absolute; left:16px; right:16px; bottom:4px;
  height:2px; background: var(--red);
}
.nav-cta{
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff !important;
  padding: 11px 20px;
  border-radius: 2px;
  margin-left: 10px;
  transition: background .15s ease;
}
.nav-cta:hover{ background: var(--red-dark); }



/* ---------- Footer ---------- */
.site-footer{
  background: var(--ink-deep);
  color: var(--chrome-light);
  padding: 56px 0 28px;
  margin-top: 100px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}
.footer-grid h4{ color: var(--paper); font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-grid p, .footer-grid a{ color: var(--chrome-light); font-size: 0.92rem; }
.footer-grid a:hover{ color: var(--paper); }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom: 14px; }
.footer-brand img{ height:44px; width:44px; border-radius:50%; }
.footer-brand span{ font-family: var(--display); color: var(--paper); font-size: 1.05rem; }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display:flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.8rem; color: var(--chrome);
}
.footer-bottom a{ color: var(--chrome); }
.footer-bottom a:hover{ color: var(--paper); }
ul.foot-list{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:9px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family: var(--display);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 2px;
  border: 2px solid transparent;
  transition: all .15s ease;
  cursor:pointer;
}
.btn-primary{ background: var(--red); color:#fff; }
.btn-primary:hover{ background: var(--red-dark); }
.btn-ghost{ border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover{ background: var(--ink); color: var(--paper); }
.btn-ghost-light{ border-color: rgba(255,255,255,0.5); color:#fff; }
.btn-ghost-light:hover{ background: rgba(255,255,255,0.12); border-color:#fff; }

/* ---------- Hero (home) ---------- */
.hero{
  position: relative;
  min-height: calc(86vh - 84px);
  display:flex; align-items:flex-end;
  background: var(--ink-deep);
  overflow:hidden;
}
.hero-img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
  opacity: 0.62;
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(16,17,19,0.25) 0%, rgba(16,17,19,0.55) 55%, rgba(16,17,19,0.96) 100%);
}
.hero-content{
  position:relative; z-index:2;
  padding: 80px 28px 64px;
  max-width: 1180px;
  margin: 0 auto;
  width:100%;
  color:#fff;
}
.hero-content .eyebrow{ color: var(--chrome-light); }
.hero-content .eyebrow::before{ background: var(--red); }
.hero h1{ color:#fff; max-width: 16ch; }
.hero-sub{
  font-size: 1.15rem;
  color: var(--chrome-light);
  max-width: 46ch;
  margin: 18px 0 36px;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }
.hero-stats{
  position:relative; z-index:2;
  border-top: 1px solid rgba(255,255,255,0.14);
  background: rgba(16,17,19,0.85);
}
.hero-stats .wrap{
  display:grid; grid-template-columns: repeat(4,1fr);
  padding: 26px 28px;
  gap: 20px;
}
.hero-stat b{
  display:block; font-family: var(--display); font-size: 1.7rem; color:#fff;
}
.hero-stat span{
  font-size: 0.78rem; letter-spacing:0.05em; color: var(--chrome-light);
  text-transform: uppercase;
}

/* ---------- Sections generic ---------- */
section{ padding: 96px 0; }
section.tight{ padding: 64px 0; }
.section-head{ max-width: 640px; margin-bottom: 52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head.center .eyebrow{ justify-content:center; }
.section-head.center .eyebrow::before{ display:none; }

.bg-ink{ background: var(--ink); color: var(--paper); }
.bg-ink h2, .bg-ink h3{ color: var(--paper); }
.bg-ink p{ color: var(--chrome-light); }
.bg-dim{ background: var(--paper-dim); }

/* ---------- Service cards ---------- */
.service-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card{
  background: var(--paper);
  padding: 36px 30px;
  transition: background .15s ease;
}
.service-card:hover{ background:#fff; }
.service-card .num{
  font-family: var(--display);
  color: var(--chrome);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
.service-card h3{ margin: 14px 0 10px; }
.service-card p{ font-size: 0.95rem; margin:0; }

/* ---------- Process strip ---------- */
.process{
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap: 28px;
}
.process-step{ position:relative; padding-top: 18px; border-top: 2px solid var(--ink); }
.process-step b{
  font-family: var(--display); font-size: 0.85rem; color: var(--red); letter-spacing: 0.08em;
}
.process-step h3{ margin: 10px 0 8px; font-size: 1.05rem; }
.process-step p{ font-size: 0.92rem; }

/* ---------- Quote / testimonial ---------- */
.quote-block{
  border-left: 4px solid var(--red);
  padding-left: 28px;
  max-width: 760px;
}
.quote-block p{
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}
.bg-ink .quote-block p{ color: #fff; }
.bg-ink .quote-block cite{ color: var(--chrome-light); }
.quote-block cite{ font-style:normal; font-size: 0.9rem; color: var(--chrome); }

/* ---------- Two col layout ---------- */
.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col img{ width:100%; height:100%; object-fit:cover; }

/* ---------- People / team ---------- */
.team-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card{
  background:#fff;
  border: 1px solid var(--line);
}
.team-photo{
  height: 230px;
  background: linear-gradient(135deg, var(--ink) 0%, #2c2d31 100%);
  display:flex; align-items:center; justify-content:center;
  position: relative;
  overflow:hidden;
}
.team-photo .initial{
  font-family: var(--display);
  font-size: 4.5rem;
  color: rgba(255,255,255,0.18);
}
.team-photo::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0; height:5px;
  background: var(--red);
}
.team-info{ padding: 24px 26px 28px; }
.team-info .role{
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
  display:block;
}
.team-info h3{ margin-bottom: 10px; }
.team-info p{ font-size: 0.92rem; margin:0; }

/* ---------- Timeline (Über uns) ---------- */
.timeline{ position:relative; padding-left: 36px; }
.timeline::before{
  content:""; position:absolute; left:7px; top:6px; bottom:6px; width:2px;
  background: var(--line);
}
.timeline-item{ position:relative; padding-bottom: 40px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{
  content:""; position:absolute; left:-36px; top:4px;
  width:16px; height:16px; border-radius:50%;
  background: var(--paper); border:3px solid var(--red);
}
.timeline-item b{
  font-family: var(--display); color: var(--red); font-size: 0.95rem; letter-spacing: 0.05em;
}
.timeline-item h3{ margin: 6px 0 8px; font-size: 1.1rem; }
.timeline-item p{ margin:0; font-size: 0.95rem; }

/* ---------- Value list ---------- */
.value-list{ display:grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; }
.value-item{ display:flex; gap: 16px; }
.value-item .mark{
  flex: none;
  width: 34px; height: 34px;
  border: 2px solid var(--red);
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--display); color: var(--red); font-size: 0.95rem;
}
.value-item h3{ font-size: 1.02rem; margin-bottom:4px; }
.value-item p{ font-size: 0.92rem; margin:0; }

/* ---------- Contact page ---------- */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}
.contact-info{ background:#fff; padding: 56px 48px; }
.contact-map{ min-height: 100%; background: var(--paper-dim); }
.contact-map iframe{ width:100%; height:100%; min-height: 460px; border:0; display:block; }
.contact-item{ display:flex; gap:18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child{ border-bottom:none; }
.contact-item .ic{
  flex:none; width: 44px; height:44px; border-radius:50%;
  background: var(--ink); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--display); font-size: 1rem;
}
.contact-item h3{ font-size: 1rem; margin-bottom: 4px; }
.contact-item p, .contact-item a{ font-size: 0.95rem; margin:0; }
.contact-item a:hover{ color: var(--red); }
.hours-table{ width:100%; border-collapse: collapse; margin-top:8px; }
.hours-table td{ padding: 5px 0; font-size: 0.92rem; }
.hours-table td:last-child{ text-align:right; font-weight:600; }

/* ---------- CTA band ---------- */
.cta-band{
  background: var(--ink);
  color:#fff;
  padding: 64px 0;
  text-align:center;
}
.cta-band h2{ color:#fff; margin-bottom: 14px; }
.cta-band p{ color: var(--chrome-light); margin-bottom: 30px; }
.cta-actions{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  background: var(--ink-deep);
  color:#fff;
  padding: 64px 0 56px;
  position: relative;
}
.page-hero .wrap{ position:relative; z-index:1; }
.page-hero h1{ color:#fff; max-width: 22ch; }
.page-hero p{ color: var(--chrome-light); max-width: 56ch; font-size: 1.05rem; margin-top: 14px; }
.breadcrumb{
  font-size: 0.82rem; color: var(--chrome-light); letter-spacing:0.03em;
  margin-bottom: 18px;
}
.breadcrumb a:hover{ color: var(--red); }

/* ---------- Google Reviews ---------- */
.review-summary{
  display:flex; align-items:center; gap: 22px; flex-wrap: wrap;
  margin-bottom: 44px;
}
.review-score{
  font-family: var(--display);
  font-size: 3.2rem;
  color: var(--ink);
  line-height: 1;
}
.review-stars{ color: #f0a500; font-size: 1.3rem; letter-spacing: 2px; line-height:1; margin: 6px 0; }
.review-meta{ font-size: 0.88rem; color: var(--chrome); }
.review-meta a{ color: var(--red); }
.review-meta a:hover{ text-decoration: underline; }
.review-divider{ width:1px; align-self:stretch; background: var(--line); }

.review-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.review-card{
  background:#fff;
  padding: 30px 32px;
  display:flex; flex-direction: column;
}
.review-card .review-stars{ font-size: 1rem; margin-bottom: 14px; }
.review-card p{
  font-size: 0.96rem;
  color: #34343a;
  flex: 1;
  margin-bottom: 18px;
}
.review-card footer{
  display:flex; align-items:center; justify-content: space-between;
  font-size: 0.85rem; color: var(--chrome);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.review-card footer b{ color: var(--ink); font-weight: 600; }
.review-reply{
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--paper-dim);
  border-left: 3px solid var(--red);
  font-size: 0.86rem;
}
.review-reply b{ display:block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--red); margin-bottom: 4px; }
.review-reply p{ margin:0; color: #4a4a4f; }

.google-badge{
  display:inline-flex; align-items:center; gap:10px;
  background:#fff; border: 1px solid var(--line);
  padding: 9px 16px;
  font-size: 0.85rem;
  border-radius: 2px;
}
.google-badge svg{ flex:none; }
.google-badge b{ color: var(--ink); }
.google-badge .stars-mini{ color:#f0a500; font-size: 0.85rem; letter-spacing:1px; }

/* ---------- Before / After slider ---------- */
/* ---------- Before / After slider — pointer events version ---------- */
.ba-wrap{
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  user-select: none;
  touch-action: pan-y;
  cursor: col-resize;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.45);
}
.ba-img-back,
.ba-img-front{
  position: absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
  -webkit-user-drag: none;
}
.ba-clip{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* clip-path controlled by JS */
  clip-path: inset(0 50% 0 0);
  will-change: clip-path;
}
.ba-clip .ba-img-front{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba-divider{
  position: absolute;
  top:0; bottom:0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
  z-index: 3;
  pointer-events: none;
  will-change: left;
}
.ba-btn{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--red);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  display: flex; align-items:center; justify-content:center;
  transition: transform .1s ease, box-shadow .1s ease;
}
.ba-wrap:active .ba-btn,
.ba-wrap.dragging .ba-btn{
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
.ba-label{
  position:absolute; top:16px; z-index:4;
  font-family: var(--display); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(16,17,19,0.75); color:#fff; padding: 6px 12px; border-radius: 2px;
  pointer-events: none;
}
.ba-label.before{ left:16px; }
.ba-label.after{ right:16px; }

.ba-caption{ text-align:center; margin-top: 22px; }
.ba-caption p{ font-size: 0.92rem; color: var(--chrome); margin:0; }

/* ---------- Careers / job teaser ---------- */
.job-card{
  background: var(--ink-deep);
  color:#fff;
  padding: 48px;
  border-radius: 2px;
  position: relative;
  overflow:hidden;
}
.job-card::before{
  content:""; position:absolute; top:0; left:0; right:0; height:6px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 30%, var(--chrome-light) 30%, var(--chrome-light) 38%, var(--ink) 38%, var(--ink) 100%);
}
.job-card h2{ color:#fff; }
.job-card .role-tag{
  display:inline-block; font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--red); border: 1px solid var(--red); padding: 5px 12px; border-radius: 20px;
  margin-bottom: 16px;
}
.job-cols{ display:grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; margin: 28px 0 34px; }
.job-cols h4{ color:#fff; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; color: var(--chrome-light); }
.job-cols ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap: 10px; }
.job-cols li{ font-size: 0.92rem; color: var(--chrome-light); display:flex; gap:10px; }
.job-cols li::before{ content:"—"; color: var(--red); flex:none; }

/* ---------- responsive ---------- */
@media (max-width: 980px){
  .footer-grid{ grid-template-columns: 1fr; gap: 30px; }
  .service-grid{ grid-template-columns: 1fr 1fr; }
  .process{ grid-template-columns: 1fr 1fr; }
  .two-col{ grid-template-columns: 1fr; gap: 36px; }
  .team-grid{ grid-template-columns: 1fr; }
  .value-list{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .hero-stats .wrap{ grid-template-columns: 1fr 1fr; }
  .review-grid{ grid-template-columns: 1fr; }
  .job-cols{ grid-template-columns: 1fr; gap: 24px; }
  .job-card{ padding: 32px 26px; }
}
@media (max-width: 600px){
  .service-grid{ grid-template-columns: 1fr; }
  .process{ grid-template-columns: 1fr; }
  section{ padding: 64px 0; }
}

.nav-social{
  display:inline-flex; align-items:center; justify-content:center;
  width: 38px; height: 38px;
  border-radius: 50%;
  color: var(--chrome-light);
  border: 1px solid rgba(255,255,255,0.18);
  margin-left: 6px;
  transition: all .15s ease;
}
.nav-social:hover{ color:#fff; border-color: var(--red); background: rgba(184,49,47,0.15); }
.nav-social svg{ width:18px; height:18px; display:block; }
/* Override .main-nav a padding/font which crush the circle */
.main-nav a.nav-social{
  padding: 0;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0;
  flex: none;
}
.main-nav a.nav-social svg{
  width: 18px;
  height: 18px;
  stroke: var(--chrome-light);
  fill: none;
}
.main-nav a.nav-social:hover svg{
  stroke: #fff;
}

.footer-social{ display:flex; gap:12px; margin-top: 18px; }
.footer-social a{
  display:inline-flex; align-items:center; justify-content:center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--chrome-light);
  transition: all .15s ease;
}
.footer-social a:hover{ color:#fff; border-color: var(--red); background: rgba(184,49,47,0.15); }
.footer-social svg{ width:18px; height:18px; }

/* ---------- Legal page (Impressum) ---------- */
.legal{ max-width: 760px; }
.legal h2{ margin-top: 2.2em; font-size: 1.3rem; }
.legal h2:first-child{ margin-top:0; }
.legal p, .legal li{ font-size: 0.96rem; color: #34343a; }
.legal ul{ padding-left: 1.2em; }
.legal a{ color: var(--red); }
.legal a:hover{ text-decoration: underline; }

/* ═══════════════════════════════════════════
   PROFESSIONAL ENHANCEMENTS
   ═══════════════════════════════════════════ */

/* ── Nav scroll state ── */
.site-header{ transition: box-shadow .2s ease, background .2s ease; }
.site-header.scrolled{
  background: rgba(16,17,19,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 24px rgba(0,0,0,0.35);
}

/* ── Scroll animations ── */
[data-anim]{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-anim="left"]  { transform: translateX(-28px); }
[data-anim="right"] { transform: translateX(28px); }
[data-anim="scale"] { transform: scale(0.96); }
[data-anim].anim-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){
  [data-anim]{ opacity:1; transform:none; transition:none; }
}

/* ── WhatsApp floating button ── */
.wa-float{
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: fixed;
  bottom: 90px;
  right: 22px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.45), 0 2px 6px rgba(0,0,0,0.2);
  transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none;
  /* iOS Safari: force own compositing layer so the button doesn't
     visually lag/drag during momentum scroll ("jump" bug on fixed elements) */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}
.wa-float:hover{
  transform: translateZ(0) scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,0.55), 0 2px 8px rgba(0,0,0,0.25);
}
.wa-float svg{ width:28px; height:28px; }
.wa-float .wa-tooltip{
  position: absolute;
  right: 66px;
  white-space: nowrap;
  background: var(--ink);
  color:#fff;
  font-family: var(--body);
  font-size: 0.82rem;
  padding: 7px 13px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .15s ease, transform .15s ease;
}
.wa-float .wa-tooltip::after{
  content:"";
  position:absolute; right:-6px; top:50%; transform:translateY(-50%);
  border:6px solid transparent;
  border-right:none;
  border-left-color: var(--ink);
}
.wa-float:hover .wa-tooltip{ opacity:1; transform:translateX(0); }

/* ── Scroll to top ── */
#toTop{
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 200;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateZ(0) translateY(10px);
  -webkit-transform: translateZ(0) translateY(10px);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform, opacity;
  transition: opacity .2s ease, transform .2s ease, background .15s ease;
  pointer-events: none;
}
#toTop.visible{ opacity: 1; transform: translateZ(0) translateY(0); pointer-events: auto; }
#toTop:hover{ background: var(--red); }
#toTop svg{ width:18px; height:18px; }


@media (max-width: 780px){
  .wa-float{ bottom: 22px; right: 16px; }
  #toTop{ bottom: 22px; right: 72px; }
}

/* ── FAQ accordion ── */
.faq-list{ max-width: 820px; }
.faq-item{
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child{ border-top: 1px solid var(--line); }
.faq-q{
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  text-align: left;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  transition: color .15s ease;
}
.faq-q:hover{ color: var(--red); }
.faq-icon{
  flex: none;
  width: 26px; height: 26px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease, background .15s ease, color .15s ease;
}
.faq-icon svg{ width:12px; height:12px; }
.faq-item.open .faq-q{ color: var(--red); }
.faq-item.open .faq-icon{ background: var(--red); border-color: var(--red); color:#fff; transform: rotate(45deg); }
.faq-a{
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-a-inner{
  padding: 0 0 24px;
  font-size: 0.96rem;
  color: #34343a;
  line-height: 1.7;
  max-width: 680px;
}

/* ── Open Graph / share preview (SEO, no visual change) ── */

/* ── Refined service card hover ── */
.service-card{
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
  position: relative;
}
.service-card::after{
  content:"";
  position:absolute; bottom:0; left:0; right:0;
  height:2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.service-card:hover{ background:#fff; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transform: translateY(-1px); }
.service-card:hover::after{ transform: scaleX(1); }

/* ── Review card hover ── */
.review-card{ transition: box-shadow .15s ease; }
.review-card:hover{ box-shadow: 0 4px 20px rgba(0,0,0,0.07); }

/* ── Team card hover ── */
.team-card{
  transition: box-shadow .15s ease, transform .15s ease;
}
.team-card:hover{
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

/* ── Process step line decoration ── */
.process-step::after{
  content:attr(data-num);
  position:absolute; right:0; top:18px;
  font-family: var(--display);
  font-size: 4rem;
  color: rgba(28,29,32,0.04);
  line-height:1;
  pointer-events:none;
}

/* ── Link underline animations in nav footer ── */
.footer-grid a{
  position: relative;
  display: inline-block;
}
.footer-grid a::after{
  content:"";
  position:absolute; bottom:-1px; left:0; right:0;
  height:1px; background: var(--paper);
  transform: scaleX(0); transform-origin:left;
  transition: transform .15s ease;
}
.footer-grid a:hover::after{ transform: scaleX(1); }

/* ── Lazy image fade-in ── */
img[loading="lazy"]{ transition: opacity .4s ease; }
img[loading="lazy"]:not([src]),.lazy-hidden{ opacity:0; }


/* ═══════════════════════════════════════
   BEWERTUNGEN / TRUST PAGE
   ═══════════════════════════════════════ */

/* ── Trust hero bar ── */
.trust-hero{
  background: var(--ink-deep);
  color:#fff;
  padding: 72px 0 60px;
  text-align: center;
  position: relative;
  overflow:hidden;
}
.trust-hero::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(ellipse 800px 400px at 50% 120%, rgba(184,49,47,0.12) 0%, transparent 70%);
  pointer-events:none;
}
.trust-score-wrap{
  display:inline-flex; align-items:center; gap: 28px; flex-wrap:wrap; justify-content:center;
  margin: 32px 0 20px;
}
.trust-score-big{
  font-family: var(--display);
  font-size: 5.5rem;
  line-height: 1;
  color:#fff;
  letter-spacing:-0.02em;
}
.trust-score-meta{ text-align:left; }
.trust-stars-big{ font-size: 1.8rem; color: #f0a500; letter-spacing:3px; line-height:1; }
.trust-score-meta p{ color: var(--chrome-light); font-size: 0.9rem; margin: 6px 0 14px; }
.trust-platform-badge{
  display:inline-flex; align-items:center; gap:8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 30px;
  padding: 7px 16px;
  font-size: 0.82rem;
  color: var(--chrome-light);
  text-decoration: none;
  transition: background .15s;
}
.trust-platform-badge:hover{ background: rgba(255,255,255,0.14); color:#fff; }
.trust-platform-badge svg{ width:16px; height:16px; flex:none; }

/* ── FDP feature quote ── */
.fdp-quote-wrap{
  background: var(--ink);
  padding: 80px 0;
  position: relative;
}
.fdp-quote-wrap::before{
  content: "\201C";
  position:absolute; left: 40px; top: -20px;
  font-family: var(--display);
  font-size: 20rem;
  color: rgba(255,255,255,0.03);
  line-height:1;
  pointer-events:none;
  user-select:none;
}
.fdp-quote-inner{ max-width: 820px; margin:0 auto; text-align:center; }
.fdp-source-badge{
  display:inline-flex; align-items:center; gap:10px;
  background: rgba(184,49,47,0.15);
  border: 1px solid rgba(184,49,47,0.3);
  border-radius: 30px;
  padding: 8px 18px;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e0776b;
  margin-bottom: 28px;
}
.fdp-source-badge::before{
  content:"";
  width:6px; height:6px; border-radius:50%;
  background: var(--red);
  flex:none;
}
.fdp-quote-text{
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.5vw, 2.6rem);
  color:#fff;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.fdp-cite{
  font-size: 0.88rem;
  color: var(--chrome);
  font-style: italic;
}

/* ── Review tile grid (premium) ── */
.review-tile-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-tile{
  background:#fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px 30px 26px;
  display:flex; flex-direction:column;
  position:relative;
  transition: box-shadow .18s ease, transform .18s ease;
}
.review-tile:hover{
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.review-tile::before{
  content:"\201C";
  position:absolute; top:18px; right:22px;
  font-family: var(--display);
  font-size: 5rem;
  color: rgba(184,49,47,0.08);
  line-height:1;
  pointer-events:none;
}
.tile-stars{ color:#f0a500; font-size: 1.1rem; letter-spacing:2px; margin-bottom: 18px; }
.tile-text{
  font-size: 0.97rem;
  line-height: 1.72;
  color: #2e2e34;
  flex:1;
  margin-bottom: 24px;
}
.tile-footer{
  display:flex; align-items:center; gap:14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.tile-avatar{
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color:#fff;
  font-family: var(--display);
  font-size: 1.1rem;
  display:flex; align-items:center; justify-content:center;
  flex:none;
}
.tile-meta{ flex:1; }
.tile-name{ font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.tile-date{ font-size: 0.8rem; color: var(--chrome); margin-top: 2px; }
.tile-verified{
  display:inline-flex; align-items:center; gap:4px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #34a853;
  margin-top: 3px;
}
.tile-verified svg{ width:11px; height:11px; }
.tile-reply{
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--paper-dim);
  border-left: 3px solid var(--red);
  border-radius: 0 2px 2px 0;
}
.tile-reply b{ display:block; font-size:0.75rem; letter-spacing:0.04em; text-transform:uppercase; color:var(--red); margin-bottom:5px; }
.tile-reply p{ font-size:0.86rem; color:#4a4a4f; margin:0; line-height:1.55; }

/* ── Featured tile (larger, full-width or 2-col span) ── */
.review-tile.featured{
  grid-column: span 2;
}

/* ── CTA to leave review ── */
.leave-review-band{
  background: var(--paper-dim);
  padding: 56px 0;
  text-align:center;
}
.leave-review-band h2{ margin-bottom: 10px; }
.leave-review-band p{ color: var(--chrome); margin-bottom: 26px; max-width: 52ch; margin-left:auto; margin-right:auto; }

/* ── Trust stat strip ── */
.trust-stats{
  display:grid; grid-template-columns: repeat(4,1fr);
  gap:1px; background: var(--line); border: 1px solid var(--line);
  margin-bottom: 60px;
}
.trust-stat{
  background:#fff; padding: 28px 24px; text-align:center;
}
.trust-stat b{
  display:block; font-family:var(--display); font-size: 2rem; color:var(--ink); line-height:1;
  margin-bottom: 6px;
}
.trust-stat span{ font-size: 0.82rem; color: var(--chrome); text-transform:uppercase; letter-spacing:0.05em; }

/* ── Homepage review teaser ── */
.review-teaser-link{
  display:inline-flex; align-items:center; gap:8px;
  margin-top: 22px;
  font-family: var(--display);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
  transition: gap .15s ease;
}
.review-teaser-link:hover{ gap: 14px; }
.review-teaser-link svg{ width:16px; height:16px; }

/* responsive */
@media (max-width:980px){
  .review-tile-grid{ grid-template-columns: 1fr; }
  .review-tile.featured{ grid-column: span 1; }
  .trust-stats{ grid-template-columns: 1fr 1fr; }
}
@media (max-width:600px){
  .trust-score-big{ font-size: 4rem; }
  .fdp-quote-text{ font-size: 1.4rem; }
}

/* ═══════════════════════════════════════
   BUG FIXES
   ═══════════════════════════════════════ */

/* ── Mobile nav — proper overlay with backdrop ── */

/* ═══════════════════════════════════════
   MOBILE NAV — single authoritative block
   z-index ladder:
   backdrop  8000
   nav panel 8001
   nav toggle 8002  (always on top)
   wa-float / toTop 200 (below nav, above content)
   ═══════════════════════════════════════ */

.nav-backdrop{
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 8000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.nav-backdrop.open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 8px;
  position: relative;
  z-index: 8002;
}
.nav-toggle span{
  width: 24px; height: 2px;
  background: var(--paper);
  display: block;
  transition: transform .22s ease, opacity .22s ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px){

  /* ── Show hamburger ── */
  .nav-toggle{ display: flex; }

  /* ── Nav panel: slides in from right ── */
  .main-nav{
    position: fixed;
    top: 0;
    right: 0;
    /* No `bottom: 0` on purpose — that was the original source of the
       iOS Safari height-miscalculation bug when the body was scrolled.
       Height is set explicitly by site.js (navOpen/resize) using
       window.innerHeight, which is the reliable, bug-proof value on iOS.
       This 100dvh is only a same-tab pre-JS fallback, never load-bearing. */
    height: 100dvh;
    width: min(82vw, 300px);
    max-width: 300px;
    background: #101113;
    z-index: 8001;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    /* padding-top keeps links below the header height */
    padding-top: 88px;
    padding-bottom: max(40px, env(safe-area-inset-bottom, 40px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: -6px 0 24px rgba(0,0,0,0.5);
    pointer-events: none;
    visibility: hidden;
  }

  .main-nav.open{
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
  }

  .nav-backdrop{ display: block; }

  /* ── Nav links on mobile ── */
  .main-nav a{
    display: block;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    border-radius: 0;
    font-family: var(--display);
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    background: none;
    width: 100%;
    box-sizing: border-box;
    line-height: 1.3;
  }

  .main-nav a:hover,
  .main-nav a.active { color: #fff; }
  .main-nav a.active { border-left: 3px solid var(--red); padding-left: 21px; }
  .main-nav a.active::after { display: none; }

  /* ── Instagram icon in mobile nav ── */
  .main-nav a.nav-social{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    width: auto;
    height: auto;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
  }
  .main-nav a.nav-social::before{ content: 'Instagram'; font-family: var(--display); }
  .main-nav a.nav-social svg{ width: 20px; height: 20px; flex: none; }

  /* ── Phone CTA button ── */
  .main-nav a.nav-cta{
    margin: 20px 16px 8px;
    padding: 14px 20px;
    display: block;
    text-align: center;
    border-radius: 2px;
    width: calc(100% - 32px);
    box-sizing: border-box;
  }

  /* Body scroll lock while nav is open is handled in site.js
     (iOS-safe position:fixed technique — see navOpen/navClose) */
}


/* ── Google Maps 2-Klick Consent ── */
.map-consent{
  width:100%; min-height:460px;
  background: var(--paper-dim);
  border-left: 1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  padding: 32px;
}
.map-consent-inner{
  max-width: 380px;
  text-align: center;
}
.map-consent-icon{
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display:flex; align-items:center; justify-content:center;
  margin: 0 auto 18px;
}
.map-consent-icon svg{ width:26px; height:26px; }
.map-consent-inner h3{ font-size: 1.15rem; margin-bottom: 10px; }
.map-consent-inner p{ font-size: 0.88rem; color: var(--chrome); line-height: 1.6; margin-bottom: 18px; }
.map-consent-inner a{ color: var(--red); }
.map-consent-inner a:hover{ text-decoration: underline; }
/* ═══════════════════════════════════════
   RESPONSIVE — Full device optimization
   ═══════════════════════════════════════ */

/* ── Viewport safe areas (iOS notch/home bar) ── */
.site-header{
  padding-left:  env(safe-area-inset-left,  0px);
  padding-right: env(safe-area-inset-right, 0px);
}
.wrap{
  padding-left:  max(28px, env(safe-area-inset-left,  0px));
  padding-right: max(28px, env(safe-area-inset-right, 0px));
}

/* ── Tap target minimum 44px (WCAG) ── */
.btn, .nav-cta, .wa-float, #toTop, .faq-q{
  min-height: 44px;
}
.nav-toggle{
  min-width: 44px;
  min-height: 44px;
}

/* ── Images never overflow ── */
img{ max-width: 100%; height: auto; }

/* ── Hero responsive ── */
.hero{ min-height: calc(60vh - 84px); }
@media (min-width: 600px){ .hero{ min-height: calc(75vh - 84px); } }
@media (min-width: 900px){ .hero{ min-height: calc(86vh - 84px); } }

.hero h1{ font-size: clamp(1.9rem, 6vw, 4.2rem); }

/* ── Tablet breakpoint (600–900px) ── */
@media (max-width: 900px){
  .two-col{ grid-template-columns: 1fr; gap: 32px; }
  .team-grid{ grid-template-columns: 1fr 1fr; gap: 20px; }
  .process{ grid-template-columns: 1fr 1fr; gap: 20px; }
  .trust-stats{ grid-template-columns: 1fr 1fr; }
  .review-tile-grid{ grid-template-columns: 1fr; }
  .review-tile.featured{ grid-column: span 1; }
  .job-cols{ grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ── Mobile breakpoint (<600px) ── */
@media (max-width: 600px){
  section{ padding: 56px 0; }
  section.tight{ padding: 40px 0; }

  h1{ font-size: clamp(1.7rem, 7vw, 2.8rem); }
  h2{ font-size: clamp(1.4rem, 5vw, 2rem); }

  .hero-stats .wrap{ grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px 16px; }
  .hero-stat b{ font-size: 1.3rem; }

  .service-grid{ grid-template-columns: 1fr; }
  .team-grid{ grid-template-columns: 1fr; }
  .process{ grid-template-columns: 1fr; }
  .job-cols{ grid-template-columns: 1fr; }
  .value-list{ grid-template-columns: 1fr; }
  .trust-stats{ grid-template-columns: 1fr 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .contact-info{ padding: 32px 24px; }

  .footer-grid{ grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom{ flex-direction: column; gap: 6px; font-size: 0.75rem; }

  .ba-wrap{ max-width: 100%; }

  /* Gallery */
  .gallery-grid{ grid-template-columns: 1fr; }
  .gallery-item.wide{ grid-column: span 1; }

  /* Review tiles */
  .review-tile-grid{ grid-template-columns: 1fr; gap: 12px; }
  .review-tile.featured{ grid-column: span 1; }

  /* Trust page */
  .trust-score-big{ font-size: 4rem; }
  .fdp-quote-text{ font-size: 1.3rem; }

  /* FAQ */
  .faq-q{ font-size: 0.95rem; padding: 18px 0; }

  .hero-actions{ flex-direction: column; gap: 12px; }
  .hero-actions .btn{ width: 100%; text-align: center; justify-content: center; }

  .cta-actions{ flex-direction: column; align-items: center; gap: 12px; }
  .cta-actions .btn{ width: 100%; max-width: 320px; justify-content: center; }
}

/* ── Very small screens (<375px) ── */
@media (max-width: 374px){
  .nav-row{ padding: 0 12px; }
  .brand-text{ display: none; }
  .hero-stats .wrap{ grid-template-columns: 1fr 1fr; }
}

/* ── Large screens: cap content width ── */
@media (min-width: 1400px){
  .wrap{ max-width: 1240px; }
}

/* ── Team photos — real portraits ── */
.team-photo{
  height: 280px;
  overflow: hidden;
  position: relative;
}
.team-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .4s ease;
}
.team-card:hover .team-photo img{
  transform: scale(1.04);
}

/* ── Screen-reader-only utility (visually hidden, still accessible) ── */
.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Kontaktformular ── */
.contact-form{
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 4px;
}
.cf-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cf-field{ margin-bottom: 20px; }
.cf-field label{
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.cf-field input,
.cf-field textarea{
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 2px;
  font-family: var(--body);
  font-size: 0.96rem;
  color: var(--ink);
  box-sizing: border-box;
  transition: border-color .15s ease;
  resize: vertical;
}
.cf-field input:focus,
.cf-field textarea:focus{
  outline: none;
  border-color: var(--red);
}
.cf-consent{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.cf-consent input[type="checkbox"]{
  width: 18px; height: 18px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--red);
  cursor: pointer;
}
.cf-consent label{
  font-size: 0.82rem;
  color: var(--chrome);
  line-height: 1.5;
  cursor: pointer;
}
.cf-consent label a{ color: var(--red); }
.cf-consent label a:hover{ text-decoration: underline; }
.cf-msg{
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 2px;
  font-size: 0.88rem;
  display: none;
}
.cf-msg.error{
  display: block;
  background: #fbe9e8;
  border: 1px solid rgba(184,49,47,0.3);
  color: var(--red-dark, #8f2624);
}
.cf-msg.success{
  display: block;
  background: #eaf3de;
  border: 1px solid rgba(99,153,34,0.35);
  color: #3b6d11;
}
.contact-form .btn{ width: 100%; text-align: center; justify-content: center; }
.cf-hint{
  text-align: center;
  font-size: 0.8rem;
  color: var(--chrome);
  margin-top: 12px;
}

@media (max-width: 600px){
  .cf-row{ grid-template-columns: 1fr; gap: 0; }
  .contact-form{ padding: 28px 20px; }
}
