/* Pflegedienst Sartorius
   Farben: Kieferngrün und Logogrün, dazu das Bernstein der Glaskuppel von La Cupula.
   Formmotiv: der Rundbogen des Gebäudeeingangs. */

@font-face {
  font-family: "Atkinson Next";
  src: url("/fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Young Serif";
  src: url("/fonts/young-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --pine: #123f35;
  --pine-deep: #0c2e27;
  --leaf: #2c9f4b;
  --leaf-text: #1b7436;
  --mist: #e9f3ed;
  --paper: #fcfdfb;
  --ink: #18241f;
  --ink-soft: #46554f;
  --amber: #f0b243;
  --amber-soft: #fdf2d8;
  --line: #cfe0d6;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Next", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --step-0: 1.125rem;
  --step-1: 1.35rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2rem, 1.3rem + 3.6vw, 3.9rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: var(--step-0); line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; color: var(--pine); margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-4); letter-spacing: -0.01em; }
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 30rem) { h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; } }
h2 { font-size: var(--step-3); }
h3, .h3 { font-size: var(--step-1); line-height: 1.25; }
p, ul, ol, address { margin: 0; }
address { font-style: normal; }
a { color: var(--leaf-text); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--pine); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: 40rem; }
.prose > * + * { margin-top: 1.1em; }
.prose > h2, .prose > h3 { margin-top: 2em; }
.prose > h2 + *, .prose > h3 + * { margin-top: 0.6em; }
.prose > :first-child { margin-top: 0; }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); max-width: 36rem; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--pine); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 8px 8px;
}
.skip:focus { top: 0; color: #fff; }

/* Kopf */
.top { background: var(--pine-deep); color: #dcebe3; font-size: 0.95rem; }
.top .wrap { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; align-items: center; justify-content: space-between; padding-block: 0.45rem; }
.top a { color: #fff; }
.top-phones { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.top-phones a { text-decoration: none; font-weight: 600; white-space: nowrap; }
.top-phones a:hover { text-decoration: underline; }
.langs { display: flex; gap: 0.25rem; list-style: none; padding: 0; }
.langs a { display: block; padding: 0.15rem 0.6rem; border-radius: 999px; text-decoration: none; }
.langs a:hover { background: rgb(255 255 255 / 0.14); }
.langs a[aria-current] { background: #fff; color: var(--pine-deep); font-weight: 600; }

.head { border-bottom: 1px solid var(--line); background: var(--paper); }
.head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 0.9rem; }
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--pine); }
.brand img { width: 3.4rem; height: auto; }
.brand-name { font-family: var(--sans); font-weight: 800; font-size: 1.6rem; letter-spacing: 0.04em; line-height: 1; display: block; color: var(--ink); }
.brand-sub { display: block; font-size: 0.86rem; color: var(--ink-soft); margin-top: 0.3rem; }
.nav ul { display: flex; flex-wrap: wrap; gap: 0.2rem 0.3rem; list-style: none; padding: 0; margin-inline: -0.7rem; }
.nav a {
  display: block; padding: 0.5rem 0.7rem; color: var(--ink); text-decoration: none; font-weight: 500;
  border-radius: 8px;
}
.nav a:hover { background: var(--mist); color: var(--pine); }
.nav a[aria-current="page"] { color: var(--pine); box-shadow: inset 0 -3px 0 var(--leaf); border-radius: 8px 8px 0 0; }

/* Schaltflächen */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.4rem; border-radius: 999px; border: 2px solid var(--pine);
  background: var(--pine); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.btn:hover { background: var(--pine-deep); border-color: var(--pine-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--pine); }
.btn-ghost:hover { background: var(--pine); color: #fff; }
.btn-amber { background: var(--amber); border-color: var(--amber); color: var(--pine-deep); }
.btn-amber:hover { background: #ffc85e; border-color: #ffc85e; color: var(--pine-deep); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* Rundbogen */
.arch { border-radius: 1000px 1000px 0 0; overflow: hidden; background: var(--mist); }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* Startseite: Bühne */
.hero { background: var(--mist); overflow: hidden; }
.hero .wrap { display: grid; gap: 2.5rem; align-items: end; padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.hero-text { padding-bottom: clamp(2rem, 6vw, 5rem); }
.hero-text > * + * { margin-top: 1.4rem; }
.hero-text .btn-row { margin-top: 2rem; }
.hero-art { position: relative; justify-self: center; width: min(100%, 31rem); }
.hero-art::before {
  content: ""; position: absolute; z-index: 0; width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: var(--amber); right: -14%; top: 4%;
  animation: sunrise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero-art .arch { position: relative; z-index: 1; aspect-ratio: 6 / 5; border-radius: 50% 50% 0 0 / 46% 46% 0 0; }
@keyframes sunrise { from { transform: translateY(38%); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 56rem) {
  .hero .wrap { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; }
}

/* Abschnitte */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-tint { background: var(--mist); }
.page-head { background: var(--mist); padding-block: clamp(2rem, 5vw, 3.5rem); }
.page-head > .wrap > * + * { margin-top: 1rem; }
.crumbs { font-size: 0.95rem; color: var(--ink-soft); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--ink-soft); }

.split { display: grid; gap: 2.5rem 4rem; align-items: start; }
@media (min-width: 56rem) {
  .split { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .split-even { grid-template-columns: 1fr 1fr; }
}

/* Kontaktkarte */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.6rem;
}
.card > * + * { margin-top: 1rem; }
.card-amber { background: var(--amber-soft); border-color: #f1dca8; }
.facts { display: grid; gap: 0.9rem; }
.facts dt { font-size: 0.92rem; color: var(--ink-soft); }
.facts dd { margin: 0; font-weight: 600; font-size: var(--step-1); line-height: 1.35; }
.facts dd a { color: var(--pine); text-decoration: none; }
.facts dd a:hover { text-decoration: underline; }
.facts .plain { font-weight: 400; font-size: var(--step-0); }

/* Aufklappbare Texte */
.fold { border-top: 1px solid var(--line); }
.fold:last-of-type { border-bottom: 1px solid var(--line); }
.fold summary {
  cursor: pointer; list-style: none; display: flex; gap: 1rem; justify-content: space-between; align-items: baseline;
  padding: 1.1rem 0; font-family: var(--serif); font-size: var(--step-1); line-height: 1.3; color: var(--pine);
}
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: "+"; font-family: var(--sans); font-size: 1.6rem; line-height: 1; color: var(--leaf-text); flex: none; }
.fold[open] summary::after { content: "\2212"; }
.fold-body { padding-bottom: 1.4rem; max-width: 40rem; }
.fold-body > * + * { margin-top: 1em; }
.stack > * + * { margin-top: 1.5rem; }

/* Leistungen */
.groups { display: grid; gap: 2.5rem 3rem; }
@media (min-width: 40rem) { .groups { grid-template-columns: 1fr 1fr; } }
.group { border-top: 3px solid var(--leaf); padding-top: 1.1rem; }
.ticks { list-style: none; padding: 0; margin-top: 0.9rem; }
.ticks li { position: relative; padding: 0.35rem 0 0.35rem 1.7rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0.15rem; top: 0.82em; width: 0.8rem; height: 0.42rem;
  border-left: 2.5px solid var(--leaf); border-bottom: 2.5px solid var(--leaf); transform: rotate(-45deg);
}
.side-art { max-width: 26rem; aspect-ratio: 5 / 4; border-radius: 50% 50% 0 0 / 40% 40% 0 0; }
.photo { aspect-ratio: 1 / 1; border-radius: 14px; }
.photo img { object-position: center 70%; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; align-items: end; max-width: 26rem; }
.trio .arch { aspect-ratio: 3 / 4.4; }
.trio .arch:nth-child(2) { aspect-ratio: 3 / 5.2; }
.trio.duo { grid-template-columns: repeat(2, 1fr); gap: 1rem; max-width: 28rem; }
.trio.duo .arch { aspect-ratio: 3 / 4.4; }
.trio.duo .arch:nth-child(2) { margin-bottom: 2.5rem; }

/* Preise */
.prices { border-top: 1px solid var(--line); }
.price { display: grid; gap: 0.6rem 2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.price-amount { font-family: var(--serif); font-size: var(--step-2); color: var(--pine); white-space: nowrap; line-height: 1.1; }
.price ul { padding-left: 1.2rem; color: var(--ink-soft); margin-top: 0.5rem; }
.price li + li { margin-top: 0.15rem; }
@media (min-width: 40rem) {
  .price { grid-template-columns: 1fr auto; align-items: start; }
  .price-amount { text-align: right; }
}

/* Karte */
.map { position: relative; min-height: 26rem; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--mist); }
.map-ask { position: absolute; inset: 0; display: grid; place-content: center; justify-items: start; gap: 1.2rem; padding: 2rem; max-width: 34rem; margin: auto; }
.map-canvas { position: absolute; inset: 0; }
.map .leaflet-container { font: inherit; font-size: 0.9rem; }

/* Linkliste */
.linklist { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.linklist li { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.linklist li > * + * { margin-top: 0.4rem; }
.linklist .host { font-size: 0.95rem; color: var(--ink-soft); }

/* Schlussband */
.cta { background: var(--pine); color: #e3efe8; }
.cta h2 { color: #fff; max-width: 22ch; }
.cta .wrap { display: grid; gap: 2rem; align-items: center; }
.cta-text > * + * { margin-top: 1rem; }
@media (min-width: 56rem) { .cta .wrap { grid-template-columns: 1.3fr 1fr; } .cta .btn-row { justify-content: flex-end; } }
.cta .btn-ghost { border-color: #fff; color: #fff; }
.cta .btn-ghost:hover { background: #fff; color: var(--pine); }

/* Fuß */
.foot { background: var(--pine-deep); color: #c9dcd2; font-size: 1rem; padding-block: 3rem 2rem; }
.foot a { color: #fff; }
.foot-h { font-weight: 600; font-size: 1rem; color: #fff; margin-bottom: 0.7rem; }
.foot-grid { display: grid; gap: 2rem 3rem; }
@media (min-width: 48rem) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot ul { list-style: none; padding: 0; }
.foot li + li { margin-top: 0.35rem; }
.foot-brand { font-family: var(--serif); font-size: 1.5rem; color: #fff; }
.foot-brand + p { margin-top: 0.6rem; max-width: 26rem; }
.foot-end { display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; justify-content: space-between; align-items: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.16); }
.note { font-size: 0.98rem; color: var(--ink-soft); max-width: 40rem; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: #fff; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.linkbtn-dark { color: var(--leaf-text); }

.notfound { padding-block: clamp(4rem, 12vw, 8rem); }
.notfound > .wrap > * + * { margin-top: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art::before { animation: none; }
  .btn { transition: none; }
}
@media print {
  .top, .nav, .cta, .foot, .map, .skip { display: none; }
  body { font-size: 11pt; }
}
