/* ================================================================
   MIKRO WEB DESIGN — style.css
   Mobile First · Semantic · No Framework
================================================================ */

/* ────────────────────────────────────────────────────────────────
   VARIABLES
──────────────────────────────────────────────────────────────── */
:root {
  --blue:        #2563eb;
  --blue-d:      #1d4ed8;
  --blue-dd:     #1e40af;
  --blue-light:  #eff6ff;
  --blue-mid:    #bfdbfe;
  --anthracite:  #1a1a2a;
  --gray-d:      #374151;
  --gray-m:      #6b7280;
  --gray-l:      #f9fafb;
  --gray-b:      #e5e7eb;
  --white:       #ffffff;
  --black:       #0d0d14;

  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  --shadow-xs:   0 1px 4px rgba(0,0,0,.06);
  --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,.09);
  --shadow-lg:   0 12px 40px rgba(37,99,235,.14), 0 4px 16px rgba(0,0,0,.06);
  --shadow-blue: 0 8px 28px rgba(37,99,235,.38);

  --ease:        0.26s cubic-bezier(.4,0,.2,1);

  --sp:          clamp(64px, 9vw, 108px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--anthracite);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ────────────────────────────────────────────────────────────────
   CONTAINER
──────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px)  { .container { padding: 0 32px; } }
@media (min-width: 1280px) { .container { padding: 0 40px; } }

/* ────────────────────────────────────────────────────────────────
   TYPOGRAPHY SCALE
──────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; color: var(--anthracite); }
p { color: var(--gray-m); }

/* ────────────────────────────────────────────────────────────────
   BUTTONS
──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 9px;
  font-weight: 600;
  font-size: .92rem;
  line-height: 1;
  cursor: pointer;
  transition: all var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-lg  { padding: 15px 28px; font-size: .96rem; }
.btn-xl  { padding: 17px 36px; font-size: 1rem; border-radius: 11px; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-d);
  border-color: var(--blue-d);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--anthracite);
  border-color: var(--gray-b);
}
.btn-outline:hover {
  border-color: var(--anthracite);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-white {
  background: var(--white);
  color: var(--anthracite);
  font-weight: 600;
}
.btn-white:hover { background: var(--blue); color: var(--white); }

.btn-white-sm {
  background: var(--white);
  color: var(--anthracite);
  font-weight: 600;
  padding: 10px 20px;
  font-size: .88rem;
  border-radius: 8px;
}
.btn-white-sm:hover { background: var(--blue); color: var(--white); }

.btn-white-solid {
  background: var(--white);
  color: var(--blue);
  border-color: transparent;
  font-weight: 700;
  width: 100%;
  padding: 16px;
}
.btn-white-solid:hover {
  background: rgba(255,255,255,.92);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
}

/* ────────────────────────────────────────────────────────────────
   SECTION BASE
──────────────────────────────────────────────────────────────── */
.section { padding: var(--sp) 0; }

.section-head {
  text-align: center;
  margin-bottom: 52px;
}
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow-light { color: #93c5fd; }

.section-title {
  font-size: clamp(1.75rem, 3.8vw, 2.6rem);
  color: var(--anthracite);
}
.section-title-light { color: var(--white); }

.section-cta { text-align: center; margin-top: 48px; }

/* ────────────────────────────────────────────────────────────────
   SCROLL REVEAL
──────────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ════════════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.header.scrolled {
  border-bottom-color: var(--gray-b);
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 86px;
  gap: 18px;
}

.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo {
  height: 54px;
  width: auto;
  display: block;
}

/* Nav – desktop */
.nav { margin-left: clamp(22px, 4vw, 68px); }
.nav-list { display: flex; gap: 6px; }
.nav-link {
  display: block;
  padding: 8px 13px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-d);
  border-radius: 7px;
  transition: color var(--ease), background var(--ease);
}
.nav-link:hover { color: var(--blue); background: var(--blue-light); }

.nav-cta {
  margin-left: auto;
  padding: 13px 22px;
  font-size: .92rem;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--anthracite);
  border-radius: 2px;
  transition: all var(--ease);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════════ */
.hero {
  padding-top: calc(86px + 56px);
  padding-bottom: 72px;
  background: linear-gradient(148deg, #fff 0%, #f0f6ff 45%, #fff 100%);
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 52px;
}

/* Text side */
.hero-content {}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid var(--blue-mid);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
  animation: fadeUp .6s .1s both;
}
.hero-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-headline {
  font-size: clamp(2.1rem, 5.5vw, 3.8rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 20px;
  color: var(--anthracite);
  animation: fadeUp .6s .18s both;
}

.hero-subline {
  font-size: clamp(.98rem, 1.8vw, 1.15rem);
  color: var(--gray-m);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
  animation: fadeUp .6s .26s both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
  animation: fadeUp .6s .34s both;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeUp .6s .42s both;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--gray-d);
}
.hero-badge svg {
  width: 15px;
  height: 15px;
  color: var(--blue);
  flex-shrink: 0;
}

/* Visual side */
.hero-visual {
  display: flex;
  justify-content: center;
  animation: fadeUp .7s .28s both;
}

/* ════════════════════════════════════════════════════════════════
   DEVICE MOCKUP
════════════════════════════════════════════════════════════════ */
.device-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
}

/* ── Laptop ── */
.laptop { width: 100%; position: relative; }

.laptop-lid {
  background: #23233a;
  border-radius: 14px 14px 0 0;
  border: 8px solid #2e2e48;
  border-bottom: 0;
  overflow: hidden;
  box-shadow: 0 0 0 1px #1a1a28;
}

.laptop-screen {
  background: #fff;
  aspect-ratio: 16/10;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Screen chrome */
.screen-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}
.chrome-dots { display: flex; gap: 4px; }
.dot { width: 6px; height: 6px; border-radius: 50%; }
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green  { background: #28c840; }
.chrome-bar {
  flex: 1;
  height: 12px;
  background: #e5e7eb;
  border-radius: 6px;
  margin: 0 4px;
}

/* Screen body – simulated website */
.screen-body { flex: 1; overflow: hidden; display: flex; flex-direction: column; }

.sb-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-bottom: 1px solid #f3f4f6;
  flex-shrink: 0;
}
.sb-logo  { width: 36px; height: 5px; background: var(--anthracite); border-radius: 2px; }
.sb-links { display: flex; gap: 5px; margin-left: auto; }
.sb-link  { width: 18px; height: 4px; background: #d1d5db; border-radius: 2px; }
.sb-btn   { width: 28px; height: 9px; background: var(--blue); border-radius: 3px; }

.sb-hero {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px 8px;
  background: linear-gradient(135deg, #f0f6ff 0%, #fff 100%);
  flex: 1;
}
.sbh-text { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.sbh-eyebrow { width: 35%; height: 4px; background: var(--blue); border-radius: 2px; opacity: .6; }
.sbh-h1      { height: 8px; width: 80%; background: var(--anthracite); border-radius: 3px; }
.sbh-h1-short { width: 60%; }
.sbh-sub     { height: 4px; width: 70%; background: #d1d5db; border-radius: 2px; margin-top: 2px; }
.sbh-btns    { display: flex; gap: 5px; margin-top: 6px; }
.sbh-btn     { height: 10px; border-radius: 3px; }
.sbh-btn-primary { width: 44px; background: var(--blue); }
.sbh-btn-outline  { width: 36px; border: 1px solid #d1d5db; }
.sbh-img {
  width: 36%;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-mid));
  border-radius: 6px;
}

.sb-cards {
  display: flex;
  gap: 6px;
  padding: 6px 10px;
  flex-shrink: 0;
}
.sb-card {
  flex: 1;
  height: 22px;
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 4px;
}

.screen-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.phone-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Laptop hinge + base */
.laptop-hinge {
  background: #1e1e30;
  height: 6px;
  border-top: 2px solid #3a3a56;
}
.laptop-base {
  background: linear-gradient(180deg, #c8c8d8 0%, #d8d8e8 100%);
  height: 12px;
  border-radius: 0 0 8px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0,0,0,.18);
}
.laptop-pad {
  width: 38px;
  height: 6px;
  background: #b8b8c8;
  border-radius: 3px;
}

/* ── Phone ── */
.phone {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 24%;
  min-width: 80px;
  max-width: 110px;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,.28));
  animation: float 3s ease-in-out infinite;
}
.phone-inner {
  background: #23233a;
  border-radius: 16px;
  border: 4px solid #2e2e48;
  padding: 6px;
  box-shadow: inset 0 0 0 1px #1a1a28;
}
.phone-notch {
  width: 28px;
  height: 4px;
  background: #1a1a28;
  border-radius: 3px;
  margin: 0 auto 4px;
}
.phone-screen {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 9/18;
  display: flex;
  flex-direction: column;
}
.ps-nav  { height: 5px; background: var(--anthracite); margin: 4px 4px 0; border-radius: 2px; flex-shrink: 0; }
.ps-hero { height: 32%; background: linear-gradient(135deg, #eff6ff, #bfdbfe); margin: 4px 4px 0; border-radius: 4px; flex-shrink: 0; }
.ps-body { flex: 1; padding: 5px 4px; display: flex; flex-direction: column; gap: 3px; }
.ps-line { height: 4px; background: #e5e7eb; border-radius: 2px; }
.ps-line-short { width: 70%; }
.ps-btn { height: 8px; width: 55%; background: var(--blue); border-radius: 3px; margin-top: 2px; }
.ps-cards { display: flex; gap: 3px; flex: 1; margin-top: 3px; }
.ps-card { flex: 1; background: #f9fafb; border-radius: 3px; border: 1px solid #f3f4f6; }

/* ════════════════════════════════════════════════════════════════
   LEISTUNGEN
════════════════════════════════════════════════════════════════ */
.leistungen { background: var(--gray-l); }

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

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-b);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  cursor: default;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}
.service-card:hover .sc-icon { background: var(--blue); color: var(--white); }

.sc-icon {
  width: 50px;
  height: 50px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all var(--ease);
}
.sc-icon svg { width: 22px; height: 22px; }

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.service-card p {
  font-size: .88rem;
  line-height: 1.65;
}

/* ════════════════════════════════════════════════════════════════
   FÜR WEN
════════════════════════════════════════════════════════════════ */
.fuer-wen { background: var(--white); }

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

.target-card {
  background: var(--gray-l);
  border: 1px solid var(--gray-b);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
  transition: all var(--ease);
  cursor: default;
}
.target-card:hover {
  background: var(--blue-light);
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.target-card:hover .tc-icon { background: var(--blue); color: var(--white); }
.target-card:hover h3 { color: var(--blue); }

.tc-icon {
  width: 48px;
  height: 48px;
  background: var(--white);
  color: var(--blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  transition: all var(--ease);
  box-shadow: var(--shadow-xs);
}
.tc-icon svg { width: 22px; height: 22px; }

.target-card h3 {
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-d);
  transition: color var(--ease);
}

/* ════════════════════════════════════════════════════════════════
   REFERENZEN
════════════════════════════════════════════════════════════════ */
.referenzen { background: var(--gray-l); }

.ref-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.ref-grid.ref-single {
  grid-template-columns: 1fr;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.ref-card {
  background: var(--white);
  border: 1px solid var(--gray-b);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}
.ref-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.ref-img {
  position: relative;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Reference card backgrounds */
.ref-img-1 { background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 40%, #fbcfe8 100%); }
.ref-img-2 { background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 40%, #bbf7d0 100%); }
.ref-img-3 { background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 40%, #fde68a 100%); }
.ref-img-4 { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 40%, #bfdbfe 100%); }

/* Miniature browser mockup inside each reference card */
.ref-preview {
  width: 82%;
  height: 82%;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,.14);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--ease);
}
.ref-card:hover .ref-preview { transform: scale(1.02); }

.rp-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 7px;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
}
.rp-bar span {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.rp-bar span:nth-child(1) { background: #ff5f57; }
.rp-bar span:nth-child(2) { background: #ffbd2e; }
.rp-bar span:nth-child(3) { background: #28c840; }

.rp-hero {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 10px 10px;
}
.rp-hero-1 { background: linear-gradient(135deg, #fdf2f8, #fce7f3); }
.rp-hero-2 { background: linear-gradient(135deg, #f0fdf4, #dcfce7); }
.rp-hero-3 { background: linear-gradient(135deg, #fffbeb, #fef3c7); }
.rp-hero-4 { background: linear-gradient(135deg, #eff6ff, #dbeafe); }

.rp-lines { display: flex; flex-direction: column; gap: 4px; width: 65%; }
.rp-line  { height: 5px; border-radius: 2px; background: var(--anthracite); }
.rp-lg    { width: 90%; opacity: .85; }
.rp-md    { width: 70%; opacity: .65; }
.rp-sm    { width: 50%; opacity: .45; }
.rp-cbtn  { width: 38%; height: 9px; background: var(--blue); border-radius: 3px; margin-top: 4px; }

.rp-cards {
  display: flex;
  gap: 5px;
  padding: 6px 8px;
  flex-shrink: 0;
}
.rp-card {
  flex: 1;
  height: 16px;
  background: #f9fafb;
  border-radius: 3px;
  border: 1px solid #f3f4f6;
}

.ref-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Hover overlay */
.ref-overlay {
  position: absolute;
  inset: 0;
  background: rgba(37,99,235,.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--ease);
}
.ref-card:hover .ref-overlay { opacity: 1; }

.ref-info { padding: 18px 22px; }
.ref-tag {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue);
  display: block;
  margin-bottom: 5px;
}
.ref-info h3 {
  font-size: .98rem;
  font-weight: 700;
}

/* ════════════════════════════════════════════════════════════════
   ABLAUF
════════════════════════════════════════════════════════════════ */
.ablauf { background: var(--white); }

/* Mobile: vertical timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 31px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--blue-mid));
  z-index: 0;
}

.tl-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 0 0 36px;
  position: relative;
  z-index: 1;
}
.tl-step:last-child { padding-bottom: 0; }

.tl-icon-wrap {
  position: relative;
  flex-shrink: 0;
}
.tl-num {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 19px;
  height: 19px;
  background: var(--blue);
  color: var(--white);
  font-size: .62rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  z-index: 2;
}

.tl-icon {
  width: 64px;
  height: 64px;
  background: var(--white);
  border: 2px solid var(--blue-mid);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transition: all var(--ease);
  box-shadow: var(--shadow-sm);
}
.tl-step:hover .tl-icon {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
  transform: scale(1.06);
}
.tl-icon svg { width: 25px; height: 25px; }

.tl-body { padding-top: 12px; }
.tl-body h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.tl-body p { font-size: .88rem; line-height: 1.65; }

/* ════════════════════════════════════════════════════════════════
   PREISE
════════════════════════════════════════════════════════════════ */
.preise {
  background: linear-gradient(148deg, var(--anthracite) 0%, var(--blue-dd) 55%, var(--blue) 100%);
}

.price-wrap {
  display: flex;
  justify-content: center;
}

.price-card {
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-xl);
  padding: 44px 32px 36px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #fbbf24;
  color: var(--black);
  font-size: .72rem;
  font-weight: 800;
  padding: 5px 18px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .09em;
  white-space: nowrap;
}

.price-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
}
.price-from { font-size: .98rem; color: rgba(255,255,255,.65); }
.price-num {
  font-size: clamp(2.8rem, 6vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -.03em;
}

.price-desc {
  font-size: .92rem;
  color: rgba(255,255,255,.72);
  margin-bottom: 28px;
  line-height: 1.65;
}

.price-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 32px;
  text-align: left;
}
.price-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  color: rgba(255,255,255,.9);
}
.price-list li svg {
  width: 17px;
  height: 17px;
  color: #86efac;
  flex-shrink: 0;
}

.price-note {
  font-size: .76rem;
  color: rgba(255,255,255,.42);
  margin-top: 16px;
  line-height: 1.55;
}

/* ════════════════════════════════════════════════════════════════
   KONTAKT
════════════════════════════════════════════════════════════════ */
.kontakt { background: var(--anthracite); }

.kontakt-inner {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

.kontakt-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.kontakt-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 36px;
  line-height: 1.7;
}

.kontakt-channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin-bottom: 32px;
}

.kontakt-channel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .96rem;
  transition: all var(--ease);
  width: 100%;
  max-width: 280px;
}
.kontakt-channel svg { width: 20px; height: 20px; flex-shrink: 0; }

.kontakt-wa {
  background: #25d366;
  color: var(--white);
}
.kontakt-wa:hover {
  background: #1db954;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37,211,102,.3);
}

.kontakt-mail {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.15);
}
.kontakt-mail:hover {
  background: rgba(255,255,255,.13);
  transform: translateY(-3px);
}

/* ════════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════ */
.footer {
  background: #0e0e18;
  padding: 56px 0 0;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-brand a {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}
.footer-logo {
  height: 72px;
  width: auto;
  display: block;
  opacity: 1;
}
.footer-brand p {
  font-size: .87rem;
  color: rgba(255,255,255,.38);
  line-height: 1.7;
  max-width: 300px;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: .9rem;
  color: rgba(255,255,255,.42);
  transition: color var(--ease);
}
.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 0;
  text-align: center;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.22); }

.footer-legal { display: flex; gap: 22px; justify-content: center; }
.footer-legal a {
  font-size: .8rem;
  color: rgba(255,255,255,.22);
  transition: color var(--ease);
}
.footer-legal a:hover { color: rgba(255,255,255,.6); }

/* ════════════════════════════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (≥ 640px)
════════════════════════════════════════════════════════════════ */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .target-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ref-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ref-grid.ref-single {
    grid-template-columns: 1fr;
  }
  .kontakt-channels {
    flex-direction: row;
    justify-content: center;
  }
  .kontakt-channel { max-width: none; width: auto; }
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .footer-legal { justify-content: flex-end; }
  .footer-logo { height: 86px; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — Desktop (≥ 900px)
════════════════════════════════════════════════════════════════ */
@media (min-width: 900px) {

  /* Header */
  .nav { display: block !important; }
  .hamburger { display: none !important; }
  .nav-cta { display: inline-flex !important; }
  .header-inner {
    height: 96px;
    gap: 20px;
  }
  .logo { height: 66px; }
  .nav { margin-left: clamp(20px, 3vw, 42px); }

  /* Hero – two columns */
  .hero {
    padding-top: calc(96px + 80px);
    padding-bottom: 100px;
  }
  .hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }
  .hero-visual { order: 0; }

  /* Services – 4 per row max */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Target – 6 per row */
  .target-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  /* Timeline – horizontal */
  .timeline {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }
  .timeline::before {
    top: 31px;
    left: calc(10% + 32px);
    right: calc(10% + 32px);
    bottom: auto;
    width: auto;
    height: 2px;
  }
  .tl-step {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 12px 0;
    gap: 16px;
  }
  .tl-body { padding-top: 0; }
  .tl-body h3 { font-size: .95rem; }
  .tl-body p  { font-size: .83rem; }

  /* Services 4 columns */
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile Nav (≤ 899px)
════════════════════════════════════════════════════════════════ */
@media (max-width: 899px) {
  .nav {
    position: fixed;
    top: 86px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-b);
    box-shadow: 0 12px 32px rgba(0,0,0,.1);
    padding: 16px 20px 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--ease), opacity var(--ease);
    z-index: 999;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-list {
    flex-direction: column;
    gap: 2px;
  }
  .nav-link {
    padding: 13px 16px;
    font-size: .97rem;
    font-weight: 500;
    border-radius: 8px;
  }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — Large Desktop (≥ 1280px)
════════════════════════════════════════════════════════════════ */
@media (min-width: 1280px) {
  .header-inner { height: 120px; }
  .logo { height: 94px; }
  .nav { margin-left: 44px; }
  .hero { padding-top: calc(120px + 80px); }
  .hero-inner { gap: 80px; }
  .device-wrap { max-width: 560px; }
}

@media (min-width: 1100px) and (max-width: 1279px) {
  .header-inner { height: 106px; }
  .logo { height: 78px; }
  .nav { margin-left: 36px; }
  .hero { padding-top: calc(106px + 80px); }
}

@media (min-width: 900px) and (max-width: 1099px) {
  .nav-cta { display: none !important; }
  .nav-link {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 768px)
════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .logo { height: 56px; }
}

/* ════════════════════════════════════════════════════════════════
   PRINT — hide interactive elements
════════════════════════════════════════════════════════════════ */
@media print {
  .header, .hamburger, .hero-visual { display: none; }
  .hero { padding-top: 20px; }
}
