/* ==========================================================================
   FK Datentechnik — Apple-Style Design System
   Font: Inter (lokal), keine externen Abhaengigkeiten
   ========================================================================== */

/* --- Fonts (lokal) --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-semibold.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-bold.woff2') format('woff2');
}

/* --- Custom Properties --- */
:root {
  --color-black: #1d1d1f;
  --color-white: #ffffff;
  --color-gray-50: #fbfbfd;
  --color-gray-100: #f5f5f7;
  --color-gray-400: #767680;
  --color-gray-600: #636366;
  --color-blue: #0071e3;
  --color-blue-hover: #0077ed;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 980px;
  --nav-height: 52px;
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 17px;
  line-height: 1.47;
  color: var(--color-black);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

/* --- Skip Link (Accessibility) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-blue);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 8px;
  text-decoration: none;
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  min-width: 0;
}

/* --- Section --- */
.section {
  padding: 100px 0;
}

.section--alt {
  background: var(--color-gray-50);
}

.section__intro {
  margin-top: 16px;
  margin-bottom: 48px;
}

.section__cta-wrap {
  margin-top: 40px;
}

.contact__response-time {
  font-size: 14px;
  color: var(--color-gray-400);
  margin-top: 8px;
  text-align: center;
}

.trust__heading {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray-400);
  text-align: center;
  margin-bottom: 24px;
}

/* --- Typography --- */
.headline-xl {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.005em;
}

.headline-lg {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.003em;
}

.headline-md {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.14;
}

.text-lg {
  font-size: 21px;
  line-height: 1.38;
  color: var(--color-gray-600);
}

.text-body {
  font-size: 17px;
  line-height: 1.47;
  color: var(--color-gray-600);
}

.text-sm {
  font-size: 14px;
  line-height: 1.43;
  color: var(--color-gray-400);
}

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

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  font-family: var(--font-family);
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease;
}

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

.btn--primary:hover {
  background: var(--color-blue-hover);
  text-decoration: none;
}

.btn--submit {
  background: var(--color-blue);
  color: var(--color-white);
  width: 100%;
  padding: 16px 24px;
  font-size: 17px;
}

.btn--submit:hover {
  background: var(--color-blue-hover);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.06);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav--scrolled .nav__logo {
  color: var(--color-black);
}

.nav__logo:hover {
  text-decoration: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 14px;
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.3s ease;
}

.nav--scrolled .nav__links a {
  color: var(--color-black);
}

.nav__links a:hover {
  opacity: 1;
  text-decoration: none;
}

.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.nav__hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.nav--scrolled .nav__hamburger span {
  background: var(--color-black);
}

.nav__hamburger.active span {
  background: var(--color-black);
}

.nav__hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* --- Mobile Menu --- */
.nav__mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  padding: 40px 24px;
}

.nav__mobile-menu.active {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nav__mobile-menu a {
  font-size: 28px;
  font-weight: 600;
  color: var(--color-black);
}

.nav__mobile-menu a:hover {
  text-decoration: none;
}

/* --- Hero (Split Layout) --- */
.hero {
  padding: 140px 0 100px;
  background: linear-gradient(180deg, rgba(10, 15, 25, 0.55) 0%, rgba(10, 15, 25, 0.7) 100%),
              url('img/hero-datatechnik.webp') center center / cover no-repeat;
  color: #fff;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__centered {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.hero__content {
  max-width: 540px;
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.hero__trust-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
}

.hero__badge-flag {
  width: 22px;
  height: 15px;
  border-radius: 2px;
  flex-shrink: 0;
}

.cta-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-gray-400);
  margin-top: 12px;
}

.cta-proof__item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cta-proof__stars {
  color: #FBBC04;
  letter-spacing: 1px;
}

.cta-proof__divider {
  display: none;
}

.cta-proof__flag {
  width: 18px;
  height: 12px;
  border-radius: 1px;
  flex-shrink: 0;
}

.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__stat-number {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.hero__stat-label {
  font-size: 12px;
  color: #fff;
  line-height: 1.3;
}

.hero__stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.hero__stars--small {
  display: flex;
  gap: 1px;
  color: #FBBC04;
}

.hero__stars--small svg {
  width: 16px;
  height: 16px;
}

.hero__headline {
  margin-bottom: 20px;
}

.hero__highlight {
  display: inline;
  background: var(--color-black);
  color: var(--color-white);
  padding: 2px 14px 6px;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero .hero__highlight {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-black);
}

.hero__tagline {
  display: block;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.003em;
  margin-top: 16px;
  color: #fff;
}

.hero__sub {
  margin-bottom: 40px;
  color: #fff;
}

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

.hero__image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 20px;
}

/* --- Services Grid --- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.service-card {
  background: var(--color-white);
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--color-blue);
}

.service-card__title {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-card__text {
  font-size: 15px;
  line-height: 1.47;
  color: var(--color-gray-600);
}

/* --- About --- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 60px;
}

.about__text {
  min-width: 0;
  overflow: hidden;
}

.about__text .text-body {
  margin-bottom: 12px;
}

.about__logos-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gray-400);
  margin-top: 20px;
  margin-bottom: 12px;
}

.about__logos {
  overflow: hidden;
  margin-bottom: 20px;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.about__logos-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: logoScroll 6s linear infinite;
}

.about__logos-track img {
  height: 22px;
  width: auto;
  opacity: 0.4;
  filter: grayscale(100%);
  flex-shrink: 0;
}

@keyframes logoScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.about__image {
  border-radius: 20px;
  overflow: hidden;
}

.about__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

/* --- Logo Bar --- */
.section--logos {
  padding: 48px 0;
  background: var(--color-white);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.trust__logo {
  background: var(--color-gray-50);
  border-radius: 12px;
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-black);
  min-height: 80px;
  opacity: 0.65;
  transition: opacity 0.3s ease, filter 0.3s ease;
  filter: grayscale(100%);
}

.trust__logo:hover {
  opacity: 0.8;
  filter: grayscale(0%);
}

.trust__logo img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* --- Relevanz / Pain & Gain --- */
.relevanz__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.relevanz__image {
  border-radius: 20px;
  overflow: hidden;
}

.relevanz__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.relevanz__block {
  margin-bottom: 32px;
}

.relevanz__block:last-child {
  margin-bottom: 0;
}

.headline-sm {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.relevanz__label--pain {
  color: #c62828;
}

.relevanz__label--gain {
  color: #2e7d32;
}

/* --- Video Cards / Referenzen --- */
.videos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.video-card {
  text-align: center;
}

.video-card__thumb {
  background: var(--color-gray-100);
  border-radius: 16px;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.video-card__thumb:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.video-card__thumb svg {
  width: 48px;
  height: 48px;
  color: var(--color-blue);
}

.video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.video-card__title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.video-card__text {
  font-size: 14px;
  color: var(--color-gray-400);
}

/* --- Tabs / Prozess --- */
.tabs {
  margin-top: 60px;
}

.tabs__nav {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.tabs__btn {
  padding: 12px 24px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-family);
  border: 2px solid var(--color-gray-100);
  background: var(--color-white);
  color: var(--color-gray-600);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tabs__btn:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.tabs__btn.active {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: var(--color-white);
}

.tabs__panel {
  display: none;
}

.tabs__panel.active {
  display: block;
}

.tabs__panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tabs__panel-text .headline-md {
  margin-bottom: 16px;
}

.tabs__panel-text .text-body {
  margin-bottom: 12px;
}

.tabs__panel-image {
  background: var(--color-gray-100);
  border-radius: 20px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-400);
  font-size: 15px;
}

/* --- CTA Banner --- */
.section--cta {
  background: var(--color-black);
  padding: 80px 0;
}

.section--cta .hero__highlight {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-black);
}

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

.cta-banner__headline {
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-banner__text {
  color: var(--color-gray-400);
  margin-bottom: 32px;
}

.btn--large {
  padding: 16px 32px;
  font-size: 19px;
}

/* --- Testimonials --- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--color-gray-50);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card__stars {
  color: #FBBC04;
  font-size: 16px;
  letter-spacing: 2px;
}

.testimonial-card__quote {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-black);
  flex-grow: 1;
}

.testimonial-card__author strong {
  display: block;
  font-size: 14px;
}

.testimonial-card__author span {
  font-size: 13px;
  color: var(--color-gray-400);
}

/* --- About Link --- */
.about__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-blue);
}

.about__link:hover {
  text-decoration: underline;
}

/* --- FAQ Accordion --- */
.faq__list {
  max-width: 740px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-black);
  text-align: left;
}

.faq__question:hover {
  color: var(--color-blue);
}

.faq__chevron {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--color-gray-400);
}

.faq__item.open .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq__item.open .faq__answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq__answer p {
  font-size: 17px;
  line-height: 1.58;
  color: var(--color-gray-600);
}

/* --- Outline Button --- */
.btn--outline {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  font-family: var(--font-family);
  cursor: pointer;
  border: 2px solid var(--color-blue);
  background: transparent;
  color: var(--color-blue);
  transition: all 0.2s ease;
}

.btn--outline:hover {
  background: var(--color-blue);
  color: var(--color-white);
  text-decoration: none;
}

/* --- Nav CTA Link --- */
.nav__cta-link {
  background: var(--color-blue) !important;
  color: var(--color-white) !important;
  padding: 6px 16px !important;
  border-radius: 980px;
  font-weight: 600 !important;
  opacity: 1 !important;
  transition: background-color 0.2s ease;
}

.nav__cta-link:hover {
  background: var(--color-blue-hover) !important;
}

/* --- Footer Extended --- */
.footer__logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-black);
  text-decoration: none;
}

/* --- Process / Steps --- */
.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.step__number {
  font-size: 56px;
  font-weight: 700;
  color: var(--color-blue);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 16px;
}

.step__title {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step__text {
  font-size: 15px;
  line-height: 1.47;
  color: var(--color-gray-600);
}

/* --- Reviews --- */
.reviews__placeholder {
  background: var(--color-gray-100);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  margin-top: 40px;
}

.reviews__placeholder p {
  color: var(--color-gray-400);
  font-size: 17px;
}

/* --- Contact --- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.contact__info .headline-md {
  margin-bottom: 20px;
}

.contact__details {
  margin-top: 24px;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.contact__detail svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-blue);
}

.contact__detail a {
  font-size: 17px;
  overflow-wrap: anywhere;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-black);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-family);
  font-size: 17px;
  padding: 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: var(--color-gray-50);
  color: var(--color-black);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--color-blue);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: 14px;
  line-height: 1.43;
  color: var(--color-gray-600);
}

.form-checkbox a {
  color: var(--color-blue);
}

.form-message {
  text-align: center;
  padding: 16px;
  border-radius: 12px;
  font-size: 15px;
  display: none;
}

.form-message--success {
  background: #e8f5e9;
  color: #2e7d32;
  display: block;
}

.form-message--error {
  background: #fbe9e7;
  color: #c62828;
  display: block;
}

/* --- Footer --- */
.footer {
  padding: 20px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 14px;
  color: var(--color-gray-600);
}

.footer__links a:hover {
  color: var(--color-black);
}

.footer__copy {
  font-size: 14px;
  color: var(--color-gray-400);
}

/* --- Apple-Style Cinematic Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  filter: blur(4px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Staggered delays for grouped elements */
.services__grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.services__grid .fade-in:nth-child(3) { transition-delay: 0.2s; }
.services__grid .fade-in:nth-child(4) { transition-delay: 0.3s; }

.process__steps .fade-in:nth-child(2) { transition-delay: 0.15s; }
.process__steps .fade-in:nth-child(3) { transition-delay: 0.3s; }

.trust__grid.fade-in { transition-duration: 1s; }

/* Hero gets a longer, more dramatic entrance */
.hero__content {
  animation: heroReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes heroReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.hero__image {
  animation: heroImageReveal 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
  opacity: 0;
}

@keyframes heroImageReveal {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Fallback: If JS fails or is slow, show everything after 3s */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* --- Cookie Consent Banner --- */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.08);
  z-index: 9999;
  padding: 24px;
}

.cookie-banner.active {
  display: block;
}

.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner__text {
  font-size: 14px;
  line-height: 1.43;
  color: var(--color-gray-600);
  flex: 1;
}

.cookie-banner__text a {
  color: var(--color-blue);
}

.cookie-banner__buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 10px 20px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 400;
  font-family: var(--font-family);
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease;
}

.cookie-banner__btn--accept {
  background: var(--color-black);
  color: var(--color-white);
}

.cookie-banner__btn--accept:hover {
  background: #333;
}

.cookie-banner__btn--reject {
  background: var(--color-black);
  color: var(--color-white);
}

.cookie-banner__btn--reject:hover {
  background: #333;
}

/* --- Legal Pages (Impressum, Datenschutz) --- */
.legal {
  padding: 120px 0 80px;
}

.legal h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal h3 {
  font-size: 19px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal p {
  margin-bottom: 12px;
  color: var(--color-gray-600);
  line-height: 1.58;
}

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

.legal ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 12px;
}

.legal ul li {
  margin-bottom: 6px;
  color: var(--color-gray-600);
  line-height: 1.58;
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  margin-bottom: 40px;
  color: var(--color-blue);
}

/* --- Responsive: Tablet --- */
@media (max-width: 768px) {
  .headline-xl {
    font-size: 40px;
  }

  .hero__tagline {
    font-size: 26px;
    margin-top: 12px;
  }

  .headline-lg {
    font-size: 34px;
  }

  .text-lg {
    font-size: 19px;
  }

  .section {
    padding: 70px 0;
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
  }

  .hero__content {
    max-width: 100%;
    width: 100%;
  }

  .hero__stats {
    gap: 16px;
  }

  .hero__stat-number {
    font-size: 18px;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__image {
    order: -1;
  }

  .trust__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .relevanz__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .videos__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tabs__panel-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tabs__panel-image {
    order: -1;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 24px;
  }

  .process__steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .legal {
    padding: 100px 0 60px;
  }

  .legal h1 {
    font-size: 32px;
    margin-bottom: 32px;
  }

  .legal h2 {
    font-size: 20px;
    margin-top: 32px;
  }
}

/* --- Responsive: Phone --- */
@media (max-width: 480px) {
  .headline-xl {
    font-size: 28px;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  .hero__tagline {
    font-size: 18px;
    margin-top: 10px;
    overflow-wrap: break-word;
  }

  .hero__highlight {
    padding: 2px 8px 4px;
  }

  .hero__sub {
    font-size: 15px;
  }

  .hero__centered {
    max-width: 100%;
    overflow: hidden;
  }

  .headline-lg {
    font-size: 24px;
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero__grid {
    text-align: left;
  }

  .hero__sub {
    font-size: 16px;
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero__stat-divider {
    display: none;
  }

  .hero__stat {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .cookie-banner__inner {
    gap: 16px;
  }

  .cookie-banner__text {
    font-size: 13px;
  }

  .cookie-banner__buttons {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .service-card {
    padding: 28px 24px;
  }

  .tabs__btn {
    font-size: 13px;
    padding: 10px 16px;
  }

  .section--cta {
    padding: 56px 0;
  }

  .cta-banner__headline {
    font-size: 28px;
  }

  .faq__question {
    font-size: 15px;
  }

  .legal {
    padding: 80px 0 48px;
  }

  .legal h1 {
    font-size: 26px;
    margin-bottom: 24px;
  }

  .legal h2 {
    font-size: 18px;
    margin-top: 28px;
    margin-bottom: 8px;
  }

  .legal h3 {
    font-size: 16px;
  }

  .legal p,
  .legal ul li {
    font-size: 14px;
    line-height: 1.65;
  }

  .legal__back {
    margin-bottom: 24px;
  }
}
