/* ===== REXROID v4 — Professional IT Services ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #1a56db;
  --blue-hover: #1346b8;
  --blue-light: #eff4ff;
  --blue-soft: #dbeafe;
  --navy: #0c1425;
  --dark: #111827;
  --text: #1e293b;
  --text-secondary: #475569;
  --muted: #64748b;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.07);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 48px rgba(0,0,0,0.1);
  --shadow-blue: 0 8px 24px rgba(26,86,219,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
main { display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--blue); color: var(--white); text-decoration: none;
  padding: 12px 18px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.9rem; transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 16px; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(26,86,219,0.4); outline-offset: 3px;
}

/* ===== NAVBAR ===== */
.navbar {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  transition: box-shadow 0.3s var(--ease);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo {
  font-weight: 800; font-size: 1.15rem; color: var(--blue);
  display: flex; align-items: center; gap: 8px; text-decoration: none;
  letter-spacing: -0.01em; transition: opacity 0.2s;
}
.logo:hover { opacity: 0.85; }
.logo-icon { width: 28px; height: 28px; display: block; flex-shrink: 0; }
.logo span { line-height: 1; }
.nav-toggle-icon { width: 22px; height: 22px; display: block; }

nav { display: flex; align-items: center; gap: 2px; }
nav a {
  text-decoration: none; color: var(--muted); padding: 8px 16px;
  border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s, background 0.2s; position: relative;
}
nav a:hover { color: var(--blue); background: var(--blue-light); }
nav a.active { color: var(--blue); font-weight: 600; }
nav a.active::after {
  content: ''; position: absolute; bottom: -1px; left: 16px; right: 16px;
  height: 2px; background: var(--blue); border-radius: 2px;
}
nav a.nav-cta {
  background: var(--blue); color: #fff !important; font-weight: 600;
  margin-left: 8px; padding: 9px 20px; border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(26,86,219,0.25);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
nav a.nav-cta:hover {
  background: var(--blue-hover);
  box-shadow: 0 4px 14px rgba(26,86,219,0.35);
  transform: translateY(-1px);
}
nav a.nav-cta::after { display: none; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: var(--radius-md);
  align-items: center; justify-content: center; transition: background 0.2s;
}
.nav-toggle:hover { background: var(--blue-light); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: var(--radius-md);
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  text-decoration: none; border: 2px solid transparent;
  transition: all 0.25s var(--ease); line-height: 1.4;
}
.btn-primary {
  background: var(--blue); color: var(--white); border-color: var(--blue);
  box-shadow: 0 2px 8px rgba(26,86,219,0.2);
}
.btn-primary:hover {
  background: var(--blue-hover); border-color: var(--blue-hover);
  box-shadow: 0 6px 20px rgba(26,86,219,0.3); transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }
.btn-outline-white {
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15); border-color: #fff; transform: translateY(-2px);
}
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-light); transform: translateY(-2px); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 82vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('assets/images/hero-tech.jpg');
  background-image: image-set(
    url('assets/images/hero-tech.webp') type('image/webp'),
    url('assets/images/hero-tech.jpg') type('image/jpeg')
  );
  background-size: cover; background-position: center; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(7,14,28,0.92) 0%, rgba(12,24,54,0.78) 35%, rgba(26,86,219,0.35) 100%);
  z-index: 1;
}
.hero-overlay::after {
  content: ''; position: absolute; right: -5%; top: 10%;
  width: 500px; height: 500px;
  border: 1px solid rgba(255,255,255,0.05); border-radius: 50%;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding: 96px 0; }
.hero-text { max-width: 640px; }
.hero-text h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 400;
  line-height: 1.2; margin-bottom: 20px; color: #fff; letter-spacing: -0.02em;
}
.hero-text h1 strong { font-weight: 800; display: block; margin-top: 4px; }
.hero-text p {
  color: rgba(255,255,255,0.82); font-size: 1.06rem;
  max-width: 500px; margin-bottom: 36px; line-height: 1.75;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--blue-light) 0%, #e8f0fe 50%, #f0f5ff 100%);
  padding: 64px 0 56px; border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: -80px; bottom: -100px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(26,86,219,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800;
  margin-bottom: 14px; letter-spacing: -0.02em;
}
.page-hero p { color: var(--muted); font-size: 1.05rem; max-width: 600px; line-height: 1.7; }

/* ===== TRUST STRIP ===== */
.trust-strip { background: var(--blue-light); border-bottom: 1px solid var(--border); }
.trust-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 20px 24px; }
.trust-strip-inner div { font-size: 0.88rem; color: var(--muted); font-weight: 600; }

/* ===== INTRO ===== */
.intro { padding: 48px 0; background: var(--bg); border-bottom: 1px solid var(--border); text-align: center; }
.intro p { color: var(--text-secondary); font-size: 1.02rem; max-width: 760px; margin: 0 auto; line-height: 1.8; }

/* ===== SERVICES ===== */
.services { padding: 96px 0; }
.services h2 { text-align: center; font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 800; margin-bottom: 48px; letter-spacing: -0.02em; }
.cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.card {
  grid-column: span 2; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s;
}
.cards .card:nth-child(4) { grid-column: 2 / span 2; }
.cards .card:nth-child(5) { grid-column: 4 / span 2; }
.card:hover { box-shadow: var(--shadow-blue); transform: translateY(-6px); border-color: rgba(26,86,219,0.15); }
.card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.card-icon {
  width: 50px; height: 50px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, #f8fbff 0%, var(--blue-light) 100%);
  border: 1px solid rgba(26,86,219,0.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.card:hover .card-icon { transform: scale(1.08); box-shadow: 0 4px 16px rgba(26,86,219,0.12); }
.card h3 { font-size: 1.08rem; font-weight: 700; }
.card p { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 20px; line-height: 1.65; }
.card-link {
  color: var(--blue); text-decoration: none; font-size: 0.9rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px; transition: gap 0.25s var(--ease);
}
.card-link:hover { gap: 10px; }

/* ===== WHY REXROID ===== */
.why { padding: 96px 0; background: var(--bg); }
.why-inner { display: flex; align-items: center; gap: 56px; }
.why-text { flex: 1; }
.why-text h2 { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 800; margin-bottom: 32px; letter-spacing: -0.02em; }
.why-text ul { list-style: none; }
.why-text ul li { display: flex; gap: 16px; margin-bottom: 20px; font-size: 0.95rem; color: var(--text-secondary); line-height: 1.65; }
.why-text ul li strong { color: var(--text); }
.check {
  color: var(--blue);
  background: linear-gradient(135deg, #f8fbff 0%, var(--blue-light) 100%);
  border: 1px solid rgba(26,86,219,0.1);
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.check-icon { width: 14px; height: 14px; display: block; }
.why-image { flex: 1; }
.why-image img { width: 100%; border-radius: var(--radius-xl); object-fit: cover; height: 380px; box-shadow: var(--shadow-xl); border: 1px solid rgba(26,86,219,0.06); }
.why-image picture { display: block; width: 100%; height: 100%; }

/* ===== HOW WE WORK ===== */
.how { padding: 96px 0; }
.how h2 { text-align: center; font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 800; margin-bottom: 48px; letter-spacing: -0.02em; }
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 0; flex-wrap: wrap; }
.step {
  flex: 1; min-width: 220px; max-width: 290px;
  text-align: center; padding: 32px 24px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.step:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, #1346b8 100%);
  color: var(--white); font-size: 1.2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; box-shadow: 0 4px 12px rgba(26,86,219,0.2);
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.step p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.65; }
.step-arrow { font-size: 2rem; color: var(--blue); padding: 28px 10px 0; opacity: 0.3; }

/* ===== BRANCHEN (homepage) ===== */
.branchen { padding: 96px 0; background: var(--bg); }
.branchen h2 { text-align: center; font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 800; margin-bottom: 48px; letter-spacing: -0.02em; }
.branchen-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.branchen-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 28px; text-align: center;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.branchen-card:hover { box-shadow: var(--shadow-blue); transform: translateY(-6px); }
.branchen-icon {
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 20px;
  background: linear-gradient(135deg, #f8fbff 0%, var(--blue-light) 100%);
  border: 1px solid rgba(26,86,219,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease-spring);
}
.branchen-card:hover .branchen-icon { transform: scale(1.06); }
.branchen-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.branchen-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.65; }

/* ===== FAQ ===== */
.faq { padding: 96px 0; }
.faq h2 { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 800; margin-bottom: 40px; text-align: center; letter-spacing: -0.02em; }
.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; background: none; border: none; cursor: pointer;
  font-size: 1rem; font-weight: 600; color: var(--text); text-align: left;
  transition: color 0.2s; font-family: inherit;
}
.faq-q:hover { color: var(--blue); }
.faq-q span { font-size: 1.4rem; color: var(--blue); transition: transform 0.3s var(--ease); flex-shrink: 0; margin-left: 16px; }
.faq-q.open span { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 20px; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }
.faq-a.open { display: block; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, #0d3fa6 50%, #091c54 100%);
  padding: 64px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,0.03); pointer-events: none;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 800; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.82); margin-bottom: 28px; font-size: 1rem; }
.cta-banner .btn-primary { background: #fff; color: var(--blue); border-color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.cta-banner .btn-primary:hover { background: var(--blue-light); border-color: var(--blue-light); transform: translateY(-2px); }

/* ===== FOOTER ===== */
.footer { background: var(--navy); padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 44px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { color: #8898aa; font-size: 0.88rem; line-height: 1.65; }
.footer-links h4, .footer-contact h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; font-weight: 700; }
.footer-links { display: flex; flex-direction: column; }
.footer-links a { color: #8898aa; text-decoration: none; font-size: 0.9rem; padding: 5px 0; transition: color 0.2s; word-break: break-word; }
.footer-links a:hover { color: #fff; }
.footer-contact p { color: #8898aa; font-size: 0.9rem; margin-bottom: 10px; line-height: 1.6; }
.footer-contact a { color: #8898aa; text-decoration: none; display: block; font-size: 0.9rem; padding: 3px 0; transition: color 0.2s; word-break: break-word; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); margin-top: 48px; padding: 22px 24px; text-align: center; }
.footer-bottom p { color: #556; font-size: 0.85rem; }
.footer .logo-icon { filter: brightness(1.15); }

/* ===== LEISTUNGEN DETAIL ===== */
.leistungen-detail { padding: 96px 0; }
.leistung-block {
  display: flex; gap: 36px; align-items: flex-start;
  padding: 44px 0; border-bottom: 1px solid var(--border);
}
.leistung-block:last-child { border-bottom: none; }
.leistung-icon {
  width: 68px; height: 68px; border-radius: 20px; flex-shrink: 0;
  background: linear-gradient(135deg, #f8fbff 0%, var(--blue-light) 100%);
  border: 1px solid rgba(26,86,219,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.leistung-block:hover .leistung-icon { transform: scale(1.06); box-shadow: 0 8px 20px rgba(26,86,219,0.1); }
.leistung-content { flex: 1; }
.leistung-content h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; }
.leistung-content > p { color: var(--text-secondary); margin-bottom: 28px; line-height: 1.7; }
.leistung-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.leistung-text p { color: var(--text-secondary); margin: 0 0 20px; font-size: 0.94rem; line-height: 1.7; }
.leistung-cta { margin-top: 20px; }
.service-note { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 22px; margin-bottom: 24px; }
.service-note p { color: var(--text-secondary); font-size: 0.94rem; }
.leistung-cols h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--blue); margin-bottom: 14px; font-weight: 700; }
.leistung-cols h4 + p { margin-top: 0; }
.leistung-cols ul + h4,
.leistung-cols p + h4 { margin-top: 28px; }
.leistung-cols ul { list-style: none; }
.leistung-cols ul li { padding: 8px 0; color: var(--text-secondary); font-size: 0.92rem; border-bottom: 1px solid var(--border); display: flex; gap: 10px; align-items: center; }
.leistung-cols ul li::before { content: '›'; color: var(--blue); font-weight: 700; font-size: 1.1rem; }
.nutzen-box {
  background: linear-gradient(135deg, var(--blue-light) 0%, #e8f0fe 100%);
  border-radius: var(--radius-md); padding: 22px; border: 1px solid rgba(26,86,219,0.08);
}
.nutzen-box h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--blue); margin-bottom: 10px; font-weight: 700; }
.nutzen-box p { color: var(--text); font-size: 0.92rem; line-height: 1.65; }

.leistung-img-wrap {
  border-radius: 18px; overflow: hidden; height: 230px; flex-shrink: 0;
  background: linear-gradient(135deg, #f8fbff 0%, var(--blue-light) 100%);
  border: 1px solid rgba(26,86,219,0.08); box-shadow: var(--shadow-lg);
}
.leistung-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.leistung-block:hover .leistung-img-wrap img { transform: scale(1.04); }
.leistung-img-wrap picture { display: block; width: 100%; height: 100%; }

/* ===== ÜBER UNS ===== */
.about-section { padding: 96px 0; }
.about-block { margin-bottom: 64px; }
.about-block h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 18px; }
.about-block p { color: var(--text-secondary); max-width: 720px; line-height: 1.75; }
.three-points { display: flex; gap: 24px; margin-top: 24px; flex-wrap: wrap; }
.point {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--blue-light); border-radius: var(--radius-md);
  padding: 16px 22px; flex: 1; min-width: 180px;
  border: 1px solid rgba(26,86,219,0.06);
}
.point-text { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }
.point-text strong { color: var(--text); display: inline-block; margin-bottom: 4px; }
.point .check { margin-top: 0; }
.three-steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.auszeichnung-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 24px; }
.auszeichnung-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.auszeichnung-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.auszeichnung-card .card-icon { width: 52px; height: 52px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; }
.auszeichnung-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.auszeichnung-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; }

/* ===== BRANCHEN DETAIL ===== */
.branchen-detail { padding: 96px 0; }
.branchen-block {
  display: flex; gap: 36px; align-items: flex-start; padding: 52px 0;
  border-bottom: 1px solid var(--border);
}
.branchen-block:last-child { border-bottom: none; }
.branchen-block-icon {
  width: 76px; height: 76px; border-radius: 22px; flex-shrink: 0;
  background: linear-gradient(135deg, #f8fbff 0%, var(--blue-light) 100%);
  border: 1px solid rgba(26,86,219,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease-spring);
}
.branchen-block:hover .branchen-block-icon { transform: scale(1.06); }
.branchen-block-content h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 14px; }
.branchen-block-content h3 { font-size: 0.88rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--blue); margin: 24px 0 12px; font-weight: 700; }
.branchen-block-content p { color: var(--text-secondary); max-width: 720px; line-height: 1.7; }
.branchen-block-content ul { list-style: none; max-width: 720px; }
.branchen-block-content ul li { padding: 7px 0 7px 20px; position: relative; color: var(--text-secondary); }
.branchen-block-content ul li::before { content: "›"; color: var(--blue); position: absolute; left: 0; top: 7px; font-weight: 700; }

/* ===== KONTAKT ===== */
.kontakt-section { padding: 96px 0; }
.kontakt-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.kontakt-info h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 30px; }
.kontakt-detail { display: flex; gap: 18px; margin-bottom: 26px; align-items: flex-start; transition: transform 0.2s; }
.kontakt-detail:hover { transform: translateX(4px); }
.kontakt-icon {
  width: 50px; height: 50px; border-radius: var(--radius-md); flex-shrink: 0;
  background: linear-gradient(135deg, #f8fbff 0%, var(--blue-light) 100%);
  border: 1px solid rgba(26,86,219,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: box-shadow 0.3s;
}
.kontakt-detail:hover .kontakt-icon { box-shadow: 0 4px 16px rgba(26,86,219,0.1); }
.kontakt-detail strong { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--blue); margin-bottom: 5px; font-weight: 700; }
.kontakt-detail p, .kontakt-detail a { color: var(--text-secondary); font-size: 0.95rem; text-decoration: none; }
.kontakt-detail a:hover { color: var(--blue); }
.kontakt-note {
  margin-top: 30px; padding: 22px; background: var(--blue-light);
  border-radius: var(--radius-md); color: var(--text-secondary); font-size: 0.9rem;
  border-left: 3px solid var(--blue); line-height: 1.65;
}
.form-note { margin-top: 0; margin-bottom: 24px; }
.form-note strong { color: var(--text); }
.kontakt-form-wrap h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 20px; }
.form-trust-note { color: var(--muted); font-size: 0.86rem; margin-top: -6px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.contact-form input, .contact-form textarea, .contact-form select {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 16px; font-size: 0.95rem; font-family: inherit;
  color: var(--text); background: var(--white);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}
.form-status { margin-top: 10px; font-size: 0.92rem; padding: 12px 16px; border-radius: var(--radius-sm); line-height: 1.55; }
.form-status--info { background: #EBF2FB; color: #185FA5; border: 1px solid #B5D4F4; }
.form-status--success { background: #EAF3DE; color: #3B6D11; border: 1px solid #C0DD97; }
.form-status--error { background: #FCEBEB; color: #A32D2D; border: 1px solid #F7C1C1; }

/* ===== LEGAL ===== */
.legal-section .container { display: grid; gap: 24px; }
.legal-card { padding: 28px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.legal-card p { max-width: none; }

/* ===== ICONS ===== */
.icon-img { width: 24px; height: 24px; display: block; }
.card-icon .icon-img, .auszeichnung-card .card-icon .icon-img { width: 24px; height: 24px; }
.branchen-icon .icon-img, .branchen-block-icon .icon-img, .leistung-icon .icon-img { width: 30px; height: 30px; }
.kontakt-icon .icon-img { width: 22px; height: 22px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .why-inner { flex-direction: column; }
  .why-image img { height: 260px; }
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .leistung-cols { grid-template-columns: 1fr; }
  .three-steps-grid { grid-template-columns: 1fr; }
  .kontakt-inner { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .cards .card:nth-child(4), .cards .card:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 768px) {
  .hero { min-height: 80vh; }
  .hero-text h1 { font-size: 1.85rem; }
  .hero-content { padding: 64px 0; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding: 0; }
  .branchen-block { flex-direction: column; }
  .leistung-block { flex-direction: column; }
  .trust-strip-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .leistung-img-wrap { height: 200px; width: 100%; }
  nav {
    display: none; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border); padding: 16px; gap: 4px;
    box-shadow: var(--shadow-lg);
  }
  nav.open { display: flex; }
  nav a.active::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner { position: relative; }
}
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
  .card, .branchen-card, .auszeichnung-card, .step, .leistung-block, .branchen-block {
    opacity: 1 !important; transform: none !important;
  }
}
@media print {
  .navbar, .nav-toggle, .cta-banner, .hero-buttons, .skip-link { display: none !important; }
  .hero { min-height: auto; padding: 40px 0; }
  body { font-size: 12pt; color: #000; }
  .card, .branchen-card, .step { break-inside: avoid; }
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
}
.lang-switch a {
  padding: 5px 10px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  color: var(--muted) !important;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  border: none !important;
  font-size: 0.8rem;
  background: transparent;
}
.lang-switch a:hover {
  background: var(--blue-light) !important;
  color: var(--blue) !important;
}
.lang-switch a.active {
  background: var(--blue) !important;
  color: #fff !important;
}
.lang-switch a.active::after { display: none; }
.lang-switch a + a { border-left: 1px solid var(--border); }
@media (max-width: 768px) {
  .lang-switch {
    align-self: flex-start;
    margin: 8px 0 0 0;
  }
}

/* ===== MOBILE-FIX: About page layouts ===== */
.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.partner-box {
  background: #f0f5ff;
  border: 1px solid #dbeafe;
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}
.remote-section {
  background: #f0f5ff;
  border-top: 1px solid #dbeafe;
  border-bottom: 1px solid #dbeafe;
  padding: 56px 0;
}
.remote-inner {
  max-width: 840px;
}
.remote-inner h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.remote-inner p {
  color: var(--muted);
  margin-bottom: 16px;
}
.remote-inner p:last-of-type {
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .about-two-col {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .partner-box {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 24px;
    text-align: center;
  }
  .partner-box .btn {
    width: 100%;
    justify-content: center;
  }
  .tech-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .remote-section {
    padding: 40px 0;
  }
  .remote-inner h2 {
    font-size: 1.25rem;
  }
  .auszeichnung-grid {
    grid-template-columns: 1fr;
  }
  .page-hero {
    padding: 40px 0 36px;
  }
  .page-hero h1 {
    font-size: 1.6rem;
  }
  .branchen-cards {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    padding: 48px 0;
  }
  .cta-banner h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 400px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .container {
    padding: 0 16px;
  }
}

/* ===== Service sub-nav (Leistungen page) ===== */
.service-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.service-nav-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.service-nav-inner::-webkit-scrollbar { display: none; }
.service-nav-inner a {
  flex-shrink: 0;
  padding: 14px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.service-nav-inner a:hover,
.service-nav-inner a:active,
.service-nav-inner a.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
@media (max-width: 768px) {
  .service-nav-inner a {
    padding: 12px 16px;
    font-size: 0.8rem;
  }
}

/* ===== Tech cards (About page) ===== */
.tech-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.tech-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 8px;
}
.tech-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}
@media (max-width: 768px) {
  .tech-card {
    padding: 14px 16px;
  }
}
