/* ══════════════════════════════════════════
   AgroTrade – Stylesheet
   ══════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --green: #95c121;
  --green-dark: #7aa318;
  --green-light: #eaf4d0;
  --gray: #595857;
  --gray-light: #f4f3f2;
  --gray-mid: #e2e0de;
  --white: #ffffff;
  --text: #2e2d2c;
  --text-light: #7a7876;
  --nav-h: 72px;
  --radius: 4px;
  --shadow: 0 2px 24px rgba(89,88,87,.09);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Source Sans 3', sans-serif; color: var(--text); background: var(--white); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: 'Lora', serif; font-weight: 600; line-height: 1.25; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: var(--gray); }
h3 { font-size: 1.2rem; }
p { font-weight: 300; color: var(--text-light); font-size: 1.05rem; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 120px;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--gray-mid);
  backdrop-filter: blur(8px);
  display: flex; align-items: center;
}
.nav-inner {
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: flex; align-items: center; gap: .75rem;
}
.logo-mark {
  width: 120px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 24px; height: 24px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: 'Lora', serif; font-weight: 600; font-size: 1.25rem; color: var(--gray); }
.logo-sub { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-light); font-weight: 400; }
.nav-right { display: flex; align-items: center; gap: 1.25rem; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: .88rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--gray);
  position: relative; padding-bottom: 2px;
  transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--green);
  transform: scaleX(0); transition: transform .25s;
}
.nav-links a:hover { color: var(--green-dark); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--green); color: var(--white) !important;
  padding: .45rem 1.2rem; border-radius: var(--radius);
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--green-dark) !important; }
.nav-cta::after { display: none !important; }

/* ── HERO ── */
#home {
  padding-top: var(--nav-h);
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1200px; margin: 0 auto;
  padding-left: 2rem; padding-right: 2rem;
  gap: 4rem;
}
.hero-text { padding: 4rem 0; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .15em;
  font-weight: 600; color: var(--green-dark);
  margin-bottom: 1.5rem;
}
.hero-eyebrow span:first-child { width: 32px; height: 2px; background: var(--green); display: block; }
.hero-text h1 { color: var(--gray); margin-bottom: 1.5rem; }
.hero-text h1 em { font-style: italic; color: var(--green-dark); }
.hero-text p { font-size: 1.1rem; max-width: 460px; margin-bottom: 2.5rem; }
.btn-primary {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--green); color: var(--white);
  padding: .85rem 2rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: .6rem;
  border: 2px solid var(--gray-mid); color: var(--gray);
  padding: .83rem 1.8rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
  margin-left: 1rem;
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--gray); color: var(--text); }
.hero-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-card-stack { position: relative; width: 100%; max-width: 400px; }
.hero-card {
  background: var(--gray-light);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.hero-card-accent {
  position: absolute; top: -1.5rem; right: -1.5rem;
  background: var(--green);
  border-radius: 12px;
  width: 100%; max-width: 400px; height: 100%;
  z-index: -1;
  opacity: .25;
}
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.stat-item { text-align: center; }
.stat-num { font-family: 'Lora', serif; font-size: 2rem; font-weight: 600; color: var(--green-dark); display: block; }
.stat-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-light); }
.hero-card h3 { font-family: 'Lora', serif; color: var(--gray); margin-bottom: .5rem; }
.hero-card p { font-size: .95rem; }

/* ── SECTION WRAPPER ── */
.section {
  padding: 7rem 2rem;
  max-width: 1200px; margin: 0 auto;
}
.section-full {
  padding: 7rem 0;
  background: var(--gray-light);
}
.section-full .section { padding-top: 0; padding-bottom: 0; }
.section-label {
  display: flex; align-items: center; gap: .6rem;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .15em;
  font-weight: 600; color: var(--green-dark); margin-bottom: 1rem;
}
.section-label::before { content: ''; width: 28px; height: 2px; background: var(--green); display: block; }
.section-header { margin-bottom: 4rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { max-width: 540px; font-size: 1.1rem; }

/* ── KATALOG ── */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.catalog-card {
  border: 1px solid var(--gray-mid);
  border-radius: 8px;
  padding: 2rem;
  background: var(--white);
  transition: box-shadow .2s, transform .2s;
  position: relative; overflow: hidden;
}
.catalog-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--green);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.catalog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.catalog-card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 48px; height: 48px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
}
.catalog-card h3 { color: var(--gray); margin-bottom: .5rem; font-size: 1.05rem; }
.catalog-card p { font-size: .92rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.tag {
  font-size: .72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; padding: .2rem .6rem;
  background: var(--green-light); color: var(--green-dark);
  border-radius: 99px;
}

/* ── SERVICES ── */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.service-num {
  font-family: 'Lora', serif; font-size: 2.5rem; font-weight: 600;
  color: var(--green-light); line-height: 1; margin-bottom: 1rem;
}
.service-card h3 { color: var(--gray); margin-bottom: .75rem; }
.service-card p { font-size: .95rem; }

/* ── GESCHICHTE ── */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--gray-mid);
}
.timeline-item {
  position: relative; padding-left: 2.5rem; padding-bottom: 3rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -2.4rem; top: .3rem;
  width: 14px; height: 14px;
  background: var(--green); border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--green);
}
.timeline-year {
  font-family: 'Lora', serif; font-weight: 600;
  color: var(--green-dark); font-size: 1rem;
  margin-bottom: .3rem;
}
.timeline-item h3 { color: var(--gray); margin-bottom: .4rem; }
.timeline-item p { font-size: .95rem; }
.geschichte-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
}
.geschichte-intro { position: sticky; top: calc(var(--nav-h) + 2rem); }
.geschichte-intro p { font-size: 1.05rem; margin-top: 1rem; }
.family-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--green-light); color: var(--green-dark);
  padding: .6rem 1.2rem; border-radius: 99px;
  font-size: .85rem; font-weight: 600; margin-top: 2rem;
}

/* ── KARRIERE ── */
.jobs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.job-card {
  border: 1px solid var(--gray-mid); border-radius: 8px; padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.job-card:hover { border-color: var(--green); box-shadow: var(--shadow); }
.job-meta { display: flex; gap: .5rem; flex-wrap: wrap; }
.job-badge {
  font-size: .72rem; font-weight: 600; padding: .2rem .7rem;
  border-radius: 99px; text-transform: uppercase; letter-spacing: .07em;
}
.badge-full { background: var(--green-light); color: var(--green-dark); }
.badge-part { background: #fff3e0; color: #b06000; }
.job-card h3 { color: var(--gray); }
.job-card p { font-size: .93rem; }
.job-link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--green-dark); font-weight: 600; font-size: .9rem;
  margin-top: auto;
}
.job-link:hover { gap: .8rem; }
.karriere-note {
  margin-top: 3rem; padding: 2rem 2.5rem;
  background: var(--green-light); border-radius: 8px;
  display: flex; align-items: center; gap: 2rem;
}
.karriere-note p { color: var(--green-dark); font-size: 1rem; }
.karriere-note strong { color: var(--green-dark); }

/* ── KONTAKT ── */
#kontakt { background: var(--gray); }
.kontakt-layout {
  max-width: 1200px; margin: 0 auto;
  padding: 7rem 2rem;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start;
}
.kontakt-info h2 { color: var(--white); margin-bottom: 1rem; }
.kontakt-info > p { color: rgba(255,255,255,.65); margin-bottom: 2.5rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(149,193,33,.15); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact-item h4 {
  color: rgba(255,255,255,.5); font-size: .75rem; text-transform: uppercase;
  letter-spacing: .1em; font-family: 'Source Sans 3', sans-serif;
  font-weight: 600; margin-bottom: .15rem;
}
.contact-item p { color: var(--white); font-size: .97rem; font-weight: 400; }
.kontakt-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: rgba(255,255,255,.6); }
input, textarea, select {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); padding: .85rem 1rem;
  color: var(--white); font-family: inherit; font-size: 1rem;
  outline: none; transition: border-color .2s;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,.3); }
input:focus, textarea:focus, select:focus { border-color: var(--green); }
select option { background: var(--gray); color: var(--white); }
textarea { resize: vertical; min-height: 130px; }
.submit-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  background: var(--green); color: var(--white);
  padding: 1rem 2rem; border-radius: var(--radius);
  border: none; cursor: pointer; font-family: inherit; font-size: 1rem; font-weight: 600;
  transition: background .2s; align-self: flex-start;
}
.submit-btn:hover { background: var(--green-dark); }

/* ── FOOTER ── */
footer {
  background: #2a2928; color: rgba(255,255,255,.45);
  text-align: center; padding: 2rem;
  font-size: .85rem;
}
footer a { color: var(--green); }

/* ── DIVIDER ── */
.divider { width: 60px; height: 3px; background: var(--green); margin: 1rem 0 2rem; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #home { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .geschichte-layout { grid-template-columns: 1fr; }
  .geschichte-intro { position: static; }
  .kontakt-layout { grid-template-columns: 1fr; gap: 3rem; }
  .jobs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
.hero-text > div:last-child {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .75rem;
  }
  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }
}

/* ── SCROLL FADE ── */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── CATALOG SECTION TITLE ── */
.catalog-section-title {
  font-family: 'Lora', serif;
  color: var(--gray);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.catalog-grid--mb { margin-bottom: 3rem; }

/* ── KARRIERE NOTE ICON ── */
.karriere-note-icon { font-size: 2rem; }

/* ── KONTAKT LABEL (light version for dark bg) ── */
.kontakt-label { color: rgba(149,193,33,.9); }

/* ── HEIMTIER PRODUKTKARTEN ── */
.catalog-subtitle {
  color: var(--text-light); font-size: 1rem;
  margin-bottom: 2rem; max-width: 600px;
}
.heimtier-filters {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: .4rem 1.1rem;
  border: 1px solid var(--gray-mid); border-radius: 99px;
  font-size: .82rem; font-weight: 600; cursor: pointer;
  background: var(--white); color: var(--gray);
  font-family: 'Source Sans 3', sans-serif;
  transition: all .2s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--green); border-color: var(--green); color: var(--white);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1.25rem;
}
.product-card {
  border: 1px solid var(--gray-mid); border-radius: 8px;
  background: var(--white); overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-img {
  height: 140px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product-img img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; top: 0; left: 0;
}
.product-emoji {
  font-size: 3rem; z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.12));
}
.product-body { padding: 1rem 1.1rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-cat-badge {
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-light); margin-bottom: .35rem;
}
.product-name {
  font-family: 'Lora', serif; color: var(--gray);
  font-size: .98rem; margin-bottom: .6rem; font-weight: 600;
}
.product-variants { display: flex; flex-wrap: wrap; gap: .3rem; }
.product-variant {
  font-size: .68rem; font-weight: 600;
  padding: .15rem .55rem;
  background: var(--green-light); color: var(--green-dark); border-radius: 99px;
}
.product-note { font-size: .8rem; color: var(--text-light); margin-bottom: .5rem; font-style: italic; }
.heimtier-empty {
  grid-column: 1/-1; text-align: center;
  color: var(--text-light); padding: 3rem;
}

/* ── QUALITÄT (Services-Unterbereich) ── */
.qualitaet-section {
  display: grid; grid-template-columns: 1fr auto;
  gap: 4rem; align-items: center;
  margin-top: 4rem; padding-top: 4rem;
  border-top: 1px solid var(--gray-mid);
}
.qualitaet-text .section-label { margin-bottom: .75rem; }
.qualitaet-text h3 {
  font-family: 'Lora', serif; color: var(--gray);
  font-size: 1.5rem; margin-bottom: 1rem; line-height: 1.3;
}
.qualitaet-text p { font-size: 1rem; margin-bottom: .85rem; max-width: 580px; }
.qualitaet-text p:last-child { margin-bottom: 0; }
.qualitaet-text strong { color: var(--green-dark); font-weight: 600; }
.qualitaet-badge img { width: 160px; display: block; }
@media (max-width: 760px) {
  .qualitaet-section { grid-template-columns: 1fr; gap: 2rem; }
  .qualitaet-badge img { width: 120px; margin: 0 auto; }
}

/* ── BURGER MENU ── */
.lang-btn {
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; line-height: 1; padding: 0;
  border-radius: var(--radius); transition: transform .15s;
  display: flex; align-items: center;
  justify-content: center;
}
.lang-btn:hover { transform: scale(1.15); }
.lang-btn img {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: block;
}

.burger-btn {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; cursor: pointer; padding: .5rem; z-index: 101;
}
.burger-btn span {
  display: block; width: 24px; height: 2px; background: var(--gray); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.burger-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── WORLD MAP ── */
#worldmap { background: #1d1c1b; position: relative; overflow: hidden; }
.worldmap-container { position: relative; width: 100%; line-height: 0; }
#worldMapDots { display: block; width: 100%; height: auto; }
#worldMapRoutes { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }

/* ── TEAM ── */
.team-section-wrapper {
  max-width: 1200px; margin: 0 auto; padding: 5rem 2rem 4rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2rem;
}
.team-card {}
.team-img-wrap {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  border-radius: 8px; cursor: default;
}
.team-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-family: 'Lora', serif; font-size: 2.2rem; font-weight: 600;
  color: rgba(255,255,255,.7); transition: opacity .35s;
}
.team-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1; transition: opacity .35s;
}
.team-hover-overlay {
  position: absolute; inset: 0; background: rgba(30,29,28,.88);
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem; opacity: 0; transition: opacity .35s; z-index: 2;
}
.team-img-wrap:hover .team-placeholder { opacity: 0.2; }
.team-img-wrap:hover .team-photo { opacity: .15; }
.team-img-wrap:hover .team-hover-overlay { opacity: 1; }
.team-quote { color: #fff; font-size: .86rem; text-align: center; font-style: italic; line-height: 1.6; }
.team-info {
  padding-top: .75rem;
  display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem;
}
.team-info-left { flex: 1; min-width: 0; }
.team-name { font-weight: 600; color: rgba(255,255,255,.9); font-size: .95rem; }
.team-role { font-size: .8rem; color: rgba(255,255,255,.45); margin-top: .15rem; }
.team-contact-btns { display: flex; flex-direction: row; gap: .4rem; flex-shrink: 0; padding-top: .1rem; flex-wrap: wrap; justify-content: flex-end; }
.team-contact-btn {
  display: flex; align-items: center; justify-content: center;
  padding: .45rem .75rem;
  background: var(--green); border-radius: 6px;
  text-decoration: none; line-height: 1;
  transition: background .2s, transform .15s;
}
.team-contact-btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.team-contact-btn svg { display: block; }

/* ── TOGGLE SWITCH (Admin) ── */
.toggle-row { display: flex; align-items: center; justify-content: space-between; padding: .5rem 0; }
.toggle-row label:first-child { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: #7a7876; }
.toggle-switch { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0; background: #ccc; border-radius: 24px;
  cursor: pointer; transition: background .2s;
}
.toggle-slider::before {
  content: ''; position: absolute; height: 18px; width: 18px; left: 3px; bottom: 3px;
  background: white; border-radius: 50%; transition: transform .2s;
}
.toggle-switch input:checked + .toggle-slider { background: #95c121; }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }

/* ── KATALOG SUCHE ── */
.catalog-controls {
  display: flex; align-items: flex-start; gap: 1rem;
  flex-wrap: wrap; justify-content: space-between;
  margin-bottom: 2rem;
}
.catalog-controls .heimtier-filters { margin-bottom: 0; flex: 1; min-width: 180px; }
.catalog-search-wrap { flex-shrink: 0; width: 100%; max-width: 280px; }
input.catalog-search {
  width: 100%;
  padding: .5rem 1.1rem .5rem 2.4rem;
  border: 1px solid var(--gray-mid) !important;
  border-radius: 99px !important;
  background: var(--white) !important;
  color: var(--text) !important;
  font-family: 'Source Sans 3', sans-serif;
  font-size: .88rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
input.catalog-search::placeholder { color: var(--text-light) !important; opacity: 1; }
input.catalog-search:focus { border-color: var(--green) !important; box-shadow: 0 0 0 3px rgba(149,193,33,.15); }
.catalog-search-icon {
  position: absolute; left: .85rem; top: 50%; transform: translateY(-50%);
  color: var(--text-light); font-size: .9rem; pointer-events: none; line-height: 1;
}
.catalog-search-wrap { position: relative; }
@media (max-width: 640px) {
  .catalog-search-wrap { max-width: 100%; }
}

/* ── JOB PDF LINK ── */
.job-pdf-link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--text-light); font-size: .82rem; font-weight: 600;
  border: 1px solid var(--gray-mid); padding: .3rem .9rem;
  border-radius: 99px; transition: all .2s; width: fit-content;
}
.job-pdf-link:hover { border-color: var(--green); color: var(--green-dark); }

/* ── CATEGORY MANAGEMENT (Admin) ── */
.cat-list { display: flex; flex-direction: column; gap: .75rem; margin-top: 1rem; }
.cat-item {
  background: white; border: 1px solid #e2e0de; border-radius: 6px;
  padding: .75rem 1rem; display: flex; align-items: center; justify-content: space-between;
}
.cat-item-name { font-weight: 600; color: #595857; }
.cat-item-count { font-size: .8rem; color: #7a7876; }
.cat-actions { display: flex; gap: .5rem; }

/* ── RESPONSIVE UPDATES ── */
@media (max-width: 860px) {
  .burger-btn { display: flex; }
  nav { position: sticky; top: 0; z-index: 100; }
  .nav-links {
    display: none !important; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,.98); border-bottom: 1px solid #e2e0de;
    padding: 1.5rem 2rem; gap: 1.25rem; z-index: 100;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  .nav-links.open { display: flex !important; }
  .nav-cta { align-self: flex-start; }
  .nav-right { gap: .5rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .qualitaet-section { flex-direction: column; gap: 2rem; text-align: center; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .team-quote { font-size: .8rem; }
  .team-info { flex-direction: column; gap: .5rem; }
  .team-contact-btns { flex-direction: row; align-items: flex-start; justify-content: flex-start; }
}

/* ── PRODUKT-DETAIL BUTTON (auf der Karte) ── */
.product-card-spacer { flex: 1; min-height: 1.25rem; }
.product-detail-btn {
  display: block; width: 100%; padding: .42rem;
  background: none; border: 1px solid var(--gray-mid); border-radius: var(--radius);
  cursor: pointer; font-family: 'Source Sans 3', sans-serif;
  font-size: .78rem; font-weight: 600; color: var(--text-light);
  text-align: center; transition: all .2s;
}
.product-detail-btn:hover { border-color: var(--green); color: var(--green-dark); background: var(--green-light); }

/* ── PRODUKT-DETAIL MODAL ── */
.product-detail-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  display: none; align-items: center; justify-content: center;
  z-index: 600; padding: 1.5rem; backdrop-filter: blur(4px);
}
.product-detail-overlay.open { display: flex; }
.product-detail-modal {
  background: var(--white); border-radius: 14px;
  width: 100%; max-width: 860px; max-height: 90vh;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}
.product-detail-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem; border-bottom: 1px solid var(--gray-mid); flex-shrink: 0;
}
.product-detail-header-cat {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--green-dark);
  display: flex; align-items: center; gap: .5rem;
}
.product-detail-header-cat::before { content: ''; width: 18px; height: 2px; background: var(--green); display: block; }
.product-detail-close {
  background: none; border: none; font-size: 1.4rem; cursor: pointer;
  color: var(--text-light); line-height: 1; transition: color .2s; padding: .2rem;
}
.product-detail-close:hover { color: var(--text); }
.product-detail-layout {
  display: grid; grid-template-columns: 1.1fr 1fr; flex: 1; overflow: hidden; min-height: 0;
}
.product-detail-gallery {
  display: flex; flex-direction: column;
  border-right: 1px solid var(--gray-mid); background: var(--gray-light); overflow: hidden;
}
.product-detail-main {
  flex: 1; display: flex; align-items: center; justify-content: center;
  font-size: 5rem; position: relative; overflow: hidden; min-height: 280px;
}
.product-detail-main img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.product-detail-emoji { position: relative; z-index: 1; filter: drop-shadow(0 4px 8px rgba(0,0,0,.15)); }
.product-detail-thumbs {
  display: flex; gap: .5rem; padding: .75rem; overflow-x: auto; flex-shrink: 0;
  border-top: 1px solid var(--gray-mid);
}
.product-detail-thumbs:empty { display: none; }
.product-detail-thumb {
  width: 58px; height: 58px; border-radius: 6px; overflow: hidden;
  border: 2px solid transparent; cursor: pointer; flex-shrink: 0;
  transition: border-color .2s; background: var(--gray-mid);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.product-detail-thumb.active { border-color: var(--green); }
.product-detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info {
  padding: 2rem; overflow-y: auto; display: flex; flex-direction: column; gap: 1.25rem;
}
.product-detail-name { font-family: 'Lora', serif; color: var(--gray); font-size: 1.65rem; line-height: 1.2; }
.product-detail-note { font-style: italic; color: var(--text-light); font-size: .95rem; }
.product-detail-section-lbl {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-light); margin-bottom: .5rem;
}
.product-detail-variants { display: flex; flex-wrap: wrap; gap: .4rem; }
.product-detail-cta { margin-top: auto; padding-top: 1rem; }
.product-detail-cta a {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--green); color: var(--white);
  padding: .8rem 2rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; transition: background .2s;
}
.product-detail-cta a:hover { background: var(--green-dark); }
@media (max-width: 680px) {
  .product-detail-layout { grid-template-columns: 1fr; overflow-y: auto; }
  .product-detail-gallery { border-right: none; border-bottom: 1px solid var(--gray-mid); }
  .product-detail-main { min-height: 200px; font-size: 3.5rem; }
  .product-detail-info { padding: 1.5rem; }
}

/* ── ADMIN PRODUKT-BILDER ── */
.prod-images-grid { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .5rem; min-height: 20px; }
.prod-img-thumb {
  position: relative; width: 70px; height: 70px;
  border-radius: 6px; overflow: hidden; border: 1px solid var(--gray-mid); flex-shrink: 0;
}
.prod-img-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prod-img-remove {
  position: absolute; top: 2px; right: 2px; width: 18px; height: 18px;
  border-radius: 50%; background: rgba(0,0,0,.65); color: #fff;
  border: none; font-size: .6rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.prod-img-no-images { font-size: .8rem; color: var(--text-light); padding: .4rem 0; }
