/* ─────────────────────────────────────────
   MEDMAK — DESIGN SYSTEM
   Stack note: migrate to Next.js 15 + Tailwind CSS
   when going dynamic. These CSS vars map 1-to-1
   to Tailwind config tokens.
───────────────────────────────────────── */

:root {
  /* Core palette */
  --ink:          #0C1825;
  --ink-2:        #132035;
  --ink-3:        #1C3051;
  --paper:        #F8F6F2;
  --surface:      #FFFFFF;
  --text:         #111827;
  --text-muted:   #6B7280;
  --text-faint:   #9CA3AF;
  --border:       #E5E7EB;
  --border-2:     #D1D5DB;

  /* Accent */
  --blue:         #1D4ED8;
  --blue-hover:   #1A42BE;
  --blue-light:   #EFF6FF;
  --blue-muted:   rgba(29, 78, 216, 0.12);

  /* Status */
  --green:        #16A34A;
  --yellow:       #D97706;
  --red:          #DC2626;

  /* Typography */
  --f: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-py: 100px;
  --container:  1200px;
  --px:         24px;

  /* Motion */
  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1.0);
  --dur:      0.38s;

  /* Radius */
  --r-xs: 4px;
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.12);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.16);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--f);
  background: var(--surface);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--f); cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: var(--f); }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* ─── LOADER ─── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.loader.done {
  opacity: 0;
  visibility: hidden;
}
.loader__track {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,.12);
  border-radius: 2px;
  overflow: hidden;
}
.loader__fill {
  height: 100%;
  width: 0%;
  background: var(--blue);
  border-radius: 2px;
  animation: loaderFill 1.2s var(--ease) forwards;
}
.loader__label {
  color: rgba(255,255,255,.5);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
@keyframes loaderFill {
  to { width: 100%; }
}

/* ─── TYPOGRAPHY ─── */
h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
p { color: var(--text-muted); line-height: 1.7; }
em { font-style: italic; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn--primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(29,78,216,.35);
}

.btn--outline {
  background: transparent;
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.25);
}
.btn--outline:hover {
  border-color: rgba(255,255,255,.6);
  color: #fff;
  transform: translateY(-2px);
}

.btn--outline-dark {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn--outline-dark:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.btn--white {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn--white:hover {
  background: rgba(255,255,255,.92);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
}

.btn--lg { padding: 16px 32px; font-size: 0.95rem; }
.btn--block { width: 100%; justify-content: center; border-radius: var(--r-sm); }

/* ─── KICKER ─── */
.kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.kicker--light {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.8);
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.22s; }
.reveal--delay-3 { transition-delay: 0.32s; }

.reveal-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
.reveal-card.is-visible { opacity: 1; transform: translateY(0); }

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(12, 24, 37, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255,255,255,.06);
  box-shadow: 0 4px 32px rgba(0,0,0,.25);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--px);
  height: 70px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav__logo strong { color: var(--blue); font-weight: 800; }
.nav__logo--light { color: rgba(255,255,255,.7); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  padding: 8px 14px;
  border-radius: 6px;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__link:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}

.nav__actions { display: flex; gap: 10px; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--ink);
  z-index: 0;
}
.hero__grain {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.04) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero__orb--1 {
  width: 600px;
  height: 600px;
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(29,78,216,.22) 0%, transparent 70%);
  animation: orbFloat 12s ease-in-out infinite alternate;
}
.hero__orb--2 {
  width: 400px;
  height: 400px;
  bottom: 60px;
  left: 60px;
  background: radial-gradient(circle, rgba(29,78,216,.12) 0%, transparent 70%);
  animation: orbFloat 16s ease-in-out infinite alternate-reverse;
}
@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, -30px) scale(1.08); }
}

.hero__inner {
  flex: 1;
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--px);
  padding-top: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  min-height: calc(100svh - 120px);
}

.hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,.4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero__title {
  color: #fff;
  margin-bottom: 24px;
}
.hero__title em {
  font-style: italic;
  color: rgba(255,255,255,.6);
}

.hero__sub {
  color: rgba(255,255,255,.55);
  font-size: 1.05rem;
  max-width: 440px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero photo */
.hero__photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 480px;
  align-self: center;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,24,37,.35) 0%, transparent 55%);
  pointer-events: none;
}

.hero__card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.hero__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.hero__card--main {
  width: 100%;
  max-width: 360px;
  padding: 22px;
}
.hero__card--secondary {
  padding: 18px 22px;
  text-align: center;
  min-width: 140px;
}
.hero__card--left  { align-self: flex-start; }
.hero__card--right { align-self: flex-end; }

.hcard__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.hcard__icon {
  width: 32px;
  height: 32px;
  background: var(--blue-muted);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.hcard__header span:nth-child(2) {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  flex: 1;
}
.hcard__time {
  font-size: 0.72rem;
  color: rgba(255,255,255,.35);
  white-space: nowrap;
}
.hcard__body { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.hcard__pill {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xs);
  padding: 7px 11px;
  font-size: 0.78rem;
  color: rgba(255,255,255,.65);
}
.hcard__status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.77rem;
  color: rgba(255,255,255,.5);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot--green { background: var(--green); }

.hcard__stat {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.hcard__stat span { font-size: 1rem; font-weight: 600; color: rgba(255,255,255,.6); }
.hcard__stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero stats bar */
.hero__stats {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(12px);
  padding: 24px var(--px);
}
.hero__stats-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.stat-item strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-item span {
  font-size: 0.72rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.stat-sep {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.1);
}

/* ─── SECTION COMMON ─── */
.section { padding: var(--section-py) 0; }
.section__header {
  max-width: 640px;
  margin-bottom: 60px;
}
.section__title { margin-bottom: 14px; }
.section__sub { font-size: 1.05rem; }

/* ─── SCHWERPUNKTE ─── */
.schwerpunkte { background: var(--paper); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.scard {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.scard--wide { grid-column: span 3; min-height: 240px; }

.scard__img {
  position: absolute;
  inset: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  transition: transform 0.65s var(--ease);
}
.scard:hover .scard__img { transform: scale(1.06); }

.scard__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 24, 37, 0.92) 0%,
    rgba(12, 24, 37, 0.45) 45%,
    rgba(12, 24, 37, 0.08) 100%
  );
  transition: background var(--dur) var(--ease);
}
.scard:hover .scard__overlay {
  background: linear-gradient(
    to top,
    rgba(12, 24, 37, 0.88) 0%,
    rgba(12, 24, 37, 0.35) 45%,
    rgba(12, 24, 37, 0.04) 100%
  );
}

.scard__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 22px;
  min-height: 320px;
}
.scard--wide .scard__content { min-height: 240px; }

.scard__num {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,.3);
  letter-spacing: 0.08em;
}

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

.scard__cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  border: 1px solid rgba(255,255,255,.15);
  padding: 3px 9px;
  border-radius: 50px;
  width: fit-content;
}

.scard__title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
}
.scard--wide .scard__title { font-size: 1.4rem; }

.scard__desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,.5);
  line-height: 1.55;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s var(--ease), opacity 0.35s var(--ease);
  opacity: 0;
}
.scard:hover .scard__desc {
  max-height: 80px;
  opacity: 1;
}

.scard__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  padding: 7px 0;
  transition: color var(--dur) var(--ease), gap var(--dur) var(--ease);
  width: fit-content;
}
.scard:hover .scard__link {
  color: #fff;
  gap: 10px;
}
.scard__link svg { transition: transform var(--dur) var(--ease); }
.scard:hover .scard__link svg { transform: translateX(3px); }

/* ─── WARUM ─── */
.warum { background: var(--surface); }

.warum__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.warum__left h2 { margin-bottom: 16px; }
.warum__intro { margin-bottom: 32px; font-size: 1.05rem; }

.warum__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.feature {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: background var(--dur) var(--ease);
}
.feature:hover { background: var(--paper); }

.feature:nth-child(even) { border-right: none; }
.feature:nth-last-child(-n+2) { border-bottom: none; }

.feature__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-top: 2px;
}
.feature__body h3 { margin-bottom: 6px; font-size: 0.92rem; }
.feature__body p  { font-size: 0.82rem; line-height: 1.6; }

/* ─── PARTNER ─── */
.partner {
  background: var(--ink);
  overflow: hidden;
}
.partner .section__header h2,
.partner .section__header p { color: rgba(255,255,255,.8); }

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

.partner__left h2 { color: #fff; margin-bottom: 18px; }
.partner__left > p {
  color: rgba(255,255,255,.55);
  font-size: 1.02rem;
  margin-bottom: 32px;
  line-height: 1.75;
}

.partner__list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 36px;
}
.partner__list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.9rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}
.partner__list li svg {
  flex-shrink: 0;
  color: var(--green);
}

/* Mockup */
.partner__mockup {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.mockup__bar {
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 14px 18px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.mockup__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
}
.mockup__bar span:nth-child(1) { background: #FF5F56; }
.mockup__bar span:nth-child(2) { background: #FFBD2E; }
.mockup__bar span:nth-child(3) { background: #27C93F; }

.mockup__body { padding: 24px; display: flex; flex-direction: column; gap: 22px; }

.mockup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mockup__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,.8);
}
.mockup__badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 50px;
}
.mockup__badge--live {
  background: rgba(22,163,74,.18);
  color: #4ade80;
  border: 1px solid rgba(22,163,74,.3);
}

.mockup__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.kpi {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-sm);
  padding: 14px 12px;
}
.kpi__val {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 3px;
}
.kpi__key {
  display: block;
  font-size: 0.68rem;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.kpi__delta {
  font-size: 0.72rem;
  font-weight: 600;
}
.kpi__delta--up   { color: #4ade80; }
.kpi__delta--down { color: #f87171; }

.mockup__chart { }
.chart__bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 70px;
  margin-bottom: 8px;
}
.chart__bar {
  flex: 1;
  height: var(--h);
  background: rgba(255,255,255,.1);
  border-radius: 3px 3px 0 0;
  transition: background var(--dur) var(--ease);
}
.chart__bar--active { background: var(--blue); }
.chart__bars:hover .chart__bar:not(.chart__bar--active):hover {
  background: rgba(255,255,255,.2);
}
.chart__labels {
  display: flex;
  gap: 6px;
}
.chart__labels span {
  flex: 1;
  text-align: center;
  font-size: 0.65rem;
  color: rgba(255,255,255,.25);
  letter-spacing: 0.04em;
}

.mockup__orders { display: flex; flex-direction: column; gap: 9px; }
.order-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(255,255,255,.45);
}
.order-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.order-dot--green  { background: var(--green); }
.order-dot--yellow { background: var(--yellow); }
.order-dot--blue   { background: var(--blue); }

/* ─── KONTAKT ─── */
.kontakt { background: var(--paper); }
.kontakt__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.kontakt__info h2 { margin-bottom: 14px; }
.kontakt__info > p {
  font-size: 1.02rem;
  margin-bottom: 36px;
  line-height: 1.75;
}
.kontakt__details { display: flex; flex-direction: column; gap: 16px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: opacity var(--dur) var(--ease);
}
a.contact-item:hover { opacity: 0.75; }
.contact-item__icon {
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.contact-item__label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-item__val {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

/* Form */
.kontakt__form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.field:last-of-type { margin-bottom: 0; }
.field__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}
.field__input {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  outline: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
  appearance: none;
}
.field__input:hover { border-color: var(--border-2); }
.field__input:focus {
  border-color: var(--blue);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(29,78,216,.1);
}
.field__input::placeholder { color: var(--text-faint); }
.field__textarea { resize: vertical; min-height: 110px; }

.select-wrap { position: relative; }
.select-arrow {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.kontakt__form .btn { margin-top: 6px; }
.form__note {
  font-size: 0.73rem;
  color: var(--text-faint);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer__top {
  display: flex;
  gap: 64px;
  padding: 60px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer__brand {
  max-width: 260px;
  flex-shrink: 0;
}
.footer__brand p {
  font-size: 0.82rem;
  color: rgba(255,255,255,.35);
  line-height: 1.7;
  margin-top: 14px;
}
.footer__cols {
  display: flex;
  gap: 48px;
  flex: 1;
  justify-content: flex-end;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 4px;
}
.footer__col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,.5);
  transition: color var(--dur) var(--ease);
}
.footer__col a:hover { color: rgba(255,255,255,.85); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,.25);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__photo { display: none; }
  .hero__inner { min-height: 75svh; }
  .warum__inner { grid-template-columns: 1fr; gap: 48px; }
  .partner__inner { grid-template-columns: 1fr; gap: 48px; }
  .kontakt__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__top { flex-direction: column; gap: 40px; }
  .footer__brand { max-width: 100%; }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }
  h1 { letter-spacing: -0.025em; }

  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; }

  .nav__links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px; left: 0; right: 0; bottom: 0;
    background: var(--ink);
    padding: 32px 24px;
    gap: 4px;
    z-index: 499;
    animation: fadeIn 0.25s var(--ease);
  }
  .nav__links.mobile-open .nav__link {
    font-size: 1.1rem;
    padding: 14px;
    border-radius: var(--r-sm);
    color: rgba(255,255,255,.7);
  }
  .nav__links.mobile-open + .nav__actions {
    display: none;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .hero__inner { padding-top: 80px; }
  .hero__actions { flex-direction: column; gap: 10px; }
  .hero__actions .btn { width: 100%; justify-content: center; border-radius: var(--r-sm); }

  .cards-grid { grid-template-columns: 1fr; }
  .scard--wide { grid-column: span 1; }

  .warum__features { grid-template-columns: 1fr; }
  .feature { border-right: none; }
  .feature:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .feature:last-child { border-bottom: none; }

  .kontakt__form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .footer__cols { flex-direction: column; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .hero__stats-inner { gap: 20px; }
  .stat-sep { display: none; }

  .mockup__kpis { grid-template-columns: 1fr 1fr; }

  .partner__right { display: none; }
}

@media (max-width: 480px) {
  .hero { min-height: auto; }
  .scard { min-height: 260px; }
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-card { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════
   SERVICE PAGE (service.html)
═══════════════════════════════════════════ */

/* ─── SERVICE HERO ─── */
.svc-hero {
  position: relative;
  min-height: 62svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.svc-hero__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 7s ease;
}
.svc-hero:hover .svc-hero__img { transform: scale(1); }

.svc-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 24, 37, 0.9)  0%,
    rgba(12, 24, 37, 0.5) 50%,
    rgba(12, 24, 37, 0.2) 100%
  );
}
.svc-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 110px var(--px) 72px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.svc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
}
.svc-breadcrumb a {
  color: rgba(255,255,255,.45);
  transition: color var(--dur) var(--ease);
}
.svc-breadcrumb a:hover { color: rgba(255,255,255,.85); }
.svc-breadcrumb svg { opacity: 0.35; }
.svc-breadcrumb span { color: rgba(255,255,255,.7); }

.svc-hero__cat {
  display: inline-block;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #93c5fd;
  background: rgba(29, 78, 216, 0.25);
  border: 1px solid rgba(29, 78, 216, 0.4);
  padding: 5px 12px;
  border-radius: 50px;
}

.svc-hero__title {
  color: #fff;
  max-width: 680px;
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}

.svc-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}
.svc-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255,255,255,.82);
  font-size: 0.83rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 50px;
}
.svc-meta-pill svg { opacity: 0.7; }

/* ─── SERVICE BODY (content + sidebar) ─── */
.svc-body {
  background: var(--paper);
  padding: 72px 0 88px;
}
.svc-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}
.svc-main {
  display: flex;
  flex-direction: column;
  gap: 52px;
}
.svc-block h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin-bottom: 18px;
  color: var(--ink);
}
.svc-prose p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}
.svc-prose p:last-child { margin-bottom: 0; }

.prep-list,
.bring-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.prep-list li,
.bring-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.prep-list li::before,
.bring-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background: var(--blue-muted);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%231D4ED8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 10px;
}

/* ─── SIDEBAR BOOKING WIDGET ─── */
.svc-sidebar { position: sticky; top: 94px; }

.booking-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.booking-widget__service {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 20px;
}
.booking-widget__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.booking-widget__row:last-of-type { border-bottom: none; }
.booking-widget__row span  { color: var(--text-muted); }
.booking-widget__row strong { color: var(--ink); font-weight: 600; }
.booking-widget .btn { margin-top: 20px; }

.booking-widget__divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}
.booking-widget__call {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--dur) var(--ease);
}
.booking-widget__call:hover { color: var(--blue); }
.booking-widget__hours {
  font-size: 0.78rem;
  color: var(--text-faint);
  line-height: 1.9;
  margin-top: 10px;
}

/* ─── SECTION HEADERS (service page) ─── */
.svc-section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.svc-section-header h2 { margin-bottom: 12px; }
.svc-section-header p  { font-size: 1rem; }
.svc-section-header--light h2 { color: #fff; }
.svc-section-header--light p  { color: rgba(255,255,255,.5); }

/* ─── TEAM ─── */
.svc-team {
  background: var(--surface);
  padding: var(--section-py) 0;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 28px;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.team-card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper);
}
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.65s var(--ease);
  display: block;
}
.team-card:hover .team-card__photo img { transform: scale(1.05); }

.team-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.team-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.team-card__role {
  display: block;
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 14px;
}
.team-card__contacts {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
}
.team-card__contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--dur) var(--ease);
  word-break: break-all;
}
.team-card__contact:hover { color: var(--blue); }
.team-card__contact svg { flex-shrink: 0; color: var(--text-faint); }

/* ─── CONTACT / LOCATION ─── */
.svc-contact {
  background: var(--ink);
  padding: var(--section-py) 0;
}
.location-block {
  display: flex;
  justify-content: center;
}
.location-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  padding: 36px 44px;
  max-width: 560px;
  width: 100%;
}
.location-card h3 {
  color: #fff;
  margin-bottom: 28px;
  font-size: 1.15rem;
}
.location-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.location-row:last-child { border-bottom: none; padding-bottom: 0; }
.location-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(29, 78, 216, 0.2);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93c5fd;
  margin-top: 2px;
}
.location-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 5px;
}
.location-val {
  font-size: 0.92rem;
  color: rgba(255,255,255,.72);
}
a.location-val { transition: color var(--dur) var(--ease); }
a.location-val:hover { color: #fff; }

/* ─── BOOKING FORM SECTION ─── */
.svc-form-section {
  background: var(--paper);
  padding: var(--section-py) 0;
}
.svc-form-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.svc-form-info h2    { margin-bottom: 14px; }
.svc-form-info > p   { margin-bottom: 28px; font-size: 1rem; }
.form-note-items     { display: flex; flex-direction: column; gap: 13px; }
.form-note-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}
.form-note-item svg { flex-shrink: 0; color: var(--green); }

.svc-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.field__optional {
  font-weight: 400;
  color: var(--text-faint);
}
.field--checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}
.field--checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--blue);
  cursor: pointer;
}
.inline-link {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.inline-link:hover { color: var(--blue-hover); }

/* ─── BUTTON SIZE MODIFIER ─── */
.btn--sm { padding: 9px 18px; font-size: 0.82rem; }

/* ─── SERVICE PAGE RESPONSIVE ─── */
@media (max-width: 1024px) {
  .svc-layout      { grid-template-columns: 1fr; }
  .svc-sidebar     { position: static; }
  .svc-form-inner  { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .svc-hero        { min-height: 56svh; }
  .svc-hero__inner { padding: 88px var(--px) 56px; }
  .team-grid       { grid-template-columns: 1fr; }
  .location-card   { padding: 28px 20px; }
  .svc-form        { padding: 24px 18px; }
  .booking-widget  { padding: 22px; }
}
