/* ============================================================
   ELEWERK – Meisterbetrieb für Ausbau & Galabau
   Design-System: hell, freundlich, kraftvoll · Rot/Schwarz
   ============================================================ */

:root {
  --red: #C13A26;          /* Akzent – warmes Ziegelrot */
  --red-dark: #A02E1D;     /* Hover */
  --red-soft: #FBEAE6;     /* zarte rote Fläche */
  --ink: #1B1D1F;          /* Schwarz – Nav, Footer, Headlines */
  --ink-2: #26292C;        /* dunkle Karten */
  --paper: #F7F5F1;        /* Seitenhintergrund, warmes Hellgrau */
  --white: #FFFFFF;
  --line: #E5E1D9;         /* Trennlinien */
  --text: #33342F;         /* Fließtext */
  --muted: #6E6A61;        /* Sekundärtext */
  --on-dark: #F4F1EA;      /* Text auf Dunkel */
  --on-dark-dim: #B9B4A8;
  --radius: 10px;
  --shadow: 0 8px 30px rgba(27, 29, 31, .08);
  --font-head: "Barlow Condensed", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  font-size: 1.0rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.08;
  font-weight: 700;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.8rem); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 84px 0; }

/* ---------- Sektions-Label (roter Kicker) ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .14em; color: var(--red);
  margin-bottom: 14px;
}
.kicker::before {
  content: ""; width: 22px; height: 22px; flex: 0 0 auto;
  background: url("../images/kolibri.png") no-repeat center / contain;
}

.lead { font-size: 1.12rem; color: var(--muted); max-width: 720px; margin-top: 14px; }

/* ---------- Punkt-Trenner (Putz · Stuck · …) ---------- */
.dotlist {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 6px 14px; font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem); text-transform: uppercase;
  letter-spacing: .08em;
}
.dotlist > * { display: inline-flex; align-items: center; gap: 14px; }
.dotlist > * + *::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink); display: inline-block; flex: 0 0 auto;
}
.dark .dotlist > * + *::before { background: var(--red); }

/* Anklickbare Gewerke im Hero */
.dotlist-links a { color: #fff; text-decoration: none; position: relative; }
.dotlist-links a > span {
  display: inline-block; padding: 3px 2px; color: #fff;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  transform-origin: center;
}

/* Roter Strich zieht beim Hover auf */
.dotlist-links a > span::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: -3px;
  height: 2px; background: var(--red); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.dotlist-links a:hover > span, .dotlist-links a:focus-visible > span {
  transform: scale(1.12);
}
.dotlist-links a:hover > span::after,
.dotlist-links a:focus-visible > span::after { transform: scaleX(1); }
.dotlist-links a:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce){
  .dotlist-links a > span { transition: none; }
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink); border-bottom: 3px solid var(--red);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 100px;
}
.nav-logo img { height: 76px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--on-dark-dim);
  padding: 6px 0; border-bottom: 2px solid transparent; transition: .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--on-dark); border-color: var(--red); }
.nav-cta {
  background: var(--red); color: #fff !important; padding: 10px 20px !important;
  border-radius: 6px; border: none !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }
.nav-burger {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-burger span {
  display: block; width: 26px; height: 3px; background: var(--on-dark);
  margin: 5px 0; border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--ink); color: var(--on-dark);
  padding: 110px 0 90px; overflow: hidden; text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--hero-img); background-size: cover; background-position: center;
  opacity: .22; filter: saturate(.85);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,29,31,.25), rgba(27,29,31,.72));
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; }
.hero .brand-sub {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .22em; font-size: clamp(1rem, 2.4vw, 1.5rem);
  color: var(--on-dark); margin: 10px 0 22px;
}
.hero .brand-sub em { color: var(--red); font-style: normal; }
.hero .dotlist { color: var(--on-dark); }

/* Unterseiten-Header (kleiner Hero) */
.page-head {
  background: var(--ink); color: var(--on-dark);
  padding: 64px 0 56px; position: relative; overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--head-img); background-size: cover; background-position: center;
  opacity: .18;
}
.page-head::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(27,29,31,.85), rgba(27,29,31,.45));
}
.page-head .container { position: relative; z-index: 2; }
.page-head h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-head p { color: var(--on-dark-dim); max-width: 680px; margin-top: 10px; font-size: 1.08rem; }
.crumbs { font-size: .9rem; margin-bottom: 18px; color: var(--on-dark-dim); }
.crumbs a { color: var(--on-dark-dim); }
.crumbs a:hover { color: #fff; }
.crumbs strong { color: var(--red); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; font-size: 1.05rem;
  padding: 14px 30px; border-radius: 6px; transition: .2s; cursor: pointer; border: 0;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-outline { border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.dark .btn-outline, .hero .btn-outline, .page-head .btn-outline { border-color: #fff; color: #fff; }
.dark .btn-outline:hover, .hero .btn-outline:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }

/* ---------- Karten & Grids ---------- */
.grid { display: grid; gap: 22px; margin-top: 44px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: .25s; position: relative;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.card .card-num {
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  color: var(--red); letter-spacing: .12em; margin-bottom: 12px; display: block;
}
.card-link {
  display: inline-block; margin-top: 16px; font-family: var(--font-head);
  font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .98rem;
}
.card-link::after { content: " →"; }
a.card-wrap { color: inherit; display: block; height: 100%; }

/* Bild-Karten (Projekte) */
.pcard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .25s;
}
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pcard img { height: 230px; width: 100%; object-fit: cover; }
.pcard .pcard-body { padding: 22px 24px 26px; }
.pcard .tag {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; font-size: .85rem;
  background: var(--red-soft); color: var(--red); border-radius: 4px;
  padding: 3px 10px; margin-bottom: 10px;
}
.pcard .tag.tag-green { background: #EAF3E6; color: #4A7A34; }

/* ---------- Dunkle Sektion ---------- */
.dark { background: var(--ink-2); color: var(--on-dark); }
.dark h2, .dark h3 { color: #fff; }
.dark p { color: var(--on-dark-dim); }
.dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.dark .card p { color: var(--on-dark-dim); }
.dark .card h3 { color: #fff; }

/* ---------- Zahlenband ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats .stat b {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--red); line-height: 1;
}
.stats .stat span { color: var(--on-dark-dim); font-size: .95rem; }

/* ---------- Team ---------- */
.tcard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-align: center;
}
.tcard img { width: 100%; height: 280px; object-fit: cover; object-position: center 20%; }
.tcard .tcard-body { padding: 20px 18px 24px; }
.tcard h3 { font-size: 1.3rem; }
.tcard .role { color: var(--red); font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; }
.tcard .note { color: var(--muted); font-size: .92rem; margin-top: 8px; }
.tcard.placeholder { border-style: dashed; background: transparent; }
.tcard.placeholder .ph-img {
  height: 280px; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, #EFECE5, #EFECE5 12px, #F7F5F1 12px, #F7F5F1 24px);
  color: var(--muted); font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
}

/* ---------- News-Liste ---------- */
.news-item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 30px; display: grid; grid-template-columns: 130px 1fr; gap: 26px;
  margin-top: 20px; align-items: start;
}
.news-item .date {
  font-family: var(--font-head); font-weight: 700; color: var(--red);
  text-transform: uppercase; font-size: 1.05rem; line-height: 1.3;
}
.news-item h3 { margin-bottom: 8px; }
.news-item p { color: var(--muted); }


/* ---------- News-Slider (kompakt, swipebar) ---------- */
.news-slider {
  display: flex; gap: 18px; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  padding: 34px 4px 16px; scrollbar-width: thin; scrollbar-color: var(--red) var(--line);
}
.news-slider::-webkit-scrollbar { height: 6px; }
.news-slider::-webkit-scrollbar-track { background: var(--line); border-radius: 3px; }
.news-slider::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }
.ncard {
  flex: 0 0 320px; max-width: 85vw; scroll-snap-align: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: .25s;
}
.ncard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.ncard img { height: 160px; width: 100%; object-fit: cover; }
.ncard .ncard-body { padding: 18px 20px 22px; }
.ncard .date {
  font-family: var(--font-head); font-weight: 700; color: var(--red);
  text-transform: uppercase; letter-spacing: .1em; font-size: .9rem;
  display: block; margin-bottom: 6px;
}
.ncard h3 { font-size: 1.25rem; margin-bottom: 6px; }
.ncard p { color: var(--muted); font-size: .93rem; }
.ncard.placeholder { border-style: dashed; background: transparent; }
.swipe-hint { color: var(--muted); font-size: .88rem; margin-top: 4px; }

/* ---------- Checkliste ---------- */
.checks { list-style: none; margin-top: 20px; }
.checks li { padding: 9px 0 9px 34px; position: relative; border-bottom: 1px solid var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  color: var(--red); font-weight: 700; font-size: 1.1rem;
}

/* ---------- Ablauf-Schritte ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; margin-top: 36px; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px 24px 84px; position: relative;
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 24px; top: 22px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: var(--red);
}
.step h3 { font-size: 1.25rem; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- Split (Text + Bild) ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Formular ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; font-size: .92rem; color: var(--ink); display: block; margin-bottom: 6px;
}
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 6px;
  font-family: var(--font-body); font-size: 1rem; background: var(--white); color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--red); border-color: var(--red);
}
.form-ok {
  display: none; background: #EAF3E6; color: #35592A; border-radius: 6px;
  padding: 16px 20px; font-weight: 500;
}

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--red); color: #fff; text-align: center; padding: 64px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 640px; margin: 12px auto 0; }
.cta-band .btn { background: #fff; color: var(--red); margin-top: 28px; }
.cta-band .btn:hover { background: var(--ink); color: #fff; }


/* ---------- Partner-Laufband ---------- */
.partners {
  background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 44px 0 40px; overflow: hidden;
}
.partners .partner-label {
  text-align: center; font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: .16em; font-size: 1rem;
  color: var(--muted); margin-bottom: 30px;
}
.partner-track { display: flex; width: max-content; will-change: transform; }
.partner-track.running { animation: partner-scroll var(--dur, 40s) linear infinite; }
.partner-track:hover { animation-play-state: paused; }
.partner-set { display: flex; align-items: center; gap: 72px; padding-right: 72px; flex: 0 0 auto; }
.partner-set img {
  height: 42px; width: auto; max-width: 160px; object-fit: contain;
  filter: grayscale(1); opacity: .6; transition: filter .25s, opacity .25s;
  flex: 0 0 auto;
}
.partner-set img:hover { filter: none; opacity: 1; }
@keyframes partner-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(var(--shift, 50%) * -1)); }
}
@media (prefers-reduced-motion: reduce){ .partner-track.running { animation: none; } }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: var(--on-dark-dim); padding: 64px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
footer h4 { color: #fff; font-size: 1.15rem; margin-bottom: 14px; }
footer ul { list-style: none; }
footer li { margin: 7px 0; }
footer a { color: var(--on-dark-dim); }
footer a:hover { color: #fff; }
footer .foot-logo img { height: 76px; margin-bottom: 14px; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 46px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .9rem;
}

/* ---------- Hero Lead-Box ---------- */
.hero-lead {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  max-width: 640px; margin: 24px auto 0;
}
.hero-lead input {
  flex: 1 1 190px; padding: 13px 16px; border-radius: 8px; border: 0;
  font-family: var(--font-body); font-size: 1rem; background: rgba(255,255,255,.96); color: var(--ink);
}
.hero-lead input::placeholder { color: #8a867d; }
.hero-lead button { flex: 0 0 auto; cursor: pointer; }
.hero-note { color: var(--on-dark-dim); font-size: .86rem; margin-top: 14px; }
.hero-note strong { color: #fff; font-weight: 600; }

/* ---------- Trust-Leiste ---------- */
.trustbar { background: var(--white); border-bottom: 1px solid var(--line); }
.trustbar .container {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 28px;
  padding-top: 22px; padding-bottom: 22px;
}
.trustbar .ti { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); font-size: .98rem; }
.trustbar .ti::before {
  content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 auto;
  border-radius: 50%; background: var(--red-soft); color: var(--red); font-size: .8rem; font-weight: 700;
}

/* ---------- Kundenstimmen ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.review {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.review p { color: var(--text); margin: 0 0 18px; line-height: 1.7; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review .who .av {
  width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; flex: 0 0 auto;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .95rem;
}
.review .who b { display: block; font-weight: 600; color: var(--ink); }
.review .who span { color: var(--muted); font-size: .88rem; }

/* ---------- Kolibri-Branding ---------- */
.page-head .container::before, .hero .container::before {
  content: ""; position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  width: 300px; height: 320px; pointer-events: none; z-index: -1;
  background: url("../images/kolibri.png") no-repeat center / contain;
  opacity: .09;
}
.hero .container::before { width: 460px; height: 490px; right: -40px; opacity: .10; }
.kolibri-big { width: 120px; height: auto; margin: 0 auto 18px; display: block; opacity: .9; }

/* ---------- Legal (Impressum / Datenschutz) ---------- */
.legal { max-width: 820px; }
.legal h2 {
  font-family: var(--font-head); color: var(--red);
  font-size: 1.5rem; text-transform: uppercase; letter-spacing: .5px;
  margin: 2.2rem 0 .7rem;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 {
  font-family: var(--font-head); color: var(--ink);
  font-size: 1.2rem; margin: 1.3rem 0 .5rem;
}
.legal p, .legal li { color: var(--text); margin-bottom: .7rem; line-height: 1.8; }
.legal ul { margin: 0 0 .7rem 1.2rem; }
.legal a { color: var(--red); }
.legal a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .reviews { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .nav-links {
    display: none; position: absolute; top: 100px; left: 0; right: 0;
    background: var(--ink); flex-direction: column; gap: 0; padding: 12px 24px 22px;
    border-bottom: 3px solid var(--red);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-cta { text-align: center; margin-top: 10px; }
  .nav-burger { display: block; }
}

/* ---------- Rezensions-Slider (Google-Optik) ---------- */
.g-badge {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border-radius: 12px; padding: 24px 22px;
  margin-top: 34px; box-shadow: 0 1px 6px rgba(0,0,0,.28);
  max-width: 360px;
}
.g-badge > div { display: flex; flex-direction: column; gap: 2px; }
.g-badge b {
  font-family: var(--font-body); font-size: 1.6rem; font-weight: 700;
  color: #202124; line-height: 1;
}
.g-badge .g-stars { color: #FBBC04; font-size: 1.05rem; letter-spacing: 3px; }
.g-badge .g-count { color: #5F6368; font-size: .8rem; }

.review-slider { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin-top: 34px; scrollbar-width: none; padding: 6px 2px 10px; }
.review-slider::-webkit-scrollbar { display: none; }
.review-track { display: flex; gap: 20px; }
.review-track .review {
  flex: 0 0 100%; scroll-snap-align: center;
  background: #fff; border-radius: 12px; padding: 24px 22px;
  box-shadow: 0 1px 6px rgba(0,0,0,.28);
  display: flex; flex-direction: column;
}
@media (min-width: 760px){ .review-track .review { flex-basis: calc(50% - 10px); } }
@media (min-width: 1024px){ .review-track .review { flex-basis: calc(33.333% - 14px); } }

/* Google-Reihenfolge: erst Kopf (Avatar+Name), dann Sterne, dann Text */
.review-track .who { display: flex; align-items: center; gap: 12px; order: -2; margin: 0 0 10px; }
.review-track .stars { order: -1; color: #FBBC04; font-size: 1.05rem; letter-spacing: 3px; margin: 0 0 10px; }
.review-track .review > p:not(.stars) {
  color: #3C4043; font-size: .96rem; line-height: 1.6;
  font-family: var(--font-body);
}
.review-track .av {
  width: 42px; height: 42px; border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 500; font-size: 1.05rem; flex: 0 0 auto;
  background: #4285F4;
}
/* Google-Farbpalette für Avatare, rotierend */
.review-track .review:nth-child(5n+1) .av { background: #7B1FA2; }
.review-track .review:nth-child(5n+2) .av { background: #EA4335; }
.review-track .review:nth-child(5n+3) .av { background: #34A853; }
.review-track .review:nth-child(5n+4) .av { background: #F29900; }
.review-track .review:nth-child(5n+5) .av { background: #4285F4; }

.review-track .who b { color: #202124; display: block; font-size: .98rem; font-weight: 600; line-height: 1.2; }
.review-track .who span {
  color: #5F6368; font-size: .8rem; display: inline-flex; align-items: center; gap: 5px;
}
.g-mini { flex: 0 0 auto; }

.review-dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.review-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.25); transition: .2s; padding: 0; }
.review-dot.active { background: #FBBC04; transform: scale(1.25); }

/* Pfeil-Buttons + Drag */
.review-wrap { position: relative; }
.review-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: #202124; font-size: 1.7rem; line-height: 1;
  box-shadow: 0 2px 10px rgba(0,0,0,.35);
  display: flex; align-items: center; justify-content: center;
  transition: .2s; padding: 0 0 4px;
}
.review-arrow:hover { background: #FBBC04; transform: translateY(-50%) scale(1.08); }
.review-arrow.prev { left: -62px; }
.review-arrow.next { right: -62px; }
@media (max-width: 1320px){
  .review-arrow.prev { left: -18px; }
  .review-arrow.next { right: -18px; }
}
@media (max-width: 760px){
  .review-arrow { width: 38px; height: 38px; font-size: 1.35rem; }
  .review-arrow.prev { left: -6px; }
  .review-arrow.next { right: -6px; }
}
.review-slider { cursor: grab; user-select: none; }
.review-slider.grabbing { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.review-track .review { transition: box-shadow .25s; }
.review-track .review:hover { box-shadow: 0 6px 22px rgba(0,0,0,.35); }

/* ---------- Projekt-Galerie (Swipe-Slider) ---------- */
.pslider-wrap { position: relative; margin-top: 30px; }

.pslider {
  display: flex;
  gap: 0;                               /* Abstand steckt im figure-padding, sonst rastet Snap daneben */
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.pslider::-webkit-scrollbar { display: none; }

.pslider figure {
  margin: 0;
  flex: 0 0 100%;
  max-width: 100%;
  padding-right: 20px;                  /* wird durch border-box vom Slide abgezogen */
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.pslider img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  user-select: none;
  -webkit-user-drag: none;
}
.pslider figcaption {
  font-size: .95rem; color: var(--muted); margin-top: 14px; line-height: 1.5;
  min-height: 3em;
}

.pslider-nav {
  position: absolute; top: 0; bottom: 0; margin: auto 0;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(27,29,31,.7); color: #fff; font-size: 1.5rem; line-height: 1;
  display: grid; place-items: center; z-index: 2;
  transition: background .18s, opacity .18s;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.pslider-nav:hover { background: var(--red); }
.pslider-nav[disabled] { opacity: 0; pointer-events: none; }
.pslider-prev { left: 14px; }
.pslider-next { right: 34px; }

.pslider-dots { display: flex; justify-content: center; gap: 9px; margin-top: 4px; }
.pslider-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: #d3cec6; transition: background .2s, transform .2s;
}
.pslider-dots button.is-active { background: var(--red); transform: scale(1.35); }

@media (max-width: 700px) {
  .pslider-nav { display: none; }
  .pslider figure { padding-right: 12px; }
  .pslider figcaption { font-size: .88rem; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) { .pslider { scroll-behavior: auto; } }

/* ---------- Sponsoring-Beitrag ---------- */
.sponsor { margin-top: 72px; }
.sponsor-head { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.sponsor-head img { width: 92px; height: 92px; object-fit: contain; flex: 0 0 auto; }
.sponsor-text { max-width: 760px; }
.sponsor-text p { margin-top: 14px; }
.sponsor-gal { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; margin-top: 34px; }
.sponsor-gal img { width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 800px) { .sponsor-gal { grid-template-columns: 1fr; } }
