/* ===== Tokens ===== */
:root {
  --bg:      #F6F3ED;   /* warm cream */
  --panel:   #EDE7DC;   /* warm panel */
  --ink:     #20201C;   /* deep warm charcoal */
  --muted:   #6B665D;   /* warm grey text */
  --accent:  #3A6B5C;   /* restrained sage */
  --accent-d:#2D5447;
  --line:    #E2DBCF;   /* warm hairline */

  --maxw: 1120px;
  --radius: 16px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== Typography ===== */
h1, h2, h3 { font-family: var(--sans); font-weight: 600; letter-spacing: -.022em; }
h1 { font-size: clamp(2rem, 6vw, 4.6rem); line-height: 1.05; }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.1; }
h3 { font-size: clamp(1.3rem, 2.1vw, 1.6rem); line-height: 1.25; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent);
}

/* ===== Buttons & links ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--bg);
  font-size: .95rem; font-weight: 500;
  padding: 1rem 1.9rem; border-radius: 100px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  box-shadow: 0 10px 30px -16px rgba(32,32,28,.6);
}
.btn:hover { transform: translateY(-2px); background: #2c2c26; box-shadow: 0 18px 40px -18px rgba(32,32,28,.7); }

.text-link {
  display: inline-flex; align-items: center; gap: .4em;
  color: var(--accent); font-weight: 500; font-size: 1rem;
  transition: color .2s, gap .2s;
}
.text-link::after { content: "\2192"; transition: transform .2s; }
.text-link:hover { color: var(--accent-d); }
.text-link:hover::after { transform: translateX(3px); }

/* ===== Layout ===== */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(4.5rem, 11vw, 8.5rem) 28px; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .eyebrow { display: block; margin-bottom: 1rem; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,243,237,.8);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.scrolled { border-color: var(--line); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  height: 76px; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: .5rem; color: var(--ink); }
.brand-mark { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.brand-name { font-size: 1.18rem; font-weight: 600; letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { font-size: .92rem; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; position: relative; }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 2px; background: var(--accent); }
.lang-link { font-size: .8rem; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.lang-link:hover { color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
  background: var(--accent); color: #fff !important;
  padding: .6rem 1.15rem; border-radius: 100px;
  font-size: .85rem; font-weight: 500; white-space: nowrap;
  transition: background .2s;
}
.nav-cta:hover { background: var(--accent-d); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 20px; height: 1.5px; background: var(--ink); margin: 5px 0; transition: .3s; }
.nav-burger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; text-align: center;
  padding: clamp(5rem, 12vw, 9rem) 28px clamp(5rem, 12vw, 8rem);
  background:
    linear-gradient(180deg, rgba(246,243,237,.40) 0%, rgba(246,243,237,.58) 62%, var(--bg) 100%),
    url('assets/hero-bg.jpg') center 38% / cover no-repeat;
}
.hero-copy { max-width: 880px; margin: 0 auto; }
.hero-copy .eyebrow { display: block; margin-bottom: 1.4rem; }
.hero h1 { font-size: clamp(2.3rem, 7.5vw, 4.6rem); margin-bottom: 1.4rem; }
.hero-lead { font-size: clamp(1.15rem, 1.8vw, 1.35rem); color: var(--muted); max-width: 46ch; margin: 0 auto 2.3rem; }
.hero-actions { display: flex; gap: 1.6rem; align-items: center; justify-content: center; flex-wrap: wrap; }

/* ===== Leistungen ===== */
.services { list-style: none; border-top: 1px solid var(--line); }
.service {
  position: relative; cursor: pointer;
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 1.8rem;
  padding: clamp(1.4rem, 2.6vw, 2rem) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .3s ease;
}
.service:hover { padding-left: 10px; }
.service-num { display: none; }
.service-body h3 { margin-bottom: .35rem; }
.service-body p { color: var(--muted); max-width: 52ch; }
.service-link { color: var(--accent); font-size: .9rem; font-weight: 500; white-space: nowrap; border-bottom: 1px solid transparent; transition: border-color .2s; }
.service:hover .service-link { border-color: var(--accent); }
.service-link::after { content: ""; position: absolute; inset: 0; }

/* ===== Statement ===== */
.statement { background: var(--panel); }
.statement p {
  max-width: 1000px; margin: 0 auto;
  padding: clamp(5rem, 13vw, 10rem) 28px;
  text-align: center;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1.16; letter-spacing: -.02em;
}

/* ===== Über Jana ===== */
.about { max-width: var(--maxw); margin: 0 auto; padding: clamp(4rem, 9vw, 6.5rem) 28px clamp(2rem, 4vw, 3rem); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-figure { position: relative; }
.about-figure img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -52px rgba(32,32,28,.6);
}
.about-dot { top: auto; bottom: -16px; left: -16px; right: auto; width: 52px; height: 52px; }
.about-copy .eyebrow { display: block; margin-bottom: 1rem; }
.about-copy h2 { margin-bottom: .5rem; }
.about-role { color: var(--accent); font-weight: 500; margin-bottom: 1.4rem; }
.about-text { color: var(--muted); font-size: 1.12rem; max-width: 44ch; margin-bottom: 1.8rem; }

/* Über-Seite: grösseres Hochformat-Foto */
.about-portrait .about-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
.about-portrait .about-figure { align-self: stretch; }
.about-portrait .about-figure img { aspect-ratio: 3 / 4; height: 100%; object-position: 50% 12%; }
@media (max-width: 880px) {
  .about-portrait .about-grid { grid-template-columns: 1fr; }
  .about-portrait .about-copy { order: 1; }
  .about-portrait .about-figure { order: 2; max-width: none; margin: 0; }
  .about-portrait .about-figure img { aspect-ratio: 4 / 5; height: auto; }
}

/* ===== Proof ===== */
.proof { padding: clamp(1.4rem, 3.5vw, 2.4rem) 28px; }
.proof-list {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(1.2rem, 4vw, 3rem);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 1.6rem 0;
}
.proof-list li {
  font-size: clamp(.95rem, 1.4vw, 1.1rem); font-weight: 500;
  color: var(--ink); position: relative;
}
.proof-list li + li::before {
  content: ""; position: absolute; left: calc(-1 * clamp(.6rem, 2vw, 1.5rem));
  top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); transform: translateY(-50%);
}

/* ===== Kund:innenstimmen ===== */
.testimonials { max-width: var(--maxw); margin: 0 auto; padding: clamp(4rem, 10vw, 7.5rem) 28px; }
.testimonials .section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.testimonials .section-head .eyebrow { display: block; margin-bottom: 1rem; }
.tcarousel {
  display: flex; gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding: 4px;
  padding: 4px 4px 12px; margin: 0 -4px;
  scrollbar-width: none;
}
.tcarousel::-webkit-scrollbar { display: none; }
.quote {
  flex: 0 0 360px; max-width: 86vw; scroll-snap-align: start;
  background: var(--panel); border-radius: var(--radius);
  padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; margin: 0;
}
.quote .stars { color: var(--accent); letter-spacing: 2px; font-size: .9rem; }
.quote-text {
  color: var(--ink); font-size: 1.02rem; line-height: 1.6;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden;
}
.quote.open .quote-text { -webkit-line-clamp: unset; }
.quote-toggle {
  align-self: flex-start; background: none; border: 0; padding: 0;
  color: var(--accent); font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer;
}
.quote-toggle:hover { color: var(--accent-d); }
.quote .who { color: var(--muted); font-size: .9rem; font-weight: 500; margin-top: auto; padding-top: .2rem; }
.tnav { display: flex; gap: .6rem; margin-top: 1.6rem; }
.tnav button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  font-size: 1.2rem; line-height: 1; cursor: pointer; transition: border-color .2s, background .2s;
  display: grid; place-items: center;
}
.tnav button:hover { border-color: var(--accent); background: var(--panel); }

/* ===== CTA ===== */
.cta { text-align: center; padding: clamp(2rem, 4vw, 2.8rem) 28px clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
/* Abschnitt direkt vor dem Kontakt enger ziehen (alle Seiten gleich) */
:is(.section, .statement, .about):has(+ .cta) { padding-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.cta-inner { max-width: 44ch; margin: 0 auto; }
.cta .eyebrow { display: block; margin-bottom: 1rem; }
.cta h2 { margin-bottom: 1rem; }
.cta-lead { color: var(--muted); font-size: 1.12rem; margin-bottom: 2.2rem; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 1.6rem; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); padding: 2.6rem 28px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-links a { font-size: .88rem; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--ink); }
.footer-legal { font-size: .82rem; color: var(--muted); }

/* ===== Page hero (Unterseiten) ===== */
.page-hero { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) 28px clamp(1.5rem, 4vw, 3rem); }
.page-hero .eyebrow { display: block; margin-bottom: 1rem; }
.page-hero h1 { max-width: 18ch; margin-bottom: 1.2rem; }
.page-hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 54ch; }

/* ===== Detailblöcke (Leistungen) ===== */
.detail {
  width: min(var(--maxw), calc(100% - 56px)); margin: 0 auto 14px;
  padding: clamp(1.5rem, 3vw, 2.3rem);
  background: var(--panel); border-radius: 18px;
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.2rem, 4vw, 3rem);
  scroll-margin-top: 92px;
}
.detail .eyebrow { display: block; margin-bottom: .7rem; }
.detail h2 { margin-bottom: .9rem; }
.detail p { color: var(--muted); margin-bottom: 1.3rem; max-width: 56ch; }
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.4rem; margin-bottom: 1.4rem; }
.checks li { padding-left: 1.4rem; position: relative; font-size: .98rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (max-width: 600px) { .checks { grid-template-columns: 1fr; } }

/* ===== Über (Werte/Credentials) ===== */
.cred-grid { padding: 0 0 clamp(2rem,5vw,4rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; }
.cred-grid h3 { grid-column: 1 / -1; margin-bottom: .4rem; }
.cred-grid li { list-style: none; padding: .9rem 0; border-top: 1px solid var(--line); color: var(--ink); }

/* ===== Kontakt ===== */
.contact-grid {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) 28px clamp(4rem, 8vw, 6rem);
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start;
}
.contact-info p { color: var(--muted); margin-bottom: 1.2rem; }
.contact-info .text-link { margin-bottom: 1rem; }
.calenso-embed { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 30px 60px -45px rgba(32,32,28,.5); }
.calenso-embed iframe { width: 100%; height: 720px; border: 0; display: block; }
.embed-fallback { font-size: .85rem; color: var(--muted); margin-top: .8rem; }

/* ===== Rechtliches ===== */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(1.5rem,4vw,3rem) 28px clamp(4rem,9vw,7rem); }
.legal h2 { font-size: 1.35rem; margin: 2.2rem 0 .6rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--muted); margin-bottom: .7rem; }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--accent); }
.placeholder { color: var(--accent); font-weight: 600; }
.legal-note { background: var(--panel); border-radius: 12px; padding: 1rem 1.2rem; font-size: .9rem; color: var(--muted); margin-bottom: 2rem; }
.legal h3 { font-size: 1.05rem; font-weight: 600; margin: 1.5rem 0 .6rem; color: var(--ink); }
.legal-table { width: 100%; border-collapse: collapse; margin: .5rem 0 1.3rem; font-size: .95rem; }
.legal-table td { border: 1px solid var(--line); padding: .7rem .9rem; color: var(--muted); vertical-align: top; }
.legal-table td:first-child { width: 58%; color: var(--ink); }
@media (max-width: 780px) {
  .detail, .contact-grid, .cred-grid { grid-template-columns: 1fr; }
}

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .hero, .about-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 460px; }
  .about-figure { max-width: 380px; margin: 0 auto; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: .6rem 28px 1.4rem; transform: translateY(-130%);
    transition: transform .35s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: .9rem 0; width: 100%; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links a.active::after { display: none; }
  .nav-links .lang-link { font-size: .9rem; }
  .nav-links a.nav-cta {
    display: flex; justify-content: center; width: 100%;
    margin-top: 1.1rem; padding: .95rem 1.3rem; font-size: 1rem;
    border-bottom: 0;
  }
  .nav-burger { display: block; }
}
@media (max-width: 560px) {
  .service { grid-template-columns: 1fr; gap: .6rem; }
  .service-link { grid-column: 1; justify-self: start; }
  .float-card { left: 12px; bottom: 12px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
