/* TechPaten Standortseite – eigenständiges Stylesheet (kein Tailwind-Rebuild nötig).
   Alle Klassen sind mit "tpl-" präfixiert; Header/Footer bleiben unberührt. */

.tpl {
  --tpl-bg: #f7f9fc;
  --tpl-surface: #ffffff;
  --tpl-text: #0f172a;
  --tpl-text-2: #334155;
  --tpl-muted: #64748b;
  --tpl-line: #e2e8f0;
  --tpl-line-2: #cbd5e1;
  --tpl-brand: #2563eb;
  --tpl-brand-500: #3b82f6;
  --tpl-brand-700: #1d4ed8;
  --tpl-brand-800: #1e40af;
  --tpl-brand-50: #eff6ff;
  --tpl-brand-100: #dbeafe;
  --tpl-brand-200: #bfdbfe;
  --tpl-brand-300: #93c5fd;
  --tpl-green: #059669;
  --tpl-green-100: #d1fae5;
  --tpl-radius: 1.5rem;
  --tpl-shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 10px 30px -18px rgba(15, 23, 42, .18);
  --tpl-shadow-md: 0 2px 4px rgba(15, 23, 42, .05), 0 18px 44px -20px rgba(30, 64, 175, .28);
  --tpl-shadow-lg: 0 4px 10px rgba(15, 23, 42, .06), 0 30px 70px -28px rgba(30, 64, 175, .40);
  --tpl-ease: cubic-bezier(.2, .8, .2, 1);
  --tpl-header: 4.25rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--tpl-text);
  background: var(--tpl-surface);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.tpl *, .tpl *::before, .tpl *::after { box-sizing: border-box; }
.tpl h1, .tpl h2, .tpl h3, .tpl p, .tpl ul, .tpl ol { margin: 0; }
.tpl ul, .tpl ol { padding: 0; list-style: none; }
.tpl img { display: block; max-width: 100%; }
.tpl button { font: inherit; }
.tpl :focus-visible { outline: 3px solid var(--tpl-brand); outline-offset: 3px; border-radius: .5rem; }

/* Die sichtbare Breadcrumb-Leiste liegt sonst hinter dem fixierten Header. */
main#main > nav[aria-label="Breadcrumb"] { padding-top: var(--tpl-header, 4.25rem); background: #fff; border-bottom: 0; }
main#main > nav[aria-label="Breadcrumb"] > div { max-width: 80rem; padding-top: .75rem; }

.tpl-wrap { width: min(100% - 2rem, 80rem); margin-inline: auto; }
@media (min-width: 640px) { .tpl-wrap { width: min(100% - 3rem, 80rem); } }
@media (min-width: 1280px) { .tpl-wrap { width: min(100% - 4rem, 80rem); } }

/* ---------------------------------------------------------------- Typografie */
.tpl-eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tpl-brand-700); }
.tpl-eyebrow__dot { width: .5rem; height: .5rem; border-radius: 999px; background: var(--tpl-brand); box-shadow: 0 0 0 4px var(--tpl-brand-100); }
.tpl-kicker { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tpl-brand-700); }
.tpl-h1 { margin-top: 1rem; font-size: clamp(2.25rem, 1.4rem + 2.8vw, 3.75rem); line-height: 1.05; font-weight: 800; letter-spacing: -.025em; }
.tpl-h1__accent { color: var(--tpl-brand); }
.tpl-h2 { margin-top: .6rem; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.tpl-h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); line-height: 1.2; font-weight: 800; letter-spacing: -.015em; }
.tpl-lead { margin-top: 1.25rem; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); line-height: 1.6; color: var(--tpl-text-2); max-width: 36rem; }
.tpl-section-text { margin-top: .9rem; font-size: 1.05rem; color: var(--tpl-text-2); max-width: 40rem; }
.tpl-section-head--center { text-align: center; }
.tpl-section-head--center .tpl-section-text { margin-inline: auto; }
.tpl-inline-link { color: var(--tpl-brand-700); font-weight: 700; text-decoration: none; }
.tpl-inline-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- Buttons */
.tpl-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3.1rem; padding: .7rem 1.35rem; border-radius: 1rem; font-weight: 700; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .22s var(--tpl-ease), box-shadow .22s var(--tpl-ease), background-color .2s, border-color .2s, color .2s; }
.tpl-btn svg { width: 1.1rem; height: 1.1rem; flex: none; }
.tpl-btn:active { transform: scale(.985); }
.tpl-btn--primary { color: #fff; background: linear-gradient(135deg, var(--tpl-brand-700), var(--tpl-brand-500)); box-shadow: 0 10px 24px -12px rgba(37, 99, 235, .7); }
.tpl-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(37, 99, 235, .75); }
.tpl-btn--secondary { color: var(--tpl-text); background: #fff; border-color: var(--tpl-line-2); box-shadow: var(--tpl-shadow-sm); }
.tpl-btn--secondary:hover { border-color: var(--tpl-brand-300); background: var(--tpl-brand-50); color: var(--tpl-brand-800); transform: translateY(-2px); }
.tpl-btn--ghost { color: var(--tpl-brand-800); background: var(--tpl-brand-50); border-color: var(--tpl-brand-100); }
.tpl-btn--ghost:hover { background: var(--tpl-brand-100); transform: translateY(-2px); }

/* ---------------------------------------------------------------- Hero */
.tpl-hero { position: relative; padding: 1rem 0 2.5rem; background: #fff; }
.tpl-hero__bg { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(60rem 36rem at 85% 0%, rgba(59, 130, 246, .10), transparent 60%),
  radial-gradient(40rem 28rem at 0% 100%, rgba(191, 219, 254, .35), transparent 60%); }
.tpl-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "map" "extras"; gap: 1.75rem; }
.tpl-hero__grid > * { min-width: 0; }
.tpl-hero__copy { grid-area: copy; }
.tpl-hero__map { grid-area: map; }
.tpl-hero__extras { grid-area: extras; }
.tpl-hero__copy { padding-top: .5rem; }
.tpl-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.tpl-facts { display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin-top: 1.25rem; }
.tpl-facts li { display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; font-weight: 600; color: var(--tpl-text-2); padding: .45rem .8rem; border-radius: 999px; background: var(--tpl-bg); border: 1px solid var(--tpl-line); }
.tpl-facts svg { width: 1.05rem; height: 1.05rem; color: var(--tpl-brand); flex: none; }
@media (min-width: 1024px) {
  .tpl-hero { padding: 1.5rem 0 3.5rem; }
  .tpl-hero__grid { grid-template-columns: minmax(0, 11fr) minmax(0, 11fr); grid-template-areas: "copy map" "extras map"; align-items: start; gap: 1.5rem 3rem; }
  .tpl-hero__copy { padding-top: 2rem; }
  .tpl-hero__extras { align-self: start; }
}
@media (min-width: 1280px) { .tpl-hero__grid { grid-template-columns: minmax(0, 10fr) minmax(0, 12fr); gap: 1.5rem 4rem; } }

/* ---------------------------------------------------------------- Suche */
.tpl-search { margin-top: 1.75rem; position: relative; max-width: 36rem; }
.tpl-search__label { display: block; font-size: 1.05rem; font-weight: 700; margin-bottom: .55rem; }
.tpl-search__field { position: relative; display: flex; align-items: center; background: #fff; border: 1.5px solid var(--tpl-line-2); border-radius: 1.15rem; box-shadow: var(--tpl-shadow-sm); transition: border-color .2s, box-shadow .2s; }
.tpl-search__field:focus-within { border-color: var(--tpl-brand-500); box-shadow: 0 0 0 4px var(--tpl-brand-100), var(--tpl-shadow-sm); }
.tpl-search__icon { position: absolute; left: 1rem; width: 1.3rem; height: 1.3rem; color: var(--tpl-muted); pointer-events: none; }
.tpl-search__input { flex: 1; min-width: 0; height: 3.75rem; padding: 0 .5rem 0 3rem; border: 0; background: transparent; font-size: 1.1rem; color: var(--tpl-text); border-radius: 1.15rem; }
.tpl-search__input::placeholder { color: #94a3b8; }
.tpl-search__input:focus { outline: none; }
.tpl-search__clear { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; margin-right: .25rem; border: 0; border-radius: 999px; background: transparent; color: var(--tpl-muted); cursor: pointer; }
.tpl-search__clear svg { width: 1rem; height: 1rem; }
.tpl-search__clear:hover { background: var(--tpl-bg); color: var(--tpl-text); }
.tpl-search__submit { flex: none; margin: .4rem; min-height: 2.95rem; padding: 0 1.2rem; border: 0; border-radius: .85rem; background: var(--tpl-text); color: #fff; font-weight: 700; cursor: pointer; transition: background-color .2s, transform .2s var(--tpl-ease); }
.tpl-search__submit:hover { background: var(--tpl-brand-700); transform: translateY(-1px); }
.tpl-search__hint { margin-top: .6rem; font-size: .88rem; color: var(--tpl-muted); }
.tpl-suggest { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% - 1.5rem); margin-top: -.25rem; background: #fff; border: 1px solid var(--tpl-line); border-radius: 1.1rem; box-shadow: var(--tpl-shadow-lg); padding: .4rem; max-height: 22rem; overflow: auto; }
.tpl-search__hint + .tpl-suggest { top: auto; }
.tpl-suggest[hidden] { display: none; }
.tpl-suggest__item { display: flex; align-items: center; gap: .8rem; padding: .7rem .85rem; border-radius: .8rem; cursor: pointer; }
.tpl-suggest__item[aria-selected="true"], .tpl-suggest__item:hover { background: var(--tpl-brand-50); }
.tpl-suggest__icon { flex: none; width: 2rem; height: 2rem; border-radius: .65rem; display: grid; place-items: center; background: var(--tpl-bg); color: var(--tpl-brand); }
.tpl-suggest__icon svg { width: 1rem; height: 1rem; }
.tpl-suggest__item.is-location .tpl-suggest__icon { background: var(--tpl-brand); color: #fff; }
.tpl-suggest__main { font-weight: 700; color: var(--tpl-text); }
.tpl-suggest__main small { font-weight: 500; color: var(--tpl-muted); margin-left: .35rem; }
.tpl-suggest__sub { display: block; font-size: .85rem; color: var(--tpl-muted); margin-top: .1rem; }
.tpl-suggest__item.is-out .tpl-suggest__sub { color: #b45309; }
.tpl-suggest__empty { padding: .8rem .9rem; color: var(--tpl-muted); font-size: .95rem; }

.tpl-search__result { margin-top: 1rem; }
.tpl-search__result:empty { display: none; }
.tpl-result { display: grid; gap: .9rem; padding: 1.1rem 1.2rem; border-radius: 1.25rem; background: #fff; border: 1px solid var(--tpl-line); border-left: 5px solid var(--tpl-brand); box-shadow: var(--tpl-shadow-md); animation: tpl-rise .4s var(--tpl-ease); }
.tpl-result--edge { border-left-color: #f59e0b; }
.tpl-result--none { border-left-color: var(--tpl-line-2); }
.tpl-result__top { display: flex; align-items: center; gap: .9rem; }
.tpl-result__title { font-size: 1.1rem; font-weight: 800; line-height: 1.25; }
.tpl-result__text { color: var(--tpl-text-2); font-size: .98rem; }
.tpl-result__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.tpl-result__actions .tpl-btn { min-height: 2.75rem; padding: .5rem 1.05rem; font-size: .95rem; border-radius: .85rem; }

/* ---------------------------------------------------------------- Karte */
.tpl-hero__map { position: relative; }
.tpl-map { position: relative; outline: none; }
.tpl-map__frame { position: relative; width: 100%; max-width: 100%; height: auto; aspect-ratio: var(--tpl-ratio, 613 / 809); margin-inline: auto; border-radius: 1.75rem; border: 1px solid rgba(226, 232, 240, .9);
  background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #f3f7fd 60%, #eaf1fb 100%); box-shadow: var(--tpl-shadow-lg); overflow: hidden; isolation: isolate; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.tpl-map__frame.is-zoomed { touch-action: pan-y; cursor: grab; }
@media (hover: hover) and (pointer: fine) { .tpl-map__frame.is-zoomed { touch-action: none; } }
.tpl-map__frame.is-dragging { cursor: grabbing; }
@media (min-width: 640px) and (max-width: 1023.98px) { .tpl-map__frame { width: min(100%, calc(84vh * var(--tpl-ratio, 0.758))); } }
@media (min-width: 1024px) { .tpl-map__frame { width: min(100%, calc(clamp(30rem, 100vh - 9rem, 54rem) * var(--tpl-ratio, 0.758))); } }
.tpl-map__svg { display: block; width: 100%; height: 100%; }
.tpl-state { fill: #e6ebf3; stroke: #ffffff; stroke-width: 1.4px; transition: fill .4s; }
.tpl-state.is-active { fill: url(#tpl-active); stroke: #ffffff; }
.tpl-state-label { font-family: inherit; font-size: 13px; font-weight: 800; letter-spacing: .12em; fill: #1e40af; opacity: .38; pointer-events: none; transition: opacity .3s; }
.tpl-map__frame.is-zoomed .tpl-state-label { opacity: 0; }
.tpl-map__areas { opacity: .13; transition: opacity .3s; }
.tpl-area { fill: #2563eb; transform-box: fill-box; transform-origin: center; }
.tpl-map__frame.is-deep .tpl-map__areas { opacity: 0; }
.tpl-ring { fill: rgba(37, 99, 235, .10); stroke: rgba(29, 78, 216, .85); stroke-width: 1.5px; stroke-dasharray: 5 4; opacity: 0; transition: opacity .3s; pointer-events: none; }
.tpl-ring.is-active { opacity: 1; }
.tpl-ring.is-hover { opacity: .7; }
.tpl-map__markers { position: absolute; inset: 0; pointer-events: none; }
.tpl-map__markers > * { pointer-events: auto; }

/* Marker */
.tpl-marker { position: absolute; width: 0; height: 0; padding: 0; border: 0; background: none; overflow: visible; cursor: pointer; z-index: 2; }
.tpl-marker.is-hidden { display: none; }
.tpl-marker__pin { position: absolute; left: -14px; top: -34px; width: 28px; height: 36px; display: block; transform-origin: 50% 100%; transition: transform .25s var(--tpl-ease); filter: drop-shadow(0 6px 10px rgba(30, 64, 175, .35)); }
.tpl-marker__pin svg { width: 28px; height: 35px; display: block; }
.tpl-marker__pin path { fill: var(--tpl-brand); transition: fill .2s; }
.tpl-marker__pin circle { fill: #fff; }
.tpl-marker__ring { position: absolute; left: 50%; bottom: 0; width: 18px; height: 18px; margin-left: -9px; margin-bottom: -7px; border-radius: 999px; border: 2px solid var(--tpl-brand); opacity: 0; transform: scale(.4); pointer-events: none; }
.tpl-marker__label { position: absolute; white-space: nowrap; padding: .3rem .65rem; border-radius: 999px; background: rgba(255, 255, 255, .96); color: var(--tpl-text); font-size: 13px; font-weight: 700; line-height: 1.15; box-shadow: 0 2px 8px rgba(15, 23, 42, .12), 0 0 0 1px rgba(226, 232, 240, .9); transition: background-color .2s, color .2s, transform .25s var(--tpl-ease), box-shadow .2s; }
.tpl-marker.is-right .tpl-marker__label { left: 16px; top: -31px; }
.tpl-marker.is-left  .tpl-marker__label { right: 16px; top: -31px; }
.tpl-marker.is-bottom .tpl-marker__label { left: 50%; top: 6px; transform: translateX(calc(-50% + var(--lx, 0px))); }
.tpl-marker.is-top .tpl-marker__label { left: 50%; bottom: 40px; transform: translateX(calc(-50% + var(--lx, 0px))); }
.tpl-marker.is-tr .tpl-marker__label { left: 12px; bottom: 38px; }
.tpl-marker.is-tl .tpl-marker__label { right: 12px; bottom: 38px; }
.tpl-marker.is-br .tpl-marker__label { left: 12px; top: 4px; }
.tpl-marker.is-bl .tpl-marker__label { right: 12px; top: 4px; }
.tpl-marker--cluster.is-tr .tpl-marker__label { left: 26px; bottom: 22px; }
.tpl-marker--cluster.is-tl .tpl-marker__label { right: 26px; bottom: 22px; }
.tpl-marker--cluster.is-br .tpl-marker__label { left: 26px; top: 18px; }
.tpl-marker--cluster.is-bl .tpl-marker__label { right: 26px; top: 18px; }
.tpl-marker:hover .tpl-marker__pin, .tpl-marker:focus-visible .tpl-marker__pin, .tpl-marker.is-selected .tpl-marker__pin { transform: scale(1.18); }
.tpl-marker:hover .tpl-marker__pin path, .tpl-marker:focus-visible .tpl-marker__pin path, .tpl-marker.is-selected .tpl-marker__pin path { fill: var(--tpl-brand-700); }
.tpl-marker:hover .tpl-marker__label, .tpl-marker:focus-visible .tpl-marker__label, .tpl-marker.is-selected .tpl-marker__label { background: var(--tpl-brand-700); color: #fff; box-shadow: 0 6px 18px -6px rgba(29, 78, 216, .7); }
.tpl-marker:hover, .tpl-marker:focus-visible, .tpl-marker.is-selected { z-index: 4; }
.tpl-marker:focus-visible { outline: none; }
.tpl-marker:focus-visible .tpl-marker__pin { filter: drop-shadow(0 0 0 3px #fff) drop-shadow(0 0 0 6px var(--tpl-brand)); }
.tpl-marker.is-selected .tpl-marker__ring, .tpl-marker:hover .tpl-marker__ring { animation: tpl-ring 1.8s ease-out infinite; }

/* Cluster-Marker */
.tpl-marker--cluster .tpl-marker__pin { left: -19px; top: -19px; width: 38px; height: 38px; filter: drop-shadow(0 8px 14px rgba(30, 64, 175, .35)); }
.tpl-marker__count { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 999px; background: linear-gradient(135deg, var(--tpl-brand-700), var(--tpl-brand-500)); color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 0 0 7px rgba(37, 99, 235, .18); transition: transform .25s var(--tpl-ease); }
.tpl-marker--cluster .tpl-marker__ring { bottom: 50%; margin-bottom: -9px; }
.tpl-marker--cluster.is-right .tpl-marker__label { top: -13px; left: 24px; }
.tpl-marker--cluster.is-left .tpl-marker__label { top: -13px; right: 24px; }
.tpl-marker--cluster.is-bottom .tpl-marker__label { top: 24px; }
.tpl-marker--cluster.is-top .tpl-marker__label { bottom: 24px; }
.tpl-marker.is-nolabel .tpl-marker__label { display: none; }
@media (max-width: 639.98px) {
  .tpl-marker__label { font-size: 12px; padding: .25rem .55rem; }
  .tpl-marker--cluster .tpl-marker__label::after { content: none; }
  .tpl-map__legend-more { display: none; }
}
.tpl-marker--cluster:hover .tpl-marker__label::after, .tpl-marker--cluster:focus-visible .tpl-marker__label::after { content: " · aufklappen"; font-weight: 500; color: rgba(255, 255, 255, .8); }

/* Eingangsanimation */
.tpl-js .tpl-marker { opacity: 0; animation: tpl-pop .7s var(--tpl-ease) forwards; animation-delay: calc(var(--d, 0ms) + 350ms); }
.tpl-js .tpl-marker .tpl-marker__ring { animation: tpl-ring-once 1.4s ease-out 1; animation-delay: calc(var(--d, 0ms) + 650ms); }
.tpl-js .tpl-map__frame { animation: tpl-map-in .9s var(--tpl-ease) both; }
.tpl-js .tpl-state.is-active { animation: tpl-fade .8s ease both; animation-delay: .25s; }
.tpl-js .tpl-area { animation: tpl-area-in .9s var(--tpl-ease) both; animation-delay: .45s; }
@keyframes tpl-pop { from { opacity: 0; transform: translateY(-10px) scale(.6); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes tpl-ring-once { 0% { opacity: .7; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes tpl-ring { 0% { opacity: .65; transform: scale(.5); } 100% { opacity: 0; transform: scale(2.4); } }
@keyframes tpl-map-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes tpl-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tpl-area-in { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
@keyframes tpl-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Zoom-Bedienung */
.tpl-map__zoom { position: absolute; right: .9rem; bottom: .9rem; z-index: 6; display: flex; flex-direction: column; gap: .35rem; }
.tpl-map__zbtn { width: 2.6rem; height: 2.6rem; border: 1px solid var(--tpl-line); border-radius: .8rem; background: rgba(255, 255, 255, .95); color: var(--tpl-text); font-size: 1.35rem; font-weight: 700; line-height: 1; cursor: pointer; box-shadow: var(--tpl-shadow-sm); transition: background-color .2s, transform .2s var(--tpl-ease); }
.tpl-map__zbtn:hover { background: var(--tpl-brand-50); transform: translateY(-1px); }
.tpl-map__zbtn:disabled { opacity: .4; cursor: default; transform: none; }
.tpl-map__reset { position: absolute; left: .9rem; top: .9rem; z-index: 6; display: inline-flex; align-items: center; gap: .45rem; min-height: 2.6rem; padding: 0 .95rem; border: 1px solid var(--tpl-line); border-radius: .85rem; background: rgba(255, 255, 255, .96); color: var(--tpl-text); font-weight: 700; font-size: .92rem; cursor: pointer; box-shadow: var(--tpl-shadow-sm); animation: tpl-rise .3s var(--tpl-ease); }
.tpl-map__reset svg { width: 1rem; height: 1rem; }
.tpl-map__reset:hover { background: var(--tpl-brand-50); }
.tpl-map__reset[hidden] { display: none; }
.tpl-map__legend { position: absolute; left: .9rem; bottom: .9rem; z-index: 6; display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--tpl-muted); font-size: .78rem; font-weight: 600; box-shadow: var(--tpl-shadow-sm); backdrop-filter: blur(6px); }
.tpl-map__legend-dot { width: .8rem; height: .8rem; border-radius: 999px; background: rgba(37, 99, 235, .18); border: 1.5px solid rgba(37, 99, 235, .6); }
.tpl-map__note { margin-top: .75rem; font-size: .8rem; color: var(--tpl-muted); text-align: center; }

/* Schwebende Standortvorschau (Desktop) */
.tpl-map__card { position: absolute; z-index: 8; width: min(21rem, calc(100% - 1.5rem)); }
.tpl-map__card[hidden] { display: none; }
.tpl-pcard { position: relative; padding: 1.1rem 1.15rem 1.15rem; border-radius: 1.35rem; background: #fff; border: 1px solid rgba(226, 232, 240, .95); box-shadow: var(--tpl-shadow-lg); animation: tpl-card-in .28s var(--tpl-ease); }
@keyframes tpl-card-in { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }
.tpl-mini { display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem .7rem .7rem; border-radius: 1.1rem; background: #fff; border: 1px solid rgba(226, 232, 240, .95); box-shadow: var(--tpl-shadow-lg); animation: tpl-card-in .2s var(--tpl-ease); pointer-events: none; }
.tpl-mini__count { flex: none; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 999px; background: linear-gradient(135deg, var(--tpl-brand-700), var(--tpl-brand-500)); color: #fff; font-weight: 800; font-size: 1.05rem; }
.tpl-mini__title { font-size: 1.05rem; font-weight: 800; line-height: 1.15; }
.tpl-mini__person { font-size: .85rem; color: var(--tpl-text-2); margin-top: .1rem; }
.tpl-mini__person strong { color: var(--tpl-brand-800); }
.tpl-mini__hint { display: inline-flex; align-items: center; gap: .3rem; margin-top: .35rem; font-size: .72rem; font-weight: 700; color: var(--tpl-brand-700); }
.tpl-mini__hint svg { width: .8rem; height: .8rem; }
.tpl-map__card.is-mini { width: auto; max-width: min(18rem, calc(100% - 1.5rem)); pointer-events: none; }
.tpl-pcard__close { position: absolute; right: .6rem; top: .6rem; width: 2.1rem; height: 2.1rem; border: 0; border-radius: 999px; background: var(--tpl-bg); color: var(--tpl-muted); display: grid; place-items: center; cursor: pointer; }
.tpl-pcard__close svg { width: .95rem; height: .95rem; }
.tpl-pcard__close:hover { background: var(--tpl-line); color: var(--tpl-text); }
.tpl-pcard__top { display: flex; align-items: center; gap: .85rem; padding-right: 2rem; }
.tpl-pcard__eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tpl-brand-700); }
.tpl-pcard__title { font-size: 1.3rem; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.tpl-pcard__meta { font-size: .85rem; color: var(--tpl-muted); margin-top: .1rem; }
.tpl-pcard__person { margin-top: .8rem; padding: .6rem .8rem; border-radius: .9rem; background: var(--tpl-brand-50); font-size: .95rem; color: var(--tpl-text-2); }
.tpl-pcard__person strong { color: var(--tpl-brand-800); }
.tpl-pcard__text { margin-top: .75rem; font-size: .92rem; color: var(--tpl-text-2); line-height: 1.5; }
.tpl-pcard__places { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .7rem; }
.tpl-pcard__places li { font-size: .78rem; font-weight: 600; color: var(--tpl-text-2); padding: .25rem .6rem; border-radius: 999px; background: var(--tpl-bg); border: 1px solid var(--tpl-line); }
.tpl-pcard__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .95rem; }
.tpl-pcard__actions .tpl-btn { min-height: 2.75rem; padding: .45rem .7rem; font-size: .9rem; border-radius: .85rem; }
.tpl-pcard__actions .tpl-btn:only-child { grid-column: 1 / -1; }

/* Avatare */
.tpl-avatars { display: flex; }
.tpl-avatar { width: 3.5rem; height: 3.5rem; border-radius: 999px; object-fit: cover; object-position: 50% 22%; border: 3px solid #fff; box-shadow: 0 4px 12px -4px rgba(15, 23, 42, .35); background: #e2e8f0; flex: none; }
.tpl-avatars .tpl-avatar + .tpl-avatar { margin-left: -1rem; }
.tpl-avatars--lg .tpl-avatar { width: 4rem; height: 4rem; }

/* Bottom-Sheet (Touch / schmale Bildschirme) */
.tpl-sheet { position: absolute; left: .5rem; right: .5rem; bottom: .5rem; z-index: 9; max-height: 78%; overflow: auto; border-radius: 1.35rem; background: #fff; box-shadow: 0 -4px 10px rgba(15, 23, 42, .06), var(--tpl-shadow-lg); transform: translateY(calc(100% + 1rem)); transition: transform .38s var(--tpl-ease); visibility: hidden; overscroll-behavior: contain; }
.tpl-sheet.is-open { transform: none; visibility: visible; }
.tpl-sheet__handle { position: sticky; top: 0; z-index: 1; display: flex; justify-content: center; padding: .6rem 0 .2rem; background: #fff; }
.tpl-sheet__handle::before { content: ""; width: 2.75rem; height: .3rem; border-radius: 999px; background: var(--tpl-line-2); }
.tpl-sheet .tpl-pcard { box-shadow: none; border: 0; animation: none; padding-top: .4rem; }
.tpl-sheet .tpl-pcard__close { top: -.2rem; }

/* ---------------------------------------------------------------- Schritte */
.tpl-steps { padding: 3.5rem 0; background: var(--tpl-bg); border-top: 1px solid var(--tpl-line); }
.tpl-steps__grid { display: grid; gap: 1rem; margin-top: 2rem; counter-reset: step; }
.tpl-step { position: relative; padding: 1.6rem 1.5rem 1.5rem; border-radius: var(--tpl-radius); background: #fff; border: 1px solid var(--tpl-line); box-shadow: var(--tpl-shadow-sm); transition: transform .3s var(--tpl-ease), box-shadow .3s; }
.tpl-step:hover { transform: translateY(-4px); box-shadow: var(--tpl-shadow-md); }
.tpl-step__num { position: absolute; right: 1.25rem; top: 1.1rem; font-size: 2.75rem; font-weight: 800; line-height: 1; color: var(--tpl-brand-100); letter-spacing: -.04em; }
.tpl-step__icon { width: 2.75rem; height: 2.75rem; padding: .6rem; border-radius: .9rem; background: var(--tpl-brand-50); color: var(--tpl-brand-700); }
.tpl-step h3 { margin-top: 1rem; font-size: 1.15rem; font-weight: 800; }
.tpl-step p { margin-top: .4rem; color: var(--tpl-text-2); font-size: .98rem; }
@media (min-width: 768px) { .tpl-steps { padding: 4.5rem 0; } .tpl-steps__grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

/* ---------------------------------------------------------------- Standortkarten */
.tpl-list { padding: 3.5rem 0 4rem; background: #fff; scroll-margin-top: 5rem; }
.tpl-list__head { display: grid; gap: 1.25rem; }
.tpl-filter { display: flex; flex-wrap: wrap; gap: .5rem; }
.tpl-chip { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.6rem; padding: .45rem .95rem; border-radius: 999px; border: 1.5px solid var(--tpl-line-2); background: #fff; color: var(--tpl-text); font-weight: 700; font-size: .95rem; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--tpl-ease); }
.tpl-chip:hover { border-color: var(--tpl-brand-300); background: var(--tpl-brand-50); }
.tpl-chip.is-active { background: var(--tpl-text); border-color: var(--tpl-text); color: #fff; }
.tpl-chip__n { font-size: .78rem; font-weight: 700; padding: .1rem .45rem; border-radius: 999px; background: var(--tpl-bg); color: var(--tpl-muted); }
.tpl-chip.is-active .tpl-chip__n { background: rgba(255, 255, 255, .18); color: #fff; }
@media (min-width: 1024px) { .tpl-list { padding: 5rem 0; } .tpl-list__head { grid-template-columns: 1fr auto; align-items: end; } }
.tpl-cards { display: grid; gap: 1.25rem; margin-top: 2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.tpl-card { display: flex; flex-direction: column; padding: 1.4rem 1.4rem 1.3rem; border-radius: var(--tpl-radius); background: #fff; border: 1px solid var(--tpl-line); box-shadow: var(--tpl-shadow-sm); transition: transform .3s var(--tpl-ease), box-shadow .3s, border-color .3s; scroll-margin-top: 5.5rem; }
.tpl-card:hover { transform: translateY(-5px); box-shadow: var(--tpl-shadow-md); border-color: var(--tpl-brand-200); }
.tpl-card.is-selected { border-color: var(--tpl-brand-500); box-shadow: 0 0 0 4px var(--tpl-brand-100), var(--tpl-shadow-md); }
.tpl-card[hidden] { display: none; }
.tpl-card__head { display: flex; align-items: center; gap: .9rem; }
.tpl-card__title { flex: 1; min-width: 0; }
.tpl-card__title h3 { font-size: 1.35rem; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.tpl-card__meta { font-size: .85rem; color: var(--tpl-muted); margin-top: .15rem; }
.tpl-card__badge { display: none; align-items: center; align-items: center; gap: .35rem; align-self: flex-start; font-size: .72rem; font-weight: 700; color: var(--tpl-green); background: var(--tpl-green-100); padding: .25rem .55rem; border-radius: 999px; white-space: nowrap; }
.tpl-card__badge span { width: .45rem; height: .45rem; border-radius: 999px; background: var(--tpl-green); }
.tpl-card__person { margin-top: 1rem; font-size: .95rem; color: var(--tpl-text-2); }
.tpl-card__person strong { color: var(--tpl-brand-800); }
.tpl-card__text { margin-top: .6rem; font-size: .93rem; color: var(--tpl-text-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tpl-card__places { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .8rem; }
.tpl-card__places li { font-size: .78rem; font-weight: 600; color: var(--tpl-text-2); padding: .25rem .6rem; border-radius: 999px; background: var(--tpl-bg); border: 1px solid var(--tpl-line); }
.tpl-card__places li.is-more { color: var(--tpl-muted); background: transparent; }
.tpl-card__services { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin-top: .9rem; padding-top: .9rem; border-top: 1px dashed var(--tpl-line); }
.tpl-card__services li { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--tpl-text-2); }
.tpl-card__services li::before { content: ""; width: .95rem; height: .95rem; border-radius: 999px; background: var(--tpl-green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 60% no-repeat; }
.tpl-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-top: auto; padding-top: 1.1rem; }
.tpl-card__actions .tpl-btn { min-height: 2.85rem; padding: .5rem .75rem; font-size: .92rem; border-radius: .9rem; }
.tpl-card__actions .tpl-btn:only-of-type { grid-column: 1 / -1; }
.tpl-card__maplink { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 2.4rem; font-size: .88rem; font-weight: 700; color: var(--tpl-brand-700); text-decoration: none; border-radius: .7rem; }
.tpl-card__maplink svg { width: 1rem; height: 1rem; }
.tpl-card__maplink:hover { background: var(--tpl-brand-50); }
.tpl-cards__empty { margin-top: 1.5rem; padding: 1.25rem; border-radius: 1rem; background: var(--tpl-bg); color: var(--tpl-muted); text-align: center; }
.tpl-cards__empty[hidden] { display: none; }

/* ---------------------------------------------------------------- Team */
.tpl-team { padding: 4rem 0; background: linear-gradient(180deg, var(--tpl-bg), #fff 40%); border-top: 1px solid var(--tpl-line); }
.tpl-people { display: grid; gap: 1.1rem; margin-top: 2.5rem; grid-template-columns: repeat(2, 1fr); }
.tpl-person { display: flex; flex-direction: column; border-radius: var(--tpl-radius); background: #fff; border: 1px solid var(--tpl-line); box-shadow: var(--tpl-shadow-sm); overflow: hidden; transition: transform .3s var(--tpl-ease), box-shadow .3s; }
.tpl-person:hover { transform: translateY(-5px); box-shadow: var(--tpl-shadow-md); }
.tpl-person__photo { aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(160deg, #e8f0fe, #f5f8fd); }
.tpl-person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .7s var(--tpl-ease); }
.tpl-person__photo.is-placeholder img { opacity: .95; }
.tpl-person:hover .tpl-person__photo img { transform: scale(1.045); }
.tpl-person__body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1rem 1.1rem; }
.tpl-person__role { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--tpl-muted); }
.tpl-person__name { margin-top: .25rem; font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
.tpl-person__region { display: inline-flex; align-items: center; gap: .35rem; margin-top: .4rem; font-size: .85rem; font-weight: 700; color: var(--tpl-brand-800); }
.tpl-person__region::before { content: ""; width: .85rem; height: .85rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e40af' stroke-width='2'%3E%3Cpath d='M12 21s7-6.1 7-12a7 7 0 1 0-14 0c0 5.9 7 12 7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.tpl-person__quote { margin-top: .7rem; font-size: .88rem; color: var(--tpl-text-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tpl-person__links { display: flex; flex-wrap: wrap; gap: .3rem .9rem; margin-top: auto; padding-top: .9rem; font-size: .85rem; font-weight: 700; }
.tpl-person__links a { color: var(--tpl-brand-700); text-decoration: none; }
.tpl-person__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 640px) { .tpl-people { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .tpl-team { padding: 5.5rem 0; } .tpl-people { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
@media (min-width: 1280px) { .tpl-people { grid-template-columns: repeat(5, 1fr); } }

/* ---------------------------------------------------------------- Vertrauen */
.tpl-trust { padding: 4rem 0; background: var(--tpl-bg); border-top: 1px solid var(--tpl-line); }
.tpl-trust__grid { display: grid; gap: 2.5rem; }
.tpl-benefits { display: grid; gap: .9rem; margin-top: 1.75rem; }
.tpl-benefits li { display: flex; gap: .9rem; align-items: center; }
.tpl-benefits__icon { flex: none; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: .85rem; background: #fff; border: 1px solid var(--tpl-line); color: var(--tpl-brand-700); box-shadow: var(--tpl-shadow-sm); }
.tpl-benefits__icon svg { width: 1.25rem; height: 1.25rem; }
.tpl-benefits strong { display: block; font-size: 1.02rem; }
.tpl-benefits span { display: block; }
.tpl-benefits li > div > span { font-size: .93rem; color: var(--tpl-text-2); margin-top: .15rem; }
.tpl-reviews { align-self: start; padding: 1.5rem; border-radius: var(--tpl-radius); background: #fff; border: 1px solid var(--tpl-line); box-shadow: var(--tpl-shadow-md); }
.tpl-reviews__head { display: flex; align-items: center; gap: .9rem; }
.tpl-reviews__g { width: 2.4rem; height: 2.4rem; padding: .45rem; border-radius: .8rem; background: var(--tpl-bg); flex: none; }
.tpl-reviews__head h3 { font-size: 1.15rem; font-weight: 800; }
.tpl-reviews__head p { font-size: .85rem; color: var(--tpl-muted); }
.tpl-reviews__list { display: grid; gap: .9rem; margin-top: 1.25rem; }
.tpl-review { padding: 1rem 1.05rem; border-radius: 1rem; background: var(--tpl-bg); border: 1px solid var(--tpl-line); }
.tpl-review__stars { display: flex; gap: .15rem; }
.tpl-review__stars svg { width: 1rem; height: 1rem; fill: #e2e8f0; }
.tpl-review__stars svg.is-on { fill: #f59e0b; }
.tpl-review__text { margin-top: .55rem; font-size: .93rem; color: var(--tpl-text-2); line-height: 1.5; }
.tpl-review__name { margin-top: .55rem; font-size: .85rem; font-weight: 700; }
.tpl-review__name span { font-weight: 500; color: var(--tpl-muted); }
.tpl-reviews__all { display: inline-block; margin-top: 1.1rem; font-weight: 700; color: var(--tpl-brand-700); text-decoration: none; }
.tpl-reviews__all:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 1024px) { .tpl-trust { padding: 5.5rem 0; } .tpl-trust__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 4rem; align-items: start; } }

/* ---------------------------------------------------------------- FAQ */
.tpl-faq { padding: 4rem 0; background: #fff; }
.tpl-faq__wrap { max-width: 52rem; }
.tpl-faq__list { display: grid; gap: .7rem; margin-top: 2rem; }
.tpl-faq__item { border-radius: 1.1rem; background: #fff; border: 1px solid var(--tpl-line); box-shadow: var(--tpl-shadow-sm); transition: border-color .2s, box-shadow .2s; }
.tpl-faq__item[open] { border-color: var(--tpl-brand-200); box-shadow: var(--tpl-shadow-md); }
.tpl-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.25rem; cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; border-radius: 1.1rem; }
.tpl-faq__item summary::-webkit-details-marker { display: none; }
.tpl-faq__item summary svg { flex: none; width: 1.25rem; height: 1.25rem; color: var(--tpl-brand); transition: transform .3s var(--tpl-ease); }
.tpl-faq__item[open] summary svg { transform: rotate(180deg); }
.tpl-faq__item p { padding: 0 1.25rem 1.15rem; color: var(--tpl-text-2); font-size: .98rem; line-height: 1.6; }
@media (min-width: 1024px) { .tpl-faq { padding: 5.5rem 0; } }

/* ---------------------------------------------------------------- SEO / Links */
.tpl-seo { padding: 3.5rem 0; background: var(--tpl-bg); border-top: 1px solid var(--tpl-line); }
.tpl-seo__grid { display: grid; gap: 2rem; }
.tpl-seo p { margin-top: .9rem; color: var(--tpl-text-2); font-size: .98rem; line-height: 1.65; }
.tpl-seo__links { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); align-content: start; }
.tpl-seo__group h3 { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--tpl-muted); padding-bottom: .5rem; border-bottom: 1px solid var(--tpl-line); }
.tpl-seo__group ul { display: grid; gap: .3rem; margin-top: .6rem; }
.tpl-seo__group a { font-size: .95rem; font-weight: 600; color: var(--tpl-text-2); text-decoration: none; }
.tpl-seo__group a:hover { color: var(--tpl-brand-700); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) { .tpl-seo { padding: 5rem 0; } .tpl-seo__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 4rem; } }

/* ---------------------------------------------------------------- Abschluss */
.tpl-final { padding: 2.5rem 0 4rem; background: #fff; }
.tpl-final__box { display: grid; gap: 1.5rem; padding: 2rem 1.5rem; border-radius: 1.75rem; color: #fff; background: radial-gradient(120% 140% at 100% 0%, rgba(96, 165, 250, .35), transparent 50%), linear-gradient(135deg, #0f172a, #1e3a8a); box-shadow: var(--tpl-shadow-lg); }
.tpl-final__box .tpl-h2 { color: #fff; }
.tpl-final__box p { margin-top: .75rem; color: #cbd5e1; max-width: 36rem; }
.tpl-final__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.tpl-final__actions .tpl-btn--secondary { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: #fff; }
.tpl-final__actions .tpl-btn--secondary:hover { background: rgba(255, 255, 255, .16); color: #fff; }
@media (min-width: 1024px) { .tpl-final { padding: 3rem 0 5.5rem; } .tpl-final__box { grid-template-columns: 1fr auto; align-items: center; padding: 3rem 3rem; } }
@media (max-width: 1023.98px) { .tpl { padding-bottom: 4.5rem; } }

/* ---------------------------------------------------------------- Scroll-Reveal & Bewegung */
.tpl-js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s var(--tpl-ease); transition-delay: calc(var(--i, 0) * 55ms); }
.tpl-js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .tpl *, .tpl *::before, .tpl *::after { animation: none !important; transition-duration: .01ms !important; }
  .tpl-js [data-reveal] { opacity: 1; transform: none; }
  .tpl-js .tpl-marker { opacity: 1; }
  .tpl-sheet { transition: none; }
}
