:root {
  --ink: #17332d;
  --ink-soft: #52645f;
  --paper: #f6f3ec;
  --white: #fffdf8;
  --sage: #dce6dc;
  --accent: #bd6c43;
  --accent-dark: #985234;
  --line: rgba(23, 51, 45, .14);
  --shadow: 0 24px 70px rgba(23, 51, 45, .11);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid rgba(189, 108, 67, .45); outline-offset: 4px; }
section { scroll-margin-top: 88px; }

.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow--light { color: #ddb097; }
.section-heading { text-align: center; }
.section-heading h2 { margin-inline: auto; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { max-width: 820px; margin-bottom: 24px; font-size: clamp(3.25rem, 7vw, 6.8rem); }
h2 { max-width: 760px; margin-bottom: 22px; font-size: clamp(2.3rem, 4.4vw, 4.35rem); }
h3 { margin-bottom: 10px; font-size: 1.25rem; }
p { margin: 0 0 18px; }
.lead { max-width: 650px; color: var(--ink-soft); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.service-area { display: inline-flex; margin: 10px 0 0; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: rgba(255,253,248,.55); font-size: .82rem; }
.service-area strong { margin-right: .35em; color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 700; transition: .2s ease;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: transparent; }

.site-header {
  position: fixed; z-index: 100; inset: 0 0 auto; border-bottom: 1px solid transparent;
  transition: background .2s, border-color .2s, backdrop-filter .2s;
}
.site-header.scrolled { border-color: var(--line); background: rgba(246, 243, 236, .88); backdrop-filter: blur(16px); }
/* backdrop-filter creates a new containing block for fixed descendants on iOS Safari.
   Keep the mobile menu viewport-bound while it is open, even after scrolling. */
body.menu-open .site-header.scrolled { backdrop-filter: none; }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 78px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; width: 285px; height: auto; }
.brand-logo--concept { width: 260px; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: .92rem; font-weight: 650; }
.nav-links a:not(.btn):hover { color: var(--accent-dark); }
.menu-button { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; }

.hero { position: relative; min-height: 100svh; padding: 158px 0 72px; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; }
.hero::before { width: 640px; height: 640px; top: -150px; right: -150px; background: var(--sage); }
.hero::after { width: 290px; height: 290px; right: 20%; bottom: -150px; border: 1px solid var(--line); }
.hero-copy { position: relative; z-index: 2; }
.hero h1 em { color: var(--accent); font-weight: inherit; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-bottom { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: end; margin-top: 70px; }
.building {
  position: relative; min-height: 250px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(145deg, #24483f, #102b25); box-shadow: var(--shadow);
}
.building::before {
  content: ""; position: absolute; inset: 34px 8% 0;
  background: repeating-linear-gradient(90deg, transparent 0 13%, rgba(255,253,248,.9) 13% 20%),
              repeating-linear-gradient(0deg, transparent 0 27%, rgba(23,51,45,.8) 27% 31%);
  opacity: .9;
}
.building-label { position: absolute; z-index: 2; right: 22px; bottom: 20px; padding: 9px 13px; border-radius: 999px; background: var(--white); font-size: .8rem; font-weight: 700; }
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.metric { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,253,248,.46); }
.metric strong { display: block; font: 500 2rem/1 Georgia, serif; }
.metric span { display: block; margin-top: 8px; color: var(--ink-soft); font-size: .82rem; }

.section { padding: 118px 0; }
.section--light { background: var(--white); }
.section-head { display: flex; justify-content: space-between; gap: 50px; align-items: end; margin-bottom: 56px; }
.section-head > p { max-width: 430px; color: var(--ink-soft); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { min-height: 330px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-number { display: grid; width: 48px; height: 48px; margin-bottom: 70px; place-items: center; border-radius: 50%; background: var(--sage); font-family: Georgia, serif; }
.card p { color: var(--ink-soft); }
.card .partner-label { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--accent-dark); font-size: .78rem; font-weight: 750; }
.card--partner { border-color: rgba(23, 51, 45, .24); background: linear-gradient(155deg, var(--paper), rgba(220, 230, 220, .52)); }
.card--partner .card-number { margin-bottom: 28px; }
.partner-badge { display: inline-flex; width: fit-content; margin-bottom: 22px; padding: 6px 10px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.partner-list { display: grid; gap: 8px; margin: 20px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.partner-list > span { display: block; padding: 10px 12px; border-radius: 12px; background: rgba(255, 253, 248, .68); }
.partner-company { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; background: rgba(255, 253, 248, .68); transition: transform .2s, background .2s; }
.partner-company:hover { transform: translateX(3px); background: var(--white); }
.partner-company img { width: 54px; height: 54px; padding: 5px; border: 1px solid var(--line); border-radius: 10px; object-fit: contain; background: #fff; }
.partner-company span { min-width: 0; }
.partner-list strong, .partner-list small { display: block; }
.partner-list strong { color: var(--ink); font-size: .86rem; }
.partner-list small { margin-top: 2px; color: var(--ink-soft); font-size: .74rem; }
.partner-disclosure { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; margin-top: 28px; padding: 34px 38px; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.partner-disclosure .eyebrow { color: #ddb097; }
.partner-disclosure h3 { margin: 0; font: 500 clamp(1.55rem, 2.8vw, 2.35rem)/1.15 Georgia, serif; }
.partner-disclosure > p { margin: 0; color: rgba(255, 253, 248, .76); }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--accent-dark); font-weight: 750; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(44px, 8vw, 110px); align-items: center; }
.quote-panel { position: relative; min-height: 520px; padding: 44px; border-radius: 32px; overflow: hidden; background: var(--ink); color: var(--white); }
.quote-panel::after {
  content: "";
  position: absolute;
  width: 390px;
  height: 148px;
  right: -34px;
  bottom: -20px;
  background: rgba(255, 255, 255, .075);
  -webkit-mask: url("assets/logo-hausverwaltung-claudia-thelen-konzept.png") center / contain no-repeat;
  mask: url("assets/logo-hausverwaltung-claudia-thelen-konzept.png") center / contain no-repeat;
  pointer-events: none;
}
blockquote { margin: 120px 0 25px; font: 400 clamp(1.7rem, 3vw, 2.65rem)/1.2 Georgia, serif; }
.quote-panel small { color: rgba(255,255,255,.66); }
.check-list { list-style: none; padding: 0; margin: 34px 0 0; }
.check-list li { display: grid; grid-template-columns: 30px 1fr; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.check-list li::before { content: "✓"; display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: var(--sage); font-size: .8rem; font-weight: 800; }
.association-note { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin-top: 26px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: transform .2s, box-shadow .2s; }
.association-note:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.association-logo { width: 145px; height: auto; }
.association-note strong { color: var(--ink); }
.association-note span:nth-child(2) { color: var(--ink-soft); font-size: .86rem; line-height: 1.45; }
.association-note span:last-child { color: var(--accent-dark); font-weight: 800; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.team-card { display: flex; min-height: 320px; padding: 28px; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.team-avatar { display: grid; width: 66px; height: 66px; margin-bottom: 38px; place-items: center; border-radius: 50%; background: var(--sage); color: var(--ink); font: 500 1.25rem/1 Georgia, serif; }
.team-card h3 { margin-bottom: 6px; font-size: 1.4rem; }
.team-title { margin-bottom: 16px; color: var(--accent-dark); font-size: .86rem; font-weight: 750; }
.team-focus { color: var(--ink-soft); font-size: .94rem; }
.team-phone { display: inline-flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 750; }
.team-phone::before { content: "↗"; color: var(--accent-dark); }
.team-card--dog { border-color: rgba(189, 108, 67, .28); background: linear-gradient(150deg, var(--paper), rgba(220, 230, 220, .72)); }
.team-photo { width: 92px; height: 92px; margin-bottom: 30px; border: 4px solid rgba(255, 253, 248, .9); border-radius: 50%; object-fit: cover; object-position: 50% 35%; box-shadow: 0 10px 28px rgba(23, 51, 45, .16); }
.team-dog-contact { margin-top: auto; margin-bottom: 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--accent-dark); font-weight: 750; }
.team-dog-contact::before { content: "✦"; margin-right: 9px; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--line); }
.step { position: relative; padding: 42px 26px 10px 0; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 36px; color: var(--accent-dark); font-weight: 800; }
.step::after { content: ""; position: absolute; width: 11px; height: 11px; top: -6px; left: 0; border-radius: 50%; background: var(--accent); }
.step p { color: var(--ink-soft); font-size: .92rem; }

.faq { max-width: 860px; margin: 55px auto 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { display: flex; width: 100%; justify-content: space-between; gap: 20px; padding: 25px 0; border: 0; background: none; color: var(--ink); text-align: left; font-weight: 750; cursor: pointer; }
.faq-question span:last-child { transition: transform .2s; }
.faq-question[aria-expanded="true"] span:last-child { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; color: var(--ink-soft); transition: grid-template-rows .25s ease; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { padding: 0 45px 24px 0; }
.faq-highlight { color: var(--accent-dark); font-weight: 800; }
.faq-question[aria-expanded="true"] + .faq-answer { grid-template-rows: 1fr; }

.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.download-card { display: grid; min-height: 245px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.download-icon { display: grid; width: 52px; height: 52px; margin-bottom: 28px; place-items: center; border-radius: 14px; background: var(--sage); color: var(--ink); font: 800 .72rem/1 system-ui, sans-serif; letter-spacing: .08em; }
.download-card p { color: var(--ink-soft); }
.download-card .text-link { align-self: end; justify-self: start; }

.contact { position: relative; overflow: hidden; background: var(--sage); }
.contact-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: start; }
.contact-form { margin-top: 30px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-field { display: grid; gap: 7px; }
.form-field[hidden] { display: none; }
.form-field--wide { grid-column: 1 / -1; }
.form-field label, .appointment-field label { font-size: .8rem; font-weight: 750; }
.form-field label span { color: var(--accent-dark); }
.form-field input, .form-field select, .form-field textarea,
.appointment-field input { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); }
.form-field input, .form-field select, .appointment-field input { min-height: 50px; }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus,
.appointment-field input:focus { border-color: var(--accent); outline: 3px solid rgba(189, 108, 67, .16); }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-status { min-height: 26px; margin: 16px 0 0; font-size: .9rem; font-weight: 700; }
.form-status.success { color: var(--ink); }
.form-status.error { color: #8d2e24; }
.contact-form .btn:disabled { cursor: wait; opacity: .62; transform: none; }
.appointment-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 520px; margin: 30px 0 12px; }
.appointment-fields[hidden], .appointment-hint[hidden] { display: none; }
.appointment-field { display: grid; gap: 7px; }
.appointment-hint { max-width: 520px; margin: 0 0 20px; color: var(--ink-soft); font-size: .8rem; }
.privacy-notice { max-width: 650px; margin: 4px 0 20px; color: var(--ink-soft); font-size: .8rem; line-height: 1.55; }
.privacy-notice a { color: var(--accent-dark); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.contact-box { padding: 34px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.contact-row { padding: 17px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border: 0; }
.contact-row span { display: block; color: var(--ink-soft); font-size: .8rem; }
.contact-row a { font-size: 1.1rem; font-weight: 750; }
.contact-address { color: var(--ink); font-size: 1.1rem !important; font-weight: 750; }
.office-note { margin: 12px 0 0; color: var(--ink-soft); font-size: .86rem; line-height: 1.5; }
.office-note strong { color: var(--accent-dark); }
footer { padding: 30px 0; background: var(--ink); color: rgba(255,255,255,.7); font-size: .84rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; gap: 22px; }

.legal-header { position: static; border-bottom: 1px solid var(--line); background: var(--paper); }
.legal-header .nav { min-height: 96px; }
.legal-page { padding: 86px 0 110px; }
.legal-intro { max-width: 780px; margin-bottom: 55px; }
.legal-intro h1 { max-width: 900px; font-size: clamp(2.8rem, 6vw, 5rem); }
.legal-intro .lead { max-width: 760px; }
.legal-content { max-width: 860px; padding: clamp(25px, 5vw, 58px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.legal-content section { padding: 0 0 30px; margin: 0 0 30px; border-bottom: 1px solid var(--line); scroll-margin-top: 30px; }
.legal-content section:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.legal-content h2 { margin-bottom: 15px; font: 500 clamp(1.55rem, 3vw, 2.15rem)/1.2 Georgia, serif; }
.legal-content h3 { margin: 22px 0 8px; font-size: 1.05rem; letter-spacing: 0; }
.legal-content p, .legal-content li { color: var(--ink-soft); }
.legal-content ul { padding-left: 1.25rem; }
.legal-content a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal-back { display: inline-flex; margin-bottom: 30px; color: var(--accent-dark); font-weight: 750; }
.legal-note { padding: 18px 20px; border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--paper); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 860px) {
  .menu-button { display: grid; place-items: center; }
  .brand-logo { width: 255px; }
  .brand-logo--concept { width: 225px; }
  .nav-links {
    position: fixed;
    z-index: 101;
    inset: 78px 0 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 28px 20px calc(28px + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: var(--paper);
    font-size: 1.2rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 8px 4px;
  }
  .nav-links a:not(.btn) { border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 18px; }
  .hero-bottom, .split, .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .partner-disclosure { grid-template-columns: 1fr; gap: 20px; }
  .download-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .card { min-height: 0; }
  .card-number { margin-bottom: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .section-head { display: block; }
  .section-head > p { margin-top: 20px; }
}
@media (max-width: 560px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .brand-logo { width: 215px; }
  .brand-logo--concept { width: 195px; }
  .nav { min-height: 88px; }
  .nav-links {
    inset-block-start: 88px;
    padding-inline: 14px;
  }
  .hero { padding-top: 130px; }
  .hero-bottom { margin-top: 50px; }
  .building { min-height: 200px; }
  .trust { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--wide { grid-column: auto; }
  .appointment-fields { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .section { padding: 85px 0; }
  .steps { grid-template-columns: 1fr; }
  .quote-panel { min-height: 430px; padding: 28px; }
  blockquote { margin-top: 85px; }
  .footer-inner { flex-direction: column; }
  .service-area { display: block; border-radius: 14px; }
  .association-note { grid-template-columns: 1fr auto; }
  .association-logo { grid-column: 1 / -1; width: 155px; }
}
