:root {
  --navy: #0b245b;
  --navy-dark: #071a43;
  --orange: #f47a00;
  --text: #172033;
  --muted: #5e6675;
  --line: #dfe3ea;
  --soft: #f7f8fb;
  --white: #ffffff;
  --max-width: 1180px;
  --heading-font: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --body-font: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --page-title-size: clamp(1.85rem, 3.2vw, 2.75rem);
  --section-title-size: clamp(1.55rem, 2.5vw, 2rem);
  --shadow: 0 18px 45px rgba(11, 36, 91, .10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--body-font);
  line-height: 1.58;
}

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 42px), var(--max-width));
  margin-inline: auto;
}

/* Einheitlicher Header auf allen Seiten */
.site-header {
  color: var(--white);
  background: linear-gradient(120deg, var(--navy-dark), var(--navy));
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.header-inner {
  min-height: 54px;
  padding: 6px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark {
  display: inline-block;
  color: var(--white);
  font-family: var(--heading-font);
  font-size: clamp(1.15rem, 1.8vw, 1.48rem);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark:hover,
.wordmark:focus-visible {
  color: var(--white);
  opacity: .9;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 28px;
  color: var(--white);
  font-size: .96rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  text-decoration: none;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--orange);
}

/* Einheitliche Überschriftentypografie */
h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy);
  font-family: var(--heading-font);
  font-weight: 700;
}

h1,
.hero h1,
.about-copy h1,
.legal-main h1 {
  margin: 0 0 20px;
  font-size: var(--page-title-size);
  line-height: 1.14;
  letter-spacing: -.025em;
}

h2 {
  line-height: 1.2;
}

h3 {
  line-height: 1.25;
}

/* Startseite */
.hero {
  padding: 44px 0 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(11, 36, 91, .018), rgba(244, 122, 0, .035));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .85fr);
  gap: 70px;
  align-items: center;
}

.hero-copy {
  padding: 10px 0 32px;
}

.hero h1 {
  max-width: 790px;
}

.lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.experience-card {
  padding: 26px 34px 29px;
  text-align: left;
  border: 1px solid #ccd2dd;
  border-radius: 15px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.card-logo {
  display: block;
  width: min(100%, 315px);
  height: auto;
  margin: 0 0 14px;
}

.experience-rule {
  width: 100%;
  height: 1px;
  margin: 8px 0 18px;
  background: var(--line);
}

.experience-number {
  display: block;
  margin-bottom: 2px;
  color: var(--orange);
  font-family: var(--heading-font);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.experience-title {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
}

.experience-text {
  margin: 13px 0 0;
  color: var(--muted);
}

.section {
  padding: 52px 0 60px;
}

.section-title {
  display: table;
  margin: 0 auto 34px;
  padding-bottom: 7px;
  border-bottom: 3px solid var(--orange);
  text-align: center;
  font-size: var(--section-title-size);
}

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

.service {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  align-items: start;
}

.service-icon {
  width: 72px;
  height: 72px;
  padding: 12px;
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 12px;
}

.service h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.service p {
  margin: 0;
  color: var(--muted);
}

.value-section {
  padding: 35px 0 39px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.value {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 22px;
  padding: 10px 35px;
}

.value + .value {
  border-left: 1px solid var(--line);
}

.value-icon {
  width: 62px;
  height: 62px;
  color: var(--navy);
}

.value h3 {
  margin: 0 0 4px;
  font-size: 1.16rem;
}

.value p {
  margin: 0;
  color: var(--muted);
}

/* Über mich */
.about-hero {
  padding: 42px 0 48px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(11, 36, 91, .018), rgba(244, 122, 0, .035));
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 58px;
  align-items: start;
}

.about-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.06rem;
}

.about-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.about-card h2 {
  margin: 0 0 16px;
  font-size: 1.45rem;
}

.about-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.about-list li::before {
  content: "◆";
  margin-right: 9px;
  color: var(--orange);
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.profile-link:hover {
  text-decoration: underline;
}

/* Impressum und Datenschutz */
.legal-main {
  min-height: 68vh;
  padding: 42px 0 60px;
}

.legal-box {
  max-width: 850px;
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
  border-radius: 10px;
  background: var(--white);
}

.legal-box h2 {
  margin: 30px 0 12px;
  font-size: 1.35rem;
}

.legal-box h2:first-child {
  margin-top: 0;
}

/* Einheitlicher Footer */
.site-footer {
  min-height: 64px;
  padding: 18px 0;
  display: flex;
  align-items: center;
  color: var(--white);
  background: linear-gradient(120deg, var(--navy-dark), var(--navy));
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-inner > :first-child {
  justify-self: start;
}

.footer-inner > :nth-child(2) {
  justify-self: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-self: end;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 940px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .experience-card {
    max-width: 520px;
  }

  .services-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .value + .value {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-inner > :first-child,
  .footer-inner > :nth-child(2),
  .footer-links {
    justify-self: center;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

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

  .wordmark {
    font-size: 1.18rem;
  }

  .main-nav {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  .service,
  .value {
    grid-template-columns: 1fr;
  }

  .service-icon,
  .value-icon {
    width: 58px;
    height: 58px;
  }

  .experience-card {
    padding: 21px;
  }

  .legal-box {
    padding: 24px;
  }
}

.person-name {
  margin: -8px 0 22px;
  color: var(--navy);
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 600;
}
