/* =============================================================
   Frisch hier & jetzt – CSS
   Mobile-first, keine externen Abhängigkeiten, DSGVO-konform
   ============================================================= */

/* ---- Variablen ---- */
:root {
  --gruen:        #47793b;
  --gruen-dunkel: #2d5224;
  --gruen-hell:   #e9f5e2;
  --orange:       #fc9914;
  --orange-hell:  #fff4e0;
  --creme:        #f5f8f2;
  --weiss:        #ffffff;
  --tinte:        #353f41;
  --grau:         #566058;
  --linie:        #cde4c4;
  --schatten:     0 4px 24px rgba(53, 63, 65, 0.10);
  --schatten-s:   0 2px 8px rgba(53, 63, 65, 0.06);
  --radius:       14px;
  --radius-sm:    8px;
  --maxw:         1100px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--tinte);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--gruen); text-decoration: none; }
a:hover { text-decoration: underline; }
address { font-style: normal; }
ul { list-style: none; }

/* ---- Skip-Link ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: .5rem 1rem;
  background: var(--gruen);
  color: white;
  z-index: 1000;
  font-size: .9rem;
}
.skip-link:focus { top: 0; }

/* ---- Layout ---- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}
.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}
.section--weiss { background: var(--weiss); }
.section--creme { background: var(--creme); }

/* ---- Typografie ---- */
.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gruen);
  margin-bottom: .6rem;
}
h2 {
  font-size: clamp(1.65rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--tinte);
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tinte);
  margin-bottom: .4rem;
}
.section__lead {
  font-size: 1.05rem;
  color: var(--grau);
  max-width: 60ch;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .7em 1.5em;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s, transform .1s;
  white-space: nowrap;
  line-height: 1.3;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--gruen); color: white; }
.btn--primary:hover { background: var(--gruen-dunkel); text-decoration: none; }
.btn--outline-white { background: transparent; color: white; border-color: rgba(255,255,255,.55); }
.btn--outline-white:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--gruen); border-color: var(--linie); }
.btn--ghost:hover { background: var(--gruen-hell); text-decoration: none; }
.btn--white { background: white; color: var(--gruen-dunkel); }
.btn--white:hover { background: #f0f9f4; box-shadow: 0 2px 8px rgba(0,0,0,.1); text-decoration: none; }
.btn--sm { font-size: .85rem; padding: .45em 1.1em; }

/* ---- Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.17);
  border: 1px solid rgba(255,255,255,.3);
  color: white;
  padding: .35em .85em;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.35;
}
/* Icon behält seine Größe, auch wenn der Text auf schmalen Displays umbricht */
.badge > svg { flex: 0 0 auto; }
.badge--orange {
  background: rgba(252,153,20,.22);
  border-color: rgba(252,153,20,.50);
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: white;
  border-bottom: 1px solid var(--linie);
  box-shadow: var(--schatten-s);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand__logo {
  height: 44px;
  width: auto;
  display: block;
}

/* Hamburger */
.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  margin-left: auto;
  border-radius: var(--radius-sm);
}
.nav__toggle:hover { background: var(--gruen-hell); }
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--tinte);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.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; transform: scaleX(0); }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav menu */
.nav__menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--linie);
  padding: .75rem 1rem 1rem;
  box-shadow: var(--schatten);
  gap: .2rem;
}
.nav__menu.is-open { display: flex; }
.nav__menu a {
  padding: .65rem 1rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--tinte);
  border-radius: var(--radius-sm);
}
.nav__menu a:hover { background: var(--gruen-hell); text-decoration: none; }
.nav__menu .btn { margin-top: .5rem; align-self: flex-start; }

@media (min-width: 700px) {
  .nav__toggle { display: none; }
  .nav__menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    border: none;
    box-shadow: none;
    padding: 0;
    gap: .1rem;
    margin-left: auto;
  }
  .nav__menu a { padding: .4rem .75rem; font-size: .9rem; }
  .nav__menu .btn { margin-top: 0; margin-left: .5rem; }
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(140deg, var(--gruen-dunkel) 0%, var(--gruen) 62%, #5a9249 100%);
  color: white;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(5rem, 13vw, 9rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 85% 20%, rgba(255,255,255,.07) 0%, transparent 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero__eyebrow { color: rgba(255,255,255,.75); }
.hero__h1 {
  font-size: clamp(2.4rem, 7.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  letter-spacing: -.025em;
}
.hero__h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero__lead {
  font-size: clamp(.95rem, 2.5vw, 1.15rem);
  opacity: .88;
  max-width: 52ch;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2rem;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  pointer-events: none;
}
.hero__wave svg { display: block; width: 100%; }

/* ---- Feature-Karten ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--creme);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.feature-card__icon {
  width: 52px;
  height: 52px;
  background: var(--gruen-hell);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gruen);
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.feature-card p {
  font-size: .93rem;
  color: var(--grau);
  line-height: 1.6;
}

/* ---- Partner-Marquee ---- */
.partner .container { padding-bottom: 2rem; }
.partner-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.partner-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 8px 0 16px;
  animation: partner-scroll 38s linear infinite;
}
.partner-marquee:hover .partner-track { animation-play-state: paused; }
@keyframes partner-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.partner-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.partner-logo-box {
  width: 180px;
  height: 110px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--linie);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--schatten-s);
}
.partner-logo-box--dark { background: #2a2a2a; border-color: #2a2a2a; }
.partner-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}
.partner-logo-box--dark img { padding: 14px; }
.partner-name {
  font-size: .82rem;
  font-weight: 700;
  text-align: center;
  color: var(--tinte);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.partner-sub {
  font-size: .74rem;
  font-weight: 400;
  color: var(--grau);
}
@media (prefers-reduced-motion: reduce) {
  .partner-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
    padding: 0 clamp(1rem, 4vw, 2rem);
  }
  .partner-marquee { -webkit-mask-image: none; mask-image: none; }
  .partner-tile[aria-hidden="true"] { display: none; }
}

/* ---- Öffnungszeiten ---- */
.zeiten-layout {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 680px) {
  .zeiten-layout { grid-template-columns: auto 1fr; }
}
.zeiten-card {
  background: var(--creme);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  align-self: start;
}
.zeiten-card h3 { margin-bottom: .5rem; }
.zeiten-tag {
  display: inline-flex;
  align-items: center;
  background: var(--gruen-hell);
  color: var(--gruen-dunkel);
  border: 1px solid var(--linie);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  padding: .22em .8em;
  margin-bottom: 1.1rem;
}
.zeiten-table { border-collapse: collapse; }
.zeiten-table td {
  padding: .5rem 0;
  font-size: 1rem;
  vertical-align: top;
}
.zeiten-table td:first-child {
  font-weight: 600;
  padding-right: 1.5rem;
  white-space: nowrap;
  color: var(--tinte);
}
.zeiten-table td:last-child { color: var(--grau); }
.zeiten-table tr:not(:last-child) td { border-bottom: 1px solid var(--linie); }
.zeiten-note {
  margin-top: 1.1rem;
  font-size: .85rem;
  color: var(--grau);
}

/* Selbstbedienungs-Karte */
.selfservice-card {
  background: var(--gruen-dunkel);
  color: white;
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
}
.selfservice-card__header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.selfservice-card__iconwrap {
  flex-shrink: 0;
  background: rgba(255,255,255,.15);
  border-radius: 10px;
  padding: .55rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.selfservice-card__eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: .25rem;
}
.selfservice-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  margin: 0;
}
.selfservice-card__body {
  font-size: .93rem;
  opacity: .88;
  line-height: 1.65;
  margin-bottom: 1.4rem;
}
.selfservice-card__list {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-bottom: 1.75rem;
}
.selfservice-card__list li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .9rem;
  opacity: .9;
}
.selfservice-card__list svg {
  flex-shrink: 0;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  padding: 2px;
  color: white;
}

/* ---- Wochenangebote ---- */
.angebote .container { padding-bottom: 2rem; }
.angebote-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.angebote-track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding: 4px 0;
  animation: angebote-scroll 42s linear infinite;
}
.angebote-marquee:hover .angebote-track { animation-play-state: paused; }
.angebote-track img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
  box-shadow: var(--schatten-s);
}
@keyframes angebote-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .angebote-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
    padding: 0 clamp(1rem, 4vw, 2rem);
  }
  .angebote-marquee { -webkit-mask-image: none; mask-image: none; }
  .angebote-track img[aria-hidden="true"] { display: none; }
}

/* ---- Selbstbedienung – Hinweis & Bedingungen ---- */
.selfservice-card__hint {
  font-size: .83rem;
  opacity: .75;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.selfservice-card__link {
  color: #c2eda8;
  text-decoration: underline;
  white-space: nowrap;
}
.selfservice-card__link:hover { opacity: .85; text-decoration: none; }

/* ---- Stellenangebot ---- */
.jobs-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: white;
  border: 2px solid var(--gruen);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
}
@media (min-width: 600px) {
  .jobs-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.jobs-card__title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: .5rem;
}
.jobs-card__body p { color: var(--grau); font-size: .95rem; }
.jobs-card .btn { flex-shrink: 0; }

/* ---- Kontakt ---- */
.kontakt-layout {
  display: grid;
  gap: 2rem;
}
@media (min-width: 680px) {
  .kontakt-layout { grid-template-columns: auto 1fr; }
}
.kontakt-info { display: flex; flex-direction: column; gap: 1.6rem; }
.kontakt-block h3 {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--grau);
  margin-bottom: .4rem;
}
.kontakt-block address { line-height: 1.7; color: var(--tinte); font-size: .97rem; }
.kontakt-block a { color: var(--gruen); font-weight: 600; font-size: .97rem; }
.kontakt-block a:hover { text-decoration: underline; }

.social-links { display: flex; flex-direction: column; gap: .7rem; }
.social-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--tinte);
}
.social-link:hover { color: var(--gruen); text-decoration: none; }

/* ---- Karte ---- */
.map-wrap {
  background: var(--gruen-hell);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: none;
}
.map-consent-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gruen);
  padding: 2rem;
  text-align: center;
  font-family: inherit;
}
.map-consent-btn span:first-of-type {
  font-size: .98rem;
  font-weight: 700;
  color: var(--tinte);
}
.map-consent-btn__sub {
  font-size: .8rem;
  color: var(--grau);
  font-weight: 400;
}

/* ---- Cookie-Banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--tinte);
  color: white;
  padding: 1rem;
}
.cookie-banner__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: flex-start;
}
@media (min-width: 640px) {
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.cookie-banner__text { font-size: .88rem; opacity: .9; flex: 1; line-height: 1.5; }
.cookie-banner__text a { color: #c2eda8; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: .5rem; flex-shrink: 0; }

/* ---- Footer ---- */
.site-footer {
  background: var(--tinte);
  color: rgba(255,255,255,.65);
  padding: 1.75rem 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: white;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}
.footer-brand:hover { text-decoration: none; opacity: .85; }
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a { color: rgba(255,255,255,.55); font-size: .88rem; }
.footer-links a:hover { color: white; text-decoration: none; }
.footer-copy { font-size: .83rem; }

/* ---- Rechtliche Seiten ---- */
.legal {
  max-width: 720px;
  padding-top: 2rem;
  padding-bottom: 4rem;
}
.legal h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.15rem; margin-top: 2.25rem; margin-bottom: .65rem; }
.legal p { color: var(--grau); margin-bottom: .9rem; line-height: 1.75; }
.legal address { color: var(--grau); line-height: 1.8; margin-bottom: .9rem; }
.legal a { color: var(--gruen); }
.legal a:hover { text-decoration: underline; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--grau);
  font-size: .88rem;
  margin-bottom: 2rem;
  text-decoration: none;
}
.back-link:hover { color: var(--gruen); }

.ph {
  background: #fff3cd;
  color: #856404;
  padding: .15em .4em;
  border-radius: 3px;
  font-size: .9em;
}
