/* =============================================================
   Hausarzt Lindenfels – Version B „Bento“
   Stil: modulare Kacheln, dunkler Pflaume-Hero, Salbei-Akzent
   Bricks: :root-Variablen → Bricks-Variablen, Klassen → Global Classes
   ============================================================= */

/* Schriften lokal (keine Verbindung zu Google, DSGVO): variable Fonts, Teilmenge „latin“ */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap; src: url('../fonts/figtree-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Noto Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/noto-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --c-plum:       #6E3C4D;   /* Markenfarbe – bleibt */
  --c-plum-deep:  #3E1F2B;
  --c-plum-ink:   #2A1119;
  --c-plum-soft:  #8C5A6B;
  --c-sage:       #8DBBA9;   /* Akzent */
  --c-sage-strong:#7AAE9A;
  --c-sage-deep:  #3F7A66;
  --c-sage-tint:  #E7F1EC;
  --c-bg:         #F4F3F5;
  --c-surface:    #FFFFFF;
  --c-border:     #E6E2E8;
  --c-ink:        #241A1E;
  --c-ink-2:      #625860;
  --c-open:       #2F7A52;
  --c-closed:     #B04A4A;

  --f-head: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-0: 0.9375rem;
  --fs-1: 1.0625rem;
  --fs-2: 1.25rem;
  --fs-3: 1.5rem;
  --fs-4: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem);
  --fs-5: clamp(2.75rem, 1.5rem + 4.6vw, 5.4rem);

  --w-content: 76rem;
  --w-text: 40rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --s-section: clamp(4rem, 8vw, 6.5rem);
  --r-sm: 6px; --r-md: 8px; --r-lg: 12px;   /* bewusst kleine Rundungen, auch Buttons und Etiketten (Kundenwunsch) */
  --shadow-tile: 0 28px 48px -30px rgba(62,31,43,.4);

  --ease: cubic-bezier(.22, .72, .18, 1);
  --t-fast: 200ms;
  --t-slow: 650ms;
  --header-h: 5.25rem;
  --logo-h: 3.6rem;      /* Logo in der hängenden Box */
  --logo-hang: 1.6rem;   /* so weit hängt die Box unter die Leiste */
  --logo-box-w: calc(var(--logo-h) * 271 / 80 + 2.8rem);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: light; }
body { margin: 0; font-family: var(--f-body); font-size: var(--fs-1); line-height: 1.6; color: var(--c-ink); background: var(--c-bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--c-plum); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--c-plum-deep); }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: var(--c-plum-deep); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--fs-5); font-weight: 800; line-height: .98; letter-spacing: -0.035em; }
h2 { font-size: var(--fs-4); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.lead { font-size: var(--fs-2); line-height: 1.5; color: var(--c-ink-2); max-width: var(--w-text); }
.prose { max-width: 48rem; }
.prose ul { list-style: disc; padding-left: 1.25em; margin-bottom: 1em; }
.prose li { margin-bottom: .35em; }
:focus-visible { outline: 3px solid var(--c-plum); outline-offset: 3px; border-radius: 4px; }
/* auf dunklen Flächen hellerer Rahmen, damit er sichtbar bleibt */
.header :focus-visible, .ticker :focus-visible, .hero :focus-visible, .pagehead :focus-visible, .burg :focus-visible, .section--dark :focus-visible, .section--plum :focus-visible, .footer :focus-visible, .tile--rezeption :focus-visible, .apply-card :focus-visible, .notice :focus-visible, .date--help :focus-visible, .svc--plum :focus-visible, .reach__item--main:focus-visible { outline-color: var(--c-sage); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--c-plum); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm); }
.skip-link:focus { top: 1rem; }
.container { width: min(100% - 2 * var(--gutter), var(--w-content)); margin-inline: auto; }
.section { padding-block: var(--s-section); }
.section--white { background: var(--c-surface); }
.section--sage { background: var(--c-sage-tint); }
.section--dark, .section--plum { background: var(--c-plum-deep); color: #fff; }
.section--plum { background: var(--c-plum); }
.section--dark h2, .section--dark h3, .section--plum h2, .section--plum h3 { color: #fff; }
.section--dark .lead, .section--plum .lead { color: rgba(255,255,255,.8); }
.section__head { max-width: var(--w-text); margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.section__head--row > div { max-width: var(--w-text); }
.section__head--row .lead { margin-bottom: 0; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .9em 1.5em; border-radius: var(--r-sm); font: 600 1rem/1 var(--f-head); letter-spacing: -.005em; text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--c-plum); color: #fff; }
.btn--primary:hover { background: var(--c-plum-deep); color: #fff; }
.btn--sage { background: var(--c-sage); color: var(--c-plum-ink); }
.btn--sage:hover { background: var(--c-sage-strong); color: var(--c-plum-ink); box-shadow: 0 10px 24px -12px rgba(141,187,169,.8); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.7); }
.btn--light { background: #fff; color: var(--c-plum-deep); }
.btn--light:hover { background: var(--c-sage-tint); color: var(--c-plum-deep); }
.btn--sm { padding: .7em 1.15em; font-size: .9375rem; }

/* ---------- Header (dunkel) ---------- */
.header { position: sticky; top: 0; z-index: 50; isolation: isolate; color: #fff; transition: box-shadow var(--t-fast); }
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(74,37,51,.94), rgba(62,31,43,.94)); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); }
.header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(0,0,0,.5); }
.header__inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }

/* Logo in einer weißen Box, die unter die Leiste hängt; beim Scrollen schrumpft sie auf Leistenhöhe */
.header__logo { flex: none; align-self: flex-start; display: flex; align-items: center; height: calc(var(--header-h) + var(--logo-hang)); padding: 0 1.4rem; background: #fff; border-radius: 0 0 var(--r-sm) var(--r-sm); box-shadow: 0 18px 34px -18px rgba(20,6,12,.55), inset 0 -3px 0 var(--c-sage); transition: height .35s var(--ease), padding .35s var(--ease); }
.header__logo img { height: var(--logo-h); width: auto; transition: height .35s var(--ease); }
.header.is-scrolled .header__logo { height: var(--header-h); }
.header.is-scrolled .header__logo img { height: 2.75rem; }
.header__logo:focus-visible { outline-offset: -3px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.nav__list { display: flex; gap: 1.6rem; }
.nav__link { position: relative; display: block; color: rgba(255,255,255,.8); text-decoration: none; font: 600 1.0625rem/1 var(--f-head); letter-spacing: .005em; padding: .75rem .1rem; transition: color var(--t-fast); }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 2px; border-radius: 2px; background: var(--c-sage); transform: scaleX(0); transform-origin: left; transition: transform var(--t-fast) var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"] { color: #fff; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 1rem; padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,.14); }
.nav__phone { display: inline-flex; align-items: center; gap: .6em; font: 700 1.0625rem/1 var(--f-head); letter-spacing: .01em; text-decoration: none; color: #fff; white-space: nowrap; }
.nav__phone .icon { width: 2.1rem; height: 2.1rem; padding: .5rem; border-radius: var(--r-sm); background: rgba(141,187,169,.18); color: var(--c-sage); transition: background var(--t-fast), color var(--t-fast); }
.nav__phone:hover { color: #fff; }
.nav .btn { white-space: nowrap; }
@media (max-width: 82rem) and (min-width: 68.01rem) {
  /* wenig Platz: Telefon nur als Symbol (Nummer bleibt für Screenreader lesbar) */
  .nav__phone-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav__actions { padding-left: 1rem; }
}
.nav__phone:hover .icon { background: var(--c-sage); color: var(--c-plum-ink); }
.nav__toggle { display: none; margin-left: auto; width: 2.75rem; height: 2.75rem; border: 0; background: transparent; cursor: pointer; color: #fff; border-radius: var(--r-sm); }
.nav__toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; border-radius: 2px; transition: transform var(--t-fast) var(--ease), opacity var(--t-fast); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--c-plum-deep); color: #fff; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(8.5rem, 14vw, 11.5rem); }
.hero::before { content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 48rem; max-height: 48rem; right: -18vw; top: -22vw; border-radius: 50%; background: radial-gradient(circle, rgba(141,187,169,.28), rgba(141,187,169,0) 62%); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 50vw; height: 50vw; max-width: 40rem; max-height: 40rem; left: -20vw; bottom: -30vw; border-radius: 50%; background: radial-gradient(circle, rgba(110,60,77,.9), rgba(110,60,77,0) 62%); pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero__title { color: #fff; margin-bottom: .45em; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .04em .1em 0; margin-bottom: -.1em; }
.hero__title .w > span { display: inline-block; transform: translateY(112%); animation: word-up .9s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 80ms + 120ms); }
@keyframes word-up { to { transform: none; } }
.hero .lead { color: rgba(255,255,255,.82); margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.hero [data-stagger] { opacity: 0; transform: translateY(16px); animation: rise var(--t-slow) var(--ease) forwards; animation-delay: calc(var(--i, 0) * 110ms + 160ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero__media { position: relative; justify-self: end; width: min(100%, 32rem); }
.hero__photo { aspect-ratio: 5 / 4; border-radius: var(--r-lg); overflow: hidden; background: var(--c-plum); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: kenburns 2.4s var(--ease) 300ms forwards; }
@keyframes kenburns { to { transform: scale(1); } }

/* Status-Karte */
.status { position: absolute; z-index: 2; left: 1.25rem; bottom: 1.25rem; background: #fff; color: var(--c-ink); border-radius: var(--r-md); padding: .9rem 1.2rem .9rem 1rem; box-shadow: 0 20px 40px -24px rgba(0,0,0,.5); display: grid; grid-template-columns: auto 1fr; gap: .2rem .7rem; align-items: center; min-width: 14rem; }
/* Im Hero: Karte versetzt, halb auf dem Foto, halb daneben/darunter */
.hero__media .status { left: -2.5rem; bottom: 0; transform: translateY(50%); box-shadow: 0 26px 50px -22px rgba(0,0,0,.6); }
.status__dot { grid-row: span 2; width: .75rem; height: .75rem; border-radius: 50%; background: var(--c-ink-2); }
.status--open .status__dot { background: var(--c-open); box-shadow: 0 0 0 4px rgba(47,122,82,.15); animation: pulse 2.4s ease-out infinite; }
.status--closed .status__dot { background: var(--c-closed); box-shadow: 0 0 0 4px rgba(176,74,74,.14); }
.status__title { font-family: var(--f-head); font-weight: 700; line-height: 1.2; color: var(--c-plum-deep); }
.status__sub { font-size: var(--fs-0); color: var(--c-ink-2); line-height: 1.3; }
@keyframes pulse { 0% { box-shadow: 0 0 0 4px rgba(47,122,82,.18); } 70% { box-shadow: 0 0 0 10px rgba(47,122,82,0); } 100% { box-shadow: 0 0 0 4px rgba(47,122,82,0); } }

/* ---------- Öffnungszeiten ---------- */
.hours { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; font-size: var(--fs-0); color: var(--c-ink-2); margin: 0; }
.hours dt { font-weight: 600; color: var(--c-plum-deep); font-family: var(--f-head); }
.hours dd { margin: 0; }
.hours .is-today dt, .hours .is-today dd { color: var(--c-sage-deep); }
.hours .is-today dt::before { content: "●"; font-size: .55em; vertical-align: .25em; margin-right: .4em; }

/* ---------- Bento ---------- */
.bento { position: relative; z-index: 2; margin-top: -6.5rem; padding-bottom: var(--s-section); }
.bento__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(12.5rem, auto); grid-auto-flow: dense; gap: 1rem; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 1.5rem; }
.tile p { color: var(--c-ink-2); font-size: var(--fs-0); margin-bottom: 1rem; }
.tile__title { font-size: 1.2rem; margin-bottom: .6rem; }
.tile__icon { width: 2.5rem; height: 2.5rem; border-radius: var(--r-md); background: var(--c-sage-tint); color: var(--c-sage-deep); display: grid; place-items: center; margin-bottom: 1rem; }
.tile__icon .icon { width: 1.35rem; height: 1.35rem; }
.tile__icon--light { background: rgba(255,255,255,.14); color: var(--c-sage); }
.tile__link { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; font-family: var(--f-head); font-weight: 600; text-decoration: none; color: var(--c-plum); }
.tile__link .icon { transition: transform var(--t-fast) var(--ease); }
.tile__link:hover .icon { transform: translateX(3px); }

.tile--welcome { grid-column: span 2; grid-row: span 2; padding: 0; }
.tile__photo { height: 15rem; overflow: hidden; }
.tile__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile--welcome:hover .tile__photo img { transform: scale(1.03); }
.tile__body { padding: 1.5rem 1.75rem 1.75rem; }
.tile__body h2 { font-size: var(--fs-3); }
.tile__body p { font-size: var(--fs-1); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { font: 600 .875rem/1 var(--f-head); color: var(--c-sage-deep); background: var(--c-sage-tint); padding: .5em .85em; border-radius: var(--r-sm); }

.tile--rezeption { grid-row: span 2; background: var(--c-plum); border-color: var(--c-plum); color: #fff; }
.tile--rezeption .tile__title { color: #fff; }
.tile--rezeption p { color: rgba(255,255,255,.8); }
.minilist { display: grid; gap: .55rem; margin-bottom: 1.25rem; }
.minilist li { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-0); font-weight: 500; }
.minilist .icon { color: var(--c-sage); width: 1.2rem; height: 1.2rem; }
.tile--rezeption .btn { align-self: flex-start; margin-top: auto; }
.tile__note { margin: .9rem 0 0 !important; font-size: .8125rem !important; color: rgba(255,255,255,.65) !important; }

.closure__name { font-family: var(--f-head); font-weight: 700; font-size: var(--fs-3); color: var(--c-plum-deep) !important; margin-bottom: .1rem !important; line-height: 1.15; }
.closure__dates { margin-bottom: .5rem !important; }
.closure__rel { display: inline-block; font: 600 .8125rem/1 var(--f-head); color: var(--c-sage-deep); background: var(--c-sage-tint); padding: .45em .75em; border-radius: var(--r-sm); margin-bottom: 1rem !important; }
.closure__rel:empty { display: none; }

.tile--services { grid-column: span 2; }
.svc-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.svc-links a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--c-border); text-decoration: none; color: var(--c-ink); font-weight: 500; font-size: var(--fs-0); transition: color var(--t-fast); }
.svc-links a:hover { color: var(--c-plum); }
.svc-links small { font: 600 .8rem/1 var(--f-head); color: var(--c-sage-deep); background: var(--c-sage-tint); padding: .4em .6em; border-radius: var(--r-sm); }


.tile--photo { padding: 0; }
.tile--photo img { width: 100%; height: 100%; object-fit: cover; min-height: 12.5rem; }

/* ---------- Leistungen ---------- */
/* Bento: unterschiedlich große Kacheln, Allgemeinmedizin hervorgehoben, Foto als Kachel */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.svc { position: relative; overflow: hidden; margin: 0; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: clamp(1.4rem, 2.5vw, 1.9rem); transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .6s var(--ease); }
.svc.is-visible:hover { transform: translateY(-3px); box-shadow: var(--shadow-tile); }
.svc--wide { grid-column: span 2; }
.svc__num { position: absolute; right: 1.25rem; top: .75rem; font: 800 3.5rem/1 var(--f-head); letter-spacing: -.04em; color: var(--c-plum); opacity: .08; }
.svc__icon { width: 2.75rem; height: 2.75rem; border-radius: var(--r-md); background: var(--c-plum); color: #fff; display: grid; place-items: center; margin-bottom: 1rem; }
.svc__icon .icon { width: 1.4rem; height: 1.4rem; }
.svc h3 { font-size: 1.3rem; margin-bottom: .9rem; }
.svc ul { display: grid; gap: .55rem; }
.svc--wide ul { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
.svc li { position: relative; padding-left: 1.35rem; font-size: var(--fs-0); color: var(--c-ink-2); line-height: 1.45; }
.svc li::before { content: ""; position: absolute; left: 0; top: .6em; width: .75rem; height: 2px; border-radius: 2px; background: var(--c-sage-strong); transition: width var(--t-fast) var(--ease); }
.svc:hover li::before { width: 1rem; }
.svc--plum { background: var(--c-plum); border-color: var(--c-plum); color: #fff; }
.svc--plum h3 { color: #fff; }
.svc--plum li { color: rgba(255,255,255,.85); }
.svc--plum li::before { background: var(--c-sage); }
.svc--plum .svc__icon { background: rgba(255,255,255,.14); color: var(--c-sage); }
.svc--plum .svc__num { color: #fff; opacity: .12; }
.svc--sage { background: var(--c-sage-tint); border-color: transparent; }
.svc--photo { padding: 0; border: 0; min-height: 15rem; }
.svc--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc--photo:hover img { transform: scale(1.04); }
.svc__more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.25rem; font: 600 .9375rem/1 var(--f-head); color: var(--c-sage); text-decoration: none; }
.svc__more:hover { color: #fff; }
.svc__more .icon { transition: transform var(--t-fast) var(--ease); }
.svc:hover .svc__more .icon { transform: translateX(4px); }
.svc__note { margin: 1rem 0 0; font-size: .8125rem; color: var(--c-ink-2); }

/* ---------- Praxisurlaub (Datums-Karten) ---------- */
.dates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.date { background: var(--c-surface); border-radius: var(--r-lg); padding: 1.5rem; display: flex; flex-direction: column; gap: .15rem; }
.date__range { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); letter-spacing: -.03em; color: var(--c-plum-deep); line-height: 1.1; }
.date__month { color: var(--c-ink-2); font-size: var(--fs-0); }
.date__name { margin-top: .75rem; font: 600 .875rem/1 var(--f-head); color: var(--c-sage-deep); }
.date.is-past { opacity: .55; }
.date--help { background: var(--c-plum-deep); color: #fff; gap: .5rem; justify-content: center; }
.date--help strong { font-family: var(--f-head); font-size: 1.05rem; margin-bottom: .25rem; }
.date--help span { font-size: var(--fs-0); color: rgba(255,255,255,.75); display: flex; justify-content: space-between; gap: 1rem; }
.date--help a { color: #fff; font: 700 1.1rem/1.2 var(--f-head); text-decoration: none; white-space: nowrap; }

/* ---------- Kontakt ---------- */
.kontakt__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-list { display: grid; gap: 1.3rem; margin-top: 2rem; }
.contact-list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.contact-list .icon { width: 1.5rem; height: 1.5rem; color: var(--c-sage); margin-top: .2rem; }
.contact-list strong { display: block; font-family: var(--f-head); font-size: var(--fs-0); font-weight: 600; margin-bottom: .1rem; opacity: .75; }
.contact-list a { text-decoration: none; font-weight: 600; color: inherit; }
.contact-list a:hover { text-decoration: underline; }
.section--dark .contact-list a { color: #fff; }
/* Kontakt-Kasten (statt Formular): drei klare Wege zur Praxis */
.reach { background: var(--c-surface); color: var(--c-ink); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.25rem); border: 1px solid var(--c-border); display: grid; gap: .75rem; }
.reach__title { font-size: var(--fs-3); margin-bottom: .5rem; color: var(--c-plum-deep) !important; }
.reach__item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--c-border); border-radius: var(--r-md); color: var(--c-ink); text-decoration: none; transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast) var(--ease); }
.reach__item:hover { border-color: var(--c-plum); background: var(--c-bg); color: var(--c-ink); transform: translateY(-1px); }
.reach__item strong { display: block; font: 700 1.05rem/1.25 var(--f-head); color: var(--c-plum-deep); }
.reach__item small { display: block; font-size: .875rem; color: var(--c-ink-2); margin-top: .1rem; }
.reach__item > .icon { color: var(--c-plum); transition: transform var(--t-fast) var(--ease); }
.reach__item:hover > .icon { transform: translateX(4px); }
.reach__ico { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: var(--r-md); background: var(--c-sage-tint); color: var(--c-sage-deep); }
.reach__ico .icon { width: 1.35rem; height: 1.35rem; }
.reach__item--main { background: var(--c-plum); border-color: var(--c-plum); }
.reach__item--main strong { color: #fff; }
.reach__item--main small { color: rgba(255,255,255,.75); }
.reach__item--main > .icon { color: var(--c-sage); }
.reach__item--main .reach__ico { background: rgba(255,255,255,.14); color: var(--c-sage); }
.reach__item--main:hover { background: var(--c-plum-deep); border-color: var(--c-plum-deep); }
.reach__note { margin: .5rem 0 0; font-size: .875rem; color: var(--c-ink-2) !important; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--c-plum-ink); color: #fff; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--c-sage), rgba(141,187,169,0) 70%); }
.footer__inner { padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 3.5rem); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.15fr 1.1fr; gap: 2.5rem; align-items: start; }
.footer__logo img { height: 2.75rem; width: auto; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 1.25rem; }
.footer p { color: rgba(255,255,255,.7); font-size: var(--fs-0); max-width: 24rem; }
/* Überschriften mit grünem Punkt */
.footer h3 { display: flex; align-items: center; gap: .55rem; color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer h3::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--c-sage); box-shadow: 0 0 0 4px rgba(141,187,169,.18); }
/* Live-Status (nutzt dieselbe Logik wie die Statuskarte im Hero) */
.footer__status { display: inline-grid; grid-template-columns: auto auto; align-items: center; gap: .1rem .65rem; margin: .5rem 0 0; padding: .6rem .9rem .6rem .8rem; border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-sm); font-size: .875rem !important; line-height: 1.35; color: #fff !important; }
.footer__status .status__dot { grid-row: span 2; width: .6rem; height: .6rem; }
.footer__status [data-status-title] { font-weight: 600; font-family: var(--f-head); }
.footer__status-sub { color: rgba(255,255,255,.6); }
.footer__status-sub:empty { display: none; }
/* Links mit Pfeil, der beim Drüberfahren nach rechts wandert */
.footer__links { display: grid; gap: .15rem; }
.footer__links a { display: inline-flex; align-items: center; gap: .55rem; padding: .3rem 0; color: rgba(255,255,255,.8); text-decoration: none; font-size: var(--fs-0); transition: color var(--t-fast); }
.footer__links .icon { width: 1rem; height: 1rem; color: var(--c-sage); transition: transform var(--t-fast) var(--ease); }
.footer__links a:hover { color: #fff; }
.footer__links a:hover .icon { transform: translateX(4px); }
/* Erreichbarkeit mit Symbol-Kästchen */
.footer__contact { display: grid; gap: .9rem; }
.footer__contact li { display: grid; grid-template-columns: 2.1rem 1fr; gap: .75rem; align-items: start; font-size: var(--fs-0); color: rgba(255,255,255,.8); line-height: 1.45; }
.footer__ico { width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: var(--r-sm); background: rgba(141,187,169,.14); color: var(--c-sage); transition: background var(--t-fast), color var(--t-fast); }
.footer__ico .icon { width: 1.05rem; height: 1.05rem; }
.footer__contact li:hover .footer__ico { background: var(--c-sage); color: var(--c-plum-ink); }
.footer__contact a { color: #fff; text-decoration: none; }
.footer__contact a:hover { color: var(--c-sage); }
.footer__route { display: inline-flex; align-items: center; gap: .35rem; margin-top: .35rem; font: 600 .875rem/1 var(--f-head); color: var(--c-sage) !important; }
.footer__route .icon { width: .95rem; height: .95rem; transition: transform var(--t-fast) var(--ease); }
.footer__route:hover .icon { transform: translateX(3px); }
/* Sprechzeiten mit Punktlinie, heute grün hinterlegt */
.footer__hours { display: grid; gap: .45rem; margin: 0; }
.footer__hours div { display: flex; align-items: baseline; gap: .5rem; font-size: var(--fs-0); padding: .35rem .55rem; margin-inline: -.55rem; border-radius: var(--r-sm); }
.footer__hours dt { color: #fff; font-weight: 600; font-family: var(--f-head); white-space: nowrap; }
.footer__dots { flex: 1; min-width: 1rem; border-bottom: 1px dotted rgba(255,255,255,.25); transform: translateY(-.3em); }
.footer__hours dd { margin: 0; color: rgba(255,255,255,.75); text-align: right; }
.footer__hours .is-today { background: rgba(141,187,169,.14); }
.footer__hours .is-today dt, .footer__hours .is-today dd { color: var(--c-sage); }
/* Untere Leiste: schmaler Streifen */
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.18); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; padding-block: 1.3rem; font-size: .8125rem; color: rgba(255,255,255,.55); }
.footer__bottom a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer__bottom a:hover { color: #fff; }
.footer__legal { display: flex; gap: 1.25rem; }
.footer__credit { display: inline-flex; align-items: center; gap: .55rem; color: rgba(255,255,255,.55) !important; }
.footer__credit img { height: .95rem; width: auto; opacity: .85; transition: opacity var(--t-fast); }
.footer__credit:hover { color: #fff !important; }
.footer__credit:hover img { opacity: 1; }

/* ---------- Unterseiten ---------- */
.pagehead { background: var(--c-plum-deep); color: #fff; padding-block: clamp(3rem, 7vw, 5rem); position: relative; overflow: hidden; }
.pagehead::before { content: ""; position: absolute; width: 40rem; height: 40rem; right: -14rem; top: -22rem; border-radius: 50%; background: radial-gradient(circle, rgba(141,187,169,.25), rgba(141,187,169,0) 62%); pointer-events: none; }
.pagehead .container { position: relative; z-index: 1; }
.pagehead h1 { color: #fff; font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem); margin-bottom: .3em; }
.pagehead .lead { color: rgba(255,255,255,.8); margin: 0; }
.pagehead [data-stagger] { opacity: 0; transform: translateY(14px); animation: rise var(--t-slow) var(--ease) forwards; animation-delay: calc(var(--i, 0) * 110ms + 60ms); }
.group { display: grid; grid-template-columns: .55fr 1.45fr; gap: 2rem; padding: 2rem; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); margin-bottom: 1rem; }
.group h2 { font-size: var(--fs-3); margin-bottom: .4em; }
.group p { color: var(--c-ink-2); font-size: var(--fs-0); }
.list { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 2rem; }
.list li { position: relative; padding-left: 1.2rem; line-height: 1.45; }
.list li::before { content: ""; position: absolute; left: 0; top: .62em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--c-sage-strong); }
.list li small { display: block; color: var(--c-ink-2); font-size: var(--fs-0); }
/* Rezeption-Band auf der Leistungsseite */
.rezeption__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.rezeption__copy .btn { margin-top: .5rem; }
.section--plum .btn--light { color: var(--c-plum-deep); }
.status--static { position: static; box-shadow: none; border: 1px solid var(--c-border); }
/* Praxisurlaub-Seite: Zeitleiste als Karten */
.urlaub__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.timeline { display: grid; gap: 1rem; }
.timeline__item { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 1.4rem 1.6rem; }
.timeline__date { font-family: var(--f-head); font-weight: 800; font-size: var(--fs-3); letter-spacing: -.02em; color: var(--c-plum-deep); line-height: 1.15; }
.timeline__label { color: var(--c-ink-2); margin-top: .2rem; font-size: var(--fs-0); }
.timeline__item.is-past { opacity: .55; }
.notice { background: var(--c-plum-deep); color: #fff; border-radius: var(--r-lg); padding: 1.6rem 1.75rem; }
.notice h3 { color: #fff; font-size: 1.05rem; margin-bottom: .6rem; }
.notice p { color: rgba(255,255,255,.75); font-size: var(--fs-0); margin-bottom: .75rem; }
.notice__row { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-top: 1px solid rgba(255,255,255,.14); font-size: var(--fs-0); }
.notice__row strong { font-family: var(--f-head); font-size: 1.25rem; color: var(--c-sage); white-space: nowrap; }
.notice__row a { color: inherit; }
/* Kontaktseite (helle Variante) */
.kontakt:not(.section--dark) .contact-list .icon { color: var(--c-sage-deep); }
.kontakt:not(.section--dark) .contact-list a { color: var(--c-plum); }
.kontakt:not(.section--dark) .contact-list strong { color: var(--c-plum-deep); opacity: 1; }
/* Rechtstexte */
.legal { max-width: none; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.5rem); }   /* volle Inhaltsbreite */
.legal p, .legal ul { max-width: 75ch; }   /* Zeilen bleiben gut lesbar */
/* Datenschutz: Inhaltsverzeichnis links, Text rechts */
.legal--toc { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.legal__body { max-width: none; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 1.5rem); padding-right: clamp(1.25rem, 2.5vw, 2rem); border-right: 1px solid var(--c-border); }
.legal__toc-title { font: 700 .75rem/1 var(--f-head) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--c-sage-deep) !important; margin-bottom: .9rem !important; }
.legal__toc ol { list-style: none; counter-reset: toc; display: grid; gap: .1rem; }
.legal__toc li { counter-increment: toc; }
.legal__toc a { display: grid; grid-template-columns: 1.6rem 1fr; padding: .3rem 0; font-size: .875rem; line-height: 1.35; color: var(--c-ink-2); text-decoration: none; word-break: normal; transition: color var(--t-fast); }
.legal__toc a::before { content: counter(toc) "."; color: var(--c-sage-deep); font-weight: 600; }
.legal__toc a:hover { color: var(--c-plum); }
.legal__body h2 { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 64rem) {
  .legal--toc { grid-template-columns: 1fr; }
  .legal__toc { display: none; }   /* Handy/Tablet: Text ohne Seitenleiste */
}
.legal h2 { font-size: var(--fs-3); margin-top: 2rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.legal h4 { font-size: 1rem; margin-top: 1.25rem; }
.legal p { color: var(--c-ink-2); }
.legal a { word-break: break-word; }
.legal ul { color: var(--c-ink-2); }
.legal__rights { list-style: none !important; padding-left: 0 !important; }
.legal__rights li { margin-bottom: .7em; }
.legal__rights strong { color: var(--c-plum-deep); }
.legal__note { padding: 1rem 1.25rem; border-left: 3px solid var(--c-sage); background: var(--c-sage-tint); border-radius: 0 var(--r-sm) var(--r-sm) 0; }

/* ---------- Kleine Helfer ---------- */
.eyebrow { font: 700 .8125rem/1.2 var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--c-sage-deep); margin-bottom: .9rem; }
.eyebrow--sage { color: var(--c-sage); }
.tile__badge { align-self: flex-start; font: 600 .8125rem/1 var(--f-head); color: var(--c-plum); background: rgba(110,60,77,.09); padding: .45em .75em; border-radius: var(--r-sm); margin: -.15rem 0 .9rem !important; }
.tile__badge--inline { display: inline-block; margin: 0 0 0 .4rem !important; vertical-align: .1em; opacity: 1; }
.checks { display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 2rem; line-height: 1.5; color: var(--c-ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: .1em; width: 1.35rem; height: 1.35rem; border-radius: 4px; background: var(--c-sage-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F7A66' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / .9rem no-repeat; }

/* ---------- Laufband „Praxisurlaub / Aktuelles“ ---------- */
.ticker { position: relative; z-index: 3; display: flex; align-items: stretch; background: var(--c-plum); color: #fff; font-size: var(--fs-0); overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.08); }
.ticker[hidden] { display: none; }
/* Etikett füllt die ganze Höhe des Bands als eckige Fläche */
.ticker__label { flex: none; align-self: stretch; display: inline-flex; align-items: center; gap: .5em; margin: 0 0 0 calc(max(var(--gutter), (100vw - var(--w-content)) / 2) + var(--logo-box-w) + 1.25rem); padding: 0 1.1rem; border-radius: 0; background: var(--c-sage); color: var(--c-plum-ink); font: 700 .875rem/1 var(--f-head); white-space: nowrap; }
.ticker__label .icon { width: 1rem; height: 1rem; }
.ticker__track { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 2.5rem, #000 calc(100% - 2.5rem), transparent); mask-image: linear-gradient(90deg, transparent, #000 2.5rem, #000 calc(100% - 2.5rem), transparent); }
.ticker__run { display: flex; width: max-content; animation: ticker var(--ticker-dur, 30s) linear infinite; }
.ticker__track:hover .ticker__run, .ticker__track:focus-within .ticker__run { animation-play-state: paused; }
.ticker.is-paused .ticker__run { animation-play-state: paused; }
.ticker__pause { flex: none; align-self: stretch; display: grid; place-items: center; width: 2.75rem; margin-right: max(var(--gutter), (100vw - var(--w-content)) / 2); border: 0; border-left: 1px solid rgba(255,255,255,.12); background: transparent; color: rgba(255,255,255,.85); cursor: pointer; }
.ticker__pause:hover { background: rgba(255,255,255,.08); color: #fff; }
.ticker__pause .icon { width: 1rem; height: 1rem; }
.ticker__pause [data-icon-play] { display: none; }
.ticker.is-paused .ticker__pause [data-icon-play] { display: block; }
.ticker.is-paused .ticker__pause [data-icon-pause] { display: none; }
.ticker__group { display: flex; align-items: center; flex: none; padding-left: 1.5rem; }
.ticker__item { color: rgba(255,255,255,.88); text-decoration: none; white-space: nowrap; padding: .65rem 0; }
.ticker__item strong { color: #fff; font-weight: 700; }
.ticker__item:hover { color: #fff; text-decoration: underline; }
.ticker__sep { color: var(--c-sage); padding: 0 1.5rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Burg Lindenfels (großes Bildband) ---------- */
.burg { position: relative; overflow: hidden; background: #05060B; color: #fff; min-height: clamp(30rem, 44vw, 42rem); display: flex; align-items: center; }
.burg__media { position: absolute; inset: 0; background: url('../img/burg-lindenfels.jpg') 85% center / cover no-repeat; }
.burg__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,6,11,.92) 0%, rgba(5,6,11,.7) 32%, rgba(5,6,11,0) 62%), linear-gradient(0deg, rgba(42,17,25,.55), rgba(42,17,25,0) 35%); }
.burg__media[data-reveal] { opacity: 0; transform: scale(1.1); transition: opacity 1.4s var(--ease), transform 3.2s var(--ease); }
.burg__media.is-visible { opacity: 1; transform: none; }
.burg__inner { position: relative; padding-block: var(--s-section); }
.burg__copy { max-width: 34rem; }
.burg h2 { color: #fff; font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem); letter-spacing: -.03em; }
.burg .lead { color: rgba(255,255,255,.8); margin-bottom: 2rem; }
.burg__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.burg__addr { display: inline-flex; align-items: center; gap: .5em; color: rgba(255,255,255,.75); font-size: var(--fs-0); }
.burg__addr .icon, .burg .btn .icon { width: 1.15rem; height: 1.15rem; }
.burg__addr .icon { color: var(--c-sage); }

/* Unterseiten: Burg als Bild im Seitenkopf */
.pagehead::after { content: ""; position: absolute; inset: 0 0 0 auto; width: min(62%, 58rem); background: linear-gradient(90deg, var(--c-plum-deep) 0%, rgba(62,31,43,.55) 40%, rgba(62,31,43,.15) 100%), url('../img/burg-lindenfels.jpg') 80% 35% / cover no-repeat; pointer-events: none; }

/* ---------- Kachel Stellenangebot ---------- */
.tile--job { background: var(--c-sage-tint); border-color: transparent; }
.tile__icon--plum { background: var(--c-plum); color: #fff; }
.tile__kicker { font: 700 .75rem/1.2 var(--f-head) !important; letter-spacing: .1em; text-transform: uppercase; color: var(--c-sage-deep) !important; margin-bottom: .35rem !important; }
.tile--job .tile__title { font-size: 1.15rem; }

/* ---------- Karriere-Seite ---------- */
.job-meta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.job-meta li { display: inline-flex; align-items: center; gap: .5em; padding: .55em 1em; border-radius: var(--r-sm); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #fff; font: 600 .9375rem/1.2 var(--f-head); }
.job-meta .icon { width: 1.05rem; height: 1.05rem; color: var(--c-sage); }
/* Stellentitel: eine ruhige Zeile, Kürzel und m/w/d als zweite, kleinere Zeile */
.pagehead .job-title { max-width: none; font-size: clamp(2rem, 1.25rem + 2.6vw, 3.25rem); line-height: 1.08; letter-spacing: -.03em; margin-bottom: .2em; }
.job-title__sub { display: block; margin-top: .45rem; font-size: clamp(1.05rem, .9rem + .6vw, 1.4rem); font-weight: 600; letter-spacing: 0; color: var(--c-sage); }
.job__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.job__main { display: grid; gap: 1rem; }
.job__intro { margin-bottom: 1rem; }
.job__intro .lead { color: var(--c-plum-deep); font-family: var(--f-head); font-weight: 600; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); line-height: 1.35; }
.job__hello { font: 700 var(--fs-2)/1.3 var(--f-head); color: var(--c-sage-deep); }
.job__intro p:last-child { color: var(--c-ink-2); margin: 0; }
.job-block { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2rem); }
.job-block h2 { font-size: var(--fs-3); margin-bottom: 1.1rem; }
.job-block__icon { width: 2.75rem; height: 2.75rem; border-radius: var(--r-md); background: var(--c-plum); color: #fff; display: grid; place-items: center; margin-bottom: 1rem; }
.job-block__icon .icon { width: 1.4rem; height: 1.4rem; }
.job__apply { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.apply-card { background: var(--c-plum-deep); color: #fff; border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; align-items: flex-start; }
.apply-card h2 { color: #fff; font-size: var(--fs-3); }
.apply-card p { color: rgba(255,255,255,.78); font-size: var(--fs-0); }
.apply-card__mail { color: #fff; font: 700 1.15rem/1.3 var(--f-head); text-decoration: none; word-break: break-word; margin-bottom: 1.25rem; }
.apply-card__mail:hover { color: var(--c-sage); }
.apply-card__addr { margin: 1.5rem 0 0 !important; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.14); align-self: stretch; }
.job-outro { background: var(--c-sage-tint); padding-block: var(--s-section); }
.job-outro__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.job-outro__photo { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; }
.job-outro__photo img { width: 100%; height: 100%; object-fit: cover; }
.job-outro__text { font: 700 clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem)/1.2 var(--f-head); letter-spacing: -.02em; color: var(--c-plum-deep); }
.job-outro__sign { color: var(--c-ink-2); margin-bottom: 1.5rem; }

@media (max-width: 64rem) {
  .job__grid, .job-outro__grid { grid-template-columns: 1fr; }
  .job__apply { position: static; }
  .pagehead::after { width: 70%; opacity: .55; }
}
@media (max-width: 48rem) {
  .ticker__label { margin-left: 0; padding-left: var(--gutter); }
  .ticker__pause { margin-right: 0; }
  .burg { display: block; min-height: 0; }
  .burg__media { position: relative; inset: auto; height: 15rem; background-position: 88% center; }
  .burg__media::after { background: linear-gradient(0deg, #05060B 0%, rgba(5,6,11,0) 45%); }
  .burg__inner { padding-block: 1rem var(--s-section); }
  .pagehead::after { width: 100%; opacity: .35; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__run { animation: none; width: auto; }
  .ticker__pause { display: none; }
  .ticker__group { flex-wrap: wrap; row-gap: .25rem; padding: .25rem 1rem; }
  .ticker__group[aria-hidden="true"] { display: none; }
  .ticker__item { white-space: normal; padding: .35rem 0; }
  .ticker__track { -webkit-mask-image: none; mask-image: none; }
  .burg__media[data-reveal] { transition: none; transform: none; opacity: 1; }
}

/* ---------- Online-Rezeption (Widget von 321 MED) + kurzer Hinweis mit Pfeil ---------- */
/* Widget-Button und Schnellmenü an die kleinen Rundungen der Seite angleichen */
#button_321med, #button_321med_animation, #info_321med a, #info_321med button:not(#info_321med_close), #info_321med div[style*="border-radius"] { border-radius: var(--r-sm) !important; }

.rx-hint { position: fixed; z-index: 41; right: calc(20px + 220px + 4.5rem); bottom: 20px; width: min(23rem, calc(100vw - 2 * var(--gutter))); padding: 1.35rem 1.4rem 1.25rem; background: #fff; color: var(--c-ink); border: 1px solid var(--c-border); border-top: 4px solid var(--c-sage); border-radius: var(--r-lg); box-shadow: 0 30px 60px -24px rgba(42,17,25,.55); opacity: 0; transform: translateY(16px) scale(.97); transform-origin: 100% 85%; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.rx-hint[hidden] { display: none; }
.rx-hint.is-in { opacity: 1; transform: none; }
.rx-hint__close { position: absolute; top: .6rem; right: .6rem; width: 2rem; height: 2rem; display: grid; place-items: center; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--c-ink-2); cursor: pointer; }
.rx-hint__close:hover { background: var(--c-bg); color: var(--c-plum-deep); }
.rx-hint__close .icon { width: 1.1rem; height: 1.1rem; }
.rx-hint__kicker { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .5rem; font: 700 .75rem/1 var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--c-sage-deep); }
.rx-hint__kicker .icon { width: 1rem; height: 1rem; }
.rx-hint__title { font-size: 1.15rem; line-height: 1.25; margin: 0 2rem .55rem 0; }
.rx-hint p { font-size: .9375rem; color: var(--c-ink-2); margin-bottom: .6rem; line-height: 1.5; }
.rx-hint__list { display: grid; gap: .35rem; margin-bottom: .75rem; }
.rx-hint__list li { position: relative; padding-left: 1.5rem; font-size: .9375rem; font-weight: 500; color: var(--c-ink); }
.rx-hint__list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.05rem; height: 1.05rem; border-radius: 4px; background: var(--c-sage-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F7A66' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / .75rem no-repeat; }
.rx-hint__thanks { margin-bottom: 0 !important; font-size: .875rem !important; }
/* Restzeit als Linie, die von links nach rechts schwindet; hält bei Maus/Fokus an */
.rx-hint__timer { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c-sage); border-radius: 0 0 var(--r-lg) var(--r-lg); transform-origin: left; }
.rx-hint.is-in .rx-hint__timer { animation: rx-timer var(--rx-dur, 12s) linear forwards; }
.rx-hint:hover .rx-hint__timer, .rx-hint:focus-within .rx-hint__timer { animation-play-state: paused; }
@keyframes rx-timer { to { transform: scaleX(0); } }
/* geschwungener Pfeil vom Hinweis zum Button, wippt leicht */
.rx-hint__arrow { position: absolute; right: -4.1rem; bottom: .9rem; width: 3.4rem; height: 2.3rem; fill: none; stroke: var(--c-plum); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.rx-hint__arrow-halo { stroke: #fff; stroke-width: 9; }
.rx-hint.is-in .rx-hint__arrow { animation: rx-arrow 1.1s ease-in-out infinite alternate; }
@keyframes rx-arrow { from { transform: translate(0, 0); } to { transform: translate(6px, 3px); } }
@media (max-width: 48rem) {
  .rx-hint { display: none !important; }   /* Handy: das Schnellmenü von 321 MED übernimmt diese Aufgabe */
}
}
@media (prefers-reduced-motion: reduce) {
  .rx-hint { transition: opacity .2s linear; transform: none; }
  .rx-hint.is-in .rx-hint__arrow { animation: none; }
}

/* ---------- Scroll-Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }
/* Kachel-Hover (nach dem Reveal, damit transform nicht überschrieben wird) */
.tile, .svc { transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .6s var(--ease); }
.tile.is-visible:hover { transform: translateY(-3px) scale(1.01); box-shadow: var(--shadow-tile); }

/* ---------- Responsiv ---------- */
@media (max-width: 68rem) {
  :root { --logo-h: 2.9rem; --logo-hang: 0rem; --logo-box-w: -1.25rem; }
  .header__logo { padding: 0 1rem; }
  .header.is-scrolled .header__logo img { height: var(--logo-h); }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--c-plum-deep); flex-direction: column; align-items: stretch; gap: 0; padding: 1rem var(--gutter) 2rem; transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s linear .4s; overflow: auto; }
  .nav.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }   /* zugeklappt: Links nicht per Tab erreichbar */
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { display: block; padding: 1rem 0; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 1.15rem; color: #fff; }
  .nav__link[aria-current="page"] { color: var(--c-sage); }
  .nav__link::after { display: none; }
  .nav__actions { flex-direction: column; align-items: stretch; margin-top: 1.5rem; gap: 1rem; padding-left: 0; border-left: 0; }
  .nav__actions .btn { justify-content: center; }
  .nav__toggle { display: block; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 64rem) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { justify-self: start; width: min(100%, 30rem); }
  .hero__media { margin-bottom: 2.5rem; }   /* Platz für die halb herausragende Statuskarte */
  .hero__media .status { left: 1.25rem; }
  .bento__grid { grid-template-columns: 1fr 1fr; grid-auto-flow: row; }
  .tile--welcome, .tile--rezeption, .tile--services { grid-column: span 2; grid-row: auto; }
  .tile--rezeption .btn { margin-top: .5rem; }
  .svc-grid, .dates { grid-template-columns: 1fr 1fr; }
  .svc--wide { grid-column: 1 / -1; }
  .kontakt__grid, .rezeption__grid, .urlaub__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .group { grid-template-columns: 1fr; gap: .75rem; }
  .section__head--row { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
}
@media (max-width: 48rem) {
  :root { --header-h: 4.5rem; --logo-h: 2.5rem; }
  .header__logo { margin-left: calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .hero { padding-bottom: 7.5rem; }
  .bento { margin-top: -5.5rem; }
  .bento__grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile--welcome, .tile--rezeption, .tile--services { grid-column: auto; }
  .tile__photo { height: 12rem; }
  .svc-links { grid-template-columns: 1fr; }
  .svc-grid, .dates { grid-template-columns: 1fr; }
  .svc--wide { grid-column: auto; }
  .svc--wide ul { grid-template-columns: 1fr; }
  .list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .status { position: static; margin-top: 1rem; width: 100%; }
  .hero__media { margin-bottom: 0; }
  .hero__media .status { position: relative; left: auto; bottom: auto; transform: none; width: auto; margin: -2.25rem 1rem 0; }   /* Handy: ragt von unten ins Foto */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__title .w > span, .hero [data-stagger], .hero__photo img, .pagehead [data-stagger] { animation: none; opacity: 1; transform: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .status--open .status__dot { animation: none; }
  .nav, .tile, .tile__photo img { transition: none; }
}
/* Animationen aus (html.no-anim, z. B. ?noanim) */
.no-anim *, .no-anim *::before, .no-anim *::after { animation: none !important; transition: none !important; }
.no-anim .hero__title .w > span, .no-anim [data-stagger], .no-anim [data-reveal], .no-anim .hero__photo img { opacity: 1 !important; transform: none !important; }
