/* ==========================================================================
   Textilpflege Solothurn – Unified Global Styles (Combined + Centered Legal Pages)
   Includes:
   - Original base styles
   - Legal pages styling (Impressum / Datenschutz)
   - Font loading & weight normalization
   - Navigation contact button adaptation
   - Centering + width constraints for legal content
   ========================================================================== */

/* 1. CSS Custom Properties */
:root {
  --color-brand:#E60000;
  --color-brand-dark:#B80000;
  --color-bg:#ffffff;
  --color-bg-alt:#f5f9fa;
  --color-text:#1F2328;
  --color-text-light:#5a5f66;
  --color-border:#e2e4e8;
  --color-success:#0E8A00;
  --color-danger:#d72626;
  --radius-s:4px;
  --radius-m:10px;
  --radius-l:18px;
  --shadow-sm:0 1px 2px rgba(0,0,0,.07);
  --shadow:0 4px 18px -4px rgba(0,0,0,.16);
  --font-sans:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --max-width:1180px;
  --transition:160ms ease;
  --logo-size:70px;
  --logo-size-mobile:56px;
  --logo-footer-size:72px;
  --logo-footer-mobile:62px;
}

/* 2. Base / Reset */
*{box-sizing:border-box;}
html{
  scroll-behavior:smooth;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
body{
  margin:0;
  font-family:var(--font-sans);
  color:var(--color-text);
  background:var(--color-bg);
  line-height:1.5;
  font-weight:400;
}
img{max-width:100%;height:auto;display:block;}
h1,h2,h3,h4{line-height:1.2;font-weight:600;margin:0 0 .6em;}
p{margin:0 0 1em;}
a{color:var(--color-brand);text-decoration:none;}
a:hover,a:focus-visible{text-decoration:underline;}
.container{width:100%;max-width:var(--max-width);margin:0 auto;padding:0 1rem;}
.flex{display:flex;}
.between{justify-content:space-between;}
.align-center{align-items:center;}
.skip-link{
  position:absolute;left:-999px;width:1px;height:1px;overflow:hidden;
}
.skip-link:focus{
  position:fixed;left:.75rem;top:.75rem;width:auto;height:auto;
  padding:.6rem .9rem;background:#000;color:#fff;z-index:1000;
  border-radius:var(--radius-s);
}

/* 3. Header & Navigation */
.site-header{
  position:sticky;top:0;background:rgba(255,255,255,.9);
  backdrop-filter:blur(10px);border-bottom:1px solid var(--color-border);
  z-index:60;
}
.brand img{
  width:var(--logo-size);height:auto;display:block;
  transition:width .25s ease;border-radius:8px;
}
@media (max-width:700px){
  .brand img{width:var(--logo-size-mobile);}
}
.nav-toggle{
  background:none;border:1px solid var(--color-border);padding:.55rem;
  border-radius:var(--radius-s);cursor:pointer;display:none;position:relative;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after{
  display:block;width:22px;height:2px;background:var(--color-text);
  content:"";transition:var(--transition);position:relative;
}
.nav-toggle__bar::before{top:-6px;position:absolute;}
.nav-toggle__bar::after{top:6px;position:absolute;}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar{background:transparent;}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before{
  transform:rotate(45deg) translateY(6px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after{
  transform:rotate(-45deg) translateY(-6px);
}
.main-nav ul{
  list-style:none;margin:0;padding:0;display:flex;gap:1.1rem;align-items:center;
}
.main-nav a{
  font-weight:500;padding:.6rem .4rem;border-radius:var(--radius-s);
  display:inline-block;font-size:.9rem;
  line-height:1.15;
}
.main-nav a:focus-visible{
  outline:2px solid var(--color-brand);outline-offset:2px;
}

/* Contact link styled like button (attribute selector – no HTML change) */
.main-nav a[href$="#kontakt"],
.main-nav a[href*="index.html#kontakt"]{
  display:inline-flex;align-items:center;justify-content:center;
  font-weight:600;padding:.5rem .75rem;font-size:.75rem;line-height:1.2;
  border-radius:var(--radius-s);background:var(--color-brand);
  color:#fff !important;border:1px solid var(--color-brand);
  text-decoration:none;transition:var(--transition);
}
.main-nav a[href$="#kontakt"]:hover,
.main-nav a[href*="index.html#kontakt"]:hover,
.main-nav a[href$="#kontakt"]:focus-visible,
.main-nav a[href*="index.html#kontakt"]:focus-visible{
  background:var(--color-brand-dark);text-decoration:none;outline:0;
}

/* Active page highlight */
.main-nav a[aria-current="page"]{
  background:var(--color-bg-alt);
  color:var(--color-text);
  border-radius:var(--radius-s);
  font-weight:500;
}
.main-nav a[aria-current="page"]:hover{
  color:var(--color-brand);text-decoration:none;
}

/* Hover for standard links */
.main-nav a:not([href$="#kontakt"]):not([href*="index.html#kontakt"]):not([aria-current="page"]):hover{
  background:rgba(0,0,0,.035);
  border-radius:var(--radius-s);
  text-decoration:none;
}

@media (max-width:860px){
  .nav-toggle{display:block;}
  .main-nav{
    position:absolute;top:100%;right:0;width:min(260px,100vw);background:#fff;
    border:1px solid var(--color-border);border-radius:var(--radius-m);
    box-shadow:var(--shadow);padding:.6rem .55rem;transform:translateY(-10px) scale(.95);
    opacity:0;pointer-events:none;transition:var(--transition);
  }
  .main-nav ul{flex-direction:column;align-items:stretch;gap:.25rem;}
  .main-nav a{width:100%;}
  .main-nav.is-open{opacity:1;transform:translateY(0) scale(1);pointer-events:auto;}
  .site-header .main-nav a[aria-current="page"]::after{display:none;}
  .site-header .main-nav a[aria-current="page"]{
    background:var(--color-bg-alt) !important;
    border-radius:var(--radius-s);
  }
}

/* 4. Hero */
.hero{position:relative;padding:clamp(2.5rem,7vw,5rem) 0;}
.hero--light{background:linear-gradient(145deg,#ffffff,#fafbfc);}
.hero__layout{
  display:grid;gap:2.5rem;align-items:center;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
}
.hero__text h1{
  font-size:clamp(1.9rem,3.4vw,2.7rem);letter-spacing:-.01em;margin-top:0;
}
.lead{
  font-size:clamp(1.02rem,1.15vw,1.2rem);font-weight:400;
  color:var(--color-text-light);margin-bottom:1.2rem;
}
.hero__actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:.2rem;}
.hero__image img{
  object-fit:cover;max-height:400px;aspect-ratio:4/3;
  border-radius:var(--radius-l);box-shadow:0 6px 24px -8px rgba(0,0,0,.18);
}
@media (max-width:860px){
  .hero__layout{gap:1.8rem;}
  .hero__image img{max-height:300px;}
}

/* 5. Sections */
.section{
  padding:clamp(2.8rem,7vw,5.3rem) 0;position:relative;
}
.section--alt{background:var(--color-bg-alt);}
.section__header{margin:0 0 2rem;}
.section__header p{margin:.4rem 0 0;color:var(--color-text-light);}
.small{font-size:.8rem;}
.muted{color:var(--color-text-light);}

/* 6. Leistungen Grid */
.leistungen-grid{
  --min:210px;list-style:none;margin:0;padding:0;display:grid;
  grid-template-columns:repeat(auto-fit,minmax(var(--min),1fr));
  gap:2.2rem 2rem;text-align:center;
}
.leistung-item h3{
  font-size:1rem;font-weight:600;margin:.15rem 0 .65rem;letter-spacing:.2px;
}
.leistung-item figure{
  margin:0;position:relative;background:#eef2f4;border-radius:var(--radius-m);
  overflow:hidden;aspect-ratio:4/3;box-shadow:var(--shadow-sm);
  transition:box-shadow var(--transition), transform var(--transition);
}
.leistung-item img{
  width:100%;height:100%;object-fit:cover;transition:transform 1.1s ease;
}
.leistung-item:hover figure,
.leistung-item:focus-within figure{
  transform:translateY(-4px);box-shadow:var(--shadow);
}
.leistung-item:hover img,
.leistung-item:focus-within img{
  transform:scale(1.045);
}
.leistungen-hinweis{
  margin-top:1.6rem;color:var(--color-text-light);
}

/* 7. Prozess */
.prozess{
  list-style:none;margin:0;padding:0;display:grid;gap:1.3rem;
  counter-reset:steps;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
}
.prozess li{
  background:#fff;padding:1.15rem 1rem 1.05rem;border:1px solid var(--color-border);
  border-radius:var(--radius-m);position:relative;box-shadow:var(--shadow-sm);
}
.prozess li::before{
  counter-increment:steps;content:counter(steps);position:absolute;top:.7rem;right:.75rem;
  width:30px;height:30px;display:flex;align-items:center;justify-content:center;
  background:var(--color-brand);color:#fff;border-radius:50%;font-size:.75rem;font-weight:600;
}

/* 8. Öffnungszeiten */
.hours-wrapper{
  display:flex;gap:1.7rem;flex-wrap:wrap;align-items:flex-start;
}
.hours{
  border-collapse:collapse;min-width:260px;font-size:.9rem;background:#fff;
  border:1px solid var(--color-border);border-radius:var(--radius-m);
  overflow:hidden;box-shadow:var(--shadow-sm);
}
.hours th,.hours td{
  padding:.5rem .75rem;text-align:left;border-bottom:1px solid var(--color-border);
}
.hours tr:last-child td,.hours tr:last-child th{border-bottom:0;}
.hours tr.is-today th,.hours tr.is-today td{background:#fff5f5;font-weight:600;}
.hours tr.is-open td,.hours tr.is-open th{border-left:4px solid var(--color-success);}
.status{
  display:flex;align-items:center;gap:.55rem;background:#fff;border:1px solid var(--color-border);
  padding:.65rem .9rem;border-radius:var(--radius-m);font-size:.9rem;box-shadow:var(--shadow-sm);
}
.status__dot{
  width:11px;height:11px;border-radius:50%;background:#ccc;
  box-shadow:0 0 0 3px rgba(0,0,0,.05) inset;
}
.status--open .status__dot{background:var(--color-success);}
.status--closed .status__dot{background:var(--color-danger);}

/* 9. Gallery */
.gallery{
  display:grid;gap:.85rem;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
}
.gallery--extended .gallery__item{aspect-ratio:4/3;}
.gallery__item{
  border-radius:var(--radius-m);overflow:hidden;position:relative;background:#eef1f3;
}
.gallery__item img{
  width:100%;height:100%;object-fit:cover;transition:transform 5s linear;
}
.gallery__item:hover img{transform:scale(1.07);}

/* 10. CTA */
.cta{
  background:linear-gradient(120deg,#fff,#f7f8f9);text-align:center;
}
.cta h2{margin-top:0;}
.cta__actions{
  display:flex;gap:.85rem;justify-content:center;margin-top:.9rem;flex-wrap:wrap;
}

/* 11. Kontakt simplified */
.kontakt-simple{
  display:grid;gap:2.2rem;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  align-items:start;
}
.contact-list{
  list-style:none;margin:0 0 1.2rem;padding:0;font-size:.92rem;
}
.contact-list li{margin-bottom:.4rem;}
.map-wrapper iframe{
  border-radius:var(--radius-m);box-shadow:var(--shadow-sm);width:100%;
}

/* 12. Buttons */
.btn{
  --btn-bg:var(--color-brand);--btn-bg-hover:var(--color-brand-dark);
  --btn-color:#fff;display:inline-flex;align-items:center;justify-content:center;
  gap:.5rem;font-weight:600;padding:.7rem 1.15rem;border-radius:var(--radius-s);
  border:1px solid transparent;cursor:pointer;text-decoration:none;background:var(--btn-bg);
  color:var(--btn-color);line-height:1.2;font-size:.88rem;transition:var(--transition);
}
.btn:hover,.btn:focus-visible{
  background:var(--btn-bg-hover);color:var(--btn-color);text-decoration:none;
}
.btn--outline{
  --btn-bg:#ffffff;--btn-bg-hover:#f0f2f3;--btn-color:var(--color-text);
  border:1px solid var(--color-border);
}
.btn--outline:hover,.btn--outline:focus-visible{
  border-color:#cdd0d4;
}
.btn--small{padding:.5rem .75rem;font-size:.75rem;}
.btn:active{transform:translateY(1px);}

/* Prevent sticky hover on touch devices */
@media (hover:none){
  .btn:hover{background:var(--btn-bg);color:var(--btn-color);}
  .btn--outline:hover{border-color:var(--color-border);}
}

/* 13. Footer */
.site-footer{
  margin-top:2.8rem;background:#111;color:#ddd;position:relative;
  padding:2.6rem 0 3.4rem;font-size:.85rem;
}
.footer-grid{
  display:grid;gap:1.8rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
}
.footer-logo{
  width:var(--logo-footer-size);height:auto;display:block;border-radius:8px;
  transition:width .25s ease;
}
@media (max-width:700px){
  .footer-logo{width:var(--logo-footer-mobile);}
}
.footer-links{
  list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.4rem;
}
.footer-links a{color:#ddd;font-size:.85rem;}
.footer-links a:hover{color:#fff;text-decoration:underline;}
.back-to-top{
  position:fixed;bottom:1.1rem;right:1.1rem;width:42px;height:42px;border-radius:50%;
  border:0;background:var(--color-brand);color:#fff;font-size:1rem;cursor:pointer;
  display:none;align-items:center;justify-content:center;box-shadow:var(--shadow);
}
.back-to-top:hover{background:var(--color-brand-dark);}
.back-to-top:focus-visible{outline:2px solid #fff;outline-offset:3px;}

/* 14. Accessibility helpers */
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);border:0;
}

/* =========================================================
   LEGAL PAGES – MINIMAL / NEUTRAL RESTYLE OVERRIDE
   (Impressum & Datenschutz)
   Append only. This intentionally strips previous
   decorative gradients, colored bars, alternating tints.
   ========================================================= */

.legal-page-wrapper{
  /* Layout tokens (adjust width if desired) */
  --legal-width: 860px;
  --legal-text: 760px;
  --legal-body-size: .95rem;
  --legal-line-height: 1.55;
  --legal-border: #dadde1;
  --legal-border-light: #eceff1;
  --legal-bg-card: #ffffff;
  --legal-bg-page: #ffffff;
  --legal-heading-color: #1f2328;
  --legal-muted: #6a7076;
  --legal-shadow: 0 1px 2px rgba(0,0,0,.06);
  --legal-shadow-hover: 0 4px 14px -6px rgba(0,0,0,.20);
  background:var(--legal-bg-page);
  padding-top:clamp(2.4rem,6.8vw,4.6rem);
  padding-bottom:3rem;
}

/* Center core blocks with consistent side gutters */
.legal-page-wrapper > h1,
.legal-page-wrapper > .legal-meta-grid,
.legal-page-wrapper > .legal-section,
.legal-page-wrapper > .legal-divider,
.legal-page-wrapper > .legal-foot{
  max-width:var(--legal-width);
  margin-left:auto;
  margin-right:auto;
  padding-left:clamp(.9rem,2vw,1.25rem);
  padding-right:clamp(.9rem,2vw,1.25rem);
  box-sizing:border-box;
}

/* Headline (retain existing site scale, remove gradient background) */
.legal-page-wrapper > h1{
  font-size:clamp(1.9rem,3.3vw,2.55rem);
  margin:0 0 2.1rem;
  line-height:1.17;
  letter-spacing:-.01em;
  color:var(--legal-heading-color);
  font-weight:600;
  position:relative;
}

/* Meta cards: plain, quiet */
.legal-meta-grid{
  display:grid;
  gap:1.4rem;
  margin:0 0 2.4rem;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
}
.legal-meta-grid > div{
  background:var(--legal-bg-card);
  border:1px solid var(--legal-border);
  border-radius:12px;
  padding:1.05rem 1.05rem .95rem;
  box-shadow:var(--legal-shadow);
  font-size:.92rem;
  line-height:1.45;
  transition:box-shadow 140ms ease, transform 140ms ease;
}
@media (hover:hover){
  .legal-meta-grid > div:hover{
    box-shadow:var(--legal-shadow-hover);
    transform:translateY(-2px);
  }
}
.legal-meta-grid h2{
  font-size:.95rem;
  margin:.15rem 0 .55rem;
  font-weight:600;
  color:var(--legal-heading-color);
}

/* Sections: remove alternating backgrounds & accent bars */
.legal-section{
  max-width:var(--legal-text);
  margin:0 auto;
  padding:1.1rem 0 0;
}
.legal-section + .legal-section{margin-top:1.35rem;}

/* Section headings: plain, slightly separated with a hairline divider below */
.legal-section h2{
  font-size:1.08rem;
  margin:.2rem 0 .75rem;
  line-height:1.3;
  font-weight:600;
  color:var(--legal-heading-color);
  padding:0;
  position:relative;
}
.legal-section h2::after{
  content:"";
  display:block;
  width:100%;
  max-width:100%;
  height:1px;
  background:var(--legal-border-light);
  margin:.55rem 0 0;
}

/* Body text */
.legal-page-wrapper p,
.legal-section p{
  font-size:var(--legal-body-size);
  line-height:var(--legal-line-height);
  margin:0 0 1.05rem;
  color:var(--color-text);
  max-width:var(--legal-text);
}
.legal-page-wrapper p:last-child{margin-bottom:0;}
.legal-page-wrapper strong,
.legal-section strong{font-weight:600;color:#222;}

/* Lists: neutral hollow bullet */
.legal-page-wrapper ul,
.legal-section ul{
  list-style:none;
  padding:0;
  margin:.55rem 0 1.2rem;
  display:grid;
  gap:.55rem;
  font-size:calc(var(--legal-body-size) - .01rem);
  line-height:1.48;
  max-width:var(--legal-text);
}
.legal-page-wrapper ul li,
.legal-section ul li{
  position:relative;
  padding-left:1.15rem;
}
.legal-page-wrapper ul li::before,
.legal-section ul li::before{
  content:"";
  width:.55rem;
  height:.55rem;
  border-radius:50%;
  border:2px solid var(--color-text-light);
  position:absolute;
  left:0;top:.5rem;
  background:#fff;
  transition:border-color 140ms ease, background-color 140ms ease;
}
@media (hover:hover){
  .legal-page-wrapper ul li:hover::before,
  .legal-section ul li:hover::before{
    border-color:var(--color-brand);
  }
}

/* Link treatment: no background animations; simple subtle underline on hover */
.legal-page-wrapper a:not(.btn),
.legal-section a:not(.btn){
  color:var(--color-brand);
  text-decoration:none;
  border-bottom:1px solid transparent;
  transition:color var(--transition), border-color var(--transition);
}
.legal-page-wrapper a:not(.btn):hover,
.legal-section a:not(.btn):hover{
  border-color:var(--color-brand);
  text-decoration:none;
  color:var(--color-brand-dark);
}
.legal-page-wrapper a:focus-visible,
.legal-section a:focus-visible{
  outline:2px solid var(--color-brand);
  outline-offset:2px;
  border-radius:3px;
}

/* Divider: thin + understated */
.legal-divider{
  height:1px;
  background:var(--legal-border-light);
  margin:2.8rem 0 2rem;
  max-width:var(--legal-width);
}

/* Foot note */
.legal-foot{
  font-size:.75rem;
  letter-spacing:.3px;
  color:var(--legal-muted);
  max-width:var(--legal-text);
  margin:0 auto;
}

/* Active nav item (legal pages) – lighter, neutral */
.main-nav a[aria-current="page"]{
  background:#f2f4f5;
  border-radius:var(--radius-s);
  color:var(--color-text);
  font-weight:500;
  border:1px solid var(--color-border);
  padding:.5rem .65rem;
  line-height:1.1;
}
.main-nav a[aria-current="page"]:hover{
  color:var(--color-brand);
}

/* Reset previous decorative heading accents / backgrounds if still present */
.legal-section h2::before{display:none !important;}
.legal-page-wrapper > h1::before{content:none !important;}

/* Remove any alternating shading introduced earlier */
.legal-section:nth-of-type(odd)::before{display:none !important;}

/* Anchor target highlight: soft neutral instead of red flash */
:target{
  animation:legalNeutralTarget 2s ease;
}
@keyframes legalNeutralTarget{
  0%{background:rgba(0,0,0,.06);}
  100%{background:transparent;}
}

/* Hover elevation mild (optional – keep or comment out) */
@media (hover:hover){
  .legal-meta-grid > div:hover{
    background:#fff;
  }
}

/* Mobile adjustments */
@media (max-width:720px){
  .legal-page-wrapper{--legal-width:100%;--legal-text:100%;padding-top:2.2rem;padding-bottom:2.4rem;}
  .legal-meta-grid{grid-template-columns:1fr;}
  .legal-page-wrapper > h1{
    font-size:clamp(1.75rem,6vw,2.25rem);
    margin-bottom:1.8rem;
  }
  .legal-section h2{font-size:1.02rem;}
}

/* Reduced motion: keep minimalist behavior */
@media (prefers-reduced-motion:reduce){
  :target{animation:none;}
  .legal-meta-grid > div{transition:none;}
}

/* Print (inherit minimal style) */
@media print{
  .legal-meta-grid > div{box-shadow:none;border:1px solid #bbb;}
  .site-header,.site-footer,.back-to-top{display:none !important;}
  a[href]::after{
    content:" (" attr(href) ")";
    font-size:.7em;
    color:#555;
  }
}

/* === Legal Pages: Center main heading only (Option 1) === */
.legal-page-wrapper > h1{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
  /* Keep a comfortable line length if the title ever wraps */
  max-width:32ch;
  /* Balance multi-line heading in supporting browsers */
  text-wrap:balance;
}

/* === NAV ACTIVE UNDERLINE CONSISTENT (Option A) === */

/* Reset older active styles */
.site-header .main-nav a[aria-current="page"]{
  background:transparent !important;
  border-color:transparent !important;
  box-shadow:none !important;
  color:var(--color-brand) !important;
  position:relative;
}

/* Unified underline indicator */
.site-header .main-nav a[aria-current="page"]::after{
  content:"";
  position:absolute;
  left:12%;
  right:12%;
  bottom:3px;
  height:2px;
  background:var(--color-brand);
  border-radius:2px;
  pointer-events:none;
}

/* Ensure non-active links don't inherit underline remnants */
.site-header .main-nav a:not([aria-current="page"])::after{content:none;}

/* Match vertical rhythm across all links (except Kontakt button style) */
.site-header .main-nav a{
  padding:.48rem .75rem;
  line-height:1;
}

/* Keep Kontakt as button but same vertical alignment */
.site-header .main-nav a[href$="#kontakt"],
.site-header .main-nav a[href*="index.html#kontakt"]{
  padding:.48rem .75rem;
  line-height:1;
}

/* ==========================================================================
   OFFENE STELLEN – Section + Cards
   ========================================================================== */

/* Section preview on index.html */
.stellen-grid{
  display:grid;
  gap:1.4rem;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  margin-bottom:1.6rem;
}
.stellen-card{
  background:#fff;
  border:1px solid var(--color-border);
  border-radius:var(--radius-m);
  padding:1.25rem 1.15rem 1.1rem;
  box-shadow:var(--shadow-sm);
  display:flex;
  flex-direction:column;
  transition:box-shadow var(--transition), transform var(--transition);
}
.stellen-card:hover{
  box-shadow:var(--shadow);
  transform:translateY(-3px);
}
.stellen-card h3{
  font-size:1.05rem;
  margin:0 0 .4rem;
  font-weight:600;
}
.stellen-card p{
  font-size:.9rem;
  color:var(--color-text-light);
  margin:0 0 .7rem;
  flex:1;
}
.stellen-card .stellen-meta{
  font-size:.8rem;
  color:var(--color-text-light);
  margin-bottom:.8rem;
  display:flex;
  gap:.8rem;
  flex-wrap:wrap;
}
.stellen-card .stellen-meta span{
  background:var(--color-bg-alt);
  padding:.2rem .55rem;
  border-radius:var(--radius-s);
  font-weight:500;
}
.stellen-card .btn{
  align-self:flex-start;
  margin-top:auto;
}

/* Full jobs page – wider grid */
.stellen-page-grid{
  display:grid;
  gap:1.6rem;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  max-width:var(--max-width);
  margin:0 auto 2rem;
  padding:0 clamp(.9rem,2vw,1.25rem);
}

/* Jobs page intro */
.stellen-page-intro{
  max-width:var(--max-width);
  margin:0 auto 2rem;
  padding:0 clamp(.9rem,2vw,1.25rem);
}
.stellen-page-intro p{
  color:var(--color-text-light);
  font-size:.95rem;
}

@media (max-width:720px){
  .stellen-grid,
  .stellen-page-grid{grid-template-columns:1fr;}
}