/* BESTÄRKT. hero: brand promise first */
.hero-title-brand {
  display: grid;
  gap: 0;
  max-width: 10ch;
  margin: 0 0 30px;
  font-family: var(--serif);
  font-size: clamp(4.2rem, 7.2vw, 7.7rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .88;
}

.hero-title-brand span {
  display: block;
}

.hero-title-brand .hero-title-accent {
  color: var(--terracotta-dark);
  font-style: italic;
}

.hero-copy .hero-text {
  max-width: 44ch;
  margin-bottom: 32px;
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.6;
}

/* Static UI rules that were previously injected by JavaScript. */
.card-index,
.brand-principles-refined article > span,
.about-number,
.about-credentials > div > span,
.contact-promises > div > span,
.process-bottomline .text-link {
  display: none !important;
}

.audience-card-topline,
.about-heading-row {
  justify-content: flex-start;
}

.audience-kicker {
  text-align: left;
}

.brand-principles-refined article,
.about-credentials > div,
.contact-promises > div {
  grid-template-columns: 1fr !important;
}

.contact-direct-email {
  margin: 18px 0 0;
  font-size: .95rem;
  color: rgba(255,255,255,.78);
}

.contact-direct-email a {
  color: #fff;
  text-underline-offset: 4px;
}

.footer-email {
  margin: 6px 0 0;
}

.footer-email a {
  color: inherit;
  text-underline-offset: 4px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-preview-button {
  width: 100%;
  min-height: 56px;
  padding: 15px 22px;
  border: 0;
  border-radius: 0;
  background: var(--espresso);
  color: #fff;
  font: inherit;
  font-size: .93rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .025em;
  text-align: center;
  cursor: pointer;
  transition: background-color .18s ease, opacity .18s ease, transform .18s ease;
}

.contact-preview-button:hover {
  background: var(--terracotta-dark);
}

.contact-preview-button:active {
  transform: translateY(1px);
}

.contact-preview-button:disabled {
  opacity: .58;
  cursor: wait;
  transform: none;
}

.reveal-motion .reveal-up {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 720ms cubic-bezier(.22, 1, .36, 1),
    transform 720ms cubic-bezier(.22, 1, .36, 1);
  transition-delay: 0ms;
  will-change: opacity, transform;
}

.reveal-motion .reveal-delay-1 {
  transition-delay: 70ms;
}

.reveal-motion .reveal-delay-2 {
  transition-delay: 140ms;
}

.reveal-motion .reveal-delay-3 {
  transition-delay: 180ms;
}

.reveal-motion .reveal-up.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 980px) {
  .hero-title-brand {
    max-width: none;
    font-size: clamp(4rem, 10vw, 6rem);
  }
}

@media (max-width: 640px) {
  /* Hero */
  .hero {
    padding-top: 28px;
    padding-bottom: 24px;
  }

  .hero-title-brand {
    gap: 1px;
    margin-bottom: 28px;
    font-size: clamp(3.65rem, 16vw, 4.85rem);
    line-height: .9;
    letter-spacing: -.04em;
  }

  .hero-copy .hero-text {
    max-width: 32ch;
    margin-bottom: 28px;
    font-size: 1rem;
    line-height: 1.58;
  }

  .trust-line {
    margin-top: 24px;
    padding-top: 0;
  }

  /* The large decorative brand panel repeats the same message on phones. */
  .hero .portrait-frame {
    display: none;
  }

  /* Beratung */
  .orientation {
    padding-top: 30px;
    padding-bottom: 68px;
  }

  .orientation-heading {
    margin-bottom: 40px;
  }

  .orientation-heading h2 {
    font-size: clamp(2.45rem, 11vw, 3.4rem);
    line-height: .99;
  }

  .audience-grid-refined {
    gap: 14px;
  }

  .audience-card-refined {
    padding: 24px 20px 22px;
  }

  .audience-content {
    margin-block: 24px 26px;
  }

  .audience-card-refined h3 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 8.8vw, 2.45rem);
    line-height: 1.03;
  }

  .audience-lead {
    margin-bottom: 22px;
    line-height: 1.58;
  }

  .topic-chips {
    gap: 8px;
  }

  .audience-footer {
    gap: 16px;
    padding-top: 14px;
  }

  /* Haltung */
  .manifesto-layout {
    row-gap: 48px;
    padding-block: 68px 62px;
  }

  .brand-principles-refined {
    gap: 8px;
  }

  .brand-principles-refined article,
  .brand-principles-refined article + article {
    padding: 18px;
  }

  .brand-principles-refined h3 {
    margin-bottom: 7px;
    font-size: clamp(1.65rem, 7.5vw, 2rem);
  }

  .brand-principles-refined p {
    line-height: 1.5;
  }

  /* Über mich: keep the future photo area, just reduce its mobile height. */
  .about-refined {
    gap: 30px;
    padding-top: 62px;
    padding-bottom: 40px;
  }

  .about-visual-refined {
    min-height: 400px;
  }

  .about-photo-placeholder {
    left: 28px;
    right: 32px;
    bottom: 30px;
  }

  .about-photo-placeholder p {
    max-width: 10ch;
    margin-bottom: 14px;
    font-size: clamp(2.1rem, 10vw, 3.15rem);
  }

  .about-photo-kicker {
    margin-bottom: 16px;
  }

  .about-intro {
    max-width: 34ch;
    margin-bottom: 30px;
    font-size: clamp(1.18rem, 5.2vw, 1.42rem);
    line-height: 1.42;
  }

  .about-story {
    gap: 16px;
  }

  .about-closing {
    margin-top: 20px;
    font-size: clamp(1.1rem, 5vw, 1.35rem);
  }

  /* Ablauf */
  .process {
    padding-top: 50px;
    padding-bottom: 62px;
  }

  .process-heading {
    margin-bottom: 28px;
  }

  .process-heading h2 {
    margin-bottom: 16px;
    font-size: clamp(2.65rem, 11.7vw, 3.5rem);
    line-height: .98;
  }

  .process-path {
    gap: 10px;
  }

  .process-step {
    padding: 20px 18px 22px;
  }

  .process-step-topline {
    margin-bottom: 16px;
  }

  .process-step h3 {
    margin-bottom: 14px;
    font-size: clamp(1.7rem, 7.7vw, 2.2rem);
    line-height: 1.06;
  }

  .process-step-copy p {
    line-height: 1.55;
  }

  .process-step-note {
    margin-top: 14px;
  }

  .process-bottomline {
    margin-top: 22px;
  }

  /* Kontakt: tighter rhythm without losing the calm editorial feel. */
  .contact-shell-refined {
    gap: 30px;
    padding-top: 66px;
    padding-bottom: 60px;
  }

  .contact-copy-refined h2 {
    margin-bottom: 24px;
    font-size: clamp(2.75rem, 11vw, 3.65rem);
  }

  .contact-lead {
    margin-bottom: 0;
  }

  .contact-direct-email {
    margin-top: 14px;
  }

  .contact-promises {
    display: grid;
    gap: 12px;
    margin-top: 26px;
  }

  .contact-promises > div,
  .contact-promises > div + div {
    min-height: 0;
    margin: 0;
    padding: 6px 0;
  }

  .contact-promises p {
    margin: 0;
    line-height: 1.45;
  }

  .contact-card {
    padding-top: 24px;
  }

  .contact-card-head {
    margin-bottom: 22px;
  }

  .contact-card-head h3 {
    font-size: clamp(1.65rem, 7.2vw, 2.1rem) !important;
    line-height: 1.06;
  }

  .contact-preview-button {
    min-height: 58px;
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-motion .reveal-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Responsive and accessibility audit fixes. */
.process-path {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
}

.process-step {
  min-width: 0;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
}

.process-step-topline {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 26px;
}

.process-step-topline p,
.process-step-copy p,
.process-bottomline p {
  margin: 0;
}

.process-step-note {
  margin: auto 0 0;
  padding-top: 24px;
}

.process-bottomline {
  margin-top: 28px;
}

.contact-shell-refined {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: clamp(56px, 7vw, 110px);
  align-items: start;
  padding-block: 124px 112px;
}

.contact-copy-refined,
.contact-card,
.contact-form-refined,
.form-row-refined {
  min-width: 0;
}

.contact-kicker {
  margin: 0 0 18px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
}

.contact-promises {
  display: grid;
  gap: 8px;
  max-width: 46ch;
  margin-top: 34px;
}

.contact-promises p {
  margin: 0;
  color: rgba(255,255,255,.78);
}

.contact-card {
  padding: clamp(32px, 4vw, 52px);
  background: var(--cream);
  color: var(--espresso-deep);
}

.contact-card-head {
  margin-bottom: 30px;
}

.form-row-refined label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--espresso);
}

.form-row-refined input,
.form-row-refined textarea {
  width: 100%;
  color: var(--espresso-deep);
}

.form-row-refined textarea {
  min-height: 132px;
  resize: vertical;
}

.form-row-refined small,
.form-privacy-note,
.contact-form-footer .prototype-note {
  color: var(--muted);
}

.form-privacy-note {
  margin: 22px 0 0;
  font-size: .78rem;
  line-height: 1.5;
}

.contact-card a:focus-visible,
.contact-card input:focus-visible,
.contact-card select:focus-visible,
.contact-card textarea:focus-visible {
  outline-color: var(--terracotta-dark);
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

@media (max-width: 980px) {
  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .main-nav {
    top: 100%;
    left: 0;
    right: 0;
    gap: 10px;
  }

  .main-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 9px 8px;
  }

  .main-nav .nav-cta {
    justify-content: center;
  }

  .process-path {
    grid-template-columns: 1fr;
  }

  .process-step {
    min-height: 0;
  }

  .contact-shell-refined {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .contact-copy-refined {
    position: static;
  }
}

@media (max-width: 640px) {
  .process-path {
    gap: 12px;
  }

  .process-step {
    padding: 22px 20px 24px;
  }

  .process-step-note {
    margin-top: 18px;
    padding-top: 0;
  }

  .contact-shell-refined {
    gap: 42px;
    padding-block: 78px 72px;
  }

  .contact-card {
    padding: 26px 20px 24px;
  }
}