/* ============================================
   Malerbetrieb Ehlert & Kallweit – Stylesheet
   ============================================ */

:root {
  --ink: #232323;
  --body: #4d4b48;
  --muted: #807d78;
  --paper: #ffffff;
  --surface: #f6f5f3;
  --line: #e8e6e2;
  --accent: #d83a34;
  --accent-dark: #b8312b;
  --rainbow: linear-gradient(90deg, #e6332a, #f39200, #ffd500, #95c11f, #009640, #009fe3, #312783, #a3195b);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(35, 35, 35, 0.10);
  --shadow-sm: 0 4px 14px rgba(35, 35, 35, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-weight: 700; }

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* ---------- Skip-Link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--rainbow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
}
.brand img { width: 54px; height: auto; }
.brand-name {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.brand-name small {
  display: block;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}
.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.main-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--font);
  transition: background 0.2s, transform 0.15s;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.85);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.15); }
.main-nav .btn { padding: 0.55rem 1.2rem; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
  position: absolute;
  left: 9px;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -8px; }
.nav-toggle span::after { left: 0; top: 8px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}
.hero img.hero-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(100deg, rgba(20, 20, 22, 0.78) 0%, rgba(20, 20, 22, 0.55) 45%, rgba(20, 20, 22, 0.18) 100%);
  z-index: -1;
}
.hero-content { padding: 6rem 0; max-width: 640px; }
.hero-kicker {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 1.1rem;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #ffd500, #f39200);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-badges {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  list-style: none;
}
.hero-badges li {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-badges svg { width: 19px; height: 19px; flex: none; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section.alt { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--rainbow);
}
.section-head.center .kicker::after {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--rainbow);
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 0.9rem; }
.section-head p { color: var(--body); font-size: 1.08rem; }

/* ---------- Leistungen ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-bottom: 2.2rem;
}
.feature-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--rainbow);
}
.feature-card h3 { color: #fff; font-size: 1.25rem; margin: 0.9rem 0 0.6rem; }
.feature-card p { color: rgba(255, 255, 255, 0.82); font-size: 0.98rem; }
.feature-card svg { width: 38px; height: 38px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: transparent;
}
.service-card svg { width: 30px; height: 30px; margin-bottom: 0.7rem; }
.service-card h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.service-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.5; }

.eco-note {
  margin-top: 2.4rem;
  background: var(--surface);
  border-left: 4px solid #95c11f;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-size: 0.98rem;
}
.section.alt .eco-note { background: var(--paper); }
.eco-note svg { width: 26px; height: 26px; flex: none; margin-top: 0.15rem; }

/* ---------- Vorher / Nachher ---------- */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.ba-item { display: flex; flex-direction: column; gap: 0.8rem; }
.ba-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 0;
  padding-bottom: 75%; /* 4:3 */
  box-shadow: var(--shadow-sm);
  touch-action: pan-y;
  background: var(--surface);
}
.ba-slider.portrait { padding-bottom: 133.33%; /* 3:4 */ }
.ba-slider img {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}
.ba-slider .ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23232323' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 7l-5 5 5 5'/%3E%3Cpath d='M16 7l5 5-5 5'/%3E%3C/svg%3E") center/22px no-repeat;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.ba-range {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  margin: 0;
}
.ba-label {
  position: absolute;
  top: 0.9rem;
  background: rgba(20, 20, 22, 0.72);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  pointer-events: none;
}
.ba-label.before { left: 0.9rem; }
.ba-label.after { right: 0.9rem; }
.ba-caption { font-size: 0.95rem; color: var(--muted); text-align: center; }
.ba-caption strong { color: var(--ink); }

/* ---------- Referenzen / Galerie ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.2rem;
}
.filter-btn {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--body);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  border: none;
  background: var(--surface);
  height: 0;
  padding: 0 0 75% 0; /* 4:3 */
  display: block;
  width: 100%;
}
.gallery-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem 1rem 0.8rem;
  background: linear-gradient(transparent, rgba(20, 20, 22, 0.75));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
}
.gallery-item.hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 300;
  background: rgba(15, 15, 17, 0.93);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 84vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.lightbox-caption {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  text-align: center;
  max-width: 90vw;
}
.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.25); }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ---------- Über uns ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}
.about-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 1rem; }
.about-text p { margin-bottom: 1.1rem; }
.about-quote {
  margin: 1.6rem 0;
  padding: 1.3rem 1.6rem;
  background: var(--surface);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}
.check-list { list-style: none; margin: 1.4rem 0; display: grid; gap: 0.7rem; }
.check-list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; flex: none; margin-top: 0.2rem; }

.about-side { display: grid; gap: 1.4rem; }
.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
}
.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.info-card h3 svg { width: 22px; height: 22px; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.hours td { padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.hours tr:last-child td { border-bottom: none; }
.hours td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.contact-list { list-style: none; display: grid; gap: 1.1rem; margin: 1.8rem 0; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ico {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
.section.alt .contact-list .ico { background: var(--paper); }
.contact-list svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--ink); font-size: 0.95rem; }
.contact-list a { color: var(--body); }
.contact-list a:hover { color: var(--accent); }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(216, 58, 52, 0.18);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.9rem; }
.honey { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Google-Bewertungen ---------- */
.reviews-band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.reviews-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.4rem;
  padding: 1.6rem 0;
}
.reviews-main { display: flex; align-items: center; gap: 1rem; }
.g-logo { flex: none; }
.reviews-text { display: flex; flex-direction: column; gap: 0.15rem; }
.reviews-text strong { color: var(--ink); font-size: 1.05rem; }
.reviews-rating { display: flex; align-items: center; gap: 0.55rem; }
.rating-num { font-size: 1.5rem; font-weight: 800; color: var(--ink); line-height: 1; }
.stars { display: inline-flex; gap: 1px; }
.reviews-sub { font-size: 0.9rem; color: var(--muted); }
.reviews-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.btn-ghost {
  background: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: #fff; border-color: var(--ink); }

@media (max-width: 600px) {
  .reviews-inner { flex-direction: column; align-items: flex-start; }
  .reviews-actions { width: 100%; }
  .reviews-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

/* ---------- Kundenstimmen / Karussell ---------- */
.tcarousel { position: relative; }
.tcarousel-track {
  display: flex;
  gap: 1.3rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.5rem 0.2rem 1.4rem;
}
.tcarousel-track::-webkit-scrollbar { display: none; }
.tcarousel-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--radius); }
.review-card {
  scroll-snap-align: start;
  flex: 0 0 clamp(280px, 31%, 380px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.review-head { display: flex; align-items: center; gap: 0.8rem; }
.review-avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
}
.review-id { display: flex; flex-direction: column; gap: 0.12rem; min-width: 0; }
.review-id strong { color: var(--ink); font-size: 1rem; line-height: 1.2; }
.review-src {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.review-src::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  display: inline-block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234285F4' d='M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.2 3.32v2.77h3.57c2.08-1.92 3.27-4.74 3.27-8.1z'/%3E%3Cpath fill='%2334A853' d='M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84A11 11 0 0 0 12 23z'/%3E%3Cpath fill='%23FBBC05' d='M5.84 14.1a6.6 6.6 0 0 1 0-4.2V7.06H2.18a11 11 0 0 0 0 9.88l3.66-2.84z'/%3E%3Cpath fill='%23EA4335' d='M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.06l3.66 2.84C6.71 7.3 9.14 5.38 12 5.38z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.review-stars {
  color: #fbbc05;
  font-size: 1.05rem;
  letter-spacing: 2px;
  line-height: 1;
}
.review-text {
  color: var(--body);
  font-size: 0.97rem;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
  min-height: 9.3rem;
}
.review-card.expanded .review-text {
  -webkit-line-clamp: unset;
  overflow: visible;
  min-height: 0;
}
.review-more {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: var(--font);
  cursor: pointer;
}
.review-more:hover { text-decoration: underline; }
.tcarousel-nav {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 0.4rem;
}
.tcarousel-nav button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, opacity 0.2s;
}
.tcarousel-nav button:hover { border-color: var(--ink); }
.tcarousel-nav button:disabled { opacity: 0.35; cursor: default; }
.tcarousel-nav svg { width: 22px; height: 22px; }
.tcarousel-all { text-align: center; margin-top: 1.3rem; }
.tcarousel-all a { font-weight: 600; }

/* ---------- CTA-Band ---------- */
.cta-band {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--rainbow);
}
.cta-band .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 0.4rem; }
.cta-band p { color: rgba(255, 255, 255, 0.8); }

/* ---------- Footer ---------- */
.site-footer {
  background: #1b1b1c;
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 0;
  font-size: 0.97rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 255, 255, 0.75); }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.footer-brand img { width: 48px; }
.footer-brand strong { color: #fff; font-size: 1.05rem; line-height: 1.2; display: block; }
.footer-brand small { color: rgba(255, 255, 255, 0.6); font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-slogan { font-style: italic; color: rgba(255, 255, 255, 0.6); }
.site-footer ul { list-style: none; display: grid; gap: 0.55rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.3rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.7); }

/* ---------- Unterseiten (Impressum / Datenschutz) ---------- */
.page-main { padding: 4rem 0 5rem; }
.page-main h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 2rem; }
.page-main h2 { font-size: 1.35rem; margin: 2.2rem 0 0.7rem; }
.page-main h3 { font-size: 1.1rem; margin: 1.6rem 0 0.5rem; }
.page-main p, .page-main ul { margin-bottom: 0.9rem; max-width: 75ch; }
.page-main ul { padding-left: 1.3rem; }

/* ---------- Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .section { padding: 3.8rem 0; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 105;
    background: #fff;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .main-nav.page-nav {
    position: static;
    width: auto;
    height: auto;
    transform: none;
    visibility: visible;
    background: none;
    display: block;
    z-index: auto;
  }
  .main-nav.page-nav ul { flex-direction: row; gap: 0; }
  .main-nav.page-nav a { font-size: 0.95rem; }
  .main-nav ul { flex-direction: column; gap: 1.6rem; text-align: center; }
  .main-nav a { font-size: 1.25rem; }
  .ba-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { padding: 4.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .service-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .brand-name { font-size: 1rem; }
  .brand img { width: 46px; }
}
