/* =========================================================
   ServiBrava — Nachbau des Original-Designs (hell/luftig)
   Salbei + Off-White + warmes Fast-Schwarz.
   Plus Jakarta Sans (Headlines) + DM Sans (Text).
   Gleiches Aussehen wie das Original; nur Code/Technik verbessert.
   ========================================================= */

:root {
  --sage:      #AEC9CB;   /* hero / accents */
  --sage-soft: #DCE8E9;   /* soft fills */
  --sage-050:  #EEF4F4;
  --paper:     #F6F6F6;   /* section bg */
  --grey-card: #ECEFEF;   /* alt cards */
  --ink:       #241616;   /* headings (warm near-black) */
  --body:      #565050;   /* body text */
  --muted:     #8C8787;
  --white:     #FFFFFF;
  --line:      #E5E8E8;
  --btn:       #4A7274;   /* accessible sage CTA */
  --btn-hover: #3B5E60;
  --gold:      #C2A77C;   /* tagline micro accent */

  --f-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --f-body: 'DM Sans', system-ui, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 60px);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 40px -22px rgba(36,22,22,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--f-body); color: var(--body);
  background: var(--white); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: var(--f-head); color: var(--ink); line-height: 1.12; margin: 0; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; } blockquote { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow { font-family: var(--f-body); font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--btn); margin: 0 0 1rem; }
.eyebrow.on-sage { color: #2c4a4b; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em; font-family: var(--f-body);
  font-weight: 700; font-size: .96rem; padding: .85em 1.6em; border-radius: 100px;
  background: var(--btn); color: #fff; border: 1px solid transparent; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--btn-hover); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--btn); outline-offset: 3px; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--outline { background: transparent; color: var(--ink); border-color: rgba(36,22,22,.2); }
.btn--outline:hover { background: rgba(36,22,22,.04); border-color: rgba(36,22,22,.4); }
.btn svg { width: 1.05em; height: 1.05em; }

/* =========================== header =========================== */
.hdr { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.hdr__row { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand__mark { width: 30px; height: 30px; }
.brand__txt { font-family: var(--f-head); font-weight: 500; font-size: 1.4rem; color: var(--sage); line-height: 1; }
.brand__txt b { font-weight: 800; color: #6a8a8b; }
.brand__txt span { display: block; font-family: var(--f-body); font-size: .5rem; letter-spacing: .25em; color: var(--gold); text-transform: uppercase; margin-top: 3px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav__links { display: flex; gap: 1.7rem; }
.nav__links a { font-size: .97rem; color: var(--ink); position: relative; padding: .2em 0; }
.nav__links a::after { content:""; position:absolute; left:0; right:100%; bottom:-3px; height:2px; background: var(--btn); transition: right .25s ease; }
.nav__links a:hover::after, .nav__links a:focus-visible::after { right: 0; }
.burger { display:none; width:44px; height:44px; border:1px solid var(--line); border-radius:12px; background:#fff; cursor:pointer; align-items:center; justify-content:center; }
.burger span, .burger span::before, .burger span::after { content:""; display:block; width:18px; height:2px; background: var(--ink); position:relative; transition: transform .25s, opacity .2s; }
.burger span::before { position:absolute; top:-6px; } .burger span::after { position:absolute; top:6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* =========================== hero =========================== */
.hero { background: linear-gradient(160deg, #B6CfD0, #9FC0C2); color: #fff; position: relative; overflow: hidden; }
.hero::after { content:""; position:absolute; right:-6%; top:-30%; width:52%; height:160%; background: radial-gradient(closest-side, rgba(255,255,255,.22), transparent 70%); pointer-events:none; }
.hero__in { position: relative; padding: clamp(4rem, 10vw, 8rem) 0 clamp(4rem, 10vw, 8rem); max-width: 860px; }
.hero h1 { color:#fff; font-size: clamp(3rem, 8vw, 6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; }
.hero p { margin-top: 1.6rem; max-width: 46ch; color: #f4fafa; font-size: 1.12rem; }
.hero__cta { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .9rem; }

/* =========================== section rhythm =========================== */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--paper { background: var(--paper); }
.shead { max-width: 60ch; }
.shead h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
.shead p { margin-top: 1rem; color: var(--muted); font-size: 1.08rem; }

/* =========================== about / why =========================== */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; height: clamp(320px, 42vw, 520px); object-fit: cover; border-radius: var(--radius); }
.about__media::after { content:""; position:absolute; inset:0; border-radius: var(--radius); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem 2rem; margin-top: 2rem; }
.why__i .ic { width: 34px; height: 34px; color: var(--btn); margin-bottom: .6rem; }
.why__i h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .35rem; }
.why__i p { font-size: .95rem; color: var(--muted); }

/* =========================== services =========================== */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2.8rem; }
.svc__c { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.5rem; transition: transform .2s ease, box-shadow .2s ease; }
.svc__c:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc__c.sage { background: var(--sage-soft); border-color: transparent; }
.svc__c.grey { background: var(--grey-card); border-color: transparent; }
.svc__c .ic { width: 30px; height: 30px; color: var(--btn); margin-bottom: .9rem; }
.svc__c h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: .5rem; }
.svc__c p { font-size: .94rem; color: var(--body); }

/* cert logos */
.certs { margin-top: clamp(2.6rem, 5vw, 3.6rem); display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.certs span { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.certs__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1rem, 4vw, 2.4rem); }
.certs__row img { height: 54px; width: auto; object-fit: contain; }

/* =========================== marquee =========================== */
.marq { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: clamp(1.6rem, 4vw, 2.6rem) 0; }
.marq__row { display: flex; width: max-content; animation: marq 30s linear infinite; }
.marq__row span { font-family: var(--f-head); font-weight: 800; font-size: clamp(2rem, 5vw, 3.4rem); color: var(--ink); letter-spacing: -.02em; padding: 0 1.2rem; display: inline-flex; align-items: center; gap: 2.4rem; }
.marq__row span::after { content: "✦"; color: var(--sage); font-size: .6em; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .marq__row { animation: none; } }

/* =========================== testimonials =========================== */
.tst { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-top: 2.5rem; }
.tst__people { display: flex; flex-direction: column; gap: 1.2rem; }
.tst__avatars { display: flex; }
.tst__avatars img, .tst__avatars span { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-left: -14px; box-shadow: var(--shadow); }
.tst__avatars :first-child { margin-left: 0; }
.tst__avatars span { background: var(--sage-soft); color: var(--btn); display: grid; place-items: center; font-family: var(--f-head); font-weight: 800; }
.tst__who b { display: block; font-size: 1.05rem; color: var(--ink); }
.tst__who small { color: var(--muted); }
.tst__stage { position: relative; }
.tst__slide { display: none; }
.tst__slide.on { display: block; animation: fade .5s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tst__q { font-family: var(--f-head); font-weight: 500; font-size: clamp(1.15rem, 2.2vw, 1.55rem); color: var(--ink); line-height: 1.4; }
.tst__nav { display: flex; gap: .6rem; margin-top: 1.6rem; }
.tst__nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.tst__nav button:hover { background: var(--sage-soft); border-color: transparent; }
.tst__nav svg { width: 18px; height: 18px; }

/* =========================== faq =========================== */
.faqgrid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.faqgrid__media img { width: 100%; height: clamp(320px, 42vw, 520px); object-fit: cover; border-radius: var(--radius); }
.faq__i { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 1.3rem 2.4rem 1.3rem 0; position: relative; font-family: var(--f-head); font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.faq__q::after { content:""; position:absolute; right:.2rem; top:50%; width:13px; height:13px; margin-top:-6px;
  background: linear-gradient(var(--btn),var(--btn)) center/13px 2px no-repeat, linear-gradient(var(--btn),var(--btn)) center/2px 13px no-repeat; transition: transform .25s; }
.faq__i.open .faq__q::after { transform: rotate(135deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 0 1.3rem; color: var(--muted); }

/* =========================== contact =========================== */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); margin-top: 2.5rem; }
.cmeta { margin-top: 1.8rem; display: grid; gap: 1.1rem; }
.cmeta a, .cmeta div { display: flex; gap: .9rem; align-items: flex-start; color: var(--body); }
.cmeta .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--sage-soft); color: var(--btn); display: grid; place-items: center; }
.cmeta .ic svg { width: 19px; height: 19px; }
.cmeta small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.cmeta b { color: var(--ink); font-weight: 600; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.form label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.form input, .form textarea { width: 100%; padding: .85em 1em; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-family: var(--f-body); font-size: 1rem; color: var(--ink); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--btn); box-shadow: 0 0 0 3px rgba(74,114,116,.18); }
.form .consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--body); text-transform: none; letter-spacing: 0; font-weight: 400; }
.form .consent a { color: var(--btn); text-decoration: underline; }
.form .consent input { width: auto; margin-top: .25rem; }

/* =========================== footer =========================== */
.footer { background: var(--ink); color: #c9c2c2; padding: clamp(3rem, 6vw, 4.2rem) 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer .brand__txt { color: var(--sage); }
.footer .brand__txt b { color: #cde0e0; }
.footer__about { margin-top: 1rem; max-width: 34ch; color: #9a9090; font-size: .94rem; }
.footer h4 { font-family: var(--f-body); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); margin: 0 0 1rem; font-weight: 700; }
.footer a:hover { color: var(--sage); }
.flinks li { margin-bottom: .55rem; font-size: .95rem; }
.footer__bottom { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: #8a8080; }
.footer__bottom a:hover { color: var(--sage); }

/* whatsapp */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 54px; height: 54px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(37,211,102,.6); transition: transform .2s; }
.wa:hover { transform: scale(1.08); } .wa svg { width: 28px; height: 28px; fill: #fff; }

/* reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; transition: none; } }

/* =========================== responsive =========================== */
@media (max-width: 960px) {
  .about, .faqgrid, .contact, .tst { grid-template-columns: 1fr; }
  .about__media, .faqgrid__media { order: -1; }
  .svc { grid-template-columns: repeat(2, 1fr); }
  .form .row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav__links, .nav > .btn { display: none; }
  .burger { display: inline-flex; }
  .hdr__row { height: 64px; }
  .nav.is-open .nav__links { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 64px; background: #fff; border-bottom: 1px solid var(--line); padding: .4rem var(--gutter) 1.1rem; }
  .nav.is-open .nav__links a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .why { grid-template-columns: 1fr; gap: 1.4rem; }
  .svc { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__in { padding: 3.2rem 0; }
}

/* aktiver Menüpunkt (eigene Service-Seite, z. B. Reformas) */
.nav__links a[aria-current="page"] { font-weight: 700; }
.nav__links a[aria-current="page"]::after { right: 0; }
