:root {
  --bg: #ffffff;
  --bg-elevated: #fbfaf7; /* leicht warmes Papier */
  --bg-soft: #f7f7f3;
  --accent: #b07a3a; /* gedämpftes, edles Gold */
  --accent-rgb: 176,122,58;
  --accent-soft: rgba(var(--accent-rgb), 0.10);
  --text: #2F2F2F;
  --muted: #6b6b6b;
  --border-subtle: rgba(0, 0, 0, 0.06);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 18px 45px rgba(13, 13, 13, 0.08);
  --shadow-subtle: 0 10px 30px rgba(13, 13, 13, 0.06);
  --anthracite: #2F2F2F;
  --section-spacing: clamp(4.5rem, 6vw, 6.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
}

.section-inner p:not(.eyebrow):not(.lead),
.section-inner li {
  max-width: 65ch;
}

.top-banner {
  background-color: #2F2F2F;
  padding: 0.8rem 0;
  font-size: 0.9rem;
  color: #ffffff;
  border-bottom: none;
}

.banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0.8rem;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.banner-contact {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.banner-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  transition: color 0.18s ease-out;
}

.banner-contact a:hover { color: var(--text); }
.top-banner .banner-contact a { color: #ffffff; }
@media (max-width: 900px) {
  .top-banner {
    font-size: 0.8rem;
    padding: 0.6rem 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Layout */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0.8rem;
}
.section-services .container {
  max-width: 1600px;
}

.section {
  padding: var(--section-spacing) 0;
}

.section-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.section-head {
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 2.4vw + 1rem, 2.6rem);
  letter-spacing: 0.03em;
  margin: 0.4rem 0 0.75rem;
}

.section-head .lead {
  margin: 0;
  color: var(--muted);
  max-width: none !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.section-head .eyebrow {
  display: block;
  max-width: 78ch;
  margin-left: auto;
  margin-right: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header {
  transition: background 0.18s ease, backdrop-filter 0.18s ease, box-shadow 0.18s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem; /* kompakter */
  gap: 1.5rem;
  position: relative;
  min-height: 52px;
  transition: padding 0.18s ease, min-height 0.18s ease;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* Header shrink state (on scroll): transparenter und kompakter */
.site-header.shrink {
  background: rgba(255,255,255,0.56);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.site-header.shrink .header-inner {
  padding: 0.45rem 0.6rem;
  min-height: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #f6eddc, var(--accent) 45%, #5a4837 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.brand-text {
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text);
}

/* Logo image inside header (left) */
.brand img,
.brand-mark img {
  display: block;
  height: 72px;
  width: auto;
}

.brand {
  z-index: 6;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  font-size: 1.1rem;
}

.main-nav a {
  position: relative;
  padding: 0.15rem 0.6rem; /* mehr horizontaler Zwischenraum pro Item */
  padding-bottom: 0.1rem;
  letter-spacing: 0.04em; /* etwas mehr Abstand zwischen Buchstaben */
  font-weight: 600;
}

.main-nav a.is-active {
  color: var(--accent);
}

.main-nav a.is-active::after {
  width: 100%;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: width 0.18s ease-out;
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav .btn-small {
  padding: 0.65rem 1.05rem;
  border-radius: 10px;
  border: none;
  background: #222222;
  color: #ffffff;
  /* use subtle outline by default */
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04);
  font-size: 0.88rem;
  transition: background-color 0.14s ease-out, transform 0.12s ease-out, box-shadow 0.12s ease-out;
}

.main-nav .btn-small:hover {
  background-color: #2a2a2a;
  transform: translateY(-3px);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.18);
}

.main-nav .btn-small:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0,0,0,0.04);
}

.nav-toggle {
  display: none;
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border-subtle);
  padding: 6px;
  width: 44px;
  height: 34px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  align-items: center;
  margin-left: auto;
  border-radius: 10px;
  position: relative;
}

.nav-toggle span {
  height: 2px;
  width: 74%;
  border-radius: 999px;
  background: var(--text);
  display: block;
  transition: transform 0.22s ease, opacity 0.22s ease, background 0.22s ease;
  transform-origin: center;
}

.nav-toggle span:nth-child(2) {
  width: 100%;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-4px);
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 0;
  min-height: 72vh; /* großer, großzügiger Hero */
  display: flex;
  align-items: center;
  /* subtle background: light gray at top, fading to white towards next section */
  background: linear-gradient(180deg, #f3f4f6 0%, #ffffff 85%);
}

/* left-half background image: slight transparency and gradient fade to the hero gray */
.hero::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 60vw;
  min-width: 680px;
  pointer-events: none;
  /* mirror: image on the right half, fade to the left into the gray background */
  background-image: linear-gradient(to left, rgba(243,244,246,0) 30%, rgba(243,244,246,1) 95%), url('../img/hero_title.webp');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  opacity: 0.18; /* leichte Transparenz */
  z-index: 0;
}

.hero-inner { position: relative; z-index: 1; }

/* Ensure hero text sits above the decorative background and is always readable */
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text);
  max-width: 1200px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 4.4vw + 1rem, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

.hero-label {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.hero-tagline {
  margin: 0 0 1.2rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text);
}

.hero-content h1 .h1-sub {
  display: block;
  font-size: clamp(1rem, 1.2vw + 0.6rem, 1.05rem);
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.35rem;
  letter-spacing: 0.02em;
}

.hero .lead {
  margin: 0;
  color: var(--muted);
  max-width: 1200px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.btn-with-icon {
  gap: 0.4rem;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #111111 0%, #3a2a1d 60%, #000000 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(12,12,12,0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent) 0%, #d4944a 100%);
  color: #1d1309;
}

.hero-secondary {
  background: transparent;
  border-color: rgba(0,0,0,0.6);
  color: var(--text);
}

.hero-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-meta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-meta span::before {
  content: "•";
  margin-right: 0.5rem;
  color: var(--accent);
}

.hero-media {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.hero-media img {
  display: block;
  width: 100%;
  max-width: 760px; /* größeres Hero-Bild */
  height: auto;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(12,12,12,0.04);
  transform: translateY(0);
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.hero-media img:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(12,12,12,0.06);
  filter: saturate(1.02) contrast(1.02);
}

.hero-visual { position: relative; }

.trust {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  justify-content: space-between;
  flex-wrap: wrap;
}
.trust-logos { display:flex; gap:1rem; align-items:center; flex-wrap:wrap; margin-top:1rem; }
.trust-logo { display:inline-flex; align-items:center; padding:0.4rem 0.85rem; border-radius:999px; background:rgba(0,0,0,0.04); color:var(--muted); font-size:0.85rem; border:1px solid rgba(0,0,0,0.05); }
.trust-stats { display:flex; gap:1.2rem; align-items:center; }
.trust-stat { text-align:center; color:var(--muted); }
.trust-stat strong { display:block; font-size:1.05rem; color:var(--text); }

.hero-card {
  position: relative;
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,246,244,0.95));
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  max-width: 340px;
}

/* Responsiveness: stack hero content on small screens */
@media (max-width: 960px) {
  .hero {
    min-height: auto;
    padding: 4rem 0;
  }
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-media {
    justify-content: flex-start;
  }
  .hero-media img {
    max-width: 100%;
    border-radius: 14px;
  }
  .about-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-photo {
    max-width: 420px;
    margin: 0 auto;
  }
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.04);
  pointer-events: none;
}

.hero-card-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-card h2 {
  margin: 0.5rem 0 0.6rem;
  font-size: 1.25rem;
}

.hero-card p {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: var(--text);
}

.hero-card li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.hero-card li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
}

/* Typo helpers */

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.lead {
  font-size: 1rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.0rem 1.6rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: #111111;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.92rem;
  /* subtle outline instead of heavy shadow (default) */
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04);
  cursor: pointer;
  transition: background-color 0.14s ease-out, transform 0.12s ease-out, box-shadow 0.12s ease-out;
}

.btn:hover {
  /* Accent als Hoverfarbe: warmes Gelb/Orange */
  background-color: var(--accent);
  color: #151315; /* dunkle Schrift auf hellem Accent */
  transform: translateY(-3px);
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.18);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03);
}

.btn:focus-visible,
.main-nav a:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.18);
}

.btn-ghost {
  background: rgba(10, 10, 14, 0.7);
  border-color: rgba(175, 151, 120, 0.65);
  color: var(--text);
  /* ghost buttons: subtle transparent outline (default) */
  box-shadow: 0 0 0 1px rgba(255,255,255,0.035);
  transition: background-color 0.14s ease-out, transform 0.12s ease-out, box-shadow 0.12s ease-out;
}

.btn-ghost:hover {
  transform: translateY(-3px);
  /* ghost hover: subtle accent outline and faint accent background */
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.14);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.06), rgba(10,10,14,0.96));
}

.btn-ghost:active {
  transform: translateY(0);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03);
}

.btn-fullwidth {
  width: 100%;
  justify-content: center;
}

/* Grids & cards */

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 3rem;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 3rem;
}

.about-media {
  width: 100%;
}

.about-photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 35px 80px rgba(20,18,14,0.16);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.16), rgba(0,0,0,0));
  padding: 10px;
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius-xl) - 6px);
  position: relative;
  z-index: 1;
}

.about-photo::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: calc(var(--radius-xl) - 6px);
  background: linear-gradient(180deg, rgba(255,255,255,0.3), rgba(var(--accent-rgb), 0.12));
  z-index: 0;
}

.about-chip {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(0,0,0,0.72);
  color: #ffffff;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  z-index: 2;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.about-profile {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.08), rgba(255,255,255,0.96));
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  box-shadow: 0 12px 28px rgba(20,18,14,0.05);
  max-width: 540px;
}

.about-profile__text strong {
  font-size: 1.3rem;
}

.about-title {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.about-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-highlights li {
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.about-profile img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(20,18,14,0.08);
}

.about-profile__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: var(--text);
}

.about-profile__text strong {
  font-size: 1.05rem;
}

.about-profile__text span {
  font-size: 0.9rem;
  color: var(--muted);
}

.about-profile__text p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.card {
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.18), rgba(255,255,255,0.88));
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  box-shadow: 0 14px 36px rgba(var(--accent-rgb), 0.06);
  transition: transform 220ms cubic-bezier(.2,.9,.2,1), box-shadow 220ms ease, filter 220ms ease;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.15rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.card-benefit {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 1rem;
}

.card ul {
  padding-left: 1.1rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 1rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}

/* Premium services styling */
.section-services {
  background: linear-gradient(180deg, #fffdfa 0%, #f5efe6 55%, #f8f6f1 100%);
}

.section-services .cards-grid {
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
}

.service-card {
  padding: 2rem 2.2rem 0;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.12) 0%, #fffdf9 45%, #ffffff 100%);
  border: 1px solid rgba(var(--accent-rgb), 0.14);
  box-shadow: 0 20px 48px rgba(0,0,0,0.06);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 0%, rgba(255,255,255,0.28), transparent 60%);
  pointer-events: none;
}

.service-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card .card-icon {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  font-size: 1.4rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 12px 24px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon__svg {
  width: 1.5em;
  height: 1.5em;
}

.service-headline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.service-headline__text {
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  font-size: 1.25rem;
  margin: 0;
}

.service-card .card-benefit {
  margin-bottom: 1rem;
  font-weight: 400;
  color: #474747;
}

.service-card ul,
.service-addon ul {
  margin: 0.8rem 0 0;
  list-style: none;
  padding: 0;
}

.service-card li,
.service-addon li {
  position: relative;
  padding-left: 1.15rem;
  line-height: 1.5;
}

.service-card li::before,
.service-addon li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.85);
  transform: translateY(-50%);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 64px rgba(0,0,0,0.08);
}

.service-addon {
  background: rgba(255,255,255,0.85);
  margin-top: auto;
  margin-left: -2.2rem;
  margin-right: -2.2rem;
  padding: 1.75rem 2.2rem 2rem;
  border-top: 1px solid rgba(0,0,0,0.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
  border-radius: 0 0 18px 18px;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

.cards-grid .service-card {
  height: 100%;
}

.service-body {
  min-height: 420px;
}

.service-addon strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.98rem;
}

.service-price {
  font-weight: 600;
  color: var(--text);
  margin: 0;
  font-size: 1.1rem;
}

.service-price--addon {
  color: #8a5c2c;
  margin-bottom: 0.75rem;
  font-size: 0.96rem;
}

.services-note {
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 0.95rem;
  color: #6b5b4c;
  max-width: 720px;
}

/* Ablauf / Flow */

.section-flow {
  padding: clamp(6rem, 14vw, 10rem) 0;
  background: linear-gradient(180deg, #fdfcf9 0%, #ffffff 60%);
}

.section-flow .section-head {
  text-align: center;
  margin: 0 auto 3rem;
}

.section-flow .section-head .eyebrow {
  color: #8a8174;
  letter-spacing: 0.28em;
}

.section-flow .section-head h2 {
  font-size: clamp(2rem, 2.6vw + 1rem, 2.4rem);
}

.flow-timeline {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 0 5rem;
}

.flow-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.08), rgba(0,0,0,0));
}

.flow-item {
  position: relative;
  width: 50%;
  padding: 4.2rem 2rem;
  display: flex;
}

.flow-item.is-left {
  margin-left: 0;
  justify-content: flex-end;
}

.flow-item.is-right {
  margin-left: 50%;
  justify-content: flex-start;
}

.flow-step-badge {
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #ffffff;
  border: 3px solid rgba(var(--accent-rgb), 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: #2f2f2f;
  box-shadow: 0 10px 24px rgba(13, 13, 13, 0.12);
  z-index: 2;
}

.flow-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 2.6rem 2.8rem 2.2rem;
  box-shadow: 0 24px 60px rgba(9, 9, 9, 0.08);
  border: 1px solid rgba(0,0,0,0.03);
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.flow-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.25rem;
}

.flow-card p {
  margin: 0;
  font-size: 1rem;
  color: #464646;
  line-height: 1.55;
}

.flow-card strong {
  color: var(--text);
}

.flow-media {
  display: none;
}

@media (max-width: 960px) {
  .flow-item {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    padding: 4rem 1.5rem 3rem 72px;
    align-items: flex-start;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  /* WICHTIG: Desktop-Offsets zurücksetzen */
  .flow-item.is-right,
  .flow-item.is-left {
    margin-left: 0;
  }

  .flow-item.is-left .flow-card,
  .flow-item.is-right .flow-card {
    margin: 0;
    max-width: none;
    width: 100%;
    grid-column: 1;
    justify-self: stretch;
  }

  .flow-item.is-left .flow-media,
  .flow-item.is-right .flow-media {
    grid-column: 1;
    justify-self: stretch;
  }

  .flow-media {
    justify-self: stretch;
  }
}

@media (max-width: 768px) {
  .flow-timeline {
    padding-left: 0;
  }

  .flow-line {
    left: 30px;
    transform: none;
  }

  .flow-item {
    padding: 3.6rem 1.5rem 2.6rem 72px;
    align-items: flex-start;
  }

  .flow-step-badge {
    left: 32px;
  }

  .flow-card {
    padding: 1.8rem 1.4rem;
    width: 100%;
    max-width: none;
  }
}

/* Flow – zurück auf kompaktes Layout ohne Bilder */
.flow-timeline {
  max-width: 960px;
}

.flow-item {
  width: 50%;
  padding: 4.2rem 2rem;
  display: flex;
}

.flow-item.is-left {
  margin-left: 0;
  justify-content: flex-end;
}

.flow-item.is-right {
  margin-left: 50%;
  justify-content: flex-start;
}

.flow-media {
  display: none;
}

@media (max-width: 960px) {
  .flow-item {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    padding: 4rem 2rem 3rem 66px;
    align-items: flex-start;
  }

  .flow-item.is-right,
  .flow-item.is-left {
    margin-left: 0;
  }

  .flow-item.is-left .flow-card,
  .flow-item.is-right .flow-card {
    margin: 0;
    max-width: none;
    width: 100%;
  }
}

/* Cases */

.project-spinner {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 2rem;
  padding: 2rem 0;
}

.project-spinner::before,
.project-spinner::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 20%;
  pointer-events: none;
  z-index: 2;
}
.project-spinner::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.95), rgba(255,255,255,0));
}
.project-spinner::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255,255,255,0.95), rgba(255,255,255,0));
}

.spinner-track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  animation: projectMarquee 32s linear infinite;
  padding-bottom: 1rem;
}

.project-spinner:hover .spinner-track {
  animation-play-state: paused;
}

.spinner-track .project-card {
  flex: 0 0 640px;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.20), rgba(255,255,255,0.9));
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  border-radius: 24px;
  position: relative;
  padding: 3rem 2.4rem 1.8rem;
}

@keyframes projectMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.project-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(0,0,0,0.08);
  color: var(--text);
}
.project-badge.is-live { background: rgba(63,198,131,0.22); color: #247958; }
.project-badge.is-progress { background: rgba(255,204,92,0.28); color: #8c5a00; }
.project-badge.is-soon { background: rgba(116,122,170,0.26); color: #3a3f74; }

.project-card ul {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}
.project-note { font-size: 0.9rem; color: var(--muted); }
.project-note a { text-decoration: underline; color: var(--accent); }

.project-note--highlight {
  margin-top: 0.8rem;
  padding: 0.65rem 0.95rem;
  border-radius: 14px;
  background: rgba(var(--accent-rgb), 0.15);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  font-weight: 600;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.project-note--highlight a {
  text-decoration: none;
  font-weight: 600;
}

.cookies-blocked {
  overflow: hidden;
}

body.cookies-blocked::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 9998;
  pointer-events: none;
}

body.cookies-blocked > *:not(.cookie-consent):not(.cookie-modal):not(.cookie-reopen) {
  pointer-events: none;
  user-select: none;
  filter: blur(0px);
}

.cookie-consent {
  position: fixed;
  inset: auto 0 1.5rem 0;
  display: none;
  justify-content: center;
  padding: 0 1rem;
  z-index: 9999;
  pointer-events: none;
}

.cookie-consent.is-visible { display: flex; }

.cookie-consent__inner {
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
  background: var(--bg-elevated);
  color: var(--text);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.14);
  padding: 1.1rem 1.2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  pointer-events: auto;
}

.cookie-consent__icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-rgb), 0.45));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cookie-consent__icon svg { width: 36px; height: 36px; fill: rgba(var(--accent-rgb), 0.8); }

.cookie-consent__content h2 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 700;
}
.cookie-consent__content p {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-consent__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}
/* ================================
   MOBILE OPTIMIERUNG COOKIE BANNER
   ================================ */
@media (max-width: 640px) {

  /* Gesamter Banner */
  .cookie-consent {
    inset: auto 0 calc(env(safe-area-inset-bottom) + 0.7rem);
    padding: 0 0.75rem;
  }

  /* Innencontainer im Mobile: einspaltig */
  .cookie-consent__inner {
    grid-template-columns: 1fr;     /* Icon oben, Text darunter */
    gap: 0.75rem;
    padding: 1rem 1.1rem 1.2rem;
    border-radius: 16px;
  }

  /* Icon zentrieren */
  .cookie-consent__icon {
    margin: 0 auto 0.25rem auto;
    width: 48px;
    height: 48px;
  }

  .cookie-consent__icon svg {
    width: 32px;
    height: 32px;
  }

  /* Überschrift */
  .cookie-consent__content h2 {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 0.35rem;
    line-height: 1.35;
  }

  /* Text */
  .cookie-consent__content p {
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 0.8rem;
  }

  /* Buttons */
  .cookie-consent__buttons {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    width: 100%;
  }

  .cookie-consent__buttons button {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    border-radius: 14px;
  }

}

.cc-btn {
  border-radius: 999px;
  border: none;
  font-size: 0.9rem;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.cc-btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 9px 20px rgba(var(--accent-rgb), 0.35);
}
.cc-btn--primary:hover { background: #d4944a; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(var(--accent-rgb), 0.45); }
.cc-btn--secondary { background: var(--bg-soft); color: var(--text); }
.cc-btn--secondary:hover { background: rgba(var(--accent-rgb), 0.12); }
.cc-btn--ghost { background: transparent; border: 1px solid rgba(0,0,0,0.08); color: var(--text); }
.cc-btn--ghost:hover { background: rgba(var(--accent-rgb), 0.08); }

@media (max-width: 640px) {
  .cookie-consent { inset: auto 0 1rem 0; padding: 0 0.8rem; }
  .cookie-consent__inner {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    max-width: min(560px, 96vw);
    margin: 0 auto;
  }
  .cookie-consent__icon { width: 46px; height: 46px; }
  .cookie-consent__icon svg { width: 32px; height: 32px; }
  .cookie-consent__content h2 { font-size: 1rem; }
  .cookie-consent__content p { font-size: 0.9rem; }
  .cookie-consent__buttons {
    justify-content: flex-start;
    width: 100%;
  }
  .cc-btn { width: auto; flex: 0 0 auto; }
}

.cookie-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.cookie-modal.is-visible { display: flex; }
.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.cookie-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(600px, 94vw);
  max-height: 90vh;
  background: var(--bg-elevated);
  color: var(--text);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cookie-modal__header,
.cookie-modal__footer {
  padding: 1rem 1.4rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.cookie-modal__footer {
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: none;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}
.cookie-modal__body {
  padding: 1rem 1.4rem 1.2rem;
  overflow-y: auto;
}
.cookie-modal__header h2 { margin: 0; font-size: 1.1rem; }
.cookie-modal__body > p { margin-top: 0; margin-bottom: 1rem; font-size: 0.95rem; }
.cookie-modal__close {
  border: none;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cookie-category {
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 0.8rem 0.9rem;
  margin-bottom: 0.7rem;
  background: #faf5ee;
}
.cookie-category--locked { background: #f1ebe4; }
.cookie-category__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.cookie-category__head strong { font-size: 0.95rem; }
.cookie-category__head p { margin: 0.15rem 0 0; font-size: 0.85rem; }
.cookie-modal__hint {
  font-size: 0.8rem;
  color: #6a625b;
  margin-top: 0.8rem;
}

.cookie-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.cookie-switch input { display: none; }
.cookie-switch__slider {
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: #ccc;
  position: relative;
  transition: background 0.25s ease;
}
.cookie-switch__slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  top: 2px;
  left: 2px;
  transition: transform 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.cookie-switch input:checked + .cookie-switch__slider { background: #ff8c42; }
.cookie-switch input:checked + .cookie-switch__slider::before { transform: translateX(18px); }
.cookie-switch--locked {
  font-size: 0.8rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: #d6cbbd;
}

.cookie-reopen {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 9999;
  border-radius: 999px;
  border: none;
  padding: 0.5rem 0.9rem;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.cookie-reopen:hover { transform: translateY(-1px); }
.cookie-reopen.is-hidden { opacity: 0; pointer-events: none; }

.section-404 {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: linear-gradient(180deg, #f8f7f3 0%, #ffffff 100%);
}

.notfound-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: #ffffff;
  border-radius: 24px;
  padding: 2.6rem 2.4rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.08);
}

.section-404 h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4vw, 2.8rem);
}

.section-404 .lead {
  margin-bottom: 1.6rem;
  color: var(--muted);
}

.notfound-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .project-spinner::before,
  .project-spinner::after {
    display: none;
  }
  .spinner-track {
    flex-direction: column;
    animation: none;
    transform: none;
    width: 100%;
  }
  .spinner-track .project-card {
    flex: 1 1 auto;
    width: 100%;
  }
  .spinner-track .project-card.is-duplicate {
    display: none;
  }
  .spinner-track {
    gap: 1rem;
  }
}

/* FAQ */

.section-faq {
  background: transparent;
}

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

.faq-item {
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.10), rgba(255,255,255,0.92));
  border: 1px solid rgba(var(--accent-rgb), 0.10);
  box-shadow: 0 10px 26px rgba(var(--accent-rgb), 0.035);
}

.faq-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 1rem 1.2rem;
  cursor: pointer;
  color: var(--text);
  gap: 0.8rem;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.2s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-icon::before {
  width: 12px;
  height: 2px;
}

.faq-icon::after {
  height: 12px;
  width: 2px;
}

.faq-item.open .faq-icon::after {
  opacity: 0;
}

.faq-item.open .faq-icon::before {
  transform: rotate(180deg);
}

.faq-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* FAQ Accordion (plus zum öffnen) */
/* FAQ: Flexbox statt Grid → jede Karte behält eigene Höhe */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.faq-item {
  flex: 1 1 calc(50% - 1.1rem);
  align-self: flex-start; /* verhindert, dass Karten die gleiche Höhe erzwingen */
}

/* Mobile Geräte → einspaltig */
@media (max-width: 720px) {
  .faq-item {
    flex-basis: 100%;
  }
}

.faq-item {
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.06), rgba(255,255,255,0.96));
  border: 1px solid rgba(var(--accent-rgb), 0.10);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(var(--accent-rgb), 0.03);
}
.faq-question:focus-visible {
  outline: none;
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.06);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.2rem;
  color: var(--muted);
  transition: max-height 320ms cubic-bezier(.2,.9,.2,1), padding 220ms ease;
}
.faq-item.open .faq-answer {
  padding: 0 1.2rem 1rem;
  max-height: 520px; /* enough for multi-line answers */
}


/* Reduced motion: disable non-essential animations for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  html, body { scroll-behavior: auto; }
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-media img { transition: none !important; }
}

/* Kontakt */

.section-contact {
  padding-bottom: 4rem;
  background: var(--bg-soft); /* leicht grauer Hintergrund, hebt den Abschnitt ab */
}

.contact-info {
  padding: 1.8rem 2rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 18px 35px rgba(20,18,14,0.05);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  font-size: 0.95rem;
}

.contact-intro {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-list li + li {
  margin-top: 0.3rem;
}

.contact-list a {
  text-decoration: underline;
  text-decoration-color: rgba(175, 151, 120, 0.6);
}

.contact-form {
  padding: 1.8rem 1.9rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.03), rgba(255,255,255,0.96));
  border: 1px solid rgba(var(--accent-rgb), 0.05);
  box-shadow: 0 12px 30px rgba(20,18,14,0.04);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
}

.contact-form input,
.contact-form textarea {
  border-radius: 999px;
  border: 1px solid rgba(175,151,120,0.12);
  padding: 0.7rem 1rem;
  background: #fffefc;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
}

.contact-form textarea {
  border-radius: 14px;
  resize: vertical;
  min-height: 140px;
}


.consent-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.4;
}

.consent-check input[type="checkbox"] {
  margin-top: 0;
  accent-color: var(--accent);
}

/* When used inside the contact form, ensure the consent label lays out horizontally
   and override the generic .contact-form label which sets column direction. */
.contact-form .consent-check {
  flex-direction: row;
  align-items: center;
}

.consent-check a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(120, 116, 110, 0.45);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(175,151,120,0.95);
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.09);
}

/* Card hover lift */
.card:hover,
.cards-grid--cases .card:hover,
.faq-item:hover,
.step:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(20,18,14,0.10);
}

/* Reveal on scroll helper */
.reveal {
  opacity: 0;
  transform: translateY(14px) scale(0.995);
  transition: opacity 520ms cubic-bezier(.2,.9,.2,1), transform 520ms cubic-bezier(.2,.9,.2,1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.flow-item.reveal {
  transform: translate3d(0, 60px, 0);
  transition-duration: 720ms;
  transition-timing-function: cubic-bezier(.19,.86,.24,1);
}
.flow-item.is-left.reveal {
  transform: translate3d(-80px, 50px, 0);
}
.flow-item.is-right.reveal {
  transform: translate3d(80px, 50px, 0);
}
.flow-item.reveal.is-visible {
  transform: none;
}

/* Small micro-animations for buttons and nav */
.btn,
.main-nav a {
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 160ms ease;
}
.btn:focus,
.main-nav a:focus {
  outline: none;
  transform: translateY(-2px);
}

.contact-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.section-legal {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: #f8f7f3;
}

.legal-inner {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.legal-inner h1 {
  margin: 0 0 1rem;
}

.legal-block {
  padding: 1.5rem 1.6rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 16px 40px rgba(12,12,12,0.05);
}

.legal-block h2,
.legal-block h3 {
  margin-top: 0;
}

.legal-block ul {
  padding-left: 1.1rem;
  margin: 0.7rem 0 0;
}

.legal-block a {
  color: var(--accent);
}

/* Contact form message / status */
.form-message {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  color: var(--muted);
  min-height: 1.2rem;
}
.form-message.success { color: #155724; background: rgba(21,87,36,0.06); padding: 0.5rem 0.75rem; border-radius: 8px; border: 1px solid rgba(21,87,36,0.08); }
.form-message.error { color: #721c24; background: rgba(114,28,36,0.04); padding: 0.5rem 0.75rem; border-radius: 8px; border: 1px solid rgba(114,28,36,0.06); }

.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Footer */

.site-footer {
  padding: 1.5rem 0;
  background: radial-gradient(circle at top left, rgba(176,122,58,0.15), transparent 45%), #b07a3a;
  color: #f8f5ef;
  position: relative;
  overflow: hidden;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(255,255,255,0.06), transparent 45%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  align-items: flex-start;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.footer-column--logo {
  display: flex;
  align-items: center;
}

.footer-logo-large {
  max-width: 220px;
  width: 100%;
  height: auto;
  filter: brightness(1.1);
}

.footer-column h4 {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
}

.footer-column li {
  line-height: 1.4;
}

.footer-address {
  white-space: nowrap;
}

.footer-column a {
  color: inherit;
  text-decoration: none;
  position: relative;
}

.footer-column a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: rgba(255,255,255,0.6);
  transition: width 0.2s ease;
}

.footer-column a:hover::after {
  width: 100%;
}

.subfooter {
  background: #3f3f3f;
  padding: 0.9rem 0;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

.subfooter-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 960px) {
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-footer { padding: 1.25rem 0 1.5rem; }
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "logo logo"
      "pages legal"
      "contact contact";
    gap: 1.1rem 1.2rem;
    justify-items: center;
  }
  .footer-inner > .footer-column:nth-child(1) {
    grid-area: logo;
    justify-content: center;
    text-align: center;
  }
  .footer-inner > .footer-column:nth-child(2) { grid-area: pages; }
  .footer-inner > .footer-column:nth-child(3) { grid-area: legal; }
  .footer-inner > .footer-column:nth-child(4) {
    grid-area: contact;
    text-align: center;
  }
  .footer-inner > .footer-column:nth-child(4) ul {
    align-items: center;
  }
  .footer-address { white-space: normal; }
  .footer-column ul { gap: 0.35rem; }
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-media {
    justify-content: flex-start;
  }
  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding-inline: 0.9rem;
    gap: 0.5rem;
    position: relative;
  }
  .main-nav {
    position: absolute;
    left: 50%;
    right: auto;
    top: calc(100% + 10px);
    padding: 1rem 1.05rem 1.2rem;
    border-radius: 18px;
    background: rgba(3, 3, 6, 0.98);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 24px 55px rgba(5,5,8,0.65);
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -6px);
    transition: opacity 0.14s ease-out, transform 0.14s ease-out;
    width: min(220px, calc(100% - 2.2rem));
    text-align: center;
    color: #ffffff;
    z-index: 7;
  }
  .main-nav a {
    color: #f7f7fb;
    opacity: 0.92;
    text-shadow: 0 0 6px rgba(0,0,0,0.35);
  }
  .main-nav a:hover,
  .main-nav a:focus-visible {
    opacity: 1;
    color: #ffffff;
  }
  .main-nav.nav-open {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, 0);
  }
  .main-nav .btn-small {
    width: 100%;
    justify-content: center;
    text-align: center;
    margin-top: 0.3rem;
  }
  .nav-toggle {
    display: inline-flex;
    margin-left: 0;
    z-index: 6;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 4rem;
  }
  .section {
    padding: 3.5rem 0;
  }
  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .top-banner {
    display: none;
  }
  .banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .banner-contact {
    width: 100%;
    justify-content: flex-start;
    gap: 0.8rem;
  }
  .about-profile {
    flex-direction: column;
    align-items: flex-start;
  }
  .about-profile img {
    width: 100%;
    max-width: 320px;
    height: auto;
  }
}

@media (max-width: 1100px) {
  .about-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .about-photo {
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  .brand img {
    max-width: 160px;
    height: auto;
  }
  .header-inner > .btn.btn-small {
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  .header-inner > .btn.btn-small {
    position: static;
    transform: none;
    width: auto;
    max-width: none;
    margin-left: 0.75rem;
    font-size: 0.72rem;
    padding: 0.36rem 0.95rem;
    border-radius: 999px;
    z-index: 5;
    order: 3;
  }
  .nav-toggle { order: 2; }
  .brand { order: 1; }
}

@media (max-width: 1100px) {
  .section-services .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow-item {
    width: 100%;
    padding: 3.2rem 0 2rem 56px;
  }
  .flow-item.is-right {
    margin-left: 0;
  }
}

@media (max-width: 900px) {
  .section-services .cards-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: 1.8rem 1.6rem 0;
  }
  .service-addon {
    margin: 1.25rem -1.6rem 0;
    padding: 1.25rem 1.6rem 1.8rem;
  }
  .service-card .card-icon {
    width: 52px;
    height: 52px;
  }
  .project-spinner-wrap {
    padding-inline: 0.5rem;
  }
}

@media (max-width: 720px) {
  .section-services .cards-grid {
    grid-template-columns: 1fr;
  }
  .service-addon {
    margin: 1.2rem -1.4rem 0;
    padding: 1.25rem 1.4rem 1.6rem;
  }
  .flow-item {
    padding: 2.4rem 0 1.4rem 48px;
  }
  .flow-card {
    padding: 1.5rem;
  }
}
.trust-logos {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.trust-logo {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.05);
  font-size: 0.85rem;
  color: var(--muted);
  border: 1px solid rgba(0,0,0,0.05);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

/* Karten-Basis */
.testimonial-card {
  padding: 1.6rem 1.8rem 1.8rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    180deg,
    rgba(var(--accent-rgb), 0.08),
    rgba(255,255,255,0.96)
  );
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  box-shadow: 0 16px 38px rgba(15,15,15,0.05);

  display: flex;
  flex-direction: column;

  position: relative;
  overflow: hidden;
  transition:
    transform 180ms ease-out,
    box-shadow 180ms ease-out,
    border-color 180ms ease-out,
    background 180ms ease-out;
}

/* Zitat-Icon oben links */
.testimonial-card::before {
  content: "„";
  position: absolute;
  top: 1rem;
  right: 1.4rem;
  font-size: 3rem;
  line-height: 1;
  color: rgba(var(--accent-rgb), 0.12);
  pointer-events: none;
}

/* Hover-Effekt */
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(15,15,15,0.09);
  border-color: rgba(var(--accent-rgb), 0.24);
  background: linear-gradient(
    180deg,
    rgba(var(--accent-rgb), 0.10),
    rgba(255,255,255,0.98)
  );
}

/* Inhalt */
.testimonial-card .quote {
  font-style: italic;
  margin: 0 0 1.2rem;
  color: var(--text);
}

.testimonial-card .author {
  margin-top: auto; /* Namen alle auf einer Höhe */
}

.testimonial-card .author strong {
  display: block;
}

.testimonial-card .author span {
  font-size: 0.9rem;
  color: var(--muted);
}


.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.75);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 50;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
