:root {
  --ink: #10211e;
  --ink-soft: #52625d;
  --forest: #0f5a49;
  --forest-dark: #063a32;
  --sage: #e2eee9;
  --cream: #f3f5f1;
  --gold: #c99a4c;
  --white: #fff;
  --line: #dce6e1;
  --shadow: 0 24px 64px rgba(6, 44, 37, .13);
  --radius: 1.5rem;
  --content: 76rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f9fbfa;
  font-family: Aptos, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--forest); text-underline-offset: .2em; }
a:hover { color: var(--forest-dark); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Segoe UI Variable Display", Aptos, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 760;
  line-height: 1.06;
  letter-spacing: -.045em;
  overflow-wrap: normal;
  hyphens: none;
}
h1 { font-size: clamp(2.75rem, 6vw, 5.35rem); margin-bottom: 1.4rem; }
h2 { font-size: clamp(2.1rem, 4vw, 3.45rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: .65rem; letter-spacing: -.025em; }
p { color: var(--ink-soft); }
ul { padding-left: 1.2rem; }
::selection { color: var(--white); background: var(--forest); }
:focus-visible { outline: 3px solid #e1b76d; outline-offset: 3px; }

.container { width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; }
.narrow { width: min(100%, 47rem); }
.section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.section-soft { background: linear-gradient(135deg, #f5f6f2, #eef3ef); }
.section-dark { color: var(--white); background: var(--forest-dark); }
.section-dark p, .section-dark .eyebrow { color: #d8e3dc; }
.eyebrow {
  margin-bottom: .8rem;
  color: var(--forest);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.lead { font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.65; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: .8rem 1rem;
  color: var(--white);
  background: var(--forest-dark);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid rgba(9, 47, 43, .1);
  background: rgba(252, 253, 252, .9);
  box-shadow: 0 10px 35px rgba(6, 44, 37, .055);
  backdrop-filter: blur(20px) saturate(140%);
}
.nav-wrap { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--ink); text-decoration: none; }
.brand-mark {
  width: 2.65rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: .8rem;
  color: var(--white);
  background: var(--forest);
  font: 760 1.1rem/1 "Segoe UI Variable Display", Aptos, sans-serif;
  box-shadow: 0 8px 20px rgba(9,47,43,.18);
}
.brand-mark span { transform: none; }
.brand-text { display: grid; font-weight: 800; line-height: 1.05; }
.brand-text small { margin-top: .2rem; color: var(--ink-soft); font-size: .62rem; letter-spacing: .11em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { position: relative; color: var(--ink); font-size: .92rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--forest); }
.site-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.45rem; height: 2px; background: var(--gold); transition: right .2s ease; }
.site-nav > a:not(.button):hover::after, .site-nav > a[aria-current="page"]::after { right: 0; }
.nav-toggle { display: none; flex: 0 0 auto; border: 0; color: var(--ink); background: transparent; cursor: pointer; }
.nav-toggle svg { width: 1.75rem; height: 1.75rem; }

.button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .82rem 1.25rem;
  border: 1px solid var(--forest);
  border-radius: 999px;
  color: var(--white) !important;
  background: var(--forest);
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(23, 75, 54, .16);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { background: var(--forest-dark); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(23, 75, 54, .24); }
.button-light { border-color: var(--white); color: var(--forest-dark) !important; background: var(--white); }
.button-ghost { color: var(--forest) !important; background: transparent; box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.hero { position: relative; min-height: min(47rem, calc(100vh - 5rem)); display: grid; align-items: center; overflow: hidden; color: var(--white); background: var(--forest-dark); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 37, 31, .97) 0%, rgba(3, 37, 31, .82) 48%, rgba(3, 37, 31, .18) 84%), url("../images/hero-rhein-main.webp") center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -16rem 38%;
  height: 22rem;
  border-radius: 50%;
  background: rgba(198, 155, 85, .2);
  filter: blur(8px);
}
.hero-content { position: relative; z-index: 1; max-width: 54rem; padding: clamp(5.5rem, 10vw, 8.5rem) 0 clamp(6.5rem, 10vw, 9rem); }
.hero-content::before { content: "Hausverwaltung Grimm"; display: inline-flex; margin-bottom: 1.2rem; padding: .45rem .75rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #dce8e3; background: rgba(255,255,255,.07); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(8px); }
.hero .eyebrow, .hero p { color: rgba(255,255,255,.84); }
.hero .lead { max-width: 43rem; }
.hero h1 { max-width: 16ch; text-wrap: balance; }
.hero h1 span { color: #e9bd72; }
.hero .button-ghost { border-color: rgba(255,255,255,.72); color: var(--white) !important; }
.hero .button-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.trust-row { position: relative; z-index: 3; width: min(calc(100% - 2rem), var(--content)); display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin: -2.6rem auto 0; padding: .65rem; border: 1px solid rgba(255,255,255,.75); border-radius: 1.5rem; overflow: hidden; background: rgba(250,252,251,.94); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.trust-item { padding: 1.3rem 1.25rem; border-radius: 1rem; text-align: center; background: var(--white); }
.trust-item strong { display: block; color: var(--forest); font-family: "Segoe UI Variable Display", Aptos, sans-serif; font-size: 1.28rem; letter-spacing: -.03em; }
.trust-item span { color: var(--ink-soft); font-size: .88rem; }

.section-head { max-width: 52rem; margin-bottom: 3rem; }
.section-head h2 { text-wrap: balance; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  min-height: 100%;
  padding: 1.65rem;
  border: 1px solid var(--line);
  position: relative;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 32px rgba(17, 42, 31, .055);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; border-radius: var(--radius) 0 0 var(--radius); background: var(--gold); opacity: 0; transition: opacity .2s ease; }
.card:hover { border-color: #cddbd4; transform: translateY(-5px); box-shadow: 0 20px 48px rgba(17,42,31,.105); }
.card:hover::after { opacity: 1; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  color: var(--forest);
  background: var(--sage);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .06em;
}
.card-link { display: inline-flex; margin-top: .6rem; font-weight: 800; text-decoration: none; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 1.7rem; margin: .55rem 0; color: var(--ink-soft); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--forest); font-weight: 900; }

.split { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(18rem, .92fr); align-items: center; gap: clamp(2.5rem, 6vw, 6.5rem); }
.photo-panel { position: relative; min-height: 31rem; border-radius: 2rem; overflow: hidden; box-shadow: var(--shadow); }
.photo-panel img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.photo-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,53,38,.35), transparent 50%); }
.quote-box { padding: 1.6rem; border: 1px solid rgba(21,80,68,.12); border-left: 3px solid var(--gold); border-radius: 0 1.2rem 1.2rem 0; background: rgba(223,234,230,.58); }
.quote-box p { margin: 0; color: var(--ink); font-size: 1.16rem; font-weight: 700; letter-spacing: -.02em; }
.region-links { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.region-links a { padding: .55rem .9rem; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: var(--white); font-weight: 750; text-decoration: none; }
.region-links a:hover { border-color: var(--gold); color: #f1d59f; }

.steps { counter-reset: step; }
.step { position: relative; padding: 1.5rem 1.2rem 1.5rem 4.5rem; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: 1.2rem;
  top: 1.45rem;
  color: var(--gold);
  font-family: "Segoe UI Variable Display", Aptos, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}
.step + .step { border-top: 1px solid var(--line); }
.step p { margin-bottom: 0; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 1.3rem 2.5rem 1.3rem 0; position: relative; cursor: pointer; list-style: none; font-size: 1.12rem; font-weight: 750; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: 1rem; color: var(--forest); font: 400 1.8rem/1 sans-serif; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 48rem; padding-bottom: 1.3rem; }

.cta { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; overflow: hidden; padding: clamp(2rem, 5vw, 4rem); border: 1px solid rgba(255,255,255,.1); border-radius: 2rem; background: radial-gradient(circle at 85% 0, rgba(201,154,76,.27), transparent 18rem), linear-gradient(135deg, var(--forest), var(--forest-dark)); color: var(--white); box-shadow: var(--shadow); }
.cta h2 { margin-bottom: .6rem; }
.cta p { margin-bottom: 0; color: rgba(255,255,255,.8); }
.contact-section { position: relative; overflow: hidden; background: radial-gradient(circle at 8% 15%, rgba(187,149,87,.15), transparent 24rem), linear-gradient(135deg, #082f29, var(--forest-dark)); }
.contact-section::before { content: ""; position: absolute; right: -8rem; bottom: -12rem; width: 32rem; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; box-shadow: 0 0 0 5rem rgba(255,255,255,.018), 0 0 0 10rem rgba(255,255,255,.012); }
.contact-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .85fr) minmax(32rem, 1.15fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.contact-copy { max-width: 35rem; }
.contact-copy h2 { max-width: 10ch; margin-bottom: 1.25rem; font-size: clamp(2.65rem, 5vw, 4.4rem); }
.contact-copy .lead { max-width: 34rem; color: #d5e2dc; }
.contact-person { display: grid; gap: .12rem; margin: 1.75rem 0 0; padding-left: 1rem; border-left: 2px solid var(--gold); }
.contact-person span { color: #aebfb7; font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.contact-person strong { color: var(--white); font-size: 1.06rem; }
.contact-panel { position: relative; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid rgba(255,255,255,.6); border-radius: 1.75rem; color: var(--ink); background: rgba(255,255,255,.97); box-shadow: 0 28px 75px rgba(0,0,0,.24); }
.contact-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.25rem; margin-bottom: 1.4rem; }
.contact-panel-head h3 { margin: .35rem 0 0; color: var(--ink); font-size: clamp(1.45rem, 2.5vw, 2rem); }
.contact-panel .contact-kicker { display: flex; align-items: center; gap: .5rem; margin: 0; color: var(--forest); font-size: .75rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.contact-kicker span { width: .55rem; height: .55rem; border-radius: 50%; background: #3e9b72; box-shadow: 0 0 0 .25rem rgba(62,155,114,.14); }
.contact-badge { flex: 0 0 auto; padding: .45rem .7rem; border: 1px solid #d8e4de; border-radius: 999px; color: var(--forest); background: #f2f7f4; font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
.contact-call { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1.35rem; border-radius: 1.25rem; color: var(--white); background: linear-gradient(135deg, var(--forest), #0c3d34); box-shadow: 0 14px 30px rgba(14,73,61,.2); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.contact-call:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 18px 36px rgba(14,73,61,.28); }
.contact-icon { display: grid; place-items: center; width: 3rem; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: rgba(255,255,255,.1); }
.contact-icon svg, .contact-detail-icon svg { width: 1.25rem; height: 1.25rem; }
.contact-call-copy { display: grid; min-width: 0; }
.contact-call-copy small, .contact-detail small { margin-bottom: .15rem; color: inherit; font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.contact-call-copy strong { color: var(--white); font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.12; white-space: nowrap; }
.contact-call-copy > span { margin-top: .2rem; color: #c7d8d1; font-size: .82rem; font-weight: 600; }
.contact-arrow { font-size: 1.65rem; transition: transform .18s ease; }
.contact-call:hover .contact-arrow { transform: translateX(.2rem); }
.contact-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: .8rem; }
.contact-detail { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: flex-start; gap: .75rem; min-height: 6.6rem; padding: 1.15rem; border: 1px solid #dde6e1; border-radius: 1rem; color: var(--ink); background: #f8faf9; text-decoration: none; }
a.contact-detail { transition: border-color .18s ease, background .18s ease; }
a.contact-detail:hover { border-color: #b3cabf; color: var(--forest); background: #f1f6f3; }
.contact-detail-icon { display: grid; place-items: center; width: 2.15rem; aspect-ratio: 1; border-radius: .65rem; color: var(--forest); background: #e5efea; }
.contact-detail > span:last-child { display: grid; min-width: 0; }
.contact-detail strong, .contact-detail address { color: inherit; font-size: .98rem; font-style: normal; font-weight: 750; line-height: 1.45; }
a.contact-detail strong { overflow-wrap: anywhere; }
.contact-mobile-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .9rem; padding: .85rem .2rem 0; border-top: 1px solid #e1e8e4; color: var(--ink-soft); font-size: .84rem; font-weight: 650; }
.contact-mobile-row a { color: var(--forest); font-size: .95rem; font-weight: 850; text-decoration: none; white-space: nowrap; }

.page-hero { position: relative; overflow: hidden; padding: clamp(5.5rem, 10vw, 8.5rem) 0 clamp(4.5rem, 8vw, 6.5rem); color: var(--white); background: radial-gradient(circle at 80% 20%, rgba(201,154,76,.25), transparent 22rem), linear-gradient(125deg, #05352e, var(--forest)); }
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, transparent 15%, #000 70%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 18ch; font-size: clamp(2.75rem, 6vw, 4.9rem); text-wrap: balance; }
.page-hero p { max-width: 47rem; color: rgba(255,255,255,.82); }
.page-hero .button:not(.button-light) { border-color: #d7b16f; color: var(--forest-dark) !important; background: #e8c78d; }
.breadcrumbs { margin-bottom: 2rem; color: #cbdad1; font-size: .82rem; font-weight: 700; letter-spacing: .03em; }
.breadcrumbs a { color: #fff; }
.content { max-width: 49rem; }
.content h2 { margin-top: 3rem; padding-top: .3rem; font-size: clamp(1.75rem, 3vw, 2.3rem); }
.content h3 { margin-top: 1.8rem; }
.aside-box { position: sticky; top: 7rem; padding: 1.8rem; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); background: linear-gradient(145deg, #f7f9f6, #edf3ef); box-shadow: 0 18px 45px rgba(9,47,43,.085); }
.aside-box h2 { font-size: 1.6rem; }
.aside-box p:last-child { margin-bottom: 0; }

.site-footer { padding: 4.5rem 0 1.5rem; border-top: 2px solid var(--gold); color: #e8efea; background: #042e28; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 3rem; }
.site-footer p, .site-footer small { color: #b9c9c0; }
.site-footer h2, .site-footer h3 { font-family: inherit; font-size: .86rem; letter-spacing: .09em; text-transform: uppercase; }
.footer-links { display: grid; gap: .6rem; }
.site-footer a { color: #e8efea; text-decoration: none; }
.site-footer a:hover { color: #f0cf96; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); }

@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + .5rem);
    display: none;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .site-nav[data-open="true"] { display: grid; }
  .site-nav a { padding: .6rem; }
  .site-nav > a:not(.button)::after { display: none; }
  .nav-cta { margin-top: .3rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .photo-panel { min-height: 25rem; }
  .cta { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-copy { max-width: 42rem; }
  .contact-copy h2 { max-width: 14ch; }
  .aside-box { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(2.3rem, 11vw, 2.75rem); }
  .nav-wrap { gap: .75rem; }
  .brand { gap: .6rem; }
  .brand-mark { width: 2.35rem; }
  .brand-text { font-size: .92rem; }
  .brand-text small { display: none; }
  .hero { min-height: auto; }
  .hero::before { background: linear-gradient(90deg, rgba(5,42,35,.95), rgba(5,42,35,.54)), url("../images/hero-rhein-main-800.webp") 62% center / cover no-repeat; }
  .hero-content { padding: 5.5rem 0 4.5rem; }
  .hero .actions { display: grid; }
  .hero .button { width: 100%; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; margin-top: -1.5rem; }
  .trust-item { padding: 1rem; }
  .contact-panel { padding: 1rem; border-radius: 1.35rem; }
  .contact-panel-head { display: grid; gap: .75rem; }
  .contact-badge { justify-self: start; }
  .contact-call { gap: .8rem; padding: 1.1rem; }
  .contact-detail-grid { grid-template-columns: 1fr; }
  .contact-detail { min-height: auto; }
  .contact-mobile-row { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; }
  .photo-panel { min-height: 20rem; }
}

@media (max-width: 360px) {
  .contact-arrow { display: none; }
  .contact-call { grid-template-columns: auto minmax(0, 1fr); }
  .contact-call-copy strong { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
