:root {
  --bg: #ffffff;
  --bg-alt: #f4f6fb;
  --accent: #1c4e80;
  --accent-soft: #e1e8f5;
  --text: #1f2933;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Layout */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 640px;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Scroll animations */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* NAVBAR */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.logo-img {
  height: 36px;
  width: auto;
}

.logo-text {
  font-size: 1rem;
}

/* Hamburger Menu (checkbox hack) */

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 25;
}

.menu-icon span,
.menu-icon span::before,
.menu-icon span::after {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: absolute;
  transition: all 0.3s ease;
}

.menu-icon span {
  top: 9px;
}

.menu-icon span::before {
  content: "";
  top: -7px;
}

.menu-icon span::after {
  content: "";
  top: 7px;
}

.menu-toggle:checked + .menu-icon span {
  background: transparent;
}

.menu-toggle:checked + .menu-icon span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle:checked + .menu-icon span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-links a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.nav-cta {
  border: 1px solid var(--accent) !important;
  color: var(--accent) !important;
}

/* Language Switcher */

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.8rem;
  margin-left: 0.5rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--border);
}

.lang-switcher a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 0.2rem 0.35rem;
  border-radius: 4px;
  font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
}

.lang-switcher a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.lang-switcher a.active {
  color: var(--accent);
  font-weight: 700;
  background: var(--accent-soft);
}

/* HERO */

.hero {
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at top left, #e0ebff 0, #f9fafb 50%, #ffffff 100%);
}

/* Vollbreiter Titel */

.hero-title-full {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 2rem;
  max-width: 100%;
}

/* Neuer 2-Spalten-Hero */

.hero-two-cols {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 2rem;
  align-items: start;
}

.hero-left p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero Fokus-Karte */

.hero-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem 1.75rem 1.5rem;
  border: 1px solid rgba(209, 213, 219, 0.8);
}

.hero-card h2 {
  font-size: 1.2rem;
  margin-top: 0;
}

.hero-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 16px 40px rgba(30, 64, 175, 0.35);
}

.btn-secondary {
  background: #ffffff;
  color: var(--accent);
  border-color: var(--accent-soft);
}

.btn-secondary:hover {
  border-color: var(--accent);
}

/* ABOUT SECTION */

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 3fr);
  gap: 2.5rem;
  align-items: start;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.badge {
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

/* SERVICE CARDS */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.25rem;
  border: 1px solid var(--border);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.card h3 {
  margin-top: 0;
}

/* PROCESS STEPS */

.steps {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.steps li {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.25rem 1.25rem 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.steps li:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

/* CONTACT SECTION */

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.contact-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.10);
  padding: 1.75rem 1.75rem 1.4rem;
  transition: box-shadow 0.2s ease;
}

.contact-card:hover {
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

.contact-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.4rem;
}

.contact-details {
  flex: 1;
}

.contact-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #3b82f6);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
}

.avatar-photo {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.contact-role {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.contact-list li {
  margin-bottom: 0.5rem;
}

.contact-list a {
  color: var(--accent);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* LINKEDIN BUTTON */

.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  border: 1px solid #d0e2ff;
  background: #f3f6ff;
  color: #0a66c2;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-linkedin:hover {
  background: #e1ecff;
  border-color: #a8c8ff;
}

.btn-linkedin svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* QR rechts */

.qr-side {
  width: 90px;
  flex-shrink: 0;
  text-align: center;
}

.qr-side img {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.qr-side span {
  display: block;
  font-size: 0.75rem;
  margin-top: 0.3rem;
  color: var(--text-muted);
}

/* PROJECT BOX */

.project-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.9rem 1.9rem 1.6rem;
  border: 1px solid var(--accent-soft);
  box-shadow: var(--shadow-soft);
}

.project-box h3 {
  margin-top: 0;
}

.project-box ul {
  margin: 0.75rem 0 0.75rem 1.2rem;
}

.contact-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.3rem;
}

/* FOOTER */

.footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
  padding: 1.5rem 0 1.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
}

.footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--accent);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-two-cols {
    grid-template-columns: 1fr;
  }

  .contact-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .qr-side {
    margin-top: 0.8rem;
  }
}

@media (max-width: 720px) {
  /* Hamburger visible */
  .menu-icon {
    display: block;
  }

  .nav-inner {
    flex-wrap: wrap;
    position: relative;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 1rem 0 0.5rem;
    gap: 0.25rem;
  }

  .nav-links a {
    display: block;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
  }

  .menu-toggle:checked ~ .nav-links {
    display: flex;
  }

  .lang-switcher {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
    width: 100%;
    justify-content: center;
  }

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

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .avatar-photo {
    width: 44px;
    height: 44px;
  }

  .logo-img {
    height: 28px;
  }

  .qr-side img {
    width: 56px;
    height: 56px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
