/* ============================================================
   STEFANS IT SUPPORT – Shared Stylesheet
   ============================================================ */

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

:root {
  --peach:     #AACD2B;
  --peach-lt:  #F1F8D9;
  --mint:      #A8D5C2;
  --mint-lt:   #E8F5F0;
  --sky:       #A3C9E2;
  --sky-lt:    #E6F2FA;
  --lavender:  #C4B5D8;
  --lav-lt:    #F0EBF8;
  --cream:     #FDFBF8;
  --sand:      #F5F0EA;
  --text:      #2C2C2C;
  --mid:       #7A7269;
  --border:    #E8E1D8;
  --serif:     'Playfair Display', Georgia, serif;
  --sans:      'Nunito', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
}

h1, h2, h3, h4 {
  text-wrap: balance;
}

p, li {
  text-wrap: pretty;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background:
    linear-gradient(135deg, rgba(253, 251, 248, 0.94) 0%, rgba(248, 243, 236, 0.9) 56%, rgba(239, 247, 242, 0.88) 100%);
  border-bottom: 1px solid rgba(232, 225, 216, 0.62);
  box-shadow: 0 10px 30px rgba(51, 43, 31, 0.045);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  height: 80px;
  display: flex;
  align-items: center;
  width: 100%;
}

.nav-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 1.25rem 0 1rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 2rem;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  justify-self: start;
  margin-left: 0;
}

.nav-logo-image {
  display: block;
  width: auto;
  height: 42px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
  justify-self: center;
}

.nav-links a {
  font-size: 18px;
  font-weight: 500;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.25s ease;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: #aacd2b; /* Limettengrün (H1-Akzent) statt Orange */
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s ease;
}

.nav-links a:hover { color: var(--text); }

.nav-links a:hover::after { transform: scaleX(1); }

.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  justify-self: end;
}

.nav-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.85rem 2rem !important;
  border-radius: 50px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  font-family: var(--sans) !important;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease, color .2s ease !important;
  background: rgba(255,255,255,.72) !important;
  color: var(--text) !important;
  border: 1px solid rgba(47,42,37,.2) !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}

.nav-cta:hover {
  background: #fff !important;
  color: var(--text) !important;
  transform: translateY(-1px);
  border-color: rgba(170,205,43,.75) !important;
  box-shadow: 0 6px 16px rgba(44,44,44,.08) !important;
}

.nav-cta::after {
  display: none !important;
}

@media (max-width: 1120px) {
  .nav-inner {
    column-gap: 1.2rem;
  }

  .nav-links {
    gap: 0.95rem;
  }

  .nav-links a {
    font-size: 16px;
  }

  .nav-cta {
    padding-left: 1.35rem !important;
    padding-right: 1.35rem !important;
  }
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
}

.nav.open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background:
    linear-gradient(135deg, rgba(253, 251, 248, 0.98) 0%, rgba(248, 243, 236, 0.96) 58%, rgba(239, 247, 242, 0.94) 100%);
  border-bottom: 1px solid rgba(232, 225, 216, 0.76);
  box-shadow: 0 18px 34px rgba(51, 43, 31, 0.08);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  padding: 1.5rem 2rem;
  gap: 1.25rem;
  z-index: 100;
}

/* Navigation früher ins Burger-Menü klappen, damit die Menüleiste nicht eng
   umbricht. Der CTA-Button bleibt auf Tablets sichtbar (erst ab 640px aus). */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: block; }
}

/* ============================================================
   LAYOUT BASICS
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

section { padding: clamp(2.75rem, 4.5vw, 4.75rem) 0; }

.section-soft {
  background: linear-gradient(180deg, #fbf7ff 0%, #f7f2fb 100%);
  border-top: 1px solid rgba(196, 181, 216, 0.25);
  border-bottom: 1px solid rgba(196, 181, 216, 0.2);
}

.label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8aa51f;
  display: block;
  margin-bottom: 0.75rem;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.lead, .section-intro {
  max-width: 70ch;
  color: #5f5a54;
  font-size: 1.025rem;
  line-height: 1.75;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  font-family: var(--sans);
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--peach);
  color: var(--text);
  box-shadow: 0 4px 16px rgba(170, 205, 43, 0.3);
}

.btn-primary:hover { background: #97ba23; transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid #ddd3c7;
}

.btn-secondary:hover { border-color: var(--peach); color: #7f9f1e; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover { border-color: var(--peach); color: var(--peach); }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--peach);
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid rgba(163, 201, 226, 0.5);
  box-shadow: 0 4px 20px rgba(44, 44, 44, 0.06);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(163, 201, 226, 0.35);
  border-color: rgba(170, 205, 43, 0.45);
}

/* ============================================================
   PAGE HERO (Unterseiten)
   ============================================================ */
.page-hero {
  margin-top: 0;
  padding: 4.35rem 0 2.65rem;
  background: var(--cream);
}

.page-hero .container {
  max-width: none;
  padding-left: clamp(1.2rem, 4vw, 3.6rem);
  padding-right: clamp(1.2rem, 4vw, 3.6rem);
  text-align: left;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  margin-bottom: 0.9rem;
}

.page-hero .lead {
  max-width: 62ch;
  margin: 0;
}

.legal-hero .container {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.legal-hero .lead {
  margin-inline: auto;
}

.page-hero--center .container {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.page-hero--center .lead {
  max-width: 60ch;
  margin-inline: auto;
}

.page-hero-services {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.page-hero-services .container {
  text-align: left;
}

.services-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  gap: 2.75rem;
  align-items: center;
}

.services-hero-copy {
  max-width: 42rem;
}

.services-hero-copy .lead {
  margin: 0;
  max-width: 58ch;
}

.services-hero-visual {
  position: relative;
  margin: 0;
  width: min(100%, 565px);
  justify-self: center;
}

.services-hero-visual::before {
  content: none;
}

.services-hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.98;
}

.services-hero-screen {
  position: absolute;
  left: 40.2%;
  top: 22.8%;
  width: 25.7%;
  height: 20.8%;
  z-index: 2;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(58, 53, 48, 0.14);
  background: linear-gradient(180deg, rgba(195, 212, 188, 0.94) 0%, rgba(182, 200, 175, 0.96) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.34),
    0 10px 24px rgba(51, 43, 31, 0.08);
}

.services-hero-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0.08) 100%),
    repeating-linear-gradient(
      180deg,
      rgba(58, 53, 48, 0.035) 0,
      rgba(58, 53, 48, 0.035) 1px,
      rgba(255, 255, 255, 0) 1px,
      rgba(255, 255, 255, 0) 10px
    );
  pointer-events: none;
}

.services-hero-screen canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

.services-hero-points {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
}

.services-hero-points span {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(232, 225, 216, 0.9);
  box-shadow: 0 8px 20px rgba(51, 43, 31, 0.05);
  color: #4e473f;
  font-size: 0.9rem;
  line-height: 1.4;
}

.page-hero-ki {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% -5%, rgba(138, 116, 214, 0.16) 0%, rgba(138, 116, 214, 0.08) 28%, rgba(253, 251, 248, 0) 72%),
    linear-gradient(180deg, #fdfbf8 0%, #f9f5ff 58%, #fdfbf8 100%);
}

.page-hero-ki .ki-hero-flicker {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: transparent;
}

.page-hero-ki .ki-hero-flicker canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.page-hero-ki::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(253, 251, 248, 0.62) 0%,
    rgba(253, 251, 248, 0.28) 38%,
    rgba(253, 251, 248, 0.68) 100%
  );
}

.page-hero-ki .container {
  position: relative;
  z-index: 2;
}

.ki-hero-title {
  color: #1e1e1e;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .ki-hero-title {
    background-image: linear-gradient(
      108deg,
      #171717 0%,
      #2a2a2a 30%,
      #4d4d4d 50%,
      #202020 70%,
      #141414 100%
    );
    background-size: 220% 100%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: kiHeroTitleShift 9s ease-in-out infinite alternate;
  }
}

@keyframes kiHeroTitleShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.ki-hero-lead-wrap {
  background: var(--cream);
  padding: 1.1rem 0 2.2rem;
}

.ki-hero-lead {
  max-width: 64ch;
  margin: 0 auto;
  text-align: center;
}

.page-ki section {
  padding: clamp(3.9rem, 7vw, 6rem) 0;
}

.page-ki .section-title {
  margin-bottom: 1.15rem;
  letter-spacing: -0.01em;
}

.ki-text-block {
  max-width: 76ch;
}

.ki-text-block p {
  color: #544f49;
  font-size: 1rem;
  line-height: 1.82;
}

.ki-text-block p + p {
  margin-top: 0.9rem;
}

.ki-bullet-list {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1.2rem;
}

.ki-bullet-list li {
  position: relative;
  padding-left: 1rem;
  color: #4f4a44;
  line-height: 1.7;
}

.ki-bullet-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #8a74d6;
  position: absolute;
  left: 0;
  top: 0.68em;
}

.ki-visual-intro {
  padding-top: 1.8rem;
  padding-bottom: 2.6rem;
  background: #fff;
  border-top: 1px solid rgba(232, 225, 216, 0.65);
  border-bottom: 1px solid rgba(232, 225, 216, 0.65);
}

.ki-intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem 2.2rem;
  align-items: center;
}

.ki-intro-image-wrap {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(232, 225, 216, 0.9);
  box-shadow: 0 14px 34px rgba(51, 43, 31, 0.08);
}

.ki-intro-image-wrap img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ki-intro-copy p {
  color: #4f4a44;
  font-size: 1.02rem;
  line-height: 1.82;
  max-width: 62ch;
  margin-bottom: 1rem;
}

.ki-tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ki-tool-chips span {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e5dfe8;
  background: #f6f1fb;
  color: #4f435f;
  border-radius: 999px;
  padding: 0.35rem 0.72rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.ki-app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.ki-app-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  padding: 1.05rem 1.15rem;
  box-shadow: 0 8px 18px rgba(51, 43, 31, 0.035);
}

.ki-app-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f2ecfa;
  color: #6b4db7;
  margin-bottom: 0.5rem;
}

.ki-app-item h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.ki-app-item p {
  color: #544f49;
  line-height: 1.68;
  font-size: 0.93rem;
}

.ki-case-section {
  background: #fff;
}

.ki-case-card {
  border: 1px solid #eadfd4;
  border-radius: 20px;
  padding: 1.6rem 1.7rem;
  background: linear-gradient(180deg, #fff9f3 0%, #fff 100%);
  box-shadow: 0 10px 28px rgba(51, 43, 31, 0.05);
}

.ki-case-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #c27d58;
  margin-bottom: 0.5rem;
}

.ki-case-card h2 {
  margin-bottom: 0.65rem;
}

.ki-case-card > p {
  color: #544f49;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.ki-case-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.ki-case-points div {
  background: #fff;
  border: 1px solid #eee4da;
  border-radius: 12px;
  padding: 0.8rem 0.85rem;
  color: #4e473f;
  line-height: 1.62;
  font-size: 0.93rem;
}

.ki-case-points strong {
  color: #2f2923;
}

/* ============================================================
   HERO (Startseite)
   ============================================================ */
.hero-minimal {
  margin-top: 64px;
  padding: 8.25rem 1.5rem calc(clamp(8rem, 22vh, 15rem) + 18.5rem);
  border-bottom: 1px solid var(--border);
  background-color: var(--cream);
  background-repeat: no-repeat;
  background-position: right max(0.75rem, 2vw) bottom calc(-9.75rem - 14vh - 34% - 6rem + 21.5rem);
  background-size: 90% auto;
  overflow: visible;
}

.hero-minimal-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-copy { max-width: 700px; position: relative; z-index: 2; }

.hero-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8aa51f;
  margin-bottom: 1rem;
}

.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.hero-subtext {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #5f5a54;
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-size: 0.88rem;
  color: #4e4a45;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-berlin-svg {
  width: 100%;
  max-width: 990px;
  height: auto;
  display: block;
  opacity: 0.48;
  transform: translateY(6px);
}

/* ============================================================
   CARDS & GRIDS
   ============================================================ */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.4rem;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

/* Leistungen-Unterseite */
.services-intro-section {
  background: #fff;
  border-top: 1px solid rgba(232, 225, 216, 0.72);
  border-bottom: 1px solid rgba(232, 225, 216, 0.72);
}

.services-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 34rem);
  gap: 2rem;
  align-items: end;
}

.services-intro-copy p {
  color: #544f49;
  line-height: 1.82;
}

.services-intro-copy p + p {
  margin-top: 0.9rem;
}

.services-story-section {
  background: #fbf5ed;
  border-top: 1px solid rgba(232, 225, 216, 0.75);
  border-bottom: 1px solid rgba(232, 225, 216, 0.75);
  padding: clamp(3rem, 4.5vw, 4.5rem) 0;
  overflow: hidden;
}

.services-story-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 3vw, 3.2rem);
  align-items: start;
}

.services-story-copy {
  position: relative;
  z-index: 5;
}

.services-story-copy::before {
  content: "";
  position: absolute;
  inset: -1.8rem -2.1rem -1.4rem -2.8rem;
  z-index: -1;
  background:
    radial-gradient(ellipse at 38% 31%, rgba(251, 245, 237, 0.98) 0%, rgba(251, 245, 237, 0.9) 45%, rgba(251, 245, 237, 0.62) 68%, transparent 88%),
    linear-gradient(90deg, rgba(251, 245, 237, 0.88), rgba(251, 245, 237, 0.96));
  filter: blur(16px);
  pointer-events: none;
}

@media (min-width: 961px) {
  .services-story-grid--mirrored .services-story-image {
    order: -1;
  }
}

.services-story-image {
  position: relative;
  isolation: isolate;
  z-index: 1;
  margin: 0;
  margin-top: clamp(-0.75rem, -1vw, -0.35rem);
  margin-left: clamp(-6.5rem, -6vw, -3rem);
  width: min(62vw, 780px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.services-story-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  opacity: 0.76;
  filter: sepia(0.08) saturate(0.68) contrast(0.72) brightness(1.16);
  mix-blend-mode: multiply;
  -webkit-mask-image:
    radial-gradient(ellipse 78% 82% at 42% 52%, #000 38%, rgba(0, 0, 0, 0.78) 58%, rgba(0, 0, 0, 0.32) 78%, transparent 96%),
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 8%, #000 18%, #000 52%, rgba(0, 0, 0, 0.55) 70%, rgba(0, 0, 0, 0.18) 82%, transparent 94%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 6%, #000 14%, #000 86%, rgba(0, 0, 0, 0.5) 95%, transparent 100%);
  mask-image:
    radial-gradient(ellipse 78% 82% at 42% 52%, #000 38%, rgba(0, 0, 0, 0.78) 58%, rgba(0, 0, 0, 0.32) 78%, transparent 96%),
    linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 8%, #000 18%, #000 52%, rgba(0, 0, 0, 0.55) 70%, rgba(0, 0, 0, 0.18) 82%, transparent 94%),
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 6%, #000 14%, #000 86%, rgba(0, 0, 0, 0.5) 95%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* Eigenständiges KI-Bild: weniger Entsättigung, damit der Limettengrün-Akzent
   sichtbar bleibt; Kanten verschmelzen über ::after mit dem Creme-Hintergrund. */
.services-story-image--illustration img {
  opacity: 0.96;
  filter: saturate(0.95) contrast(0.97) brightness(1.02);
  mix-blend-mode: normal;
  -webkit-mask-image: none;
  mask-image: none;
}

.services-story-image--illustration::before {
  content: "";
  position: absolute;
  inset: 7% 4% 4%;
  z-index: 0;
  border-radius: 38% 44% 36% 42%;
  background:
    radial-gradient(circle at 27% 61%, rgba(170, 205, 43, 0.13), transparent 28%),
    radial-gradient(circle at 78% 27%, rgba(168, 213, 194, 0.12), transparent 31%),
    radial-gradient(ellipse at 48% 53%, rgba(255, 250, 244, 0.82), transparent 68%);
  filter: blur(18px);
  pointer-events: none;
}

.services-story-image--illustration::after {
  content: "";
  position: absolute;
  inset: -4% -3%;
  z-index: 2;
  background:
    radial-gradient(ellipse 65% 70% at 50% 50%, transparent 40%, rgba(251, 245, 237, 0.35) 65%, rgba(251, 245, 237, 0.78) 82%, #fbf5ed 96%),
    linear-gradient(90deg, #fbf5ed 0%, rgba(251, 245, 237, 0.6) 12%, transparent 28%, transparent 72%, rgba(251, 245, 237, 0.6) 88%, #fbf5ed 100%),
    linear-gradient(180deg, #fbf5ed 0%, rgba(251, 245, 237, 0.6) 10%, transparent 24%, transparent 76%, rgba(251, 245, 237, 0.6) 90%, #fbf5ed 100%);
  pointer-events: none;
}

.services-story-smoke-cleanup {
  position: absolute;
  left: 20.6%;
  top: 30.7%;
  z-index: 3;
  width: 15.8%;
  height: 31.5%;
  border-radius: 52% 58% 48% 54%;
  background:
    radial-gradient(ellipse at 48% 58%, rgba(251, 245, 237, 0.98) 0%, rgba(251, 245, 237, 0.9) 42%, rgba(251, 245, 237, 0.42) 68%, transparent 84%),
    linear-gradient(180deg, rgba(251, 245, 237, 0.52), rgba(251, 245, 237, 0.24));
  filter: blur(11px);
  mix-blend-mode: lighten;
  pointer-events: none;
}

.services-story-steam {
  position: absolute;
  left: 22%;
  top: 33.2%;
  z-index: 4;
  width: 11.7%;
  height: 30%;
  overflow: visible;
  color: rgba(141, 108, 78, 0.34);
  filter: blur(0.9px) drop-shadow(0 0 12px rgba(255, 248, 234, 0.8));
  mix-blend-mode: multiply;
  pointer-events: none;
}

.steam-path {
  fill: none;
  stroke: currentColor;
  stroke-width: 6.2;
  stroke-linecap: round;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: servicesSteamRise 5.4s ease-in-out infinite;
}

.steam-path-2 {
  animation-delay: 1.25s;
  stroke-width: 5.6;
}

.steam-path-3 {
  animation-delay: 2.55s;
  stroke-width: 5;
}

@keyframes servicesSteamRise {
  0% {
    opacity: 0;
    transform: translate3d(0, 20%, 0) scale(0.82) rotate(4deg);
  }
  22% {
    opacity: 0.72;
  }
  58% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translate3d(-12%, -38%, 0) scale(1.2) rotate(-8deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .steam-path {
    animation: none;
  }

  .steam-path {
    opacity: 0.32;
  }
}

.services-story-copy p {
  color: #544f49;
  line-height: 1.82;
  margin-bottom: 1rem;
  max-width: 64ch;
}

.services-story-note {
  margin-top: 1.25rem;
  border: 1px solid rgba(170, 205, 43, 0.32);
  background: linear-gradient(180deg, #fff7f1 0%, #fffdfa 100%);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  color: #4d453e;
  box-shadow: 0 10px 24px rgba(51, 43, 31, 0.04);
}

.services-story-note strong {
  color: #bc744c;
}

.services-catalog-section {
  background: linear-gradient(180deg, #fbf7ff 0%, #f7f2fb 72%, #f6f0fb 100%);
  border-top: 1px solid rgba(196, 181, 216, 0.18);
  border-bottom: 0;
}

.services-catalog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 32rem);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.services-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

.services-pillar-item {
  background: transparent;
  border: 0;
  padding: 0.2rem 0;
}

.services-pillar-item h3 {
  font-family: var(--sans);
  font-size: 1.22rem;
  line-height: 1.2;
  font-weight: 700;
  color: #1f1d1a;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #d7cec3;
}

.services-pillar-item p {
  margin: 0;
  color: #4f4841;
  line-height: 1.65;
  font-size: 0.95rem;
}

.services-pillar-item p + p {
  margin-top: 0.75rem;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-detail-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(232, 225, 216, 0.95);
  border-radius: 22px;
  padding: 1.7rem 1.6rem;
  box-shadow: 0 12px 30px rgba(51, 43, 31, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-detail-card:nth-child(3n + 1) {
  background: linear-gradient(180deg, #fffdfa 0%, #fff7f3 100%);
}

.service-detail-card:nth-child(3n + 2) {
  background: linear-gradient(180deg, #fcfffd 0%, #f2faf6 100%);
}

.service-detail-card:nth-child(3n) {
  background: linear-gradient(180deg, #fdfcff 0%, #f5f1fb 100%);
}

.service-detail-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(51, 43, 31, 0.07);
  border-color: rgba(170, 205, 43, 0.35);
}

.service-detail-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.36rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(232, 225, 216, 0.95);
  color: #b87450;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.service-detail-card h3 {
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.25;
  margin-bottom: 0.7rem;
  color: #2e2924;
}

.service-detail-card p {
  color: #554d45;
  line-height: 1.74;
  margin-bottom: 1rem;
}

.service-mini-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.service-mini-list li {
  position: relative;
  padding-left: 1rem;
  color: #4f4a44;
  line-height: 1.65;
}

.service-mini-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #aacd2b;
  position: absolute;
  left: 0;
  top: 0.72em;
}

.services-examples-section {
  background: linear-gradient(180deg, #fff 0%, #f8f4ee 100%);
  border-top: 1px solid rgba(232, 225, 216, 0.75);
  border-bottom: 1px solid rgba(232, 225, 216, 0.75);
  padding-top: 1.9rem;
  padding-bottom: 2.15rem;
}

.service-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.75rem;
}

.service-faq-item {
  border: 1px solid #eadfd4;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: none;
  overflow: hidden;
}

.page-cta {
  margin-top: 2rem;
  padding: 1.55rem 1.7rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  border: 1px solid rgba(232, 225, 216, 0.95);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff 0%, #fff8f2 100%);
  box-shadow: 0 14px 34px rgba(51, 43, 31, 0.06);
}

.page-cta h2 {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.16;
  margin-bottom: 0.45rem;
}

.page-cta p {
  color: #5f5a54;
  line-height: 1.72;
  max-width: 64ch;
}

.page-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;
}

.service-faq-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.75rem 0.9rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  color: #2f2a25;
  text-align: left;
}

.service-faq-item > summary::-webkit-details-marker {
  display: none;
}

.service-faq-item > summary::marker {
  content: "";
}

.service-faq-item > summary::before {
  content: none;
}

.service-faq-item > summary::after {
  content: "+";
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2d7cb;
  color: #8f7f71;
  font-size: 0.86rem;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.service-faq-item[open] > summary::after {
  content: "−";
  color: #bc744c;
  border-color: rgba(170, 205, 43, 0.6);
}

.service-faq-item > summary:focus-visible {
  outline: 2px solid rgba(188, 116, 76, 0.35);
  outline-offset: 2px;
}

.service-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.22s ease, opacity 0.22s ease;
  opacity: 0;
}

.service-faq-item[open] .service-faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.service-faq-answer > div {
  overflow: hidden;
}

.service-faq-answer p {
  margin: 0;
  padding: 0 0.9rem 0.78rem;
  border-top: 1px solid #efe5da;
  color: #544f49;
  line-height: 1.55;
  font-size: 0.96rem;
  text-align: left;
}

.services-digital-section {
  background: linear-gradient(180deg, #f6f0fb 0%, #faf6fb 38%, #fdfbf8 100%);
  border-top: 0;
  border-bottom: 1px solid rgba(196, 181, 216, 0.2);
}

.services-digital-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(232, 225, 216, 0.9);
  border-radius: 28px;
  padding: 1.8rem;
  box-shadow: 0 18px 36px rgba(51, 43, 31, 0.05);
}

.services-digital-copy p {
  color: #544f49;
  line-height: 1.78;
  margin-bottom: 0.95rem;
}

.services-digital-cards {
  display: grid;
  gap: 1rem;
}

.digital-support-card {
  border-radius: 20px;
  border: 1px solid rgba(232, 225, 216, 0.92);
  background: linear-gradient(180deg, #fff 0%, #faf6ff 100%);
  padding: 1.3rem 1.25rem;
}

.digital-support-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.digital-support-card p {
  color: #554d45;
  line-height: 1.72;
}

.digital-support-points {
  list-style: none;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.digital-support-points li {
  position: relative;
  padding-left: 0.95rem;
  color: #554d45;
  line-height: 1.58;
  font-size: 0.93rem;
}

.digital-support-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #b87450;
}

/* Services */
.services-section {
  background: var(--cream);
  position: relative;
  z-index: 1;
  margin-top: -7rem;
}

.services-section::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -3px;
  height: 6px;
  background: var(--cream);
  pointer-events: none;
}

.services-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: end;
}

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.service-card {
  background: var(--sky-lt);
  border: 1px solid rgba(163, 201, 226, 0.4);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:nth-child(2) { background: var(--mint-lt); border-color: rgba(168, 213, 194, 0.4); }
.service-card:nth-child(3) { background: var(--lav-lt); border-color: rgba(196, 181, 216, 0.4); }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07); }

.service-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--sky);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.service-card:nth-child(2) .service-num { color: var(--mint); }
.service-card:nth-child(3) .service-num { color: var(--lavender); }
.service-card h3 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.9rem; color: #666; line-height: 1.7; }

/* Detailed Section */
.detailed-section {
  background: var(--cream);
  border-top: 1px solid var(--border);
}

.detailed-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: end;
}

.detailed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Detail cards */
.detail-card {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  aspect-ratio: auto;
  min-height: 190px;
}

.detail-card:nth-child(1) { background: var(--peach-lt); border-color: rgba(170, 205, 43, 0.3); }
.detail-card:nth-child(2) { background: var(--mint-lt); border-color: rgba(168, 213, 194, 0.4); }
.detail-card:nth-child(3) { background: var(--sky-lt); border-color: rgba(163, 201, 226, 0.4); }
.detail-card:nth-child(4) { background: var(--lav-lt); border-color: rgba(196, 181, 216, 0.4); }

.detail-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06); }

.detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--peach);
  margin-bottom: 1rem;
}

.detail-card:nth-child(1) .detail-icon { color: #8aa51f; }
.detail-card:nth-child(2) .detail-icon { color: #5aab8c; }
.detail-card:nth-child(3) .detail-icon { color: #6a9fbe; }
.detail-card:nth-child(4) .detail-icon { color: #9a84b5; }

.detail-card h3 { font-family: var(--serif); font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--text); }
.detail-card p { font-size: 0.875rem; color: #4a4540; line-height: 1.7; }

/* KI card */
.ki-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--peach-lt) 0%, var(--lav-lt) 100%);
  border: 1px solid rgba(170, 205, 43, 0.3);
  border-radius: 16px;
  padding: 2.5rem 3rem;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 2.5rem;
  align-items: center;
}

.ki-card img { width: 80px; opacity: 0.65; filter: sepia(0.2) saturate(0.6); }
.ki-card h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 0.5rem; }
.ki-card p { font-size: 0.9rem; color: #666; }

/* Details/Summary */
details summary {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--peach);
  cursor: pointer;
  margin-top: 0.75rem;
  list-style: none;
}

details summary::before { content: '+ '; }
details[open] summary::before { content: '− '; }
details ul { padding-left: 1rem; font-size: 0.875rem; color: #666; line-height: 1.8; margin-top: 0.5rem; }
details li { margin-bottom: 0.25rem; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { background: var(--sand); border-top: 1px solid var(--border); }

.about-grid-custom {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 4rem;
  align-items: center;
}

.about-art img { width: 100%; display: block; border-radius: 20px; }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text h2 em { font-style: italic; color: var(--peach); }
.about-text p { font-size: 0.975rem; color: #555; line-height: 1.8; margin-bottom: 1.25rem; }

.about-list {
  list-style: none;
  margin: 1.5rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.6;
}

.about-list li::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--peach);
  border-radius: 50%;
  margin-top: 0.5em;
}

/* ============================================================
   ADVANTAGES
   ============================================================ */
.adv-section { background: var(--mint-lt); border-top: 1px solid rgba(168, 213, 194, 0.5); }
.adv-section .label { color: #5aab8c; }

.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3rem; }

.adv-icon {
  width: 52px;
  height: 52px;
  background: rgba(168, 213, 194, 0.35);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5aab8c;
  margin-bottom: 1.25rem;
}

.adv-item h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 0.5rem; }
.adv-item p { font-size: 0.9rem; color: #666; line-height: 1.7; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-section { background: var(--cream); border-top: 1px solid var(--border); }
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }

.process-step {
  background: var(--sand);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.step-bg-num {
  position: absolute;
  top: -0.5rem; right: 1.5rem;
  font-family: var(--serif);
  font-size: 7rem;
  color: var(--peach);
  opacity: 0.08;
  line-height: 1;
  user-select: none;
}

.step-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 1rem;
  display: block;
}

.process-step h3 { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 0.75rem; }
.process-step p { font-size: 0.9rem; color: #666; line-height: 1.7; }

/* Step number circles (so-gehts.html) */
.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--peach);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-section {
  background: linear-gradient(180deg, var(--sky-lt) 0%, #e8f2f9 100%);
  border-top: 1px solid rgba(163, 201, 226, 0.45);
  border-bottom: 1px solid rgba(163, 201, 226, 0.35);
  text-align: center;
  padding: 6rem 2rem;
}

.cta-section h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.cta-section p {
  font-size: 1rem;
  color: var(--mid);
  margin-bottom: 2.5rem;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   FORMS (kontakt.html)
   ============================================================ */
label { display: block; font-weight: 600; margin: 0.7rem 0 0.35rem; }

input, textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #d7cec1;
  border-radius: 10px;
  background: #fff;
  font-family: var(--sans);
  font-size: 1rem;
}

textarea { min-height: 140px; resize: vertical; }

/* ============================================================
   PRICE TABLE (preise.html)
   ============================================================ */
.policy {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.4rem;
}

.policy h2 { font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 2rem); margin: 1.3rem 0 0.55rem; }
.policy h2:first-of-type { margin-top: 0; }
.policy p { margin: 0.45rem 0; }
.policy ul { padding-left: 1.2rem; margin: 0.35rem 0 0.65rem; }
.policy li { margin-bottom: 0.35rem; }
.policy-logo {
  display: block;
  width: auto;
  height: 40px;
  margin: 0 0 0.9rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.65rem 0 1rem;
}

.price-table th,
.price-table td {
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.price-table th { font-size: 0.9rem; color: var(--mid); }

.examples {
  background: var(--mint-lt);
  border: 1px solid #cfe8de;
  border-radius: 12px;
  padding: 0.8rem;
  margin: 0.7rem 0 1rem;
}

/* Preisfenster (preise.html) */
.pricing-window-section {
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}

.booking-notice {
  max-width: 760px;
  margin: 0 auto 1.25rem;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(135deg, #f7fbdf 0%, #fdfbf8 100%);
  border: 1px solid rgba(170, 205, 43, 0.42);
  border-left: 4px solid var(--peach);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(51, 43, 31, 0.07);
}

.booking-notice h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.booking-notice p {
  color: var(--mid);
  margin-bottom: 0.65rem;
}

.booking-notice p:last-child {
  margin-bottom: 0;
}

.booking-notice-mail {
  font-weight: 700;
  font-size: 1.05rem;
}

.booking-notice-mail a {
  color: #b86a3f;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.pricing-window {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 10px 28px rgba(51, 43, 31, 0.05);
  display: flex;
  flex-direction: column;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.pricing-card:hover,
.pricing-card:focus-within {
  border-color: #8f6bff;
  box-shadow: 0 16px 38px rgba(143, 107, 255, 0.22);
  transform: translateY(-2px);
}

.pricing-card h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.pricing-card-sub {
  color: var(--mid);
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}

.pricing-card-price {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.7rem;
}

.pricing-card-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--mid);
}

.pricing-card-note {
  color: #b86a3f;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.5;
  margin: -0.2rem 0 0.85rem;
}

.pricing-card ul {
  padding-left: 1.05rem;
  margin: 0 0 1rem;
}

.pricing-card li {
  margin-bottom: 0.35rem;
}

.pricing-card .btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.pricing-card-highlight {
  border-color: #f4b590;
  box-shadow: 0 14px 36px rgba(240, 144, 96, 0.2);
}

.pricing-badge {
  align-self: flex-start;
  background: #fff2e9;
  color: #b86a3f;
  border: 1px solid #f2c4a7;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

/* Tabellen-Panel wie Referenz (preise.html) */
.pricing-facts-section {
  padding-top: 0.75rem;
  padding-bottom: 3.25rem;
}

.pricing-facts-panel {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 10px 26px rgba(51, 43, 31, 0.05);
}

.pricing-facts-panel h2 {
  font-family: var(--serif);
  font-size: 1.55rem;
  margin: 1.3rem 0 0.8rem;
}

.pricing-facts-panel h2:first-child {
  margin-top: 0;
}

.pricing-fact-pill {
  background: #f6f3ef;
  border: 1px solid #e6ddd2;
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  margin: 0 0 0.65rem;
  color: #4f473f;
}

.pricing-facts-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.55rem 0 1.15rem;
}

.pricing-facts-table td {
  padding: 0.72rem 0.2rem;
  border-bottom: 1px solid #ece5dc;
  font-size: 1rem;
}

.pricing-facts-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: #2f2a25;
}

.pricing-facts-panel > p {
  color: #554d45;
  margin: 0.45rem 0;
}

/* ============================================================
   UNTERSEITEN-SPEZIFISCH
   ============================================================ */

/* Generisches 3-Spalten-Grid (leistungen.html, vorteile.html) */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

/* Vorteil-Items */
.item {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.4rem;
  background: #fff;
}
.item:nth-child(1) { background: var(--mint-lt); }
.item:nth-child(2) { background: var(--sky-lt); }
.item:nth-child(3) { background: var(--lav-lt); }
.item h3 { margin-bottom: 0.45rem; }

/* CTA-Box (leistungen.html) */
.cta {
  background: var(--peach);
  color: #fff;
  text-align: center;
  border-radius: 20px;
  padding: 2rem;
}
.cta h2 { font-family: var(--serif); margin-bottom: 0.5rem; }
.cta .btn { background: #fff; color: #d87f4d; }

/* Kontakt-Grid (kontakt.html) */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1rem; }

/* Steps (so-gehts.html) */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.step { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.4rem; }

/* Hinweis-Box */
.note {
  margin-top: 1.2rem;
  background: #fff;
  border: 1px dashed #d7cdbf;
  border-radius: 14px;
  padding: 1rem;
}

/* Über mich Grid (ueber-mich.html) */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: center; }
.about-grid img { width: 100%; border-radius: 24px; border: 1px solid var(--border); }
.box { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.2rem; }
.list { margin-top: 1rem; padding-left: 1.2rem; }
.list li { margin-bottom: 0.45rem; }

/* Footer 3-Spalten (Unterseiten) */
.footer-grid-3 { grid-template-columns: 2fr 1fr 1fr !important; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(180deg, #f7f2ec 0%, #f3ece4 100%);
  color: #5e554d;
  padding: 4rem clamp(1.5rem, 5vw, 5rem) 2rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3.25rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid #ddd4ca;
}

/* 4-Spalten-Footer (index.html) */
.footer-grid-4 {
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

.footer-brand h3 {
  color: #2c2c2c;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.footer-brand-logo {
  display: block;
  width: auto;
  height: 34px;
}
.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 30ch;
  color: var(--mid);
}

.footer-warning {
  color: #b87450;
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-col h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #2f2a25;
  margin-bottom: 1rem;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.96rem;
  color: #6f665e;
  text-decoration: none;
  margin-bottom: 0.7rem;
  line-height: 1.5;
  transition: color 0.2s, transform 0.2s;
}

.footer-col a:hover {
  color: #3c342e;
  transform: translateX(2px);
}

.footer-contact-email {
  white-space: nowrap;
}

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 1.35rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.86rem;
  color: #857a72;
  margin: 0;
}

.footer-bottom .footer-legal {
  font-size: 0.72rem;
  line-height: 1.45;
  color: #8a8a8a;
  margin: 0 auto;
  margin-top: 1.25rem;
  max-width: none;
  text-align: center;
  width: 100%;
}

.footer-bottom a {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.9rem;
  color: #6f665e;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.footer-bottom a:hover {
  color: #3c342e;
  transform: translateY(-1px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .services-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .pricing-window { grid-template-columns: 1fr 1fr; }
  .ki-card { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  .ki-card img { margin: 0 auto; }
  .about-grid-custom { grid-template-columns: 1fr; gap: 2rem; }
  .detailed-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .services-hero-grid,
  .services-intro-grid,
  .services-story-grid,
  .services-catalog-head,
  .services-digital-panel { grid-template-columns: 1fr; }
  .services-story-image {
    width: 100%;
    margin-top: 0;
    margin-left: 0;
  }
  .service-detail-grid { grid-template-columns: 1fr; }
  .services-pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-faq-list { grid-template-columns: 1fr; }
  .page-hero {
    padding: 3.8rem 0 2.35rem;
  }
}

@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .services-pillars-grid { grid-template-columns: 1fr; gap: 1.15rem; }
  .ki-intro-grid { grid-template-columns: 1fr; gap: 1.3rem; }
  .ki-intro-image-wrap { max-width: 560px; margin: 0 auto; }
  .ki-app-grid { grid-template-columns: 1fr; }
  .ki-case-points { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .hero-minimal {
    padding: 6.75rem 1.25rem calc(clamp(6.5rem, 20vh, 12rem) + 12.5rem);
    background-position: right 0.75rem bottom calc(-8.25rem - 12vh - 30% - 6rem + 21.5rem);
  }
  .hero-copy h1 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .hero-berlin-svg { max-width: 500px; opacity: 0.42; transform: none; }
  .page-hero-ki {
    padding: 4.5rem 0 3rem;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
  }

  .nav-logo-image {
    height: 36px;
  }

  .nav-links {
    display: none;
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .nav-cta {
    display: none;
  }

  .burger {
    display: block;
  }

  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer {
    padding-top: 3.1rem;
    padding-bottom: 1.75rem;
  }
  .footer-grid {
    gap: 1.45rem;
    padding-bottom: 2rem;
  }
  .footer-col h4 {
    margin-bottom: 0.65rem;
  }
  .page-hero {
    padding: 3.15rem 0 2rem;
  }
  .pricing-window { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .detailed-grid { grid-template-columns: 1fr; }
  .ki-bullet-list { grid-template-columns: 1fr; }
  .ki-visual-intro {
    padding-top: 1.35rem;
    padding-bottom: 2rem;
  }
  .ki-tool-chips span {
    font-size: 0.79rem;
  }
  .services-hero-points {
    justify-content: flex-start;
  }
  .services-hero-points span {
    width: 100%;
    justify-content: center;
  }
  .services-hero-visual {
    margin-top: -0.25rem;
  }
  .services-hero-visual img {
    width: min(100%, 360px);
  }
  .services-story-grid,
  .services-digital-panel {
    gap: 1.2rem;
  }
  .service-detail-card,
  .digital-support-card {
    padding: 1.2rem 1.1rem;
  }
  .service-faq-item > summary {
    padding: 0.85rem 0.95rem;
    font-size: 0.98rem;
  }
  .service-faq-answer p {
    padding: 0 0.95rem 0.85rem;
    font-size: 0.94rem;
  }
  .page-cta {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.35rem 1.15rem;
    text-align: left;
  }
  .page-cta-actions {
    justify-content: stretch;
  }
  .page-cta .btn {
    justify-content: center;
    width: 100%;
  }
  .hero-berlin-svg { max-width: 360px; }
  .page-hero-ki {
    padding: 4rem 0 2.7rem;
  }
  .ki-hero-lead-wrap {
    padding: 0.85rem 0 1.9rem;
  }
  .page-hero-ki::after {
    background: linear-gradient(
      180deg,
      rgba(253, 251, 248, 0.7) 0%,
      rgba(253, 251, 248, 0.4) 40%,
      rgba(253, 251, 248, 0.74) 100%
    );
  }
}

@media (prefers-reduced-motion: reduce) {
  .ki-hero-title {
    animation: none !important;
    background-position: 0% 50%;
  }
}

@media (max-width: 768px) {
  .container > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   DESIGN REFRESH v2
   Aufwertungen: Papier-Grain, Button-Tiefe, Verlauf-Karten,
   Karten-Wasserzeichen, Espresso-Footer
   ============================================================ */

/* --- #1 Papier-Grain (performant: gekacheltes body-Background, ohne fixed/blend-mode) --- */
body {
  background-color: var(--cream);
  background-image:
    radial-gradient(1200px 600px at 10% 0%, rgba(170,205,43,.06) 0, transparent 60%),
    radial-gradient(1100px 600px at 90% 100%, rgba(196,181,216,.05) 0, transparent 60%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.13 0 0 0 0 0.1 0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, 180px 180px;
}

/* --- #2 Ruhige Business-Buttons: klar, hochwertig, weniger Effekt --- */
.btn-primary {
  background: #aacd2b !important;
  color: #2b2925 !important;
  position: relative;
  overflow: visible;
  box-shadow:
    0 1px 0 rgba(255,255,255,.4) inset,
    0 6px 16px rgba(100,120,24,.18) !important;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-primary::before {
  display: none;
}
.btn-primary:hover {
  background: #9fbe26 !important;
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.35) inset,
    0 8px 18px rgba(100,120,24,.22) !important;
}
.btn-primary:hover::before { display: none; }

.btn-outline,
.btn-secondary {
  background: rgba(255,255,255,.62) !important;
  color: var(--text) !important;
  border: 1px solid rgba(47,42,37,.22) !important;
  box-shadow: none !important;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease !important;
}
.btn-outline:hover,
.btn-secondary:hover {
  background: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(44,44,44,.08) !important;
  color: var(--text) !important;
  border-color: rgba(170,205,43,.75) !important;
}

.btn-white {
  background: linear-gradient(180deg, #ffffff 0%, #fbf5ee 100%) !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 6px 22px rgba(44,44,44,.08),
    0 0 0 1px rgba(163,201,226,.5) !important;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 12px 32px rgba(163,201,226,.32),
    0 0 0 1px rgba(170,205,43,.5) !important;
}

.nav-cta {
  background: rgba(255,255,255,.72) !important;
  color: var(--text) !important;
  border: 1px solid rgba(47,42,37,.2) !important;
  box-shadow: none !important;
}
.nav-cta:hover {
  background: #fff !important;
  color: var(--text) !important;
  transform: translateY(-1px);
  border-color: rgba(170,205,43,.75) !important;
  box-shadow: 0 6px 16px rgba(44,44,44,.08) !important;
}

/* --- #3 Karten-Hintergründe als Verläufe (statt flächiger Pastell) --- */
.service-card {
  background: linear-gradient(150deg, #EDF5FB 0%, #C9DFEC 100%) !important;
  border-color: rgba(163,201,226,.45) !important;
}
.service-card:nth-child(2) {
  background: linear-gradient(150deg, #EFF8F3 0%, #C7E4D5 100%) !important;
  border-color: rgba(168,213,194,.45) !important;
}
.service-card:nth-child(3) {
  background: linear-gradient(150deg, #F4EFFA 0%, #DDD0EC 100%) !important;
  border-color: rgba(196,181,216,.45) !important;
}
.detail-card:nth-child(1) { background: linear-gradient(150deg, #FDF1E7 0%, #F8D7BC 100%) !important; }
.detail-card:nth-child(2) { background: linear-gradient(150deg, #EFF8F3 0%, #C7E4D5 100%) !important; }
.detail-card:nth-child(3) { background: linear-gradient(150deg, #EDF5FB 0%, #C9DFEC 100%) !important; }
.detail-card:nth-child(4) { background: linear-gradient(150deg, #F4EFFA 0%, #DDD0EC 100%) !important; }

/* --- #6 Karten mit Wasserzeichen-Zahl, Tilt-Hover, Gradient-Rand --- */
.service-card {
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s !important;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(163,201,226,.7), rgba(196,181,216,.55), rgba(170,205,43,.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 2;
}
.service-card:hover {
  transform: translateY(-6px) rotate(-.4deg) !important;
  box-shadow: 0 22px 46px rgba(20,24,35,.13) !important;
}
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }

.service-num {
  position: absolute !important;
  top: .35rem;
  right: 1rem;
  font-style: italic;
  font-size: 5.5rem !important;
  opacity: .5 !important;
  color: #fff !important;
  text-shadow: 0 2px 0 rgba(163,201,226,.55);
  pointer-events: none;
  margin: 0 !important;
  z-index: 0 !important;
}
.service-card:nth-child(2) .service-num { text-shadow: 0 2px 0 rgba(168,213,194,.6); }
.service-card:nth-child(3) .service-num { text-shadow: 0 2px 0 rgba(196,181,216,.6); }

/* --- #8 Footer in Espresso, mit Marken-Farbverlauf als Top-Linie --- */
.footer {
  background:
    radial-gradient(700px 320px at 85% 10%, rgba(170,205,43,.16), transparent 60%),
    radial-gradient(500px 260px at 10% 100%, rgba(196,181,216,.12), transparent 60%),
    linear-gradient(160deg, #3B2E26 0%, #4a3a30 100%) !important;
  color: #d8c9b8 !important;
  border-top: none !important;
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--peach) 0%, var(--lavender) 50%, var(--mint) 100%);
}
.footer-grid { border-bottom-color: rgba(255,255,255,.1) !important; }
.footer-brand h3 { color: #f6efe5 !important; }
.footer-brand p { color: #b9a995 !important; }
.footer-col h4 { color: #f6efe5 !important; }
.footer-col a,
.footer-col p { color: #b9a995 !important; }
.footer-col a:hover { color: #fff !important; }
.footer-warning { color: var(--peach) !important; }
.footer-bottom p { color: #8d7e6d !important; }
.footer-legal {
  font-size: 0.72rem !important;
  line-height: 1.45 !important;
  color: #8a8a8a !important;
  margin: 0 auto !important;
  margin-top: 1.25rem !important;
  max-width: none;
  text-align: center !important;
  width: 100%;
}
.footer-bottom a { color: #b9a995 !important; }
.footer-bottom a:hover { color: #fff !important; }

.footer-brand h3.footer-logo-text {
  display: block;
  gap: 0;
  margin-bottom: 0.95rem;
  line-height: 1;
}
.footer-logo-top {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 0.92;
  letter-spacing: -0.01em;
}
.footer-logo-b   { color: #C4B5D8; }
.footer-logo-yte { color: rgba(255,255,255,0.92); }
.footer-logo-werkstatt {
  display: block;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  color: rgba(255,255,255,0.78);
  margin-top: 0.4rem;
  text-transform: uppercase;
}

/* === Card-Hover Enhancements === */
.service-card {
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease !important;
}
.service-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 38px rgba(163, 201, 226, 0.22) !important;
}
.service-card:nth-child(2):hover { box-shadow: 0 18px 38px rgba(168, 213, 194, 0.24) !important; }
.service-card:nth-child(3):hover { box-shadow: 0 18px 38px rgba(196, 181, 216, 0.26) !important; }

.digital-support-card,
.ki-card,
.topic-card,
.pricing-card {
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}
.digital-support-card:hover,
.ki-card:hover,
.topic-card:hover,
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(170, 205, 43, 0.14);
}

/* === Card Surface Refresh: shadcn-inspired windows === */
.card,
.ki-case-card,
.service-detail-card,
.digital-support-card,
.service-card,
.detail-card,
.ki-card,
.pricing-card,
.booking-notice,
.pricing-facts-panel,
.service-faq-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 251, 248, 0.94) 100%) !important;
  border: 1px solid rgba(232, 225, 216, 0.95) !important;
  border-radius: 22px !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.82) inset,
    0 14px 34px rgba(51, 43, 31, 0.075) !important;
}

.card,
.service-detail-card,
.digital-support-card,
.service-card,
.detail-card,
.pricing-card {
  padding: clamp(1.25rem, 2vw, 1.7rem) !important;
}

.service-card,
.detail-card,
.service-detail-card,
.digital-support-card,
.ki-case-card,
.ki-card,
.pricing-card,
.card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease !important;
}

.service-card::before {
  display: none !important;
}

.service-card:hover,
.detail-card:hover,
.service-detail-card:hover,
.digital-support-card:hover,
.ki-case-card:hover,
.ki-card:hover,
.pricing-card:hover,
.card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(170, 205, 43, 0.38) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 18px 42px rgba(51, 43, 31, 0.1) !important;
}

.service-num {
  position: static !important;
  display: inline-block;
  font-size: 2.25rem !important;
  line-height: 1 !important;
  margin: 0 0 0.85rem !important;
  color: #8aa51f !important;
  opacity: 0.38 !important;
  text-shadow: none !important;
}

.service-detail-tag,
.pricing-badge {
  background: rgba(170, 205, 43, 0.12) !important;
  border: 1px solid rgba(170, 205, 43, 0.28) !important;
  color: #b86a3f !important;
}

.pricing-fact-pill {
  background: rgba(245, 240, 234, 0.78);
  border-color: rgba(232, 225, 216, 0.95);
  border-radius: 14px;
}

/* ============================================================
   EDITORIAL-LAYER (Unterseiten) – rahmenlos & warm
   Überträgt das Muster von webdesign.html auf die übrigen
   Unterseiten: viel Weißraum, Playfair-Titel, zarte Trennlinien
   statt Karten, Blatt-Motiv in Limettengrün als wiederkehrendes
   Ornament. Bewusst KEINE geboxten Karten mit Schlagschatten.
   ============================================================ */
:root {
  --ed-accent: #aacd2b;          /* Limettengrün – seitenweiter Akzent */
  --ed-accent-soft: #bcdb4a;     /* helleres Grün für zarte Verläufe */
  --ed-ink: #2b2925;
  --ed-ink-soft: #5f5a54;
  --ed-kicker: #7f9f1e;
  --ed-rule: rgba(43, 41, 37, 0.13);
}

/* sanfte Creme-Sektion zur Abwechslung (statt Lavendel-Verläufen) */
.ed-soft {
  background: #fcf8f4;
  border-top: 1px solid rgba(43, 41, 37, 0.06);
  border-bottom: 1px solid rgba(43, 41, 37, 0.06);
}

/* — zentrierter Sektionskopf — */
.ed-eyebrow {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ed-kicker);
  margin-bottom: 0.7rem;
}
.ed-title {
  text-align: center;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.12;
  color: var(--ed-ink);
  max-width: 24ch;
  margin: 0 auto clamp(1rem, 2vw, 1.4rem);
}
.ed-intro {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto clamp(2.4rem, 4.5vw, 3.4rem);
  color: var(--ed-ink-soft);
  line-height: 1.78;
}

/* — nummerierte/getaggte Spalten mit zarten Trennlinien — */
.ed-cols { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
.ed-cols.cols-2 { grid-template-columns: repeat(2, 1fr); }
.ed-cols.cols-3 { grid-template-columns: repeat(3, 1fr); }
.ed-cols.cols-4 { grid-template-columns: repeat(4, 1fr); }
.ed-cols.cols-5 { grid-template-columns: repeat(5, 1fr); }

.ed-col {
  position: relative;
  text-align: center;
  padding: 0 clamp(0.5rem, 1.5vw, 1.4rem);
}
.ed-col + .ed-col::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(0.75rem, 1.5vw, 1.5rem));
  top: 6%;
  bottom: 6%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--ed-rule), transparent);
}
.ed-num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2rem;
  line-height: 1;
  color: var(--ed-accent);
  margin-bottom: 0.55rem;
}
.ed-tag {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ed-kicker);
  margin-bottom: 0.5rem;
}
.ed-col h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.28rem;
  line-height: 1.25;
  color: var(--ed-ink);
  margin-bottom: 0.55rem;
}
.ed-col > p {
  color: var(--ed-ink-soft);
  line-height: 1.7;
  font-size: 0.97rem;
  max-width: 34ch;
  margin: 0 auto;
}
.ed-col-list {
  list-style: none;
  margin: 0.9rem auto 0;
  padding: 0;
  display: inline-grid;
  gap: 0.4rem;
  text-align: left;
  max-width: 32ch;
}
.ed-col-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ed-ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}
.ed-col-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--ed-accent);
}

/* — Blatt-Motiv + zentrierter Notizblock — */
.ed-leaf { width: 20px; height: 20px; display: block; margin: 0 auto 0.85rem; opacity: 0.92; }
.ed-notes { max-width: 720px; margin: 0 auto; text-align: center; }
.ed-note h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.16;
  color: var(--ed-ink);
  margin-bottom: 0.7rem;
}
.ed-note p { color: var(--ed-ink-soft); line-height: 1.78; max-width: 60ch; margin: 0 auto; }
.ed-divider {
  width: 64px;
  height: 1px;
  margin: clamp(2.4rem, 4.5vw, 3.4rem) auto;
  background: linear-gradient(90deg, transparent, var(--ed-accent-soft), transparent);
}

/* — rahmenloser zweispaltiger Split (Copy + Beistück) — */
.ed-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.ed-split-copy .ed-kicker,
.ed-split-copy .ed-tag { text-align: left; }
.ed-split-copy h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.16;
  color: var(--ed-ink);
  margin-bottom: 1rem;
}
.ed-split-copy > p { color: var(--ed-ink-soft); line-height: 1.8; margin-bottom: 1rem; }

/* zarte Hinweiszeile statt Box */
.ed-aside {
  margin-top: 1.4rem;
  padding-left: 1.1rem;
  border-left: 2px solid var(--ed-accent-soft);
  color: var(--ed-ink-soft);
  line-height: 1.75;
}
.ed-aside strong { color: var(--ed-accent); }

/* — gestapelte Items mit Hairline (z.B. rechte Split-Spalte) — */
.ed-stack { display: grid; gap: 0; }
.ed-stack-item { padding: 1.4rem 0; }
.ed-stack-item:first-child { padding-top: 0; }
.ed-stack-item + .ed-stack-item { border-top: 1px solid var(--ed-rule); }
.ed-stack-item h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--ed-ink);
  margin-bottom: 0.5rem;
}
.ed-stack-item p { color: var(--ed-ink-soft); line-height: 1.75; margin-bottom: 0.8rem; }
.ed-stack-item p:last-child { margin-bottom: 0; }

/* — editoriale Preis-Spalten — */
.ed-prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  max-width: 1000px;
  margin: 0 auto;
}
.ed-price { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 clamp(0.5rem, 1.5vw, 1.6rem); }
.ed-price .btn { margin-top: auto; }
.ed-price + .ed-price::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(0.75rem, 1.5vw, 1.5rem));
  top: 4%;
  bottom: 4%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--ed-rule), transparent);
}
.ed-price-badge {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ed-kicker);
  margin-bottom: 0.6rem;
}
.ed-price h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--ed-ink);
  margin-bottom: 0.5rem;
}
.ed-price-sub {
  color: var(--ed-ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 26ch;
  margin: 0 auto 1rem;
}
.ed-price-amount {
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--ed-ink);
}
.ed-price-amount span {
  display: block;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ed-ink-soft);
  margin-top: 0.45rem;
}
.ed-price-note {
  color: var(--ed-accent);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0.7rem auto 0;
  max-width: 26ch;
}
.ed-price ul {
  list-style: none;
  padding: 0;
  margin: 1.2rem auto 1.5rem;
  display: inline-grid;
  gap: 0.45rem;
  text-align: left;
}
.ed-price li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--ed-ink-soft);
  line-height: 1.55;
  font-size: 0.95rem;
}
.ed-price li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--ed-accent);
}

/* — Fakten-Block (Tabelle + Zeilen), rahmenlos & zentriert — */
.ed-facts { max-width: 720px; margin: 0 auto; }
.ed-facts h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  text-align: center;
  color: var(--ed-ink);
  margin: clamp(2.4rem, 4.5vw, 3.4rem) 0 1rem;
}
.ed-facts h2:first-child { margin-top: 0; }
.ed-facts .ed-note h2 {
  font-weight: 300;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.16;
  margin: 0 0 0.7rem;
}
.ed-facts-table { width: 100%; border-collapse: collapse; margin: 0 0 0.8rem; }
.ed-facts-table td {
  padding: 0.9rem 0.2rem;
  border-bottom: 1px solid var(--ed-rule);
  color: var(--ed-ink-soft);
}
.ed-facts-table tr:first-child td { border-top: 1px solid var(--ed-rule); }
.ed-facts-table td:last-child { text-align: right; font-weight: 600; color: var(--ed-ink); }
.ed-facts-line {
  text-align: center;
  color: var(--ed-ink-soft);
  line-height: 1.75;
  max-width: 62ch;
  margin: 0.5rem auto;
}
.ed-facts-line strong { color: var(--ed-accent); }

/* — FAQ als rahmenlose Liste mit Hairline — */
.ed-faq { max-width: 760px; margin: 0 auto; }
.ed-faq-group-heading {
  margin: 2.6rem 0 0.75rem;
  padding-top: 0.4rem;
  font-family: var(--sans);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.3;
  color: var(--ed-ink);
}

.ed-faq-group-heading:first-child {
  margin-top: 0;
}

.ed-faq-item { border-bottom: 1px solid var(--ed-rule); }
.ed-faq-item:first-child { border-top: 1px solid var(--ed-rule); }
.ed-faq-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0.2rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.4;
  color: var(--ed-ink);
}
.ed-faq-item > summary::-webkit-details-marker { display: none; }
.ed-faq-item > summary::marker { content: ""; }
.ed-faq-item > summary::before,
.ed-faq-item[open] > summary::before { content: none; }
.ed-faq-item > summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--ed-accent);
}
.ed-faq-item[open] > summary::after { content: "−"; }
.ed-faq-item > summary:focus-visible { outline: 2px solid rgba(170, 205, 43, 0.35); outline-offset: 3px; }
.ed-faq-answer { padding: 0 0.2rem 1.25rem; }
.ed-faq-answer p { margin: 0; color: var(--ed-ink-soft); line-height: 1.75; }

/* — Kontakt editorial — */
.ed-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  max-width: 920px;
  margin: 0 auto;
  align-items: start;
}
.ed-contact-main h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--ed-ink);
  margin-bottom: 1rem;
}
.ed-contact-main p { color: var(--ed-ink-soft); line-height: 1.8; margin-bottom: 1rem; }
.ed-contact-side {
  padding-left: clamp(1.5rem, 4vw, 3rem);
  border-left: 1px solid var(--ed-rule);
}
.ed-contact-side h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ed-ink);
  margin-bottom: 1rem;
}
.ed-contact-side p { color: var(--ed-ink-soft); margin-bottom: 0.65rem; line-height: 1.6; }
.ed-contact-side a { color: var(--ed-accent); text-decoration: none; }
.ed-contact-side a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* — Über mich: Foto + Text, rahmenlos — */
.ed-about {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.ed-about-photo { margin: 0; }
.ed-about-photo img { width: 100%; border-radius: 16px; display: block; }

/* — Responsive — */
@media (max-width: 860px) {
  .ed-cols.cols-3, .ed-cols.cols-4, .ed-cols.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .ed-split, .ed-contact, .ed-about { grid-template-columns: 1fr; }
  .ed-about-photo { max-width: 360px; }
  .ed-contact-side {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--ed-rule);
    padding-top: 1.6rem;
  }
}
@media (max-width: 600px) {
  .ed-cols, .ed-cols.cols-2, .ed-cols.cols-3, .ed-cols.cols-4, .ed-cols.cols-5, .ed-prices { grid-template-columns: 1fr; gap: 0; }
  .ed-col, .ed-price { padding: 1.7rem 0; }
  .ed-col + .ed-col::before, .ed-price + .ed-price::before { display: none; }
  .ed-col + .ed-col, .ed-price + .ed-price { border-top: 1px solid var(--ed-rule); }
}

/* ============================================================
   PREIS-CALLOUT (preise.html)
   ============================================================ */
.price-callout {
  max-width: 600px;
  margin: 2.2rem auto;
  padding: 1.25rem 1.6rem;
  background: linear-gradient(135deg, rgba(170,205,43,.08) 0%, rgba(253,251,248,.97) 100%);
  border: 1px solid rgba(170,205,43,.32);
  border-left: 3px solid #aacd2b;
  border-radius: 16px;
  text-align: left;
}
.price-callout-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #7f9f1e;
  display: block; margin-bottom: .45rem;
}
.price-callout-figure {
  font-family: var(--serif); font-size: 1.48rem; font-weight: 400;
  color: #2b2925; display: block; margin-bottom: .65rem; line-height: 1.2;
}
.price-callout > p { color: #5f5a54; line-height: 1.78; margin: 0; }

/* ============================================================
   BUCHUNGSSCHRITTE im CTA-Bereich (preise.html)
   ============================================================ */
.booking-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  max-width: 760px;
  margin: 2rem auto 2.5rem;
  text-align: left;
}
.booking-step-num {
  font-family: var(--serif); font-style: italic; font-size: 2rem;
  line-height: 1; color: rgba(170,205,43,.65);
  display: block; margin-bottom: .35rem;
}
.booking-step-title {
  font-family: var(--serif); font-size: 1.08rem; font-weight: 400;
  color: #2b2925; display: block; margin-bottom: .4rem; line-height: 1.25;
}
.booking-step-desc { font-size: .94rem; line-height: 1.72; color: #5f5a54; }
@media (max-width: 640px) {
  .booking-steps { grid-template-columns: 1fr; gap: 1.3rem; }
}
