:root {
  --hero-surface: #f3f5f9;
  --hero-caption: #ffffff;
}
.hero {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 36px 0 54px;
  background: var(--white);
}
.hero-grid {
  grid-template-columns: 1fr 1.08fr;
  gap: 62px;
  align-items: center;
}
.hero-copy {
  padding: 20px 0;
}
.hero h1 {
  font-size: clamp(55px, 5.6vw, 80px);
  line-height: 1.07;
  letter-spacing: -0.065em;
  color: var(--ink);
  margin-top: 26px;
}
.hero h1 span {
  color: var(--blue);
}
.hero .eyebrow {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.11em;
}
.hero .eyebrow::before {
  background: var(--blue);
  box-shadow: none;
}
.hero-description {
  color: var(--muted);
  max-width: 400px;
  font-size: 16px;
  line-height: 1.8;
  margin-top: 26px;
}
.hero-actions {
  margin-top: 30px;
  gap: 22px;
  flex-wrap: wrap;
}
.hero .text-link {
  color: var(--ink);
}
.hero-note {
  color: var(--muted);
  font-size: 11px;
  margin-top: 19px;
}
.hero-note svg {
  color: var(--blue);
}
.bern-scene {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-width: 0;
  height: clamp(490px, 43vw, 620px);
  margin: 0;
  border-radius: 18px;
  background: var(--hero-surface);
  transform: translateZ(0);
}
.bern-scene::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(15, 30, 41, 0.65));
  pointer-events: none;
}
.bern-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
  animation: bern-breathe 28s ease-in-out infinite alternate;
  animation-play-state: paused;
  transform-origin: 48% 48%;
}
.bern-scene.is-playing .bern-photo {
  animation-play-state: running;
}
@keyframes bern-breathe {
  from {
    transform: scale(1.015);
  }
  to {
    transform: scale(1.075) translate3d(-0.5%, 0.4%, 0);
  }
}
.bern-scene-caption {
  position: absolute;
  bottom: 29px;
  left: 28px;
  right: 80px;
  z-index: 1;
  color: var(--hero-caption);
  display: flex;
  align-items: center;
  gap: 11px;
}
.bern-scene-caption svg {
  width: 19px;
  height: 19px;
}
.bern-scene-caption strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.2px;
}
.bern-scene-caption span {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 2px;
}
.motion-toggle {
  position: absolute;
  z-index: 2;
  right: 25px;
  bottom: 26px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(20, 35, 50, 0.14);
  color: #fff;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}
.motion-toggle:hover {
  background: rgba(20, 35, 50, 0.45);
}
.motion-toggle:focus-visible {
  outline: 2px solid white;
}
.motion-toggle svg {
  width: 15px;
  height: 15px;
}
.motion-toggle .motion-play {
  display: none;
}
.motion-toggle[aria-pressed="true"] .motion-pause {
  display: none;
}
.motion-toggle[aria-pressed="true"] .motion-play {
  display: block;
}
.site-header,
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  border-color: transparent;
  box-shadow: none;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
}
.site-header .brand {
  color: var(--ink);
}
.site-header .brand-mark {
  fill: var(--blue);
}
.site-header .site-nav > a:not(.button) {
  color: var(--muted);
}
.site-header .site-nav > a:not(.button):hover,
.site-header .site-nav > a[aria-current="true"]:not(.button) {
  color: var(--blue);
}
.site-header .site-nav > .button-dark {
  color: var(--white);
  background: var(--ink);
}
.site-header .site-nav > .button-dark:hover {
  background: #283b63;
}
.site-header .menu-toggle {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}
.site-nav > a[aria-current="true"]:not(.button) {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
.trust-strip {
  background: var(--white);
  border-top: 0;
}
.trust-inner {
  border-top: 1px solid var(--line);
  padding-block: 25px;
}
.button-primary::before,
.button-dark::before {
  display: none;
}
.button,
.button-primary,
.button-dark,
.button-light {
  box-shadow: none;
}
.button:hover:not(:disabled):not(.is-loading):not([aria-disabled="true"]) {
  transform: translateY(-1px);
  box-shadow: none;
}
.price-card:hover {
  transform: none;
}
.work-visual:hover .work-preview {
  transform: translateY(-4px);
}
@media (min-width: 1500px) {
  .hero {
    padding-block: 48px 64px;
  }
}
@media (max-width: 1100px) {
  .hero-grid {
    gap: 35px;
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 62px;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-actions {
    gap: 18px;
  }
  .bern-scene {
    height: 540px;
  }
}
@media (max-width: 820px) {
  .hero {
    padding-top: 24px;
    padding-bottom: 38px;
  }
  .hero-grid {
    gap: 28px;
    grid-template-columns: 1fr 0.92fr;
  }
  .hero h1 {
    font-size: 50px;
  }
  .hero-description {
    font-size: 14px;
    margin-top: 23px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }
  .hero-actions .button {
    font-size: 12px;
  }
  .hero-actions .text-link {
    font-size: 12px;
  }
  .bern-scene {
    height: 500px;
    border-radius: 13px;
  }
  .bern-scene-caption {
    left: 19px;
    bottom: 22px;
    right: 65px;
    gap: 8px;
  }
  .bern-scene-caption strong {
    font-size: 12px;
  }
  .bern-scene-caption span {
    font-size: 9px;
  }
  .motion-toggle {
    right: 17px;
    bottom: 20px;
    width: 36px;
    height: 36px;
  }
}
@media (max-width: 640px) {
  .hero {
    padding-top: 24px;
    padding-bottom: 28px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-copy {
    padding: 7px 0 0;
  }
  .hero h1 {
    font-size: clamp(49px, 12.4vw, 73px);
    margin-top: 21px;
  }
  .hero .eyebrow {
    font-size: 10px;
  }
  .hero-description {
    font-size: 15px;
    max-width: 420px;
    margin-top: 21px;
  }
  .hero-actions {
    flex-wrap: wrap;
    gap: 12px 22px;
  }
  .hero-actions .button {
    min-height: 50px;
    font-size: 12px;
  }
  .hero-note {
    font-size: 10px;
    margin-top: 14px;
  }
  .bern-scene {
    height: 350px;
  }
  .bern-photo {
    object-position: 50% 55%;
  }
  .bern-scene-caption strong {
    font-size: 13px;
  }
  .bern-scene-caption span {
    font-size: 10px;
  }
  .trust-inner {
    grid-template-columns: 1fr;
    gap: 13px;
    padding-block: 21px;
  }
}
@media (max-width: 370px) {
  .hero h1 {
    font-size: 46px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .hero-actions {
    gap: 11px;
  }
  .hero-actions .button {
    padding-inline: 12px;
    font-size: 11px;
  }
  .hero-actions .text-link {
    font-size: 11px;
  }
  .bern-scene {
    height: 295px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bern-photo {
    animation: none;
    transform: none;
  }
  .motion-toggle {
    display: none;
  }
}
@media print {
  .bern-scene,
  .to-top {
    display: none !important;
  }
  .hero-grid {
    display: block;
  }
}
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 25;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 16px 34px -16px rgba(23, 36, 65, 0.55);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.to-top svg {
  width: 20px;
  height: 20px;
  transform: rotate(-90deg);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

body.dialog-open .to-top,
body.menu-open .to-top {
  opacity: 0;
  visibility: hidden;
}

/* ---------------------------------------------------- Direktkontakt */

.contact-direct {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-direct a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.contact-direct a:hover {
  color: #cfd9ff;
  border-color: #cfd9ff;
}

.contact-direct svg {
  width: 17px;
  height: 17px;
}

.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: inherit;
  border-bottom: 1px solid transparent;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.footer-mail svg {
  width: 15px;
  height: 15px;
}

.footer-mail:hover {
  color: var(--blue);
  border-color: currentColor;
}

@media (max-width: 640px) {
  .to-top {
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
  }
  .contact-direct {
    font-size: 13px;
  }
}

.reveal-ready [data-reveal] {
  transform: translateY(12px);
  transition-duration: 500ms;
}
.reveal-ready [data-reveal].is-visible {
  transform: none;
  will-change: auto;
}
.price-card:hover,
.price-card.featured:hover {
  box-shadow: none;
}
.dialog-close:hover svg {
  transform: none;
}

.motion-toggle {
  min-width: 44px;
  min-height: 44px;
}
