:root {

  /* Corporate Design */

  --blue: #2d3fe0;          /* Hauptfarbe für Buttons & Links */
  --blue-dark: #1b2b8f;     /* Header, Hero, Footer */
  --blue-light: #edf1ff;    /* Karten & Hover */
  --blue-accent: #0d00ff;
  --blue-light-accent: #e2e8fe;   

  /* Neutral */

  --white: #ffffff;
  --bg: #f6f8fc;

  --text: #000000;
  --muted: #555555;

  --border: #d8def7;

  --shadow: 0 18px 50px rgba(27,43,143,.12);

}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */

.site-header{
    position:sticky;
    top:0;
    z-index:1000;

    background:#fff;
    border-bottom:1px solid var(--border);
}

.header-inner{

    display:flex;
    align-items:center;
    justify-content:space-between;

    height:90px;
    gap:30px;

    position:relative;
}

.brand{

    display:flex;
    align-items:center;

    flex-shrink:0;

}

.brand img{

    display:block;

    max-height:80px;
    width:auto;

}
.nav {
  display: flex;
  gap: 24px;
  font-size: 20px;
  font-weight: 700;
}
.nav a {
  color: var(--blue-dark);
}

.nav a:hover {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: none;
  background: var(--white);
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--blue-dark);
  border-radius: 99px;
  margin: 6px 0;
  transition: .25s ease;
}

/* Hero */

.hero {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.25), transparent 35%),
    linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  padding: 96px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--white);
  opacity: 0.85;
}

.hero .eyebrow {
  color: var(--white);
  opacity: 0.85;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(38px, 7vw, 76px);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(30px, 4vw, 48px);
  color: var(--blue-dark);
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  color: var(--blue-dark);
}

.hero-text {
  max-width: 680px;
  margin-bottom: 32px;
  font-size: 21px;
  opacity: 0.92;
}

.hero-card {
  background: var(--white);
  color: var(--text);
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.hero-logo {
  margin-bottom: 32px;
}

.hero-card h2 {
  margin-bottom: 12px;
  font-size: 32px;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--blue-dark);
}

.btn-light {
  background: var(--white);
  color: var(--blue-dark);
}

.btn-light:hover {
  background: var(--blue-light);
  color: var(--blue-dark);
}

.btn-light-blue {
  background: var(--blue-light);
  color: var(--blue-dark);
}
.btn-light-blue:hover {
  background: var(--blue-light-accent);
  color: var(--blue-dark);
}
/* Sections */

.section {
  padding: 92px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 42px;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 43, 115, 0.06);
}

.icon {
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  background: var(--blue-light);
  border-radius: 16px;
  font-size: 26px;
}

/* Blue section */

.section-blue {
  background: var(--blue-dark);
  color: var(--white);
}

.section-blue h2 {
  color: var(--white);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.check-list div {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 18px 18px 18px 48px;
  font-weight: 700;
}

.check-list div::before {
  content: "✓";
  position: absolute;
  left: 20px;
  color: var(--white);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: center;
}

.portrait {
  width: 360px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

/* Contact */

.contact-section {
  padding-top: 40px;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 48px;
  box-shadow: var(--shadow);
}

.contact-data {
  background: var(--bg);
  border-radius: 24px;
  padding: 32px;
}

/* Footer */

.footer {
  padding: 28px 0;
  background: var(--blue-dark);
  color: var(--white);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer p {
  margin: 0;
}

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

/* Responsive */
@media (max-width: 950px) {
  .hero-grid,
  .split,
  .about-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portrait {
    width: 100%;
    max-width: 420px;
  }
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 32px, 1120px);
  }

  .header-inner {
    min-height: 76px;
  }


  .menu-toggle {
    display: block;
    flex-shrink: 0;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    color: var(--blue-dark);
    padding: 14px 16px;
    border-radius: 12px;
    white-space: normal;
  }

  .nav a:hover {
    background: var(--blue-light);
    color: var(--blue-dark);
  }

  .hero {
    padding: 64px 0;
  }

  h1 {
    font-size: clamp(34px, 11vw, 48px);
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(28px, 8vw, 38px);
    overflow-wrap: anywhere;
  }

  h3 {
    overflow-wrap: anywhere;
  }

  .hero-text,
  p,
  a,
  li,
  .check-list div {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero-card,
  .service-card,
  .contact-box,
  .contact-data,
  .legal-page {
    max-width: 100%;
  }

  .cards,
  .check-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .hero-card {
    padding: 28px;
  }

  .hero-logo {
    max-height: 80px;
  }

  .service-card {
    padding: 24px;
  }

  .contact-box {
    padding: 26px;
    border-radius: 24px;
  }

  .contact-data {
    padding: 24px;
  }

  .button-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

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

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .hero {
    padding: 52px 0;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 27px;
  }

  .hero-text {
    font-size: 18px;
  }

  .hero-card,
  .contact-box,
  .contact-data,
  .service-card {
    padding: 22px;
  }
}

/* Impresum */

.legal-page{

    max-width:900px;

    margin:0 auto;

    background:#fff;

    padding:50px;

    border-radius:20px;

    box-shadow:var(--shadow);

}

.legal-page h1{

    margin-bottom:40px;

}

.legal-page h2{

    font-size:22px;

    margin-top:35px;

    margin-bottom:10px;

}

.legal-page p{

    margin-bottom:18px;

}

.legal-page hr{

    margin:45px 0;

    border:none;

    border-top:1px solid var(--border);

}