@font-face {
  font-family: Gloock;
  src: url("schrift/gloock-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Newsreader;
  src: url("schrift/newsreader-latin-standard-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("schrift/dm-sans-latin-standard-normal.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  --ink: #103d3b;
  --petrol: #064948;
  --teal: #007278;
  --mint: #c9eee1;
  --paper: #f3f6eb;
  --light: #ebff91;
  --rule: #9dbbb0;
  --display: Gloock, "Baskerville", "Times New Roman", serif;
  --voice: Newsreader, "Palatino Linotype", Palatino, serif;
  --sans: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --edge: clamp(20px, 5.3vw, 78px);
  --rail: max(70px, var(--edge));
  --kurve: cubic-bezier(.22,1,.36,1);
  --wechsel: cubic-bezier(.4,0,.2,1);
  --dauer: .47s;
  --versatz: .026s;
}
* { box-sizing: border-box; }
html { scroll-padding-block: 24px 88px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 17px/1.52 var(--sans); }
h1, h2, p { margin: 0; }
h1, h2, .wordmark { font: 400 1em/1.03 var(--display); letter-spacing: -.045em; }
em, .lead, .invite { font: italic 460 1em/1.06 var(--voice); }
a { color: inherit; text-underline-offset: .23em; text-decoration-thickness: 1px; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.wrap { margin-inline: auto; max-width: 1540px; padding-inline: var(--edge) var(--rail); }
.mast, .opening { background: var(--mint); }
.mast {
  display: flex; align-items: center; justify-content: space-between;
  position: relative; padding-block: 13px;
}
.mast::after {
  content: ""; position: absolute; bottom: 0; left: var(--edge); right: var(--edge);
  border-bottom: 1px solid #74afa1;
}
.logo, .logo img { display: block; width: 56px; height: 56px; }
.mast nav, .foot nav { display: flex; flex-wrap: wrap; gap: 0 clamp(16px,3.2vw,44px); }
.mast nav a, .foot a, .text-link, .jump a, .legal-body a {
  display: inline-flex; align-items: center; min-height: 48px; min-width: 48px;
}
.mast nav a, .jump a, .foot a { text-decoration: none; }
.mast nav a { font-size: 16px; }
.mast a:hover, .foot a:hover, [aria-current="page"], .jump a:hover { text-decoration: underline; }
.opening { position: relative; overflow: hidden; }
.hero { position: relative; padding-top: 25px; }
.heading { min-height: clamp(287px,81.5vw,364px); position: relative; z-index: 1; pointer-events: none; }
.eyebrow {
  display: flex; gap: .62em; align-items: center;
  font-size: 16px; font-weight: 600; letter-spacing: .03em;
}
.eyebrow::before {
  content: ""; display: block; width: 20px; height: 10px; flex: none;
  border-radius: 100% 0 100% 0; background: var(--teal); transform: rotate(-10deg);
}
.heading h1 { font-size: clamp(76px,24.2vw,130px); line-height: .88; margin-top: 19px; }
.heading h1 > span, .heading h1 em { display: block; width: fit-content; }
.heading h1 em { font-size: .85em; margin: .05em 0 0 .04em; letter-spacing: -.068em; color: #006568; }
.art {
  position: absolute; right: calc(-1 * var(--rail) - 5px); top: clamp(134px,36vw,165px);
  width: clamp(155px,50vw,245px); aspect-ratio: 1.29; isolation: isolate; pointer-events: none;
}
.art .leaves {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: 90% 0 87% 0 / 87% 0 95% 0;
}
.portrait {
  position: absolute; left: 21%; top: 7%; width: 68%; height: auto; border-radius: 50%;
  box-shadow: 0 0 0 3px var(--mint);
}
.leaf-line {
  --grad: -9deg; position: absolute; z-index: -1; inset: 3% -6% -8% -6%;
  border: 1px solid #598b7e; border-radius: 94% 0 91% 0;
  transform-origin: 87% 13%;
}
.leaf-line::before { content: ""; position: absolute; inset: 4% 0 -5% 4%; border: inherit; border-radius: inherit; }
.intro { position: relative; max-width: 37ch; }
.intro > p:first-child { font-size: clamp(17px, 2vw, 22px); letter-spacing: -.015em; line-height: 1.38; }
.invite { font-size: clamp(24px, 3.8vw, 36px); margin-block: 24px 10px; letter-spacing: -.03em; }
.phone {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 11px;
  min-height: 58px; max-width: 100%; padding: 13px 19px 13px 17px;
  background: var(--light); border: 1.5px solid var(--ink); color: var(--ink);
  border-radius: 3px 29px 3px 24px; box-shadow: 0 4px 0 var(--ink);
  font: 620 clamp(19px, 4.7vw, 26px)/1.1 var(--sans); letter-spacing: -.025em;
  text-decoration: none; white-space: nowrap;
}
.phone > svg { flex: none; width: 22px; height: 22px; }
.call-arrow { display: block; width: 20px; height: 20px; position: relative; margin-left: clamp(2px,2.2vw,24px); }
.call-arrow::before, .call-arrow::after { content: ""; position: absolute; right: 2px; top: 3px; }
.call-arrow::before { width: 12px; height: 12px; border-top: 1.8px solid; border-right: 1.8px solid; }
.call-arrow::after { width: 19px; height: 1.8px; background: currentColor; transform: rotate(-45deg); transform-origin: right; }
.phone:hover { background: #f4ffbf; }
.phone[data-b]:active { transform: translateY(3px) scale(.985); box-shadow: 0 1px 0 var(--ink); }
.jump { margin-block: 24px 0; padding-block: 2px 20px; }
.jump a { gap: 12px; font-size: 16px; border-bottom: 1px solid #70aa9d; }
.jump a span { --tiefe: 14px; }
.topics, .service-body { background: var(--petrol); color: var(--paper); }
.topics, .contact { padding-block: clamp(58px,7vw,108px) clamp(75px,8vw,128px); }
.split { display: grid; gap: 33px; }
.split h2 { font-size: clamp(40px, 11.4vw, 80px); overflow: hidden; padding-bottom: .12em; }
.split h2 em { --strecke: 26px; display: inline-block; padding-right: .1em; font-size: 1.24em; color: #a9e8d4; }
.split h2 + p { margin-top: 16px; max-width: 34ch; }
.topic-links { border-top: 1px solid #75a49a; align-self: end; }
.topic-links a {
  display: flex; justify-content: space-between; align-items: center; min-height: 70px;
  gap: 16px; padding-block: 15px; border-bottom: 1px solid #75a49a; text-decoration: none;
  font: 400 clamp(23px,3.4vw,40px)/1.18 var(--display); letter-spacing: -.03em;
}
.topic-links a:hover span:first-child { text-decoration: underline; }
.topic-links a span:last-child { color: var(--mint); font: 400 22px/1 var(--sans); }
.contact { background: var(--paper); }
.contact-grid { display: grid; gap: 37px; }
.contact h2 { font-size: clamp(45px, 8vw, 92px); margin-bottom: 15px; }
.contact h2 span { display: inline-block; }
.contact h2::before {
  content: ""; display: block; width: 34px; height: 15px; margin-bottom: 19px;
  border: 1px solid var(--teal); border-radius: 100% 0 100% 0;
}
#anfahrt h2::before { transform: rotate(-20deg); }
.text-link { color: #006166; max-width: 100%; gap: .3em; }
#anfahrt p { font-family: var(--voice); font-style: italic; font-size: 21px; }
.foot { padding-block: 27px 65px; background: var(--mint); border-top: 1px solid var(--rule); }
.wordmark { font-size: 30px; }
.foot nav { gap: 0 18px; }
.foot nav a { font-size: 16px; }
.service-cover { padding-bottom: 10px; }
.service-cover h1, .legal h1 { font-size: clamp(48px, 14.5vw, 110px); margin-block: 18px; line-height: 1; }
.service-cover .art { position: relative; top: auto; right: auto; width: 77%; margin: 17px calc(-1 * var(--rail)) 0 auto; }
.lead { max-width: 23ch; font-size: clamp(30px,5vw,52px); letter-spacing: -.035em; margin-block: 18px 24px; }
.service-body { padding-block: 26px 45px; }
.service-body section { padding-block: clamp(36px,5vw,78px); border-bottom: 1px solid #77a59b; }
.service-body h2 { font-size: clamp(32px,8.8vw,62px); margin-bottom: 20px; }
.service-body h2 em { display: block; color: #b6f1dc; font-size: 1.07em; margin-top: .07em; }
.service-body p, .legal-body p { max-width: 58ch; }
.service-body p + p, .legal-body p + p { margin-top: 1em; }
.service-body .text-link { color: var(--mint); margin-top: 9px; }
.legal-hero { padding-block: clamp(35px,5vw,88px) clamp(46px,6vw,92px); }
.legal-hero > p:not(.eyebrow) { max-width: 57ch; margin-bottom: 25px; }
.legal-body { padding-block: 22px 50px; }
.legal-body section { padding-block: 32px; border-bottom: 1px solid var(--rule); }
.legal-body h2 { font-size: clamp(31px,5.7vw,55px); margin-bottom: 15px; }
.legal-body a { color: #006166; overflow-wrap: anywhere; max-width: 100%; }
.legal-body a[href="index.html"] { margin-top: 12px; }

body:has(#knoepfe[data-k-design="schwebend"]) { padding-bottom: 0 !important; }

/* Der Anrufer sitzt in einem eigenen, vom Text freigehaltenen Satzrand. */
#knoepfe[data-k-design=schwebend] .k-shell {
  width: 48px; right: max(7px, env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom));
}
#knoepfe[data-k-design=schwebend] .k-call {
  width: 48px; height: 112px; min-height: 48px; display: flex; flex-direction: column; gap: 9px;
  border-radius: 25px 3px 24px 3px; border: 1px solid var(--ink); box-shadow: 0 3px 0 var(--ink);
  padding: 9px 0; color: var(--ink); background: var(--light);
}
#knoepfe[data-k-design=schwebend] .k-label {
  position: static; display: block; writing-mode: vertical-rl; transform: rotate(180deg); opacity: 1;
  padding: 0; border: 0; color: inherit; background: transparent; font: 650 15px/1 var(--sans);
}
#knoepfe .k-call svg { flex: none; width: 20px; height: 20px; }
#knoepfe .k-enter, #knoepfe .k-call::after { animation: none; }
/* Erst beim Eintritt bewegt sich die Schrift. Eine Ganzseitenansicht bleibt lesbar. */
html.b-an [data-b~=steigen] .b-z,
html.b-an [data-b~=reihe] > * { transform: none; opacity: 1; transition: none; }
html.b-an [data-b~=steigen].b-da .b-z {
  animation: aufsteigen var(--dauer) var(--kurve) calc(var(--i) * var(--versatz)) backwards;
}
@keyframes aufsteigen { from { transform: translateY(105%); } to { transform: none; } }
html.b-an [data-b~=reihe].b-da > * {
  animation: zeile .52s var(--kurve) backwards;
}
html.b-an [data-b~=reihe].b-da > :nth-child(2) { animation-delay: .1s; }
html.b-an [data-b~=reihe].b-da > :nth-child(3) { animation-delay: .2s; }
@keyframes zeile { from { opacity: .25; transform: translateY(15px); } to { opacity: 1; transform: none; } }
html.b-an [data-b~=schreiben] { clip-path: none; transition: none; }
html.b-an [data-b~=schreiben].b-da { animation: schriftzug .62s var(--kurve); }
@keyframes schriftzug { from { clip-path: inset(-10% 100% -10% 0); } to { clip-path: inset(-10% -5% -10% 0); } }
.call-arrow.b-sicht { animation-delay: .7s; animation-duration: 2.8s; }

@media (min-width: 680px) {
  :root { --rail: max(78px, var(--edge)); }
  body { font-size: 18px; }
  .mast { padding-block: 14px; }
  .logo, .logo img { width: 62px; height: 62px; }
  .hero { padding-top: clamp(45px,4.7vw,76px); }
  .heading { min-height: 0; }
  .heading h1 { font-size: clamp(93px,11.2vw,174px); }
  .heading h1 em { margin: -.03em 0 0 .45em; font-size: 1em; }
  .cover .intro { margin-top: 34px; }
  .cover .art, .service-cover .art {
    position: absolute; width: min(43vw,650px); top: 15%; right: calc(12px - var(--rail) / 2); margin: 0;
  }
  .service-cover { padding-block: clamp(65px,9vw,150px); }
  .service-cover h1 { font-size: clamp(65px,8vw,116px); }
  .service-cover .lead { max-width: 16ch; font-size: clamp(31px,3.6vw,54px); }
  .jump { margin-top: 22px; padding-bottom: 36px; }
  .split, .contact-grid, .service-body section { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; }
  .service-body h2 { font-size: clamp(34px,4vw,62px); }
  .split h2 { font-size: clamp(47px,5.7vw,88px); }
  .contact-grid { gap: 12%; }
  .foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
  .foot nav { gap: 28px; }
  .legal-body section { display: flow-root; max-width: 79ch; }
  #knoepfe[data-k-design=schwebend] .k-shell { right: 14px; }
}
@media (min-width: 1540px) {
  .mast, .opening, .foot, .service-body {
    max-width: none;
    padding-inline: calc((100% - 1540px) / 2 + var(--edge)) calc((100% - 1540px) / 2 + var(--rail));
  }
}
@media (max-width: 360px) {
  .wrap { --edge: 16px; --rail: 62px; }
  .phone { padding-inline: 12px; gap: 7px; }
  .heading h1 { font-size: 23vw; }
  .mast nav { gap: 10px; }
  .split h2 { font-size: 10.9vw; }
  .service-body h2 { font-size: 8.5vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-b-lauf], [data-b] .b-z, [data-b~=reihe] > * { transform: none !important; opacity: 1 !important; }
  [data-b~=schreiben] { clip-path: none !important; }
}

/* Ohne Baukasten bleibt das vorhandene Hörersymbol Teil desselben Telefonlinks. */
body:not(:has(#knoepfe .k-call)) .phone svg {
  position: fixed; z-index: 10; right: max(7px, env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom));
  width: 48px; height: 54px; padding: 12px; border: 1px solid var(--ink);
  border-radius: 24px 3px 22px 3px; background: var(--light); box-shadow: 0 3px 0 var(--ink);
}
body:not(:has(#knoepfe .k-call)) .phone:active { transform: none; }
