@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/dm-sans.woff') format('woff');
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  --display-face: 'DM Sans', Arial, sans-serif;
  --text-face: var(--display-face);
  --paper: #f8f6f1;
  --ink: #272724;
  --reading-ink: #383834;
}
body { font-family: var(--text-face); }
body :is(h1,h2,h3), .service-landing :is(h1,h2,h3), .care-entry h3 { letter-spacing: -.028em; font-weight: 450; }
.home-page .video-statement em, .service-landing .service-hero h1 em { font-style: normal; }
.home-page .hero-years { font-weight: 500; }
body > header {
  height: 80px; background: #fff; border: 0; border-bottom: 1px solid #27272425;
  transition: height .32s ease, background-color .32s ease, box-shadow .32s ease;
}
body > header .logo { width: 155px; transform-origin: left center; transition: transform .32s ease, filter .32s ease; }
body.home-page { padding-top: 80px; }
body > header.compact-header { height: 62px; background: rgba(255,255,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 3px 16px #25231d12; }
body > header.compact-header .logo { transform: scale(.83); }
body > header nav a:hover { text-decoration: underline; text-underline-offset: .35em; }
.home-page .care-entry { align-items: stretch; }
.care-copy { align-self: center; }
.care-copy h3 { margin-bottom: .35rem; }
body .institute-footer, #kontakt.institute-footer {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 5%;
  background-color: #2b2a28;
  background-image: linear-gradient(105deg, rgba(27,25,23,.82), rgba(28,26,24,.72)), url("assets/handtuecher.webp");
  background-size: cover;
  background-position: center 56%;
  background-repeat: no-repeat; color: #f8f5ee; padding: clamp(36px,5vw,66px) 6% 20px;
}
.institute-footer h2 { color: inherit; font: 500 16px/1.4 var(--text-face); letter-spacing: 0; margin: 0 0 12px; }
.institute-footer :is(address,dl,a,button) { color: #ede9e1; font: 400 15px/1.65 var(--text-face); }
.institute-footer :is(address,dl,dd) { margin: 0; }
.institute-footer dl { display: grid; grid-template-columns: max-content 1fr; column-gap: 12px; }
.institute-footer a { display: block; }
.footer-links { grid-column: 1/-1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; border-top: 1px solid #ffffff30; padding-top: 16px; }
.footer-links button { border: 0; background: transparent; padding: 0; margin-left: auto; cursor: pointer; }
.institute-footer :is(a,button):hover { text-decoration: underline; }
@media (max-width: 760px) {
  body.home-page { padding-top: 68px; }
  body > header { height: 68px; }
  body > header .logo { width: clamp(98px,28vw,135px); }
  body > header.compact-header { height: 57px; }
  body > header nav.open { top: 100%; background: #f8f6f1; }
  .home-page .hero-video { min-height: 290px; }
  body .institute-footer, #kontakt.institute-footer { grid-template-columns: 1fr; gap: 20px; }
  .institute-footer h2 { margin-bottom: 4px; }
  .footer-links button { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  body > header, body > header .logo { transition: none; }
}

.legal-page { max-width: 76ch; margin: auto; padding: clamp(32px,5vw,64px) 5% 64px; box-sizing: content-box; }
.legal-page h1 { font: 500 clamp(26px,4vw,42px)/1.15 var(--text-face); overflow-wrap: anywhere; }
.legal-page h2 { font: 500 21px/1.35 var(--text-face); margin: 2rem 0 .6rem; }
.legal-page p { color: var(--reading-ink); font: 400 16px/1.65 var(--text-face); }
.legal-page a, .notice-links a { text-decoration: underline; }
.notice-links { display: flex; flex-wrap: wrap; gap: 6px 14px; }

.care-entry .care-visual { position: relative; overflow: hidden; }
.care-entry .care-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.care-entry .tone-0 img { object-position: 52% 76%; }
.care-entry .tone-2 img { object-position: 60% 65%; }

.institute-footer a.footer-instagram { display:inline-flex; align-items:center; gap:8px; min-height:44px; }
