:root {
  --color-background: #ffffff;
  --color-surface: #f7f8fb;
  --color-surface-strong: #eef1f6;
  --color-text: #1a2e44;
  --color-text-soft: #4f5f75;
  --color-primary: #1A2E44;
  --color-secondary: #2D2D2D;
  --color-highlight: #C8A96E;
  --color-white: #ffffff;
  --color-border: rgba(26, 46, 68, 0.12);

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 3.5rem;
  --text-max: 65ch;

  --radius: 1rem;
  --shadow-soft: 0 24px 80px rgba(26, 46, 68, 0.08);
}

/* Global Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.65;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: var(--space-xl) 0;
  position: relative;
  z-index: 1;
}

.section-light {
  background: var(--color-surface);
}

.section-dark {
  background: var(--color-primary);
  color: var(--color-white);
}

.section-header {
  max-width: var(--text-max);
  margin-bottom: var(--space-lg);
}

.section-header-light h2,
.section-header-light p {
  color: var(--color-white);
}

.section-label {
  display: inline-block;
  margin-bottom: var(--space-xs);
  color: var(--color-highlight);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: 'Playfair Display', serif;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

p {
  margin: 0 0 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--color-primary);
  font-weight: 700;
}

.brand-mark {
  font-size: 1.2rem;
}

.brand-sub {
  font-size: 0.95rem;
  color: var(--color-text-soft);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  border: none;
  background: transparent;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 1.9rem;
  height: 2px;
  background: var(--color-primary);
  display: block;
}

.site-navigation {
  position: fixed;
  inset: 0 0 auto auto;
  width: 100%;
  max-width: 320px;
  padding: 4rem 1.5rem 1.5rem;
  background: var(--color-white);
  transform: translateY(-100%);
  transition: transform 0.25s ease;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.1);
}

.site-navigation.open {
  transform: translateY(0);
}

.site-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.site-navigation a {
  color: var(--color-text);
  font-weight: 600;
  display: inline-block;
  transition: color 0.2s ease;
}

.site-navigation a:hover,
.site-navigation a:focus-visible {
  color: var(--color-highlight);
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .site-navigation {
    position: static;
    transform: none;
    display: block;
    max-width: none;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-navigation ul {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
  }
}

/* Hero */
.hero-section {
  height: calc(100vh - 140px);
  background: var(--color-primary);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-logo-wrapper {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: calc(100% - 160px);
  padding-top: 70px;
  z-index: 0;
  pointer-events: none;
}

.hero-logo-wrapper.is-absolute {
  position: absolute;
}

.hero-logo-img {
  max-width: 40vw;
  width: 100%;
  height: auto;
  display: block;
}

.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  pointer-events: none;
  opacity: 1;
  margin-top: 12px;
  transition: opacity 0.3s ease;
}

.hero-scroll-indicator__text {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-scroll-indicator__arrow {
  animation: scrollBob 1.5s ease-in-out infinite;
}

@keyframes scrollBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.button-secondary {
  background: var(--color-highlight);
  color: var(--color-primary);
}

/* Leistungsbereich */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-3cards {
  grid-template-columns: 1fr;
}

.card {
  padding: var(--space-lg);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
  will-change: transform;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease;
}

.card.is-visible {
  opacity: 1;
  transform: translateY(0);
}


.card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.card h3 {
  color: var(--color-primary);
}

.card-icon {
  color: var(--color-highlight);
  margin-bottom: var(--space-sm);
  display: block;
  transition: color 0.3s ease;
}

.card:hover .card-icon {
  color: var(--color-primary);
}

.card-icon svg {
  display: block;
}

/* Headline scroll animation */
.animate-headline {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 150ms;
}

.animate-headline.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 700px) {
  .grid-3cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Über uns */
.grid-2cards {
  grid-template-columns: 1fr;
  align-items: start;
}

.profile-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: var(--space-lg);
  border-radius: var(--radius);
}

.profile-card h3 {
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.profile-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.2);
}

.profile-summary-info {
  flex: 1;
}

.profile-role {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-highlight);
  font-weight: 600;
}

.profile-toggle {
  margin-left: auto;
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-toggle:hover {
  background: rgba(200, 169, 110, 0.08);
  border-color: #C8A96E;
  color: #ffffff;
}

.profile-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease, padding-top 0.35s ease;
}

.profile-accordion.is-open .profile-body {
  max-height: 500px;
  opacity: 1;
  padding-top: var(--space-md);
}

.profile-body p {
  margin: 0;
  color: rgba(255,255,255,0.85);
}

/* Back link für Unterseiten */
.back-link {
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.back-link:hover {
  transform: translateX(-3px);
}

@media (min-width: 860px) {
  .grid-2cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Referenzen Karussell */
.ref-carousel {
  height: 520px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
}

.ref-track {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: refScrollDown 28s linear infinite;
}

@keyframes refScrollDown {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

/* Flip-Card */
.ref-card {
  height: 160px;
  position: relative;
  cursor: pointer;
  perspective: 1000px;
  flex-shrink: 0;
  border-radius: var(--radius);
}

.ref-card__front,
.ref-card__back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.ref-card__front {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ref-card__back {
  background: var(--color-primary);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ref-card.is-flipped .ref-card__front {
  transform: rotateY(-180deg);
}

.ref-card.is-flipped .ref-card__back {
  transform: rotateY(0deg);
}

.ref-card__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-highlight);
  margin-bottom: 0.4rem;
}

.ref-card__title {
  font-size: 1.05rem;
  margin: 0;
  color: var(--color-primary);
}

.ref-card__desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.5;
}

.ref-card__back-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ref-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ref-card__link:hover {
  color: #C8A96E;
  text-decoration: none;
}

.ref-card__flip-hint {
  position: absolute;
  bottom: 0.875rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--color-highlight);
  pointer-events: none;
  transition: color 0.2s ease;
}

.ref-card:hover .ref-card__flip-hint {
  color: #C8A96E;
}

.ref-card:hover .ref-card__flip-icon,
.ref-card:hover .ref-card__flip-text {
  color: #C8A96E;
}

.ref-card__flip-hint--back {
  position: static;
  color: rgba(255, 255, 255, 0.7);
}

.ref-card__flip-icon {
  font-size: 1rem;
  line-height: 1;
  display: inline-block;
  animation: iconPulse 2s ease-in-out infinite;
}

.ref-card__flip-hint--back .ref-card__flip-icon {
  animation: none;
}

.ref-card__flip-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Kontakt */
.contact-grid {
  display: grid;
  gap: var(--space-lg);
}

.contact-form-wrapper,
.contact-details {
  padding: var(--space-lg);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.75rem;
  padding: 0.95rem 1rem;
  background: rgba(255,255,255,0.08);
  color: var(--color-white);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.7);
}

.contact-form textarea {
  resize: vertical;
}

.checkbox-group {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.checkbox-group input {
  margin-top: 0.25rem;
  width: 1rem;
  height: 1rem;
}

.checkbox-group label {
  margin: 0;
  color: var(--color-white);
}

.contact-details h3 {
  margin-top: 0;
}

.address-card p {
  margin: 0.4rem 0;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

/* Footer */
.site-footer {
  padding: 60px 0 40px;
  background: #0f1e2e;
  color: var(--color-white);
  position: relative;
  z-index: 1;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo {
  max-height: 40px;
  width: auto;
  display: block;
  margin-bottom: 1rem;
}

.footer-slogan {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 220px;
  margin: 0;
}

.footer-col-heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-highlight);
  margin: 0 0 1rem 0;
  font-family: 'Inter', sans-serif;
}

.footer-address {
  font-style: normal;
}

.footer-address p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.9;
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--color-highlight);
}

button.footer-cookie-btn {
  font-size: 14px !important;
  font-weight: 400 !important;
  font-family: inherit !important;
  line-height: inherit !important;
  color: rgba(255, 255, 255, 0.8) !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  text-decoration: none;
  display: block;
  text-align: left;
  transition: color 0.2s ease;
}

button.footer-cookie-btn:hover {
  color: #C8A96E !important;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social-link {
  color: var(--color-highlight);
  display: inline-flex;
  position: relative;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-social-link:hover {
  opacity: 0.8;
  color: #d4b87a;
}

.footer-social-link::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #1A2E44;
  color: #ffffff;
  font-size: 12px;
  font-weight: 400;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 10;
}

.footer-social-link::after {
  content: '';
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  border: 6px solid transparent;
  border-top-color: #1A2E44;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.footer-social-link:hover::before,
.footer-social-link:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* Accessibility and small devices */
@media (max-width: 860px) {
  .site-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    padding-top: 5rem;
  }
}

@media (max-width: 640px) {
  .button {
    width: 100%;
  }
}

/* Kontaktformular Meldungsboxen */
.form-message {
  display: none;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
}

.form-message--success {
  background: rgba(0, 160, 80, 0.12);
  border-left: 3px solid #00a050;
  color: #ffffff;
}

.form-message--error {
  background: rgba(180, 0, 0, 0.15);
  border-left: 3px solid #c00;
  color: #ff6b6b;
}

/* Hero CTA-Button */
.hero-cta-btn {
  display: inline-block;
  background: #C8A96E;
  color: #1A2E44;
  padding: 10px 24px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  pointer-events: auto;
  margin-top: 32px;
  transition: transform 0.2s ease;
}

.hero-cta-btn:hover {
  transform: translateY(-3px);
}

/* Klickbare Kontaktdaten */
.contact-link {
  color: inherit;
  text-decoration: none;
}

.contact-link:hover {
  color: #C8A96E;
  text-decoration: none;
}

a[href^="tel:"],
a[href^="mailto:"] {
  text-decoration: none !important;
}

a[href^="tel:"]:hover,
a[href^="mailto:"]:hover {
  text-decoration: none !important;
  color: #C8A96E;
}

/* LinkedIn-Link in Profilkarten */
.profile-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #C8A96E;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.03em;
  margin-top: 6px;
  transition: opacity 0.2s ease;
}

.profile-linkedin:hover {
  opacity: 0.8;
  color: #d4b87a;
}

@media (max-width: 768px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================================================
   Stepper – Prozess-Block in Leistungen-Sektion
   ============================================================ */

/* --- Prozess Trigger-Button --- */
.prozess-trigger-wrap {
  text-align: center;
  margin-top: 48px;
}

.prozess-trigger {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 46, 68, 0.6);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  transition: color 0.2s ease;
}

.prozess-trigger:hover {
  color: rgba(26, 46, 68, 1);
}

.prozess-trigger-text {
  display: block;
}

.prozess-trigger-arrow {
  color: var(--color-highlight);
  font-size: 10px;
  display: block;
  transition: transform 0.2s ease;
  line-height: 1;
}

.prozess-trigger:hover .prozess-trigger-arrow {
  transform: translateY(3px);
}

/* --- Prozess Aufklapp-Block --- */
.prozess-collapse {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.prozess-collapse.is-open {
  max-height: 900px;
  opacity: 1;
}

.prozess-collapse-inner {
  border-top: 1px solid rgba(26, 46, 68, 0.1);
  padding-top: 48px;
}

.prozess-collapse-header {
  margin-bottom: 2.5rem;
}

.prozess-collapse-header .section-label {
  color: var(--color-highlight);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.prozess-collapse-header h2 {
  font-family: 'Playfair Display', serif;
  color: var(--color-primary);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin: 0;
}

/* --- Prozess Schließen-Button --- */
.prozess-close-wrap {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(26, 46, 68, 0.1);
  padding-top: 24px;
}

.prozess-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 46, 68, 0.6);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  transition: color 0.2s ease;
}

.prozess-close-btn:hover {
  color: rgba(26, 46, 68, 1);
}

.prozess-close-arrow {
  color: var(--color-highlight);
  font-size: 10px;
  display: block;
  line-height: 1;
  transition: transform 0.2s ease;
}

.prozess-close-btn:hover .prozess-close-arrow {
  transform: translateY(-3px);
}

/* --- Auto-Karussell Prozess-Block --- */
.prozess-karussell {
  padding: 0;
}

.prozess-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}

/* Tabs-Spalte */
.prozess-tabs-col {
  display: flex;
  flex-direction: column;
}

.prozess-tab-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  width: 100%;
}

.prozess-tab {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 20px;
  background: transparent;
  border: none;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(26, 46, 68, 0.45);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.prozess-tab:hover {
  color: var(--color-primary);
}

.prozess-tab.is-active {
  background: var(--color-highlight);
  color: var(--color-primary);
  font-weight: 600;
}

.prozess-tab-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--color-primary);
  opacity: 0;
}

.prozess-tab.is-active .prozess-tab-progress {
  opacity: 1;
  animation: tabProgress 6s linear forwards;
}

@keyframes tabProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

/* Panels-Spalte */
.prozess-panels {
  position: relative;
  min-height: 260px;
}

.prozess-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.prozess-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0.25s;
}

.stepper-panel__icon {
  color: var(--color-highlight);
  margin-bottom: 1rem;
}

.stepper-panel__headline {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 0.75rem 0;
}

.stepper-panel__text {
  font-size: 1rem;
  color: var(--color-text-soft);
  line-height: 1.7;
  max-width: 52ch;
  margin: 0;
}

/* --- CTA unter Stepper --- */

/* --- Prozess-Karussell Responsive (Mobile) --- */
@media (max-width: 768px) {
  .prozess-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .prozess-tab-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .prozess-tab {
    flex: 1 1 auto;
    text-align: center;
    font-size: 13px;
    padding: 10px 12px;
    border: 1px solid rgba(26, 46, 68, 0.15);
  }

  .prozess-tab.is-active {
    border-color: var(--color-highlight);
  }

  .prozess-panels {
    min-height: 0;
  }

  .prozess-panel {
    position: static;
    display: none;
    opacity: 1;
    pointer-events: auto;
    transition: none;
    padding: 20px 0;
  }

  .prozess-panel.is-active {
    display: block;
    transition-delay: 0s;
  }
}

/* Mobile-only elements – standardmäßig ausgeblendet */
.swipe-hint { display: none; }
.nav-overlay { display: none; }
.ref-show-more-wrap { display: none; }
.karussell-dots { display: none; }

/* ============================================================
   Mobile Optimierungen (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  /* 9 – Allgemein */
  html,
  body {
    overflow-x: hidden;
  }

  .section {
    padding: 50px 0;
  }

  h2 {
    font-size: 32px;
  }

  /* 8 – Navbar Logo */
  .brand img {
    max-height: 40px !important;
    height: auto !important;
  }

  /* 1 – Hero */
  .hero-logo-img {
    max-width: 70%;
  }

  .hero-cta-btn {
    font-size: 14px;
    padding: 12px 20px;
    margin-top: 32px;
  }

  /* 2 – Über-uns-Karten */
  .profile-summary {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-photo {
    display: block;
    margin: 0 auto 12px;
  }

  .profile-summary-info {
    text-align: center;
  }

  .profile-linkedin {
    justify-content: center;
  }

  .profile-card h3 {
    font-size: 18px;
  }

  .profile-toggle {
    margin: 12px 0 0 0;
    width: 100%;
  }

  /* 3 – Leistungskarten */
  .card {
    margin-bottom: 16px;
    padding: 24px;
  }

  /* 5 – Referenzkarten */
  .ref-card__label,
  .ref-card__flip-text {
    font-size: 11px;
  }

  /* 6 – Kontaktsektion */
  .contact-form-wrapper h2 {
    font-size: 28px;
  }

  .button-secondary {
    width: 100%;
  }

  /* 7 – Footer */
  .footer-col {
    margin-bottom: 32px;
  }

  .footer-social {
    justify-content: center;
  }
}

/* ============================================================
   Mobile Interaktionen (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* --- 1. Hamburger-Menü (rechts) --- */
  .site-navigation {
    position: fixed;
    top: 0;
    left: auto;
    right: 0;
    width: 75vw;
    height: 100vh;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    background: rgba(26, 46, 68, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    overflow-y: auto;
  }

  .site-navigation.is-open {
    transform: translateX(0);
  }

  .site-navigation ul {
    gap: 0;
  }

  .site-navigation li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-navigation li a {
    display: block;
    padding: 16px 32px;
    font-size: 18px;
    color: #ffffff;
  }

  .site-navigation a:hover,
  .site-navigation a:focus-visible {
    color: #C8A96E;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
  }

  .nav-overlay.is-open {
    display: block;
  }

  /* --- 2. Leistungskarten – horizontaler Swipe --- */
  .grid-3cards {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 0 20px 16px;
    scrollbar-width: none;
  }

  .grid-3cards::-webkit-scrollbar {
    display: none;
  }

  .grid-3cards > .card {
    min-width: 80vw;
    scroll-snap-align: center;
    flex-shrink: 0;
    margin-bottom: 0;
  }

  /* --- 3. Prozess-Karussell – kompakt --- */
  .prozess-tab-text {
    display: none;
  }

  .prozess-tab-list {
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0;
  }

  .prozess-tab {
    flex: 1 1 0;
    padding: 12px 8px;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
  }

  .prozess-tab.is-active {
    background: transparent;
    color: #C8A96E;
    border-bottom: 2px solid #C8A96E;
  }

  /* --- 4. Über-uns-Karten – horizontaler Swipe --- */
  .grid-2cards {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 0 20px 16px;
    scrollbar-width: none;
    align-items: stretch;
  }

  .grid-2cards::-webkit-scrollbar {
    display: none;
  }

  .grid-2cards > .profile-card {
    min-width: 85vw;
    scroll-snap-align: center;
    flex-shrink: 0;
  }

  /* --- 5. Referenzkarten – 2 sichtbar --- */
  .ref-carousel {
    height: auto;
    max-height: 520px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .ref-carousel::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(transparent, var(--color-surface));
    pointer-events: none;
  }

  .ref-carousel.ref-expanded {
    max-height: none;
  }

  .ref-carousel.ref-expanded::after {
    display: none;
  }

  .ref-track {
    animation: none;
    transform: none;
  }

  .ref-show-more-wrap {
    display: block;
    text-align: center;
    margin-top: 16px;
  }

  .ref-show-more-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(26, 46, 68, 0.6);
    padding: 8px 16px;
    transition: color 0.2s ease;
  }

  .ref-show-more-btn:hover {
    color: rgba(26, 46, 68, 1);
  }

  /* --- Swipe-Hinweis --- */
  .swipe-hint {
    display: block;
    text-align: center;
    font-size: 11px;
    color: #C8A96E;
    opacity: 0.6;
    margin-top: 12px;
    letter-spacing: 0.05em;
  }
}

/* ============================================================
   Karussell-Optimierungen (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* 1. Hero CTA – einzeilig */
  .hero-cta-btn {
    white-space: nowrap;
    font-size: 13px;
    padding: 10px 18px;
    width: auto;
  }

  /* 2. Leistungskarten – Karussell */
  .grid-3cards {
    gap: 12px;
    padding: 0 40px;
  }

  .grid-3cards > .card {
    min-width: 78vw;
    max-width: 78vw;
    min-height: 280px;
    padding: 28px 24px;
    opacity: 0.4;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-bottom: 0;
  }

  /* 3. Über-uns-Karten – Karussell */
  .grid-2cards {
    gap: 12px;
    padding: 0 40px;
  }

  .grid-2cards > .profile-card {
    min-width: 78vw;
    max-width: 78vw;
    min-height: 120px;
    opacity: 0.4;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .profile-summary {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-align: left;
  }

  .profile-photo {
    width: 64px;
    height: 64px;
    margin: 0;
    flex-shrink: 0;
  }

  .profile-summary-info {
    text-align: left;
  }

  .profile-linkedin {
    justify-content: flex-start;
  }

  /* Swipe-Hinweis ausblenden */
  .swipe-hint {
    display: none !important;
  }

  /* Aktive Karte – hervorgehoben */
  .is-active {
    opacity: 1 !important;
    transform: scale(1) !important;
  }
}

/* ============================================================
   Über-uns-Karussell + Punkte-Navigation (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* 1. Über-uns-Container – asymmetrisch für Peek-Effekt */
  .grid-2cards {
    padding: 0 50px 0 20px;
  }

  .grid-2cards > .profile-card {
    min-width: 75vw;
    max-width: 75vw;
  }

  /* Karten-Innenlayout: Foto links – Info rechts – Button darunter */
  .profile-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: flex-start;
    text-align: left;
  }

  .profile-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    flex-shrink: 0;
    margin: 0;
  }

  .profile-summary-info {
    flex: 1;
    min-width: 0;
    text-align: left;
  }

  .profile-card h3 {
    font-size: 16px;
    margin-bottom: 2px;
    line-height: 1.3;
  }

  .profile-linkedin {
    justify-content: flex-start;
  }

  .profile-toggle {
    width: 100%;
    margin: 8px 0 0 0;
  }

  /* 2. Über-uns-Überschrift verkleinern */
  #ueber-uns h2 {
    font-size: 26px;
    line-height: 1.3;
  }

  /* 3. Punkte-Navigation */
  .karussell-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }

  .karussell-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(26, 46, 68, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .karussell-dot.is-active {
    background: #C8A96E;
    width: 24px;
    border-radius: 4px;
  }
}

/* ============================================================
   Referenzkarten – Swipe-Karussell (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Container – Clip und Höhenbegrenzung aufheben */
  .ref-carousel {
    height: auto;
    max-height: none;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .ref-carousel::after {
    display: none !important;
  }

  /* Track – horizontaler Swipe-Container */
  .ref-track {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 0 50px 0 20px;
    scrollbar-width: none;
    animation: none;
    transform: none;
    flex-direction: row;
  }

  .ref-track::-webkit-scrollbar {
    display: none;
  }

  /* Desktop-Klone ausblenden */
  .ref-track [data-clone="true"] {
    display: none;
  }

  /* Einzelne Referenzkarte */
  .ref-card {
    min-width: 75vw;
    max-width: 75vw;
    height: 200px;
    scroll-snap-align: center;
    flex-shrink: 0;
    opacity: 0.5;
    transform: scale(0.96);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  /* "Alle anzeigen"-Button ausblenden */
  .ref-show-more-wrap {
    display: none !important;
  }

  /* --------------------------------------------------------
     Hamburger-Menü – Pointer-Events + Hover
     -------------------------------------------------------- */

  /* Verhindert, dass die off-screen Nav Klicks abfängt */
  .site-navigation {
    pointer-events: none;
  }

  .site-navigation.is-open {
    pointer-events: auto;
  }

  /* Hover – nur Farbe, kein Unterstrich, kein Scale */
  .site-navigation a:hover,
  .site-navigation a:focus-visible {
    color: #C8A96E;
    text-decoration: none;
    background: none;
    transform: none;
    transition: color 0.2s ease;
  }
}

/* ============================================================
   Hamburger-Menü – Finale Überschreibung mit !important
   ============================================================ */
@media (max-width: 768px) {

  #site-navigation {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 75vw !important;
    height: 100vh !important;
    max-width: none !important;
    transform: translateX(100%) !important;
    transition: transform 0.3s ease !important;
    background: rgba(26, 46, 68, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    z-index: 1000 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding-top: 80px !important;
    overflow-y: auto !important;
    pointer-events: none !important;
  }

  #site-navigation.is-open {
    transform: translateX(0) !important;
    pointer-events: auto !important;
  }

  #site-navigation a:hover,
  #site-navigation a:focus-visible {
    color: #C8A96E !important;
    text-decoration: none !important;
    background: none !important;
    transform: none !important;
  }
}

/* ============================================================
   Rechtstexte (Datenschutz, Impressum)
   ============================================================ */

h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
  color: #1a2e44;
}

.legal-text {
  max-width: 72ch;
  line-height: 1.75;
  color: #334155;
}

.legal-text h3 {
  font-size: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #1a2e44;
}

.legal-text h4 {
  font-size: 1rem;
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
  color: #1a2e44;
}

.legal-text address {
  font-style: normal;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-text ul {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.legal-text li {
  margin-bottom: 0.3rem;
}

.legal-text a.contact-link {
  color: #C8A96E;
  text-decoration: underline;
}

.legal-text a.contact-link:hover {
  color: #1a2e44;
}
