/* ============================================================
   NORDFORM STUDIO — Bright Corporate Stylesheet
   ============================================================ */


/* ——— Variables ——— */
:root {
  --bg:           #FFFFFF;
  --bg-2:         #F5F6FA;
  --bg-card:      #FFFFFF;
  --navy:         #0D1B4B;
  --navy-dark:    #09133A;
  --accent:       #2D6CDF;
  --accent-hover: #1A55C9;
  --accent-light: rgba(45,108,223,0.09);
  --text:         #1A1A2E;
  --gray:         #6B7280;
  --gray-light:   #374151;
  --border:       #E8ECF0;
  --white:        #FFFFFF;
  --f-head:       'Syne', sans-serif;
  --f-body:       'Inter', sans-serif;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --trans:        all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius:       12px;
  --shadow:       0 2px 16px rgba(13,27,75,0.07), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-hover: 0 10px 40px rgba(13,27,75,0.13), 0 2px 8px rgba(0,0,0,0.05);
  --nav-h:        80px;
}

/* ——— Reset ——— */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transition: opacity 0.15s ease;
}
body.loaded { opacity: 1; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: var(--f-body); }
ul { list-style: none; }
input, select, textarea { font-family: var(--f-body); }

/* ——— Typography ——— */
h1, h2, h3, h4 {
  font-family: var(--f-head);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

/* ——— Layout ——— */
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
section { padding: 120px 0; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 4px;
  transition: var(--trans);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(45,108,223,0.32);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px;
  transition: var(--trans);
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(13,27,75,0.07);
  height: 64px;
}

.nav-logo {
  display: flex; align-items: center;
  background: #ffffff;
  border-radius: 10px;
  padding: 2px 4px;
  overflow: hidden;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-name {
  font-family: var(--f-head);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.nav-logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 2px;
}

.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-link {
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav.scrolled .nav-link { color: rgba(13,27,75,0.65); }
.nav-link::after {
  content: '';
  position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-link:hover { color: #FFFFFF; }
.nav.scrolled .nav-link:hover { color: var(--navy); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: #FFFFFF; }
.nav.scrolled .nav-link.active { color: var(--accent); }
.nav-link.active::after { width: 100%; }

.nav-cta {
  background: var(--accent);
  color: #FFFFFF;
  padding: 9px 22px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--trans);
}
.nav-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

.nav-logo-img {
  height: 60px;
  width: auto;
  display: block;
  margin: -10px -11px;
  max-width: none;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 1002;
}
.nav-hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: rgba(255,255,255,0.88);
  border-radius: 2px;
  transition: var(--trans);
  transform-origin: center;
}
.nav.scrolled .nav-hamburger span { background: var(--navy); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed; inset: 0;
  z-index: 1001;
  background: rgba(255,255,255,0.99);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  transform: translateX(100%);
  transition: transform 0.42s var(--ease);
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile-link {
  font-family: var(--f-head);
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(13,27,75,0.6);
  transition: color 0.2s;
  letter-spacing: -0.02em;
}
.nav-mobile-link:hover, .nav-mobile-link.active { color: var(--accent); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh; min-height: 680px;
  display: flex; align-items: center;
  overflow: hidden;
}

.hero-slideshow { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  animation-duration: 10s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-play-state: paused;
}
.hero-slide.active {
  opacity: 1;
  animation-play-state: running;
}
.hero-slide:nth-child(1) { background-image: url('domenico-loia-hGV2TfOh0ns-unsplash.jpg'); animation-name: kb1; }
.hero-slide:nth-child(2) { background-image: url('carriza-maiquez-RTdvy9izXvw-unsplash.jpg'); animation-name: kb2; }
.hero-slide:nth-child(3) { background-image: url('sean-pollock-PhYq704ffdA-unsplash.jpg');    animation-name: kb3; }
.hero-slide:nth-child(4) { background-image: url('taylor-nicole-qH7nLsK_IjE-unsplash.jpg');   animation-name: kb4; }

/* Each slide drifts in a unique direction — subtle zoom + pan */
@keyframes kb1 {
  from { transform: scale(1)    translate(0.5%,  0.3%); }
  to   { transform: scale(1.07) translate(-0.8%, -0.6%); }
}
@keyframes kb2 {
  from { transform: scale(1.03) translate(-0.6%, 0.3%); }
  to   { transform: scale(1.08) translate(0.8%,  -0.6%); }
}
@keyframes kb3 {
  from { transform: scale(1)    translate(-0.8%, 0.6%); }
  to   { transform: scale(1.07) translate(0.6%,  -0.6%); }
}
@keyframes kb4 {
  from { transform: scale(1.03) translate(0.3%,  -0.6%); }
  to   { transform: scale(1.08) translate(-0.6%,  0.6%); }
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(13,27,75,0.9) 0%, rgba(13,27,75,0.75) 60%, rgba(13,27,75,0.55) 100%);
  z-index: 1;
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 60px;
  max-width: 960px;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 28px;
}
.hero-eyebrow-line { width: 44px; height: 1px; background: var(--accent); }

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.03;
  margin-bottom: 28px;
}
.hero-title .hl {
  position: relative; display: inline-block;
}
.hero-title .hl::after {
  content: '';
  position: absolute; bottom: 6px; left: 0;
  width: 100%; height: 5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.3s 2s var(--ease);
}
body.loaded .hero-title .hl::after { transform: scaleX(1); }

.hero-subtitle {
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 44px;
}

/* ——— Trust pills ——— */
.tp-trust-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.tp-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.42);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 7px 16px 7px 7px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}
.tp-check-icon {
  width: 24px; height: 24px; min-width: 24px;
  background: #00B67A;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.tp-pill-text { font-size: 0.8rem; }
.tp-avatars {
  display: flex;
  align-items: center;
}
.tp-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(20,20,20,0.6);
  object-fit: cover;
  margin-left: -9px;
  display: block;
}
.tp-avatar:first-child { margin-left: 0; }

.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* hero outline button on dark hero */
.hero .btn-outline {
  color: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.3);
}
.hero .btn-outline:hover {
  border-color: rgba(255,255,255,0.7);
  color: #FFFFFF;
}

.hero-scroll {
  position: absolute; bottom: 44px; left: 60px;
  z-index: 2;
  display: flex; align-items: flex-end; gap: 16px;
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.hero-scroll-bar {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.35; transform: scaleY(1); }
  50%      { opacity: 1;    transform: scaleY(1.05); }
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  padding: 156px 0 96px;
  background: linear-gradient(140deg, var(--navy) 0%, #162044 60%, #1E2D6C 100%);
  position: relative; overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute; top: -40%; right: -15%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(45,108,223,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-header-title {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.05;
}
.page-header-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  line-height: 1.75;
}
.page-header .label { color: var(--accent); }
.page-header--center { text-align: center; }
.page-header--center .page-header-sub { max-width: 100%; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header { margin-bottom: 64px; }
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--navy);
}
.section-sub {
  font-size: 1rem;
  color: var(--gray);
  max-width: 500px;
  line-height: 1.75;
}
.accent-bar {
  width: 48px; height: 3px;
  background: var(--accent); margin-top: 24px;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.accent-bar.on { transform: scaleX(1); }

/* ============================================================
   VALUE CARDS
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 36px;
  transition: var(--trans);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.value-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.value-card:hover {
  border-color: rgba(45,108,223,0.2);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.value-card:hover::before { transform: scaleX(1); }
.value-icon {
  width: 50px; height: 50px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
}
.value-icon svg { width: 22px; height: 22px; }
.value-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: var(--navy); }
.value-desc { font-size: 0.875rem; color: var(--gray-light); line-height: 1.75; }

/* ============================================================
   PROJECT CARDS
   ============================================================ */
.portfolio-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.portfolio-full-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--trans);
  box-shadow: var(--shadow);
}
.project-card:hover {
  border-color: rgba(45,108,223,0.2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.project-mockup {
  height: 260px;
  background: #E8EDF8;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 20px;
  overflow: hidden;
}
.mockup-browser {
  width: 100%; max-width: 480px;
  background: #F0F4FF;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  box-shadow: 0 -8px 32px rgba(13,27,75,0.12);
}
.mockup-bar {
  height: 30px; background: #E4EAF8;
  display: flex; align-items: center;
  padding: 0 12px; gap: 6px;
}
.mockup-dot { width: 8px; height: 8px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FFBD2E; }
.mockup-dot:nth-child(3) { background: #28C840; }
.mockup-url {
  flex: 1; height: 14px;
  background: #CDD5E8;
  border-radius: 3px; margin-left: 10px;
}
.mockup-body { padding: 0; overflow: hidden; }
.mockup-lines { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.mockup-line {
  height: 7px; background: #D8E0F0; border-radius: 3px;
}
.mockup-line.short { width: 55%; }
.mockup-line.medium { width: 78%; }
.mockup-line.lime { background: rgba(45,108,223,0.3); width: 40%; }

.project-info { padding: 28px 30px 32px; }
.project-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tag {
  padding: 3px 12px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
}
.project-name { font-family: var(--f-head); font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; color: var(--navy); }
.project-loc { font-size: 0.8rem; color: var(--gray); margin-bottom: 12px; }
.project-desc { font-size: 0.875rem; color: var(--gray-light); line-height: 1.7; }

/* ============================================================
   PROJECT SCREENSHOT
   ============================================================ */
.project-screenshot {
  width: 100%; height: 200px;
  object-fit: cover; object-position: top center;
  display: block;
}
.project-card-large .project-screenshot { height: 260px; }

/* ============================================================
   FÜR WEN
   ============================================================ */
.fuer-wen-bg { background: var(--bg-2); }
.fuer-wen-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.fw-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: var(--trans);
  box-shadow: var(--shadow);
}
.fw-card:hover {
  border-color: rgba(45,108,223,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.fw-icon {
  width: 58px; height: 58px;
  background: var(--accent-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
}
.fw-title { font-family: var(--f-head); font-size: 1rem; font-weight: 700; color: var(--navy); }

.foto-note {
  margin-top: 48px;
  background: rgba(45,108,223,0.05);
  border: 1px solid rgba(45,108,223,0.14);
  border-radius: var(--radius);
  padding: 24px 32px;
  display: flex; align-items: center; gap: 16px;
}
.foto-note-icon { font-size: 1.4rem; flex-shrink: 0; align-self: center; line-height: 1; }
.foto-note p { font-size: 0.9rem; color: var(--gray-light); line-height: 1.6; margin: 0; }
.foto-note strong { color: var(--text); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #162044 100%);
}
.cta-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 48px;
}
.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800; line-height: 1.2;
  color: #FFFFFF;
}
.cta-title .lime { color: var(--accent); }
.cta-right { flex-shrink: 0; }

/* ============================================================
   TEAM CARDS
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--trans);
  box-shadow: var(--shadow);
}
.team-card:hover {
  border-color: rgba(45,108,223,0.2);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.team-photo {
  width: 100%; aspect-ratio: 3/4;
  object-fit: cover; object-position: center top;
  display: block; background: var(--bg-2);
  filter: grayscale(15%);
  transition: filter 0.4s ease;
}
.team-card:hover .team-photo { filter: grayscale(0%); }
.team-info { padding: 28px; text-align: center; }
.team-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; color: var(--navy); }
.team-meta { font-size: 0.8rem; color: var(--gray); margin-bottom: 14px; }
.team-role {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 0.8rem; font-weight: 700;
  color: var(--accent); letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.team-role::before,
.team-role::after { content: ''; width: 22px; height: 2px; background: var(--accent); flex-shrink: 0; }
.team-bio { font-size: 0.85rem; color: var(--gray-light); line-height: 1.75; }

/* ============================================================
   STORY SECTION
   ============================================================ */
.story-bg { background: var(--bg-2); }
.story-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.story-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 24px; line-height: 1.15; color: var(--navy); }
.story-text p { color: var(--gray-light); line-height: 1.85; margin-bottom: 20px; font-size: 0.95rem; }
.story-centered { max-width: 680px; margin: 0 auto; text-align: center; }
.story-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.stat-num {
  font-family: var(--f-head);
  font-size: 2.4rem; font-weight: 800;
  color: var(--accent); line-height: 1; margin-bottom: 8px;
}
.stat-lbl { font-size: 0.82rem; color: var(--gray); }

/* ============================================================
   ÜBER UNS VALUES
   ============================================================ */
.values-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.value-item { display: flex; gap: 20px; align-items: flex-start; }
.vi-icon {
  width: 42px; height: 42px; min-width: 42px;
  background: var(--accent-light);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.vi-title { font-family: var(--f-head); font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.vi-desc { font-size: 0.85rem; color: var(--gray-light); line-height: 1.7; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: var(--trans);
  position: relative;
  box-shadow: var(--shadow);
}
.service-card:hover {
  border-color: rgba(45,108,223,0.2);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.service-icon {
  width: 52px; height: 52px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; font-size: 1.4rem;
}
.service-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; color: var(--navy); }
.service-desc { font-size: 0.875rem; color: var(--gray-light); line-height: 1.75; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-bg { background: var(--bg-2); }
.pricing-box {
  background: var(--bg-card);
  border: 1px solid rgba(45,108,223,0.2);
  border-radius: var(--radius);
  padding: 60px;
  text-align: center;
  max-width: 680px; margin: 0 auto;
  box-shadow: var(--shadow);
}
.pricing-box h2 { font-size: 2rem; font-weight: 800; margin-bottom: 20px; color: var(--navy); }
.pricing-box p { color: var(--gray-light); line-height: 1.85; margin-bottom: 40px; font-size: 1rem; }

/* ============================================================
   PROCESS TIMELINE
   ============================================================ */
.process-wrap { position: relative; }
.process-line {
  position: absolute; top: 28px; left: 30px; right: 30px;
  height: 1px; background: var(--border); z-index: 0;
}
.process-steps { display: flex; position: relative; z-index: 1; }
.process-step { flex: 1; text-align: center; padding: 0 12px; }
.step-num {
  width: 56px; height: 56px;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head);
  font-size: 1rem; font-weight: 800; color: var(--accent);
  margin: 0 auto 20px;
  box-shadow: 0 0 0 4px var(--bg-2);
}
.step-title { font-family: var(--f-head); font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.step-desc { font-size: 0.78rem; color: var(--gray); line-height: 1.5; }

/* ============================================================
   PORTFOLIO NOTE
   ============================================================ */
.portfolio-note {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 52px; text-align: center;
  box-shadow: var(--shadow);
  margin-top: 48px;
}
.portfolio-note p { color: var(--gray-light); font-size: 1rem; margin-bottom: 28px; line-height: 1.7; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 72px; align-items: start; }
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 22px; }
.form-label {
  display: block;
  font-size: 0.82rem; font-weight: 600;
  color: var(--gray); margin-bottom: 9px;
  letter-spacing: 0.02em;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: #F9FAFB;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 18px;
  color: var(--text);
  font-size: 0.93rem;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  appearance: none; -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: #9CA3AF; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(45,108,223,0.1);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234B5563' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  background-color: #F9FAFB;
  padding-right: 44px; cursor: pointer;
}
.form-select option { background: #FFFFFF; color: var(--text); }
.form-textarea { min-height: 140px; resize: vertical; line-height: 1.65; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-check-group { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.form-check {
  width: 20px; height: 20px; min-width: 20px;
  border: 1.5px solid var(--border);
  border-radius: 4px; background: #F9FAFB;
  appearance: none; -webkit-appearance: none;
  cursor: pointer; transition: var(--trans);
  position: relative; margin-top: 1px;
}
.form-check:checked { background: var(--accent); border-color: var(--accent); }
.form-check:checked::after {
  content: '';
  position: absolute; top: 2px; left: 5.5px;
  width: 5px; height: 9px;
  border: 2px solid #FFFFFF;
  border-top: none; border-left: none;
  transform: rotate(45deg);
}
.form-check-label { font-size: 0.875rem; color: var(--gray-light); line-height: 1.5; cursor: pointer; }

.form-submit {
  width: 100%; margin-top: 8px;
  padding: 17px;
  background: var(--accent); color: #FFFFFF;
  border: none; border-radius: 6px;
  font-family: var(--f-head);
  font-size: 1rem; font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer; transition: var(--trans);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.form-submit:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(45,108,223,0.28);
}
.form-submit:disabled { opacity: 0.75; cursor: not-allowed; }
.input-error { border-color: #E53E3E !important; background: #FFF5F5 !important; }
.form-error { color: #E53E3E; font-size: 0.8rem; margin-top: 6px; }

.form-success {
  background: var(--bg-card);
  border: 1px solid rgba(45,108,223,0.2);
  border-radius: var(--radius);
  padding: 64px 48px;
  text-align: center;
  display: none;
  box-shadow: var(--shadow);
}
.form-success.show { display: block; animation: fadeIn 0.5s ease; }
.success-check {
  width: 64px; height: 64px;
  background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #FFFFFF; font-weight: 700;
  margin: 0 auto 24px;
}
.form-success h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; color: var(--navy); }
.form-success p { color: var(--gray); }

.contact-sidebar { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--trans);
  box-shadow: var(--shadow);
}
.contact-card:hover { border-color: rgba(45,108,223,0.2); box-shadow: var(--shadow-hover); }
.cc-name { font-family: var(--f-head); font-size: 1.05rem; font-weight: 700; margin-bottom: 3px; color: var(--navy); }
.cc-role { font-size: 0.78rem; color: var(--accent); font-weight: 700; letter-spacing: 0.04em; margin-bottom: 16px; }
.cc-detail {
  display: flex; align-items: center; gap: 11px;
  font-size: 0.86rem; color: var(--gray-light);
  padding: 5px 0;
}
.cc-detail-icon {
  width: 28px; height: 28px;
  background: var(--accent-light);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; flex-shrink: 0;
}
.cc-detail a:hover { color: var(--accent); }

.contact-extra {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow);
}
.contact-extra-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 12px;
}
.contact-email-link {
  font-family: var(--f-head); font-size: 1rem; font-weight: 700;
  color: var(--navy);
  word-break: break-all; transition: color 0.2s;
}
.contact-email-link:hover { color: var(--accent); }

.social-row { display: flex; gap: 10px; margin-top: 4px; }
.social-btn {
  width: 40px; height: 40px;
  background: var(--bg-2);
  color: var(--navy);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: var(--trans);
}
.social-btn:hover { background: var(--accent-light); color: var(--accent); transform: translateY(-2px); }

.contact-note { margin-top: 4px; }
.contact-note p { font-size: 0.85rem; color: var(--gray); line-height: 1.65; }
.contact-note .lime { color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.4fr 1fr 0.8fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-img { height: 44px; width: auto; display: block; }
.footer-brand-name { font-family: var(--f-head); font-size: 1rem; font-weight: 700; color: #FFFFFF; }
.footer-address { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.8; }
.footer-col-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 16px;
}
.footer-contact-lines { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-lines p { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-link { font-size: 0.82rem; color: rgba(255,255,255,0.62); transition: color 0.2s; }
.footer-link:hover { color: #FFFFFF; }
.footer-support-time { font-size: 0.82rem; color: rgba(255,255,255,0.62); line-height: 1.8; }
.footer-direct-links { display: flex; gap: 10px; }
.footer-bottom {
  display: flex; align-items: center;
  justify-content: center;
  padding: 22px 0;
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-bottom { gap: 20px; }
.impressum-link { font-size: 0.8rem; color: rgba(255,255,255,0.35); cursor: pointer; transition: color 0.2s; }
.impressum-link:hover { color: rgba(255,255,255,0.7); }

/* ——— Impressum Modal ——— */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); z-index: 2000;
  align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 48px 52px; max-width: 520px; width: 90%;
  position: relative; box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}
.modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; font-size: 1.5rem;
  cursor: pointer; color: var(--gray); line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--navy); }
.modal-title { font-family: var(--f-head); font-size: 1.6rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.modal-sub { font-size: 0.82rem; color: var(--gray); margin-bottom: 28px; }
.modal-body { font-size: 0.875rem; color: var(--gray-light); line-height: 1.85; }
.modal-body p { margin-bottom: 4px; }
.modal-body a { color: var(--accent); }
.modal-hint {
  margin-top: 20px; padding: 14px 16px;
  background: rgba(45,108,223,0.06);
  border-left: 3px solid var(--accent);
  border-radius: 4px; font-size: 0.82rem; color: var(--gray);
}
.modal-box--wide { max-width: 780px; height: 80vh; display: flex; flex-direction: column; }
.modal-box--wide .modal-title { flex-shrink: 0; }
.modal-iframe { flex: 1; border: none; width: 100%; border-radius: 4px; margin-top: 16px; }
.footer .social-btn {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
}
.footer .social-btn:hover { background: rgba(45,108,223,0.3); color: #FFFFFF; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 3000;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(13,27,75,0.08);
  padding: 20px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transform: translateY(100%);
  transition: transform 0.45s var(--ease);
}
.cookie.show { transform: translateY(0); }
.cookie-text { font-size: 0.84rem; color: var(--gray); max-width: 580px; line-height: 1.55; }
.cookie-text a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-ok {
  background: var(--accent); color: #FFFFFF;
  padding: 10px 24px; border-radius: 4px;
  font-size: 0.85rem; font-weight: 700;
  cursor: pointer; border: none; font-family: var(--f-body);
  transition: var(--trans);
}
.cookie-ok:hover { background: var(--accent-hover); }
.cookie-no {
  background: transparent; color: var(--gray);
  padding: 10px 24px; border: 1px solid var(--border);
  border-radius: 4px; font-size: 0.85rem;
  cursor: pointer; font-family: var(--f-body);
  transition: var(--trans);
}
.cookie-no:hover { color: var(--navy); border-color: rgba(13,27,75,0.3); }

/* ============================================================
   TEAM HOME CARDS
   ============================================================ */
.team-home-section { background: var(--bg-2); }
.team-home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-home-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--trans);
  box-shadow: var(--shadow);
}
.team-home-card:hover {
  border-color: rgba(45,108,223,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.team-home-photo {
  width: 100%; aspect-ratio: 1/1;
  object-fit: cover; object-position: center top;
  display: block;
  filter: grayscale(10%);
  transition: filter 0.4s ease;
}
.team-home-card:hover .team-home-photo { filter: grayscale(0%); }
.team-home-info { padding: 22px 24px 28px; }
.team-home-name { font-family: var(--f-head); font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; color: var(--navy); }
.team-home-role {
  font-size: 0.72rem; font-weight: 700;
  color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 14px;
}
.team-home-skills { display: flex; flex-direction: column; gap: 6px; }
.team-home-skills li {
  font-size: 0.82rem; color: var(--gray-light);
  display: flex; align-items: center; gap: 9px;
}
.team-home-skills li::before {
  content: '';
  width: 5px; height: 5px; min-width: 5px;
  background: var(--accent); border-radius: 50%;
}

/* ============================================================
   KUNDENSTIMMEN / REVIEWS
   ============================================================ */
.reviews-section { background: var(--bg-2); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: var(--trans);
  box-shadow: var(--shadow);
}
.review-card:hover {
  border-color: rgba(45,108,223,0.15);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.review-stars { color: #F59E0B; font-size: 1.05rem; letter-spacing: 3px; margin-bottom: 16px; }
.review-text {
  font-size: 0.9rem; color: var(--gray-light);
  line-height: 1.75; margin-bottom: 20px;
  font-style: italic;
}
.review-author-name { font-family: var(--f-head); font-size: 0.9rem; font-weight: 700; color: var(--navy); }
.review-author-type { font-size: 0.78rem; color: var(--gray); margin-top: 3px; }

.review-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  max-width: 640px; margin: 0 auto;
  box-shadow: var(--shadow);
}
.review-form-title {
  font-family: var(--f-head);
  font-size: 1.4rem; font-weight: 800;
  margin-bottom: 28px; text-align: center;
  color: var(--navy);
}
.review-form-label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--gray); margin-bottom: 8px; letter-spacing: 0.02em;
}
.review-name-input, .review-text-input {
  width: 100%;
  background: #F9FAFB;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--f-body); font-size: 0.93rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  margin-bottom: 20px;
}
.review-name-input::placeholder, .review-text-input::placeholder { color: #9CA3AF; }
.review-name-input:focus, .review-text-input:focus {
  border-color: var(--accent);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(45,108,223,0.1);
}
.review-text-input { min-height: 110px; resize: vertical; }
.star-row {
  display: flex; justify-content: center;
  gap: 8px; margin-bottom: 22px;
}
.star-btn {
  font-size: 2rem; cursor: pointer;
  color: #D1D5DB; transition: color 0.15s, transform 0.1s;
  background: none; border: none; padding: 0; line-height: 1;
}
.star-btn.lit { color: #F59E0B; }
.star-btn:hover { transform: scale(1.18); }
.review-submit-btn {
  width: 100%; padding: 16px;
  background: var(--accent); color: #FFFFFF;
  border: none; border-radius: 6px;
  font-family: var(--f-head); font-size: 1rem; font-weight: 800;
  cursor: pointer; transition: var(--trans);
}
.review-submit-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(45,108,223,0.28);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.lime  { color: var(--accent); }
.gray  { color: var(--gray); }
.center { text-align: center; }
.gap-top { margin-top: 64px; }
.gap-top-sm { margin-top: 48px; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in {
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}
.fade-up.on, .fade-in.on { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .nav { padding: 0 40px; }
  .hero-content { padding: 0 40px; }
  .hero-scroll { left: 40px; }
  .container { padding: 0 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .fuer-wen-grid { grid-template-columns: repeat(2,1fr); }
  .story-grid { grid-template-columns: 1fr; gap: 56px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-right { width: 100%; display: flex; justify-content: center; }
  .process-steps { flex-wrap: wrap; gap: 24px; }
  .process-line { display: none; }
  .process-step { flex: 0 0 calc(33.333% - 16px); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .team-home-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: flex; }

  section { padding: 80px 0; }
  .container { padding: 0 24px; }
  .hero-content { padding: 0 24px; }
  .hero-scroll { left: 24px; display: none; }
  .page-header { padding: 120px 0 72px; }

  .values-grid { grid-template-columns: 1fr; }
  .portfolio-grid, .portfolio-full-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .team-home-grid { grid-template-columns: 1fr; }
  .fuer-wen-grid { grid-template-columns: repeat(2,1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .story-stats { grid-template-columns: 1fr 1fr; }
  .values-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
  .pricing-box { padding: 36px 28px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-form-wrap { padding: 28px 22px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }

  .cookie { flex-direction: column; padding: 20px 24px; align-items: flex-start; }
  .cookie-actions { width: 100%; }
  .cookie-ok, .cookie-no { flex: 1; text-align: center; }

  .process-step { flex: 0 0 calc(50% - 12px); }
}

@media (max-width: 480px) {
  .fuer-wen-grid { grid-template-columns: 1fr; }
  .story-stats { grid-template-columns: 1fr; }
  .process-step { flex: 0 0 100%; }
}
