:root {
  --color-bg: #f7f1e8;
  --color-surface: #fffaf2;
  --color-text: #241a12;
  --color-muted: #75685d;
  --color-primary: #7a4a24;
  --color-primary-dark: #4a2c16;
  --color-accent: #c89b63;
  --color-border: rgba(36, 26, 18, 0.14);
  --shadow-soft: 0 24px 80px rgba(36, 26, 18, 0.14);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

body::selection {
  background: var(--color-accent);
  color: var(--color-text);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(247, 241, 232, 0.74);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 8px 28px rgba(36, 26, 18, 0.08);
  backdrop-filter: blur(14px) saturate(1.18);
  -webkit-backdrop-filter: blur(14px) saturate(1.18);
}


.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  justify-self: start;
}

.logo__mark {
  display: inline-grid;
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  place-items: center;
  color: var(--color-primary);
}

.logo__mark svg {
  display: block;
  width: 2.85rem;
  height: auto;
  max-height: 2.85rem;
}

/* Für normale SVG-Flächen */
.logo__mark svg path,
.logo__mark svg rect,
.logo__mark svg circle,
.logo__mark svg polygon {
  fill: currentColor;
}

/* Für SVGs mit Linien */
.logo__mark svg [stroke] {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.logo__text {
  display: grid;
}

.logo__text span {
  color: var(--color-muted);
  font-size: 0.86rem;
}

.logo__text strong {
  color: var(--color-text);
  font-size: 1.42rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 1.5rem;
  color: var(--color-muted);
  font-weight: 650;
  font-size: 0.95rem;
}

.main-nav a {
  display: inline-block;
  transform-origin: center;
  transition:
    transform 180ms ease,
    color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  transform: scaleX(1.04);
  color: var(--color-text);
}

.header-phone{
  justify-self: end;
}


.mobile-menu {
  display: none;
}
.mobile-call {
  display: none;
}

.header-phone,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  transform-origin: center;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}


.header-phone,
.button--primary {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 12px 30px rgba(122, 74, 36, 0.25);
}

.header-phone:hover,
.header-phone:focus-visible,
.button--primary:hover,
.button--primary:focus-visible {
  background: var(--color-primary-dark);
  transform: translateY(-2px) scaleX(1.015);
}

.button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px) scaleX(1.015);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: end;
  gap: 2rem;
  min-height: 78vh;
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem);
  overflow: hidden;
  color: white;
  background: #241a12;
}


.hero__picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__picture img,
.hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 56%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
  linear-gradient(
      90deg,
      rgba(36, 26, 18, 0.88) 0%,
      rgba(36, 26, 18, 0.78) 28%,
      rgba(36, 26, 18, 0.44) 58%,
      rgba(36, 26, 18, 0.16) 100%
    ),
    linear-gradient(
      0deg,
      rgba(36, 26, 18, 0.22),
      rgba(36, 26, 18, 0.04)
    );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 10rem;
  background: linear-gradient(0deg, rgba(247, 241, 232, 1), transparent);
  pointer-events: none;
}

.hero__content,
.hero__card {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 850px;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.section--dark .eyebrow {
  color: var(--color-accent);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.1rem, 5vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero__text {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}
.hero h1 {
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.hero__text {
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.24);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* Direktkontakt-Karte */
.hero__card {
  max-width: 420px;
  margin-top: 2.75rem;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.35rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.13),
    rgba(255, 255, 255, 0.06)
  );
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.hero__card-label {
  display: block;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__phone {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.05rem;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transform-origin: left center;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.hero__phone::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 50%, rgba(200, 155, 99, 0.22), transparent 38%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.hero__phone-icon {
  position: relative;
  z-index: 1;
  display: inline-grid;
  flex: 0 0 auto;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(200, 155, 99, 0.16);
  color: var(--color-accent);
  transition:
    transform 220ms ease,
    background-color 220ms ease;
}

.hero__phone-icon svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.hero__phone-text {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
}

.hero__phone-small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 750;
}

.hero__phone-number {
  display: inline-block;
  color: white;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -0.045em;
  transform-origin: left center;
  transition:
    transform 220ms ease,
    color 220ms ease;
}

.hero__phone:hover,
.hero__phone:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(200, 155, 99, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.hero__phone:hover::before,
.hero__phone:focus-visible::before {
  opacity: 1;
}

.hero__phone:hover .hero__phone-icon,
.hero__phone:focus-visible .hero__phone-icon {
  transform: rotate(-7deg) scale(1.06);
  background: rgba(200, 155, 99, 0.24);
}

.hero__phone:hover .hero__phone-number,
.hero__phone:focus-visible .hero__phone-number {
  transform: scaleX(1.025);
  color: var(--color-accent);
}

.hero__card-address {
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 700;
}

/* Trust-Bar */
.trust-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: var(--max-width);
  margin: -2.6rem auto 0;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.trust-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 4.8rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--color-border);
  border-right: 0;
  background: rgba(255, 250, 242, 0.94);
  box-shadow: 0 18px 50px rgba(36, 26, 18, 0.1);
  overflow: hidden;
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.trust-item:first-child {
  border-radius: 1.15rem 0 0 1.15rem;
}

.trust-item:last-child {
  border-right: 1px solid var(--color-border);
  border-radius: 0 1.15rem 1.15rem 0;
}


.trust-item strong,
.trust-item span {
  transition:
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    color 220ms ease;
}
/* Glanz-Schein */
.trust-item::after {
  content: "";
  position: absolute;
  inset: -40% -35%;
  z-index: 2;
  background:
    linear-gradient(
      115deg,
      transparent 0%,
      transparent 43%,
      rgba(200, 155, 99, 0.04) 47%,
      rgba(255, 255, 255, 0.44) 50%,
      rgba(122, 74, 36, 0.045) 53%,
      transparent 58%,
      transparent 100%
    );
  opacity: 0;
  transform: translateX(-48%);
  transition:
    opacity 260ms ease,
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.trust-icon,
.trust-item > div {
  position: relative;
  z-index: 3;
}

.trust-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.65rem;
  color: var(--color-primary);
  background: transparent;
  border: 0;
}

.trust-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-item strong {
  display: block;
  color: var(--color-text);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.trust-item span {
  display: block;
  margin-top: 0.15rem;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.25;
}

@media (hover: hover) and (pointer: fine) {
  .trust-item:hover {
    border-color: rgba(122, 74, 36, 0.38);
    background: rgba(255, 250, 242, 1);
    box-shadow: 0 20px 58px rgba(36, 26, 18, 0.13);
  }

  .trust-item:hover + .trust-item {
    border-left-color: rgba(122, 74, 36, 0.22);
  }

  .trust-item:hover::after {
    opacity: 1;
    transform: translateX(0);
  }

  .trust-item:hover strong,
  .trust-item:hover span {
    transform: translateX(3px);
  }

  .trust-item:hover strong {
    color: var(--color-primary-dark);
  }

  .trust-item:hover span {
    color: #66584d;
  }
}

.section,
.split-section,
.cta-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 3vw, 2rem);
}

.section__intro {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section__intro p:not(.eyebrow),
.split-section__text,
.cta-section p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

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

.service-card {
  position: relative;
  display: flex;
  min-height: 380px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  background: var(--color-surface);
  overflow: hidden;
  isolation: isolate;
  transform: translateY(0);
  transition:
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 220ms ease;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(122, 74, 36, 0.34);
  box-shadow: 0 34px 94px rgba(36, 26, 18, 0.17);
}

.service-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-bg);
}

.service-card__cutout {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  opacity: 0;

  /* Start: Fläche liegt unten außerhalb, mit schräger Kante */
  clip-path: polygon(
    0 118%,
    100% 96%,
    100% 118%,
    0 118%
  );

  transform: scale(1.01);
  transition:
    opacity 160ms ease,
    clip-path 680ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.service-card__cutout > rect {
  fill: rgba(36, 26, 18, 0.78);
}

.service-card__cutout text {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 112px;
  font-weight: 950;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.service-card:hover .service-card__cutout,
.service-card:focus-visible .service-card__cutout {
  opacity: 1;

  /* Ende: komplett oben, aber die Schräge war währenddessen sichtbar */
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    0 100%
  );

  transform: scale(1);
}


.service-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.service-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__media img {
  object-fit: cover;
  transform: scale(1.02);
  transition:
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 260ms ease;
}

/* Warmer Bild-Overlay */
.service-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      0deg,
      rgba(36, 26, 18, 0.58) 0%,
      rgba(36, 26, 18, 0.18) 52%,
      rgba(36, 26, 18, 0.04) 100%
    ),
    radial-gradient(
      circle at 78% 18%,
      rgba(200, 155, 99, 0.26),
      transparent 36%
    );
  opacity: 0.46;
  transition: opacity 320ms ease;
  pointer-events: none;
}

/* Moderner Reveal-Sweep */
.service-card__media::after {
  content: none;
}

.service-card:hover .service-card__media img,
.service-card:focus-visible .service-card__media img {
  transform: scale(1.095);
}

.service-card:hover .service-card__media::before,
.service-card:focus-visible .service-card__media::before {
  opacity: 0;
}

.service-card:hover .service-card__media::after,
.service-card:focus-visible .service-card__media::after {
  opacity: 1;
  transform: translateX(55%);
}

.service-card__body {
  position: relative;
  display: flex;
  min-height: 225px;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.35rem;
  background: var(--color-surface);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Kleine moderne Akzentfläche im Textbereich */
.service-card__body::before {
  content: "";
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(122, 74, 36, 0.38),
    rgba(200, 155, 99, 0.12),
    transparent
  );
  opacity: 0.45;
  pointer-events: none;
}

.service-card:hover .service-card__body,
.service-card:focus-visible .service-card__body {
  transform: translateY(-4px);
}

.service-card p {
  color: var(--color-muted);
  transition:
    color 220ms ease,
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover p,
.service-card:focus-visible p {
  color: #5f5147;
  transform: translateY(-2px);
}

.service-card span {
  margin-top: 2rem;
  color: var(--color-primary);
  font-weight: 850;
}

.premium-card h3 {
  display: inline-block;
  transform-origin: left center;
  transition:
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    color 220ms ease,
    letter-spacing 220ms ease;
}

.premium-card:hover h3,
.premium-card:focus-visible h3 {
  transform: translateX(3px) scaleX(1.035);
  color: var(--color-primary);
  letter-spacing: -0.018em;
}

.service-card__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 0.45rem;
  transform-origin: left center;
  transition:
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    color 220ms ease;
}

.service-card__link::after {
  content: "";
  width: 1.35rem;
  height: 2px;
  background: currentColor;
  opacity: 0.45;
  transform: scaleX(0.42);
  transform-origin: left center;
  transition:
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 220ms ease;
}

.premium-card:hover .service-card__link,
.premium-card:focus-visible .service-card__link {
  transform: translateX(5px);
  color: var(--color-primary-dark);
}

.premium-card:hover .service-card__link::after,
.premium-card:focus-visible .service-card__link::after {
  opacity: 0.9;
  transform: scaleX(1);
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--color-primary);
  font-weight: 850;
  transform-origin: left center;
  transition:
    transform 180ms ease,
    color 180ms ease;
}

.premium-text-link:hover,
.premium-text-link:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  transform: scaleX(1.04);
  color: var(--color-primary-dark);
}

.section--dark {
  max-width: none;
  background: var(--color-text);
  color: white;
}

.section--dark > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.section--dark .section__intro p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-width);
  gap: 1rem;
}


.process-grid > div {
  position: relative;
  padding: 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.055);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.process-grid > div:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 155, 99, 0.32);
  background-color: rgba(255, 255, 255, 0.075);
}

.process-topline {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.process-icon {
  display: inline-grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.75rem;
  color: var(--color-accent);
  background: rgba(200, 155, 99, 0.1);
  border: 1px solid rgba(200, 155, 99, 0.18);
}

.process-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-number {
  margin: 0;
  color: var(--color-accent);
  font-weight: 900;
}

.process-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.cta-section {
  text-align: center;
}

.cta-section h2 {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .hero__actions {
  justify-content: center;
}

.cta-section .button--secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
  box-shadow: none;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 0.35rem;
  color: var(--color-muted);
}

.site-footer a:hover {
  color: var(--color-text);
}

/* Unterseiten */
.page-hero {
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 80% 20%, rgba(200, 155, 99, 0.28), transparent 34%),
    linear-gradient(135deg, #4a2c16, #241a12);
  color: white;
}

.page-hero h1 {
  max-width: 960px;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.2rem;
}

.content-section {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 3vw, 2rem);
}

.content-section h2 {
  margin-top: 3rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.content-section p,
.content-section li {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.nice-list {
  padding-left: 1.25rem;
}

.nice-list li {
  margin-bottom: 0.75rem;
}

.info-box {
  margin-top: 3rem;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

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

.project-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  background: var(--color-surface);
}

.project-card div:last-child {
  padding: 1.35rem;
}

.project-placeholder {
  display: grid;
  min-height: 260px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(122, 74, 36, 0.12), rgba(200, 155, 99, 0.22)),
    var(--color-bg);
  color: var(--color-muted);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 3vw, 2rem);
}

.contact-card,
.contact-form {
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.contact-item {
  margin-top: 1.5rem;
}

.contact-item span {
  display: block;
  color: var(--color-muted);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-item a,
.contact-item p {
  color: var(--color-text);
  font-size: 1.15rem;
  font-weight: 750;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--color-muted);
  font-weight: 750;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: white;
  color: var(--color-text);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(200, 155, 99, 0.35);
  border-color: var(--color-primary);
}

.form-note {
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* Tastatur-Fokus sichtbar halten */
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(200, 155, 99, 0.55);
  outline-offset: 4px;
}

/* First-Load-Animation */
@media (prefers-reduced-motion: no-preference) {
  .hero h1,
  .hero__text {
    opacity: 0;
    transform: translateY(8px);
    animation: enterSoft 380ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .hero h1 {
    animation-delay: 60ms;
  }

  .hero__text {
    animation-delay: 110ms;
  }

  @keyframes enterSoft {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

}
/* Bewegung reduzieren */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .hero__phone:hover,
  .hero__phone:focus-visible,
  .hero__phone:hover .hero__phone-icon,
  .hero__phone:focus-visible .hero__phone-icon,
  .hero__phone:hover .hero__phone-number,
  .hero__phone:focus-visible .hero__phone-number {
    transform: none;
  }
  .mobile-menu[open] .mobile-menu__panel,
  .mobile-menu[open] .mobile-menu__panel nav a,
  .mobile-menu[open] .mobile-menu__phone {
    animation: none;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .project-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: sticky;
    top: 0;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 1rem;
    background: rgba(247, 241, 232, 0.74);
    backdrop-filter: blur(7px) saturate(1.18);
    -webkit-backdrop-filter: blur(7px) saturate(1.18);
    box-shadow: 0 8px 28px rgba(36, 26, 18, 0.08);
  }

  .desktop-nav,
  .desktop-phone {
    display: none;
  }
  .logo {
    justify-self: start;
  }
  .logo__mark {
    width: 2.35rem;
    height: 2.35rem;
  }
  .logo__mark svg {
    width: 2.2rem;
    max-height: 2.2rem;
  }
  .logo__text span {
    font-size: 0.72rem;
  }
  .logo__text strong {
    font-size: 1.1rem;
  }

  .mobile-menu {
    position: relative;
    z-index: 120;
    display: block;
    justify-self: end;
  }

  .mobile-menu summary {
    position: relative;
    z-index: 130;
    display: inline-grid;
    width: 2.55rem;
    height: 2.55rem;
    place-items: center;
    border: 1px solid rgba(122, 74, 36, 0.22);
    border-radius: 999px;
    background: var(--color-primary);
    color: white;
    cursor: pointer;
    list-style: none;
    box-shadow: 0 10px 26px rgba(122, 74, 36, 0.2);
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary:focus-visible {
    outline: 3px solid rgba(200, 155, 99, 0.55);
    outline-offset: 3px;
  }

  .mobile-menu__icon {
    position: relative;
    display: block;
    width: 1.15rem;
    height: 0.9rem;
  }

  .mobile-menu__icon span {
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition:
      transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
      opacity 160ms ease,
      top 220ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    min-height: 2.55rem;
    padding: 0 1rem;
    border-radius: 999px;
    background: var(--color-primary);
    color: white;
    font-size: 0.9rem;
    font-weight: 900;
    box-shadow: 0 10px 26px rgba(122, 74, 36, 0.18);
  }

  .mobile-menu__icon span:nth-child(1) {
    top: 0;
  }

  .mobile-menu__icon span:nth-child(2) {
    top: 0.42rem;
  }

  .mobile-menu__icon span:nth-child(3) {
    top: 0.84rem;
  }

  .mobile-menu[open] .mobile-menu__icon span:nth-child(1) {
    top: 0.42rem;
    transform: rotate(45deg);
  }

  .mobile-menu[open] .mobile-menu__icon span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu[open] .mobile-menu__icon span:nth-child(3) {
    top: 0.42rem;
    transform: rotate(-45deg);
  }

  .mobile-menu__panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: grid;
    align-content: start;
    min-height: 100dvh;
    padding: 8.2rem 1.35rem 2rem;
    background: var(--color-bg);
    overflow: hidden;
  }

  .mobile-menu[open] .mobile-menu__panel {
    animation: mobileMenuReveal 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .mobile-menu__panel nav {
    display: grid;
    gap: 1.05rem;
  }

  .mobile-menu__panel nav a {
    display: block;
    width: fit-content;
    color: var(--color-text);
    font-size: clamp(2.05rem, 8.6vw, 3.65rem);
    font-weight: 925;
    line-height: 1.05;
    letter-spacing: -0.06em;
  }
  .mobile-menu__panel nav a::after {
    content: "";
    display: block;
    width: 2.2rem;
    height: 2px;
    margin-top: 0.35rem;
    background: var(--color-accent);
    opacity: 0;
    transform: scaleX(0.4);
    transform-origin: left;
    transition:
      opacity 180ms ease,
      transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-menu__panel nav a:hover::after,
  .mobile-menu__panel nav a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .mobile-menu__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    width: min(100%, 28rem);
    margin-top: 2.1rem;
    border-radius: 999px;
    background: var(--color-primary);
    color: white;
    font-size: 1.05rem;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(122, 74, 36, 0.2);
  }

  .mobile-menu[open] .mobile-menu__panel nav a,
  .mobile-menu[open] .mobile-menu__phone {
    animation: mobileMenuItem 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .mobile-menu[open] .mobile-menu__panel nav a:nth-child(1) {
    animation-delay: 55ms;
  }

  .mobile-menu[open] .mobile-menu__panel nav a:nth-child(2) {
    animation-delay: 85ms;
  }

  .mobile-menu[open] .mobile-menu__panel nav a:nth-child(3) {
    animation-delay: 115ms;
  }

  .mobile-menu[open] .mobile-menu__panel nav a:nth-child(4) {
    animation-delay: 145ms;
  }

  .mobile-menu[open] .mobile-menu__phone {
    animation-delay: 180ms;
  }

  @keyframes mobileMenuReveal {
    from {
      opacity: 0;
      transform: translateY(-1rem);
      clip-path: inset(0 0 100% 0);
    }

    to {
      opacity: 1;
      transform: translateY(0);
      clip-path: inset(0 0 0 0);
    }
  }

  @keyframes mobileMenuItem {
    from {
      opacity: 0;
      transform: translateY(-0.45rem);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  } 

  .hero {
    min-height: auto;
  }

  .hero__actions {
    gap: 0.8rem;
    margin-top: 1.85rem;
  }

  .trust-bar,
  .service-grid,
  .process-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .button,
  .header-phone {
    width: 100%;
  }
  .hero .hero__actions .button {
    width: 100%;
    min-height: 3.25rem;
    font-size: 0.98rem;
  }

  .hero .hero__actions .button--primary {
    box-shadow: 0 14px 34px rgba(122, 74, 36, 0.26);
  }

  .hero .hero__actions .button--secondary {
    background: rgba(36, 26, 18, 0.18);
    border-color: rgba(255, 255, 255, 0.42);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: none;
  }


  .trust-bar {
    gap: 0.75rem;
  }

  .trust-item,
  .trust-item:first-child,
  .trust-item:last-child {
    border: 1px solid var(--color-border);
    border-radius: 1.15rem;
  }

  .service-card,
  .service-card::before,
  .service-card__media img,
  .service-card__media::after,
  .premium-card h3,
  .service-card__link {
    transition: none !important;
  }

  .service-card:hover,
  .service-card:focus-visible,
  .service-card:hover .service-card__media img,
  .service-card:focus-visible .service-card__media img,
  .premium-card:hover h3,
  .premium-card:focus-visible h3,
  .premium-card:hover .service-card__link,
  .premium-card:focus-visible .service-card__link {
    transform: none !important;
    filter: none !important;
  }

    .service-card,
  .service-card::before,
  .service-card::after,
  .service-card__media img,
  .service-card__media::before,
  .service-card__media::after,
  .premium-card h3,
  .service-card__link,
  .service-card__link::after {
    transition: none !important;
  }

  .service-card:hover,
  .service-card:focus-visible,
  .service-card:hover::after,
  .service-card:focus-visible::after,
  .service-card:hover .service-card__media img,
  .service-card:focus-visible .service-card__media img,
  .premium-card:hover h3,
  .premium-card:focus-visible h3,
  .premium-card:hover .service-card__link,
  .premium-card:focus-visible .service-card__link {
    transform: none !important;
  }

    .service-card__badge {
    transition: none !important;
    transform: none !important;
  }

  .service-card:hover .service-card__badge,
  .service-card:focus-visible .service-card__badge {
    transform: none !important;
  }

  .service-card__cutout {
  transition: none !important;
  transform: none !important;
}

.service-card:hover .service-card__cutout,
.service-card:focus-visible .service-card__cutout {
  transform: none !important;
}

}