/* =================================================================
   VD HANDWERK² — STYLES
   Modern, clean, SEO-friendly, accessible
   ================================================================= */

/* =================================================================
   SYSTEM FONT STACK (DSGVO-clean, no external requests)
   ================================================================= */

:root {
  /* Brand-Palette — exakt aus Folder-Vorlage */
  --green:        #1f7a3a;
  --green-light:  #65b045;
  --green-dark:   #17622e;
  --green-deep:   #124f27;
  --anthracite:   #22282d;
  --anthra-2:     #2d343a;
  --cream:        #f7f9f5;
  --cream-2:      #eef2eb;
  --white:        #ffffff;
  --gray:         #65717a;
  --gray-soft:    #8b97a0;
  --line:         #d2e4d6;

  /* Typography scale */
  --f-1: clamp(2.4rem, 5vw + 1rem, 4.4rem);
  --f-2: clamp(1.85rem, 2.5vw + 1rem, 2.8rem);
  --f-3: clamp(1.25rem, 1vw + 1rem, 1.5rem);

  /* Layout */
  --maxw: 1200px;
  --pad:  clamp(1rem, 4vw, 2rem);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Shadow */
  --sh-sm: 0 2px 8px rgba(34,40,45,0.06);
  --sh-md: 0 12px 30px rgba(34,40,45,0.08);
  --sh-lg: 0 30px 60px rgba(34,40,45,0.12);
  --sh-green: 0 16px 40px rgba(31,122,58,0.25);

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* =================================================================
   RESET & BASE
   ================================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--anthracite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; height: auto; }
a { color: var(--green); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--green-light); }
button { font: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--green-light); color: white; }

.skip-link {
  position: absolute; left: -9999px; top: auto;
  background: var(--anthracite); color: white;
  padding: .75rem 1rem; z-index: 9999; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; top: 0; color: white; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* =================================================================
   TYPOGRAPHY HELPERS
   ================================================================= */
.eyebrow {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .9rem;
}
.eyebrow-light { color: var(--green-light); }

.section-title {
  font-size: var(--f-2);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--anthracite);
  margin-bottom: 1rem;
}
.accent-green       { color: var(--green); }
.accent-green-light { color: var(--green-light); }

.section-sub {
  font-size: 1.08rem;
  color: var(--gray);
  max-width: 680px;
  margin-top: 1rem;
}

.section-head {
  text-align: center;
  margin: 0 auto 3.5rem;
  max-width: 760px;
}
.section-head .eyebrow,
.section-head .section-title,
.section-head .section-sub { margin-left: auto; margin-right: auto; }

/* =================================================================
   BUTTONS
   ================================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem;
  font-weight: 800;
  font-size: .98rem;
  padding: 1rem 1.6rem;
  border-radius: var(--r-pill);
  transition: all .25s var(--ease);
  white-space: nowrap;
  letter-spacing: .005em;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: white;
  box-shadow: var(--sh-green);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(31,122,58,0.35);
  color: white;
}
.btn-primary:active { transform: translateY(0); }

.btn-primary-light {
  background: var(--green-light);
  color: white;
}
.btn-primary-light:hover {
  background: var(--green);
  color: white;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--anthracite);
  border-color: rgba(34,40,45,0.18);
}
.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--cream);
}

/* =================================================================
   HEADER / NAVIGATION
   ================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), padding .25s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: rgba(34,40,45,0.08);
  box-shadow: 0 2px 14px rgba(34,40,45,0.04);
}

/* Header uses the same default container as the rest of the page (max-width 1200px).
   Padding shrinks on scroll together with the logo. */
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 4px; padding-bottom: 4px;
  gap: 1.25rem;
  transition: padding .35s var(--ease);
  flex-wrap: nowrap;
  min-width: 0;
}
.site-header.scrolled .header-inner {
  padding-top: 2px; padding-bottom: 2px;
}

.brand { display: inline-flex; align-items: center; min-width: 0; }
.brand-logo {
  /* Etwas größer für mehr Präsenz */
  height: 72px; width: auto;
  max-width: 360px;
  display: block;
  object-fit: contain;
  transition: height .35s var(--ease), max-width .35s var(--ease), transform .3s var(--ease);
  will-change: height;
}
.site-header.scrolled .brand-logo { height: 52px; max-width: 280px; }

.brand:hover .brand-logo { transform: scale(1.02); }

@media (max-width: 700px) {
  .brand-logo { height: 48px; max-width: 220px; }
  .site-header.scrolled .brand-logo { height: 38px; max-width: 180px; }
}

.primary-nav { flex-shrink: 0; }
.primary-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .25rem;
  flex-wrap: nowrap;          /* Links bleiben IMMER in einer Zeile */
}
.primary-nav li { flex-shrink: 0; }
.primary-nav a {
  color: var(--anthracite);
  font-weight: 600;
  font-size: .96rem;
  padding: .55rem .95rem;
  border-radius: var(--r-pill);
  transition: all .2s var(--ease);
  white-space: nowrap;        /* keinen Wortumbruch in Links */
}
.primary-nav a:hover {
  color: var(--green);
  background: var(--cream);
}

.nav-cta {
  background: linear-gradient(135deg, var(--green), var(--green-light)) !important;
  color: white !important;
  padding: .65rem 1.25rem !important;
  margin-left: .5rem;
  box-shadow: 0 8px 20px rgba(31,122,58,0.25);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(31,122,58,0.35);
  background: linear-gradient(135deg, var(--green-light), var(--green)) !important;
}

/* =================================================================
   LANGUAGE TOGGLE — modern pill-style segmented control
   ================================================================= */
.lang-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  margin-left: .75rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  user-select: none;
}
.lang-toggle .lang-pill {
  position: absolute;
  top: 3px; left: 3px;
  width: calc(50% - 3px);
  height: calc(100% - 6px);
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border-radius: 999px;
  transition: transform .35s cubic-bezier(.4,1.4,.5,1);
  box-shadow: 0 2px 8px rgba(31,122,58,0.30);
  z-index: 1;
}
.lang-toggle[data-active="ru"] .lang-pill { transform: translateX(100%); }
.lang-toggle button {
  position: relative;
  z-index: 2;
  padding: .55rem 1rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--gray);
  font-weight: 800;
  letter-spacing: .04em;
  border-radius: 999px;
  transition: color .25s var(--ease);
  font-family: inherit;
  font-size: inherit;
  min-width: 44px;
}
.lang-toggle button.active { color: white; }
.lang-toggle button:hover:not(.active) { color: var(--anthracite); }

/* Mobile: kleinere Variante neben Burger */
@media (max-width: 900px) {
  .lang-toggle { margin-left: auto; margin-right: .5rem; font-size: .72rem; }
  .lang-toggle button { padding: .45rem .75rem; min-width: 40px; }
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2.5px;
  background: var(--anthracite); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--cream-2);
  background: white;
}
.mobile-nav.open { display: block; }
.mobile-nav ul {
  list-style: none;
  padding: 1rem var(--pad);
  display: flex; flex-direction: column; gap: .25rem;
}
.mobile-nav a {
  display: block; padding: .9rem 1rem;
  border-radius: var(--r-md);
  color: var(--anthracite);
  font-weight: 600;
}
.mobile-nav a:hover { background: var(--cream); color: var(--green); }
.mobile-nav .nav-cta {
  text-align: center;
  margin-top: .5rem;
  padding: 1rem !important;
}

@media (max-width: 900px) {
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative;
  padding: clamp(1rem, 2.5vw, 2rem) 0 clamp(2rem, 4vw, 3.5rem);
  min-height: calc(100vh - 80px);   /* fills viewport minus sticky header */
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(101,176,69,0.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(31,122,58,0.06), transparent 60%),
    var(--cream);
}
@media (max-width: 960px) {
  .hero { min-height: auto; padding: clamp(2rem, 5vw, 3rem) 0 clamp(3rem, 6vw, 4rem); }
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-shape-1 {
  width: 380px; height: 380px;
  top: -100px; right: -100px;
  background: rgba(101,176,69,0.18);
}
.hero-shape-2 {
  width: 280px; height: 280px;
  bottom: -80px; left: -80px;
  background: rgba(31,122,58,0.10);
}

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.hero-headline {
  font-size: var(--f-1);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--anthracite);
  margin-bottom: 1.4rem;
}
.hero-headline-accent {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.18rem;
  color: var(--gray);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex; flex-wrap: wrap; gap: .9rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex; flex-wrap: wrap; gap: .55rem;
}
.trust-pill {
  font-size: .82rem;
  background: white;
  border: 1px solid var(--line);
  padding: .55rem 1rem;
  border-radius: var(--r-pill);
  color: var(--gray);
  box-shadow: var(--sh-sm);
}
.trust-pill strong { color: var(--anthracite); margin-right: .25rem; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-img-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 5/6;
  max-width: 540px; margin-left: auto;
}
.hero-img-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 50%, rgba(34,40,45,0.20));
}
.hero-img-frame img {
  width: 100%; height: 100%; object-fit: cover;
}

.hero-card {
  position: absolute;
  bottom: -36px; left: -28px;
  background: white;
  border-radius: var(--r-md);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--sh-md);
  max-width: 280px;
  border-left: 4px solid var(--green-light);
}
.hero-card-stars { color: #f5b400; font-size: 1.05rem; letter-spacing: .12em; margin-bottom: .4rem; }
.hero-card-quote { font-size: .94rem; font-weight: 600; color: var(--anthracite); line-height: 1.45; margin-bottom: .35rem; }
.hero-card-author { font-size: .8rem; color: var(--gray); }

@media (max-width: 600px) {
  .hero-card { left: 0; right: 0; bottom: -28px; max-width: none; margin: 0 1rem; }
}

/* =================================================================
   SECTION RHYTHM
   ================================================================= */
.services, .about, .gallery, .testimonials, .region, .faq, .contact {
  padding: clamp(4rem, 8vw, 7rem) 0;
}
/* Process bewusst kompakter */
.process {
  padding: clamp(2.5rem, 4.5vw, 4rem) 0;
}
.process .section-head { margin-bottom: 2rem; }

/* =================================================================
   SERVICES
   ================================================================= */
.services {
  background: var(--cream);
  position: relative;
}

.services .container {
  max-width: 1280px;
  position: relative;
  z-index: 1;
}

/* 3-Spalten-Karten-Grid — elevated, modern */
.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  background: none;
  border: none;
  border-radius: 0;
  margin-bottom: 2rem;
  overflow: visible;
}

.service-row {
  background: white;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.06);
  padding: 1.75rem 1.75rem 1.65rem;
  box-shadow: 0 2px 16px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.04);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* Green accent bar — visible on hover */
.service-row::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.service-row:hover {
  box-shadow: 0 12px 36px rgba(31,122,58,.14), 0 4px 10px rgba(0,0,0,.06);
  transform: translateY(-4px);
}
.service-row:hover::before { opacity: 1; }

/* Icon + Title */
.service-row-top {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  position: relative;
  z-index: 1;
  flex: 1;
}
.service-row-top .service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  display: inline-flex; align-items: center; justify-content: center;
  color: white;
  box-shadow: 0 6px 18px rgba(31,122,58,.25);
  flex-shrink: 0;
  align-self: flex-start;
}
.service-row-top .service-icon svg { width: 26px; height: 26px; }
.service-row-top h3 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--anthracite);
  margin: 0;
  line-height: 1.25;
}

/* Bullet list — single column inside card */
.service-row-top .service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin: 0;
  padding: 0;
  border: 0;
}
.service-row-top .service-list li {
  font-size: .86rem;
  color: var(--anthra-2);
  font-weight: 500;
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.35;
}
.service-row-top .service-list li::before {
  content: '';
  position: absolute; left: 0; top: 6px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-light);
}

/* Description — at bottom of card */
.service-row > .service-row-sub {
  margin: 1rem 0 0;
  padding-top: .85rem;
  font-size: .87rem;
  color: var(--gray);
  line-height: 1.6;
  border-top: 1px solid rgba(0,0,0,.07);
  position: relative;
  z-index: 1;
}

/* Tablet: 2 columns, last item full-width */
@media (max-width: 1080px) {
  .services-list { grid-template-columns: 1fr 1fr; }
  .services-list > .service-row:last-child { grid-column: 1 / -1; }
}
/* Mobile: 1 column */
@media (max-width: 640px) {
  .services-list { grid-template-columns: 1fr; gap: .9rem; }
  .services-list > .service-row:last-child { grid-column: auto; }
  .service-row { padding: 1.25rem 1.35rem 1.35rem; border-radius: 14px; }
  .service-row-top .service-icon { width: 44px; height: 44px; border-radius: 12px; }
  .service-row-top .service-icon svg { width: 22px; height: 22px; }
  .service-row-top h3 { font-size: 1.05rem; }
  .service-row-top .service-list li { font-size: .82rem; }
}

.services-footnote {
  text-align: center;
  background: var(--cream);
  border-radius: var(--r-md);
  padding: 1.2rem 1.5rem;
  color: var(--gray);
  font-size: .92rem;
  border: 1px solid var(--cream-2);
}

/* =================================================================
   ABOUT
   ================================================================= */
.about {
  background: linear-gradient(155deg, var(--anthracite) 0%, var(--anthra-2) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(101,176,69,0.18), transparent 70%);
  pointer-events: none;
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem;
  align-items: center;
  position: relative;
}
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.about-visual { position: relative; }
.about-img-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  max-width: 480px;
  box-shadow: var(--sh-lg);
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
  margin-top: 1.25rem;
  max-width: 480px;
}
.stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  padding: 1rem 1.1rem;
  backdrop-filter: blur(8px);
}
.stat strong {
  display: block;
  font-size: 1.4rem; font-weight: 900;
  color: white; line-height: 1.1;
  margin-bottom: .2rem;
}
.stat span {
  font-size: .82rem; color: rgba(255,255,255,0.7);
}

.about-content .section-title { color: white; }

.about-lead {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 2rem;
  max-width: 540px;
}

.benefits {
  list-style: none;
  display: flex; flex-direction: column; gap: 1.1rem;
  margin-bottom: 2rem;
}
.benefits li { display: flex; gap: .9rem; align-items: flex-start; }
.benefit-check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--green-light);
  color: white;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900;
  margin-top: 2px;
  box-shadow: 0 4px 12px rgba(101,176,69,0.4);
}
.benefits li strong {
  display: block;
  color: white;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: .15rem;
}
.benefits li p {
  color: rgba(255,255,255,0.68);
  font-size: .96rem;
}

/* =================================================================
   INSTAGRAM TEASER
   ================================================================= */
.insta-teaser {
  background: linear-gradient(135deg, #fff0f8 0%, #f8f0ff 100%);
  border-top: 1px solid rgba(188,24,136,.08);
  border-bottom: 1px solid rgba(188,24,136,.08);
  padding: clamp(2rem, 4vw, 3rem) 0;
}
.insta-teaser-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.insta-teaser-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  align-items: flex-start;
}
.insta-teaser-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--anthracite);
  line-height: 1.15;
}
.insta-teaser-sub {
  color: var(--anthra-2);
  font-size: .93rem;
  line-height: 1.5;
}
.insta-teaser-right {
  position: relative;
  left: -2%;
  top: 10px;
}
@media (max-width: 900px) {
  .insta-teaser-right { left: 0; top: 0; }
}
.insta-teaser-list {
  list-style: none;
  padding: 0;
  margin: .1rem 0 .2rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.insta-teaser-list li {
  font-size: .87rem;
  color: var(--anthra-2);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.4;
}
.insta-teaser-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #bc1888;
  font-weight: 700;
}
.insta-handle {
  font-size: .88rem;
  font-weight: 700;
  color: #bc1888;
  text-decoration: none;
  letter-spacing: .01em;
  transition: opacity .15s;
}
.insta-handle:hover { opacity: .7; }
.insta-teaser-icon-link {
  flex-shrink: 0;
  width: 100px; height: 100px;
  border-radius: 26px;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 20%, #dc2743 45%, #cc2366 75%, #bc1888 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 36px rgba(188,24,136,.32);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.insta-teaser-icon-link:hover {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 18px 44px rgba(188,24,136,.42);
}
@media (max-width: 640px) {
  .insta-teaser-inner { flex-direction: row; gap: 1.5rem; }
  .insta-teaser-icon-link { width: 72px; height: 72px; border-radius: 18px; }
  .insta-teaser-icon-link svg { width: 38px; height: 38px; }
}

/* =================================================================
   PROCESS
   ================================================================= */
.process { background: var(--cream); }

.process-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 1.25rem;
  position: relative;
}
@media (max-width: 800px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-arrow { display: none !important; }
}

.process-step {
  background: white;
  border-radius: var(--r-lg);
  padding: 1.85rem 1.75rem;
  text-align: center;
  border: 1px solid var(--line);
  position: relative;
  transition: all .3s var(--ease);
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}
.process-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: var(--green-light);
  color: inherit;
}
.process-step::after {
  content: '→';
  position: absolute;
  bottom: 12px; right: 16px;
  font-size: 1.1rem;
  color: var(--green-light);
  opacity: 0;
  transform: translateX(-4px);
  transition: all .3s var(--ease);
  font-weight: 700;
}
.process-step:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Arrow between steps */
.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-light);
  align-self: center;
  animation: arrow-pulse 2.4s var(--ease) infinite;
}
.process-arrow svg {
  width: 38px; height: 38px;
  filter: drop-shadow(0 4px 12px rgba(101,176,69,0.35));
}
@keyframes arrow-pulse {
  0%, 100% { transform: translateX(0); opacity: .85; }
  50%      { transform: translateX(4px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .process-arrow { animation: none; }
}

/* Shine effect — single sweep left → right.
   Animation moves the bg-position from 100% (gradient is right-aligned, white
   shimmer not yet visible) to 0% (gradient is left-aligned). The white middle
   stop sweeps THROUGH the element from LEFT to RIGHT visually. */
.shine-text {
  display: inline-block;
  background-image: linear-gradient(
    110deg,
    var(--green) 0%,
    var(--green) 47%,
    rgba(255,255,255,0.95) 50%,
    var(--green) 53%,
    var(--green) 100%
  );
  background-size: 300% 100%;
  background-position: 100% 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
          background-clip: text;
  color: var(--green);
  -webkit-text-fill-color: transparent;
}
.shine-text.shining {
  animation: shine-sweep 1.4s cubic-bezier(.4,0,.2,1) 1 forwards;
}
@keyframes shine-sweep {
  0%   { background-position: 100% 0; }
  100% { background-position: 0%   0; }
}

/* Shine variant for the dev credit (lighter green) */
.shine-text-light {
  display: inline-block;
  background-image: linear-gradient(
    110deg,
    var(--green-light) 0%,
    var(--green-light) 47%,
    rgba(255,255,255,0.95) 50%,
    var(--green-light) 53%,
    var(--green-light) 100%
  );
  background-size: 300% 100%;
  background-position: 100% 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
          background-clip: text;
  color: var(--green-light);
  -webkit-text-fill-color: transparent;
}
.shine-text-light.shining,
.shine-text-light:hover {
  animation: shine-sweep 1.1s cubic-bezier(.4,0,.2,1) 1 forwards;
}

/* Shine-Variante für die 5 Sterne (gold) */
.shine-stars {
  display: inline-block;
  background-image: linear-gradient(
    110deg,
    #f5b400 0%,
    #f5b400 47%,
    rgba(255,255,255,0.98) 50%,
    #f5b400 53%,
    #f5b400 100%
  );
  background-size: 300% 100%;
  background-position: 100% 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
          background-clip: text;
  color: #f5b400;
  -webkit-text-fill-color: transparent;
}
.shine-stars.shining {
  animation: shine-sweep 1.4s cubic-bezier(.4,0,.2,1) 1 forwards;
}

@media (prefers-reduced-motion: reduce) {
  .shine-text.shining,
  .shine-text-light.shining,
  .shine-text-light:hover,
  .shine-stars.shining { animation: none; }
}

/* Einmalige Wort-Pop-Animation (Hero-CTA „Alles rund ums Haus …")
   Jeder Span bekommt seinen eigenen Gradient — ein inline-block Child bricht
   sonst den background-clip: text des Parents (Text wird sonst weiß). */
.word-pulse {
  display: inline-block;
  transform-origin: center bottom;
  animation: wordPulse 0.85s ease-in-out 1 both;
  animation-delay: var(--word-delay, 0s);
  will-change: transform;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
@keyframes wordPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.22); }
}
@media (prefers-reduced-motion: reduce) {
  .word-pulse { animation: none; }
}

.process-num {
  width: 64px; height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: white;
  font-size: 1.6rem; font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-green);
}
.process-step h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: .6rem;
  letter-spacing: -0.015em;
}
.process-step p {
  color: var(--gray);
  font-size: .98rem;
}

/* =================================================================
   GALLERY (Vorher / Nachher)
   ================================================================= */
.gallery { background: white; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* ============ GALLERY CAROUSEL ============ */
.gallery-carousel {
  position: relative;
  padding: 0 56px;
}
.gc-viewport {
  overflow: hidden;
  border-radius: var(--r-lg);
}
.gc-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4,1.4,.5,1);
  will-change: transform;
}
.gc-page {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 4px;
}

/* Arrows */
.gc-arrow {
  position: absolute;
  top: calc(50% - 28px);
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--line);
  color: var(--anthracite);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
  transition: all .25s var(--ease);
  z-index: 5;
  font-family: inherit;
}
.gc-arrow:hover {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: white;
  border-color: transparent;
  transform: translateY(-50%) scale(1.05);
}
.gc-arrow:disabled {
  opacity: .35;
  cursor: not-allowed;
  background: white;
  color: var(--gray);
  transform: translateY(-50%);
}
.gc-arrow.gc-prev { left: 0; }
.gc-arrow.gc-next { right: 0; }

/* Dots + counter */
.gc-dots {
  display: flex;
  gap: .5rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.gc-dot {
  width: 36px; height: 5px;
  border-radius: 999px;
  background: rgba(34,40,45,0.15);
  border: 0;
  cursor: pointer;
  transition: all .3s var(--ease);
  font-family: inherit;
}
.gc-dot:hover { background: rgba(34,40,45,0.30); }
.gc-dot.active {
  width: 56px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
}
.gc-counter {
  text-align: center;
  margin-top: .65rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gray);
  text-transform: uppercase;
}
.gc-counter span { color: var(--green); }

/* Tablet: 2 per page (we keep 3 in DOM but show partial via overflow visible) */
@media (max-width: 900px) {
  .gallery-carousel { padding: 0 44px; }
  .gc-page { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .gc-page > .ba-card:nth-child(3) { display: none; }
}
/* Mobile: stack everything, hide carousel UI */
@media (max-width: 700px) {
  .gallery-carousel { padding: 0; }
  .gc-viewport { overflow: visible; border-radius: 0; }
  .gc-track {
    flex-direction: column;
    transform: none !important;
    gap: 1rem;
  }
  .gc-page {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .gc-page > .ba-card:nth-child(3) { display: block; }
  .gc-arrow, .gc-dots, .gc-counter { display: none; }
}

.ba-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease);
}
.ba-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }

.ba-slider {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  user-select: none;
}
.ba-slider img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.ba-after { z-index: 1; }
.ba-before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: white;
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 14px rgba(0,0,0,0.3);
}
.ba-handle::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 36px; height: 36px;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  border: 3px solid var(--green-light);
}
.ba-range {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}
.ba-label {
  position: absolute;
  top: 12px;
  z-index: 3;
  background: rgba(34,40,45,0.78);
  color: white;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .75rem;
  border-radius: var(--r-pill);
  pointer-events: none;
}
.ba-label-before { left: 12px; }
.ba-label-after  { right: 12px; background: rgba(31,122,58,0.85); }

.ba-card figcaption {
  padding: 1rem 1.25rem 1.2rem;
  background: white;
  border-top: 1px solid var(--line);
}
.ba-card figcaption strong {
  display: block;
  font-weight: 800; color: var(--anthracite);
  margin-bottom: .15rem;
}
.ba-card figcaption span {
  color: var(--gray);
  font-size: .9rem;
}

/* =================================================================
   TESTIMONIALS
   ================================================================= */
.testimonials { background: var(--cream); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  background: white;
  border-radius: var(--r-lg);
  padding: 2rem;
  border: 1px solid var(--line);
  transition: transform .3s var(--ease);
  position: relative;
}
.testimonial:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.testimonial::before {
  content: '"';
  position: absolute;
  top: 12px; right: 24px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--green-light);
  opacity: .15;
  line-height: 1;
}
.testimonial-head {
  display: flex; align-items: center; gap: .85rem;
  margin-bottom: 1rem;
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: white;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .02em;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(31,122,58,0.30);
}
.testimonial-meta {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 1px;
}
.testimonial-meta strong {
  display: block;
  font-weight: 800;
  color: var(--anthracite);
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.testimonial-source {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .76rem;
  color: var(--gray);
  font-weight: 500;
}
.stars {
  color: #f5b400;
  letter-spacing: .08em;
  font-size: .95rem;
  margin-top: 3px;
  line-height: 1;
}
.testimonial blockquote {
  font-size: 1rem;
  color: var(--anthra-2);
  line-height: 1.55;
  font-weight: 500;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* =================================================================
   REGION
   ================================================================= */
.region {
  background: linear-gradient(155deg, var(--anthracite), var(--anthra-2));
  color: white;
  position: relative;
  overflow: hidden;
}
.region::before {
  content: '';
  position: absolute;
  top: -150px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(101,176,69,0.10), transparent 70%);
  pointer-events: none;
}
.region .section-title { color: white; }
.region .section-sub { color: rgba(255,255,255,0.7); }

.region-pills {
  display: flex; flex-wrap: wrap; gap: .55rem;
  justify-content: center;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.rpill {
  background: rgba(101,176,69,0.18);
  border: 1px solid rgba(101,176,69,0.38);
  color: rgba(255,255,255,0.92);
  font-size: .88rem;
  font-weight: 700;
  padding: .55rem 1.1rem;
  border-radius: var(--r-pill);
  transition: all .2s var(--ease);
}
.rpill:hover {
  background: rgba(101,176,69,0.32);
  border-color: var(--green-light);
}

/* =================================================================
   FAQ
   ================================================================= */
.faq { background: white; }

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex; flex-direction: column; gap: .75rem;
}

.faq-item {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all .25s var(--ease);
}
.faq-item[open] { border-color: var(--green-light); background: white; box-shadow: var(--sh-sm); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 3rem 1.2rem 1.4rem;
  font-weight: 700;
  color: var(--anthracite);
  font-size: 1.02rem;
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  position: absolute;
  top: 50%; right: 1.4rem;
  width: 14px; height: 14px;
  border-right: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }

.faq-answer {
  padding: 0 1.4rem 1.3rem;
  color: var(--gray);
  font-size: .98rem;
  line-height: 1.6;
}

/* =================================================================
   CONTACT
   ================================================================= */
.contact {
  background: linear-gradient(155deg, var(--green-deep) 0%, var(--green-dark) 50%, var(--green) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: -200px; left: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(101,176,69,0.30), transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}
.contact-grid {
  position: relative;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem;
  align-items: stretch;
}
.contact-info {
  display: flex;
  flex-direction: column;
}
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-qr-only { margin-top: 1.5rem; padding-top: 0; }
}

.contact-info .section-title { color: white; }
.contact-lead {
  color: rgba(255,255,255,0.85);
  font-size: 1.08rem;
  margin-bottom: 2rem;
}

.contact-blocks {
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
}

/* QR-Code linksbündig (gleiche Spalte wie Telefon / Sprachen),
   untenbündig mit Kontaktformular, gleiche Breite wie ein Contact-Block. */
.contact-qr-only {
  margin-top: auto;            /* drückt sich an's untere Ende der flex-column */
  padding-top: 1.75rem;
  display: flex;
  justify-content: flex-start; /* links in die Ecke */
}
.contact-qr-box {
  background: white;
  /* gleicher Spaltenbreitenwert wie ein Item in .contact-blocks (2 cols, gap .75rem) */
  width: calc(50% - 0.375rem);
  padding: 10px;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.contact-qr-box img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
}
@media (max-width: 960px) {
  .contact-qr-box { width: 60%; max-width: 220px; }
}
.contact-block {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  display: block;
  color: white;
  transition: all .2s var(--ease);
}
a.contact-block:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
  color: white;
}
.cb-label {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: .3rem;
}
.contact-block strong {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

/* Contact form */
.field-honeypot {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.contact-form {
  background: white;
  border-radius: var(--r-lg);
  padding: 2.5rem;
  box-shadow: var(--sh-lg);
  color: var(--anthracite);
}
.contact-form h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.field {
  display: block;
  margin-bottom: 1rem;
}
.field span {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: .35rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: .98rem;
  color: var(--anthracite);
  background: var(--cream);
  transition: all .2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-light);
  background: white;
  box-shadow: 0 0 0 4px rgba(101,176,69,0.18);
}
.field textarea { resize: vertical; min-height: 110px; }
.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #d65046;
  box-shadow: 0 0 0 4px rgba(214,80,70,0.12);
}

.checkbox {
  display: flex; gap: .65rem;
  align-items: flex-start;
  margin: 1.25rem 0;
  font-size: .88rem;
  color: var(--gray);
  line-height: 1.45;
}
.checkbox input { margin-top: 4px; flex-shrink: 0; width: 18px; height: 18px; accent-color: var(--green); }
.checkbox a { color: var(--green); text-decoration: underline; }

.form-hint {
  margin-top: .75rem;
  font-size: .8rem;
  color: var(--gray);
  text-align: center;
}

.form-success {
  background: rgba(101,176,69,0.10);
  border: 1px solid var(--green-light);
  color: var(--green-dark);
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  font-weight: 600;
  margin-top: 1rem;
}

/* =================================================================
   INTRO-STRIP (Section 2 — über Leistungen)
   ================================================================= */
.intro-strip {
  background: linear-gradient(135deg, #0f4921 0%, var(--green) 55%, #1a6535 100%);
  color: white;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
}
.intro-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
  align-items: center;
}
.intro-strip-left { display: flex; flex-direction: column; gap: 1.25rem; }
.intro-strip-title {
  font-size: clamp(1.65rem, 2.5vw + .75rem, 2.4rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: white;
}
.intro-strip-sub {
  color: rgba(255,255,255,.78);
  line-height: 1.65;
  font-size: .97rem;
  max-width: 46ch;
}
.intro-strip-cta { align-self: flex-start; margin-top: .25rem; }
.intro-strip-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.intro-strip-item {
  display: flex;
  align-items: center;
  gap: .875rem;
  font-size: .97rem;
  font-weight: 600;
  color: rgba(255,255,255,.92);
}
.intro-strip-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-light);
}
@media (max-width: 720px) {
  .intro-strip-inner { grid-template-columns: 1fr; gap: 2rem; }
  .intro-strip-list { flex-direction: row; flex-wrap: wrap; gap: .75rem 1.5rem; }
  .intro-strip-item { font-size: .9rem; }
}

/* Instagram Contact Block */
.contact-block-insta { text-decoration: none; }
.contact-block-insta:hover { opacity: .85; }
.cb-insta-handle { font-size: .95rem; }

/* =================================================================
   TOAST NOTIFICATIONS
   ================================================================= */
.toast-container {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  pointer-events: none;
  max-width: calc(100vw - 2rem);
}
@media (max-width: 480px) {
  .toast-container { bottom: 1rem; right: 1rem; left: 1rem; }
}
.toast {
  pointer-events: all;
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  background: var(--anthracite);
  color: rgba(255,255,255,.92);
  border-radius: var(--r-md);
  padding: 1rem 1rem 1rem 1.1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.28), 0 2px 8px rgba(0,0,0,.12);
  max-width: 360px;
  min-width: 240px;
  border-left: 4px solid var(--green);
  animation: toastIn .28s var(--ease) both;
}
.toast.toast-error   { border-left-color: #d65046; }
.toast.toast-info    { border-left-color: #3b82f6; }
.toast.is-out        { animation: toastOut .22s var(--ease) forwards; }
.toast-icon          { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; }
.toast-msg           { flex: 1; font-size: .85rem; line-height: 1.55; }
.toast-close {
  background: none;
  border: none;
  color: rgba(255,255,255,.45);
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  padding: 0 0 0 .35rem;
  flex-shrink: 0;
  margin-top: 1px;
  transition: color .15s;
}
.toast-close:hover { color: #fff; }
@keyframes toastIn  { from { opacity:0; transform:translateY(10px) scale(.97); } to { opacity:1; transform:none; } }
@keyframes toastOut { from { opacity:1; transform:none; }  to { opacity:0; transform:translateY(10px) scale(.97); } }

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer {
  background: var(--anthracite);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 2.2fr 1fr 1fr; gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 1.5rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
  background: white;
  padding: 8px 14px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.footer-brand p { font-size: .92rem; max-width: 320px; line-height: 1.55; }

.footer-col h4 {
  color: white;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
/* Leistungen in 3 Spalten — kompakt */
.footer-services-list {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem .9rem !important;
  flex-direction: unset !important;
}
@media (max-width: 800px) {
  .footer-services-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-services-list { grid-template-columns: 1fr; }
}
.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: .92rem;
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: var(--green-light); }

.footer-meta {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-size: .82rem;
}
.footer-legal {
  list-style: none; display: flex; gap: 1.25rem;
}
.footer-legal a { color: rgba(255,255,255,0.6); }
.footer-legal a:hover { color: var(--green-light); }
.footer-legal .admin-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: 2px 8px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: rgba(255,255,255,0.5);
  transition: all .25s var(--ease);
}
.footer-legal .admin-link:hover {
  border-color: var(--green-light);
  color: var(--green-light);
  background: rgba(101,176,69,0.08);
}
.footer-legal .admin-link svg { flex-shrink: 0; }

/* =================================================================
   FLOATING CALL CTA (mobile only)
   ================================================================= */
.floating-call {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: white !important;
  display: inline-flex;
  align-items: center; justify-content: center;
  border: 0;
  cursor: pointer;
  box-shadow: 0 16px 35px rgba(31,122,58,0.45);
  z-index: 95;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  animation: pulse 2.5s infinite;
}
.floating-call:hover {
  transform: scale(1.08);
  color: white;
  box-shadow: 0 20px 45px rgba(31,122,58,0.55);
}
.floating-call.active {
  transform: rotate(135deg);
  background: linear-gradient(135deg, var(--anthracite), var(--anthra-2));
  animation: none;
}
.floating-call svg { width: 26px; height: 26px; }

/* ===== Floating Contact Popup ===== */
.contact-popup-backdrop {
  position: fixed; inset: 0;
  background: rgba(34,40,45,0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 94;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.contact-popup-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.contact-popup {
  position: fixed;
  bottom: 110px;
  right: 24px;
  width: min(340px, calc(100vw - 48px));
  background: white;
  border-radius: 22px;
  box-shadow:
    0 30px 80px -10px rgba(0,0,0,0.45),
    0 12px 28px rgba(0,0,0,0.18);
  z-index: 96;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all .35s cubic-bezier(.4,1.4,.5,1);
  transform-origin: bottom right;
  overflow: hidden;
}
.contact-popup.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.contact-popup-header {
  display: flex; align-items: center; gap: .85rem;
  padding: 1.1rem 1.2rem;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: white;
  position: relative;
}
.contact-popup-header strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.contact-popup-sub {
  display: block;
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  margin-top: 1px;
}
.contact-popup-pulse {
  width: 14px; height: 14px;
  background: white;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.contact-popup-pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: white;
  animation: ringPulse 1.8s ease-out infinite;
}
@keyframes ringPulse {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(2.4); opacity: 0; }
}

.contact-popup-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 0;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background .2s var(--ease);
  font-family: inherit;
}
.contact-popup-close:hover { background: rgba(255,255,255,0.32); }

.contact-popup-options {
  display: flex;
  flex-direction: column;
  padding: .5rem;
  gap: 2px;
}
.contact-popup-option {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .7rem .85rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--anthracite);
  transition: background .2s var(--ease);
}
.contact-popup-option:hover {
  background: var(--cream);
  color: var(--anthracite);
}
.contact-popup-option-cta {
  margin-top: .35rem;
  background: linear-gradient(135deg, rgba(101,176,69,0.10), rgba(31,122,58,0.06));
}
.contact-popup-option-cta:hover {
  background: linear-gradient(135deg, rgba(101,176,69,0.18), rgba(31,122,58,0.12));
}
.contact-popup-icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center; justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.10);
}
.contact-popup-text { display: flex; flex-direction: column; line-height: 1.3; }
.contact-popup-text strong {
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.contact-popup-text span {
  font-size: .78rem;
  color: var(--gray);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 16px 35px rgba(31,122,58,0.45), 0 0 0 0 rgba(101,176,69,0.6); }
  50%      { box-shadow: 0 16px 35px rgba(31,122,58,0.45), 0 0 0 16px rgba(101,176,69,0); }
}
@media (prefers-reduced-motion: reduce) {
  .floating-call { animation: none; }
  .contact-popup-pulse::after { animation: none; }
}
/* (pulse keyframes + reduced-motion handling moved up to floating-call group) */

/* =================================================================
   DEV CREDIT (Footer)
   ================================================================= */
.dev-credit {
  font-size: .85rem;          /* +1px ggü. Default */
  color: rgba(255,255,255,0.55);
  letter-spacing: .01em;
  padding: .25rem 0 .5rem;
}
.dev-credit a {
  text-decoration: none;
  border-bottom: 1px dotted rgba(101,176,69,0.35);
  padding-bottom: 1px;
  font-weight: 700;
  transition: border-color .25s var(--ease);
}
.dev-credit a:hover {
  border-bottom-color: var(--green-light);
}

/* =================================================================
   TEMPLATE WARNING BANNER (Legal pages)
   ================================================================= */
.template-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 60%, #c2410c 100%);
  color: white;
  border-radius: var(--r-md);
  padding: 1.4rem 1.6rem 1.5rem 4rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 12px 30px rgba(217,119,6,0.25);
  position: relative;
  border: 1px solid rgba(255,255,255,0.18);
}
.template-warning::before {
  content: '⚠';
  position: absolute;
  top: 1.1rem; left: 1.3rem;
  font-size: 1.7rem;
  line-height: 1;
}
.template-warning strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: .5rem;
  color: white;
}
.template-warning p {
  color: rgba(255,255,255,0.95);
  font-size: .92rem;
  line-height: 1.55;
  margin: 0 0 .5rem 0;
}
.template-warning p:last-child { margin-bottom: 0; }
.template-warning code {
  background: rgba(0,0,0,0.18);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: .85em;
}

/* =================================================================
   COOKIE CONSENT BANNER + SETTINGS MODAL
   ================================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: white;
  border-top: 4px solid;
  border-image: linear-gradient(135deg, var(--green), var(--green-light)) 1;
  box-shadow: 0 -16px 50px rgba(0,0,0,0.20);
  padding: 1.25rem clamp(1rem, 3vw, 2rem);
  transform: translateY(110%);
  transition: transform .45s cubic-bezier(.4,1.4,.5,1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem 1.5rem;
  align-items: center;
}
.cookie-banner-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  display: flex; align-items: center; justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(31,122,58,0.25);
}
.cookie-banner-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--anthracite);
  margin-bottom: .25rem;
  letter-spacing: -0.01em;
}
.cookie-banner-text p {
  font-size: .88rem;
  color: var(--gray);
  line-height: 1.5;
  margin: 0;
}
.cookie-banner-text a { color: var(--green); text-decoration: underline; }
.cookie-banner-actions {
  display: flex; gap: .5rem; flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: .88rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  font-family: inherit;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.cookie-btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: white;
  box-shadow: 0 8px 18px rgba(31,122,58,0.30);
}
.cookie-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(31,122,58,0.40); }
.cookie-btn-ghost {
  background: white;
  color: var(--anthracite);
  border-color: var(--line);
}
.cookie-btn-ghost:hover { border-color: var(--green); color: var(--green); }

@media (max-width: 800px) {
  .cookie-banner-inner { grid-template-columns: 1fr; }
  .cookie-banner-icon { display: none; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; }
}

/* Settings modal */
.cookie-settings {
  position: fixed; inset: 0;
  background: rgba(34,40,45,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 210;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.cookie-settings.show { opacity: 1; pointer-events: auto; }
.cookie-settings-card {
  background: white;
  border-radius: 22px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 40px 100px rgba(0,0,0,0.40);
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform .35s cubic-bezier(.4,1.4,.5,1);
}
.cookie-settings.show .cookie-settings-card { transform: translateY(0) scale(1); }
.cookie-settings-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream);
  border: 0;
  color: var(--gray);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s var(--ease);
}
.cookie-settings-close:hover { background: var(--cream-2); color: var(--anthracite); }
.cookie-settings-card h2 {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--anthracite);
  margin: 0 0 .5rem;
  padding-right: 2rem;
}
.cookie-settings-card > p {
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
.cookie-settings-card code {
  background: var(--cream);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: .85em;
}

.cookie-category {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: .75rem;
  background: var(--cream);
}
.cookie-category-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  margin-bottom: .5rem;
}
.cookie-category-head strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--anthracite);
}
.cookie-category-head span {
  display: block;
  font-size: .78rem;
  color: var(--gray);
  font-weight: 500;
}
.cookie-category-desc {
  font-size: .82rem;
  color: var(--gray);
  line-height: 1.5;
  margin: 0;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px; height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}
.cookie-toggle input {
  opacity: 0; width: 0; height: 0;
}
.cookie-toggle-slider {
  position: absolute; inset: 0;
  background: #cbd1d6;
  border-radius: 999px;
  transition: background .25s var(--ease);
}
.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: transform .25s cubic-bezier(.4,1.4,.5,1);
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  background: linear-gradient(135deg, var(--green), var(--green-light));
}
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(20px); }
.cookie-toggle.disabled { cursor: not-allowed; }
.cookie-toggle.disabled .cookie-toggle-slider {
  background: linear-gradient(135deg, rgba(31,122,58,0.5), rgba(101,176,69,0.5));
  opacity: .6;
}

.cookie-settings-actions {
  display: flex; gap: .55rem; flex-wrap: wrap;
  margin-top: 1.25rem;
  justify-content: flex-end;
}

/* Reset button (re-open settings later) */
.cookie-reset {
  position: fixed;
  bottom: 24px; left: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--line);
  color: var(--gray);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  z-index: 90;
  transition: all .25s var(--ease);
}
.cookie-reset:hover {
  border-color: var(--green);
  color: var(--green);
  transform: scale(1.05);
}
@media (max-width: 700px) {
  .cookie-reset { bottom: 18px; left: 18px; }
}

/* =================================================================
   REVEAL ON SCROLL
   ================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
