.location-brand img { width: 330px; height: 88px; object-fit: contain; object-position: left center; transform: translateY(4px); }
.location-footer-brand img { width: min(330px, 100%); height: auto; max-height: none; margin-bottom: 13px; padding: 15px 18px; object-fit: contain; object-position: left center; background: var(--white); border: 1px solid rgba(255,255,255,.42); border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.location-footer-brand > span { max-width: 330px; color: rgba(255,255,255,.86); font-family: var(--font-heading); font-size: .85rem; font-weight: 600; }

.location-hero { position: relative; overflow: hidden; background: linear-gradient(145deg, var(--cream), var(--green-100)); }
.location-hero::before { position: absolute; z-index: 0; top: -54px; left: -48px; width: 235px; height: 245px; content: ""; pointer-events: none; background-image: url("assets/pflegegruppe-wilstermann-header.svg"); background-repeat: no-repeat; background-position: left center; background-size: auto 245px; opacity: .045; }
.location-hero-grid { position: relative; z-index: 1; }
.location-hero-grid { min-height: 590px; display: grid; grid-template-columns: 45% 55%; }
.location-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 70px 11% 70px 3%; }
.group-return-link { display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; margin-bottom: 24px; padding: 8px 12px; color: var(--green-900); background: rgba(255,255,255,.72); border: 1px solid #d7e0d2; border-radius: 4px 14px 14px 14px; font-family: var(--font-heading); font-size: .78rem; font-weight: 600; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.group-return-link:hover { transform: translateX(-3px); background: var(--white); border-color: var(--green-500); }
.group-return-link:focus-visible { outline: 3px solid #b3d600; outline-offset: 3px; }
.location-hero-copy h1 { font-size: clamp(2.55rem, 4.7vw, 4.35rem); }
.location-domain { margin: 22px 0 0; color: var(--muted); font-size: .84rem; }
.location-hero-image { min-height: 590px; overflow: hidden; }
.location-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 57% center; }
.location-hero-image-nordfriesland img { object-position: 62% 50%; }
.location-hero-brand-panel { position: relative; display: grid; place-items: center; min-height: 590px; padding: 70px; overflow: hidden; background: linear-gradient(145deg, #edf5e6, #dcead0); }
.location-hero-brand-panel::before, .location-hero-brand-panel::after { content: ""; position: absolute; border-radius: 50%; }
.location-hero-brand-panel::before { width: 440px; height: 440px; right: -130px; top: -170px; background: rgba(121,189,5,.17); }
.location-hero-brand-panel::after { width: 350px; height: 350px; left: -130px; bottom: -190px; background: rgba(0,84,63,.09); }
.location-hero-mark { position: relative; z-index: 1; width: min(520px, 90%); padding: 42px; background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.95); border-radius: 12px 42px 42px 42px; box-shadow: var(--shadow); }
.location-hero-mark img { width: 100%; max-height: 150px; object-fit: contain; }
.location-hero-mark span { display: block; margin-top: 22px; color: var(--green-900); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-align: center; text-transform: uppercase; }

.location-facts { color: var(--white); background: var(--green-900); }
.location-facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.location-facts-grid div { padding: 27px 22px; border-right: 1px solid rgba(255,255,255,.18); }
.location-facts-grid div:last-child { border-right: 0; }
.location-facts-grid strong, .location-facts-grid span { display: block; }
.location-facts-grid strong { font-family: var(--font-heading); font-size: .91rem; font-weight: 600; }
.location-facts-grid span { opacity: .75; font-size: .88rem; }

.location-two-column { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.lead-small-dark { color: var(--ink); font-size: 1.15rem; }
.location-about blockquote { margin: 30px 0 0; padding: 20px 24px; color: var(--green-900); background: var(--green-100); border-left: 4px solid var(--green-500); font-size: 1.1rem; font-weight: 700; }
.location-story-image, .team-photo { position: relative; min-height: 360px; margin-top: 46px; overflow: hidden; background: var(--green-100); border-radius: 14px 42px 14px 14px; }
.location-story-image img, .team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.location-story-image figcaption, .team-photo figcaption { position: absolute; left: 24px; bottom: 24px; max-width: calc(100% - 48px); margin: 0; padding: 11px 16px; color: var(--green-900); background: rgba(255,255,255,.93); border-radius: 4px 14px 14px 14px; font-family: var(--font-heading); font-size: .88rem; font-weight: 600; box-shadow: 0 10px 25px rgba(0,56,42,.12); }

.location-film { color: var(--white); background: var(--green-900); }
.location-film-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 60px; align-items: center; }
.location-film .eyebrow { color: #b9dc78; }
.location-film-copy p:not(.eyebrow) { color: rgba(255,255,255,.78); }
.location-film-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.location-film-meta span { padding: 8px 11px; color: #eaf4de; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: .78rem; font-weight: 700; }
.location-film-player { overflow: hidden; background: #062f25; border: 1px solid rgba(255,255,255,.14); border-radius: 14px 42px 14px 14px; box-shadow: 0 24px 65px rgba(0,31,23,.28); }
.location-film-player video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #062f25; object-fit: cover; }

.location-services { background: var(--cream); }
.location-service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.location-service-grid article { position: relative; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.location-service-heading { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.location-service-heading .service-icon { flex: 0 0 auto; }
.location-service-heading h3 { margin: 0; }
.service-number { display: block; margin-bottom: 18px; color: var(--green-500); font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; }
.location-service-grid ul { margin: 15px 0 0; padding-left: 20px; color: var(--muted); }
.location-service-grid li { padding: 3px 0; }

.location-team { background: var(--white); }
.team-photo { min-height: 480px; margin: 0 0 26px; }
.team-photo img { object-position: center 50%; }
.team-photo-nordfriesland { min-height: 0; aspect-ratio: 3 / 2; margin-bottom: 0; }
.team-photo-nordfriesland img { object-position: center center; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.team-grid article { padding: 28px; background: var(--cream); border-radius: var(--radius); }
.team-avatar { display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 22px; color: var(--white); background: var(--green-900); border-radius: 50%; font-family: var(--font-heading); font-weight: 600; }
.team-grid p { margin-bottom: 0; color: var(--muted); }

.location-career { color: var(--white); background: var(--green-900); }
.location-career .eyebrow { color: #b9dc78; }
.location-career-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.location-career-grid p:not(.eyebrow) { color: rgba(255,255,255,.78); }
.location-career .career-vacancy-button { position: relative; width: 100%; margin: 22px 0 0; padding: 21px 78px 21px 22px; overflow: hidden; background: linear-gradient(135deg, var(--green-100), #f8fbf3); border: 0; border-left: 5px solid var(--lime); text-align: left; cursor: pointer; box-shadow: 0 7px 18px rgba(0,0,0,.13); transition: transform .24s ease, background .24s ease, box-shadow .24s ease, border-color .24s ease; }
.location-career .career-vacancy-button::after { position: absolute; top: 50%; right: 21px; display: grid; width: 42px; height: 42px; content: "→"; color: var(--white); background: var(--green-900); border-radius: 50%; box-shadow: 0 7px 15px rgba(0,84,63,.2); font-family: var(--font-heading); font-size: 1.2rem; font-style: normal; font-weight: 700; place-items: center; transform: translateY(-50%); transition: transform .24s ease, background .24s ease, box-shadow .24s ease; }
.location-career .career-vacancy-button:hover { background: var(--white); border-left-color: #cce95b; box-shadow: 0 18px 36px rgba(0,0,0,.24); transform: translateY(-4px) scale(1.012); }
.location-career .career-vacancy-button:hover::after { background: var(--green-700); box-shadow: 0 9px 20px rgba(0,84,63,.3); transform: translate(5px, -50%); }
.location-career .career-vacancy-button:focus-visible { outline: 3px solid #cce95b; outline-offset: 4px; }
.location-career .career-vacancy-button em { width: fit-content; margin-top: 6px; color: var(--green-700); font-family: var(--font-heading); font-size: .88rem; font-style: normal; font-weight: 700; }
.location-career .career-vacancy-button:hover em { color: var(--green-900); }
.location-career-grid-with-image { grid-template-columns: .88fr 1.12fr; column-gap: 58px; row-gap: 30px; }
.location-career-copy .button { margin-top: 8px; }
.location-career-image { position: relative; min-height: 345px; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--green-800); }
.location-career-image img { width: 100%; height: 100%; min-height: 345px; object-fit: cover; object-position: 55% center; }
.location-career-image::after { content: ""; position: absolute; inset: 52% 0 0; background: linear-gradient(transparent, rgba(0,45,34,.76)); }
.location-career-image figcaption { position: absolute; z-index: 1; right: 22px; bottom: 20px; left: 22px; color: var(--white); font-family: var(--font-heading); font-weight: 600; }
.career-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; list-style: none; }
.career-benefits li { padding: 16px; color: var(--ink); background: var(--white); border-radius: 10px; }
.career-benefits li::before { content: "✓"; margin-right: 8px; color: var(--green-700); font-weight: 900; }
.career-benefits-wide { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); margin: 0; }
.steinburg-career-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: end; margin-bottom: 42px; }
.steinburg-career-intro p:not(.eyebrow) { color: rgba(255,255,255,.78); }
.steinburg-career-intro .button { margin-top: 8px; }
.steinburg-openings { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.steinburg-openings article { position: relative; overflow: hidden; color: var(--ink); background: var(--white); border: 1px solid rgba(0, 84, 63, .08); border-radius: var(--radius); box-shadow: 0 8px 22px rgba(0, 45, 34, .06); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.steinburg-opening-button { position: relative; display: block; width: 100%; height: 100%; padding: 30px 72px 27px 30px; color: inherit; background: transparent; border: 0; cursor: pointer; text-align: left; }
.steinburg-opening-button::after { position: absolute; right: 28px; top: 30px; display: grid; width: 42px; height: 42px; content: "→"; color: var(--white); background: var(--green-700); border-radius: 50%; font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; place-items: center; transition: transform .22s ease, background .22s ease; }
.steinburg-opening-number { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px; color: var(--white); background: var(--green-700); border-radius: 50%; font-family: var(--font-heading); font-weight: 700; transition: transform .22s ease; }
.steinburg-openings .job-label { margin: 0 0 6px; color: var(--green-700); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.steinburg-openings h3 { margin: 0 0 12px; color: var(--green-900); }
.steinburg-openings h3 small { font-size: .72em; white-space: nowrap; }
.steinburg-opening-button > p:not(.job-label) { margin-bottom: 18px; color: var(--muted); }
.steinburg-opening-action { display: inline-flex; align-items: center; gap: 9px; color: var(--green-700); font-family: var(--font-heading); font-size: .86rem; font-weight: 700; }
.steinburg-opening-action b { font-size: 1.08rem; transition: transform .22s ease; }
.steinburg-openings article:hover, .steinburg-openings article:focus-within { border-color: rgba(0, 132, 87, .42); box-shadow: 0 18px 36px rgba(0, 45, 34, .16); transform: translateY(-6px); }
.steinburg-opening-button:hover::after, .steinburg-opening-button:focus-visible::after { background: var(--green-500); transform: translateX(4px); }
.steinburg-opening-button:hover .steinburg-opening-number { transform: scale(1.06); }
.steinburg-opening-button:hover .steinburg-opening-action b { transform: translateX(4px); }
.steinburg-opening-button:focus-visible { outline: 3px solid #cce95b; outline-offset: -5px; border-radius: var(--radius); }
.steinburg-benefits { margin-top: 0; }

.location-contact { background: var(--green-100); }
.location-contact-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 60px; align-items: center; }
.contact-card { display: grid; gap: 5px; padding: 28px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); font-style: normal; }
.contact-card strong { margin-bottom: 5px; font-size: 1.15rem; }
.contact-card a { color: var(--green-900); font-weight: 700; text-decoration: none; }
.contact-card a:first-of-type { margin-top: 10px; }
.location-contact-grid > .contact-form-panel { grid-column: 1 / -1; margin-top: 4px; }
.location-footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center; }
.location-footer-grid nav { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 940px) {
  .location-hero-grid { grid-template-columns: 1fr; }
  .location-hero-copy { padding: 65px 3%; }
  .location-hero-image { min-height: 500px; }
  .location-hero-brand-panel { min-height: 480px; }
  .location-facts-grid { grid-template-columns: 1fr 1fr; }
  .location-facts-grid div:nth-child(2) { border-right: 0; }
}

@media (max-width: 720px) {
  .location-brand img { width: 235px; height: 64px; transform: translateY(2px); }
  .location-hero::before { top: -35px; left: -62px; width: 190px; height: 195px; background-size: auto 195px; opacity: .04; }
  .location-hero-image { min-height: 390px; }
  .location-hero-brand-panel { min-height: 390px; padding: 35px 22px; }
  .location-hero-mark { padding: 27px; }
  .location-hero-image img { object-position: 60% center; }
  .location-hero-image-nordfriesland img { object-position: 62% 48%; }
  .location-story-image, .team-photo { min-height: 330px; }
  .location-film-grid, .steinburg-career-intro { grid-template-columns: 1fr; gap: 28px; }
  .location-film-player { border-radius: 10px 28px 10px 10px; }
  .team-photo-nordfriesland { min-height: 0; aspect-ratio: 4 / 3; }
  .location-two-column, .location-career-grid, .location-contact-grid, .location-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .location-service-grid, .team-grid { grid-template-columns: 1fr; }
  .career-benefits { grid-template-columns: 1fr; }
  .location-career-image, .location-career-image img { min-height: 300px; }
  .location-career-image img { object-position: 57% center; }
  .career-benefits-wide { grid-column: auto; }
  .steinburg-openings { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .location-facts-grid { grid-template-columns: 1fr; }
  .location-facts-grid div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .location-facts-grid div:last-child { border-bottom: 0; }
}
