
:root {
  --navy: #0F2747;
  --navy-deep: #07192b;
  --blue: #2F80ED;
  --light-blue: #DCEAF8;
  --bg: #F7F9FC;
  --text: #172033;
  --muted: #526174;
  --line: #dbe3ec;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(15, 39, 71, .09);
  --radius: 18px;
  --max: 1900px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--white);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 1000;
  background: var(--white); color: var(--navy); padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 25, 43, .96);
  backdrop-filter: blur(14px);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; min-height: 72px;
  padding: 0 28px; display: flex; align-items: center; justify-content: space-between;
}
.wordmark {
  text-decoration: none; font-weight: 800; letter-spacing: .22em; font-size: 18px; white-space: nowrap;
}
.wordmark span { color: #70aef8; font-weight: 500; }
.desktop-nav { display: flex; align-items: center; gap: 34px; }
.desktop-nav a, .mobile-nav a {
  color: rgba(255,255,255,.9); text-decoration: none; font-size: 15px;
}
.desktop-nav a:hover, .desktop-nav a:focus-visible, .mobile-nav a:hover, .mobile-nav a:focus-visible {
  color: var(--white); text-decoration: underline; text-underline-offset: 7px;
}
.menu-toggle {
  display: none; border: 0; background: transparent; color: var(--white);
  width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: ""; display: block; width: 24px; height: 2px; background: currentColor; transition: .2s;
}
.menu-toggle span { margin: 5px 0; }
.mobile-nav {
  display: none; background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,.08);
  padding: 10px 28px 24px;
}
.mobile-nav a { display: block; min-height: 48px; padding: 13px 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.section { padding: 88px 0; }
.section-soft { background: linear-gradient(180deg, #f8fbfe 0%, #f4f8fc 100%); }
.eyebrow {
  color: var(--navy); text-transform: uppercase; letter-spacing: .22em;
  font-size: 12px; font-weight: 700; margin: 0 0 16px;
}
h1, h2, h3 { color: #0a2037; margin-top: 0; line-height: 1.08; }
h1 { font-size: clamp(56px, 4.2vw, 96px); letter-spacing: -.045em; margin-bottom: 24px; }
h2 { font-size: clamp(40px, 2.8vw, 66px); letter-spacing: -.035em; margin-bottom: 24px; }
h3 { font-size: 24px; letter-spacing: -.02em; }
p { margin: 0 0 20px; font-size: 20px; color: var(--muted); }
.lead { font-size: clamp(20px, 1.45vw, 25px); max-width: 780px; }

.hero {
  background: linear-gradient(135deg, #f8fbff 0%, #edf5fc 100%);
}
.hero-grid {
  width: min(2200px, calc(100% - 72px)); margin: 0 auto; min-height: 760px;
  padding: 72px 58px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(54px, 4.8vw, 110px);
  align-items: center;
}
.hero-copy {
  padding: 28px 0;
  min-width: 0;
  max-width: 860px;
}
.hero-media { min-width: 0; height: 630px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-media img { height: 100%; object-fit: cover; object-position: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 14px 26px; border-radius: 8px; text-decoration: none;
  font-weight: 650; font-size: 18px; transition: transform .18s, background .18s;
}
.btn-primary { background: var(--navy-deep); color: var(--white); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--navy); transform: translateY(-1px); }

.about-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 92px; align-items: center;
}
.about-copy { max-width: 760px; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }

.projects-header { margin-bottom: 44px; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.project-card {
  display: grid; grid-template-columns: 45% 55%; overflow: hidden;
  background: var(--white); border: 1px solid #e8edf3; border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(15, 39, 71, .06);
}
.project-card img { height: 100%; min-height: 330px; object-fit: cover; }
.project-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.project-name { font-size: 14px; letter-spacing: .13em; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.project-body p { font-size: 19px; margin-bottom: 0; }
.project-status {
  margin-top: 18px; font-size: 13px; color: #718095; font-weight: 650; letter-spacing: .02em;
}

.principles-grid {
  display: grid; grid-template-columns: 1fr 1px 1fr; gap: 70px; align-items: center;
}
.principles-rule { width: 1px; height: 130px; background: var(--line); }
.principles-statement { font-size: clamp(40px, 3.5vw, 66px); line-height: 1.12; letter-spacing: -.04em; font-weight: 760; color: #0a2037; }
.principles-copy p { max-width: 500px; margin: 0; }

.contact { text-align: center; background: linear-gradient(180deg,#f5f9fd 0%,#eef5fb 100%); }
.contact h2 { max-width: 980px; margin-left: auto; margin-right: auto; }
.contact p { margin-left: auto; margin-right: auto; }
.contact-email {
  display: inline-block; margin-top: 20px; color: var(--text);
  text-decoration: none; font-weight: 600;
}
.contact-email:hover, .contact-email:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.76); padding: 42px 0; }
.footer-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px;
}
.footer-brand { color: var(--white); letter-spacing: .22em; font-weight: 750; }
.footer-copy { font-size: 14px; text-align: center; }
.footer-links { display: flex; justify-content: flex-end; gap: 24px; }
.footer-links a { color: rgba(255,255,255,.86); text-decoration: none; font-size: 14px; }
.footer-links a:hover, .footer-links a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

.legal-page { min-height: 65vh; }
.legal-wrap { max-width: 850px; margin: 0 auto; padding: 72px 28px 90px; }
.legal-wrap h1 { font-size: clamp(38px, 5vw, 60px); }
.legal-wrap h2 { font-size: 26px; margin-top: 42px; margin-bottom: 14px; }
.legal-wrap p, .legal-wrap li { font-size: 17px; color: #46566a; }
.legal-wrap ul { padding-left: 22px; }
.legal-note { padding: 18px 20px; border-left: 4px solid var(--blue); background: #f4f8fc; margin: 24px 0; }


@media (min-width: 1500px) {
  .header-inner { min-height: 86px; padding-left: 44px; padding-right: 44px; }
  .wordmark { font-size: 21px; }
  .desktop-nav { gap: 42px; }
  .desktop-nav a { font-size: 18px; }
  .container { padding-left: 44px; padding-right: 44px; }
  .section { padding-top: 118px; padding-bottom: 118px; }
  .eyebrow { font-size: 13px; margin-bottom: 18px; }
  p { font-size: 21px; }
  .lead { font-size: 25px; max-width: 800px; }
  .project-grid { gap: 40px; }
  .project-card { grid-template-columns: 44% 56%; }
  .project-card img { min-height: 350px; }
  .project-body { padding: 40px; }
  .project-body p { font-size: 20px; }
  .about-grid { gap: 110px; }
  .footer-brand { font-size: 18px; }
  .footer-copy, .footer-links a { font-size: 15px; }
}

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; flex-direction: column; }
  .mobile-nav.open { display: block; }
  .header-inner { min-height: 66px; padding: 0 22px; }
  .wordmark { font-size: 16px; }

  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding: 0; gap: 0; }
  .hero-media { order: -1; min-height: 260px; height: 34vh; max-height: 380px; border-radius: 0; box-shadow: none; }
  .hero-copy { padding: 48px 24px 58px; max-width: none; }
  h1 { font-size: clamp(39px, 11vw, 55px); }
  h2 { font-size: clamp(32px, 9vw, 44px); }
  p, .lead { font-size: 17px; }
  .section { padding: 62px 0; }
  .container { padding: 0 24px; }

  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-media img { aspect-ratio: 16/10; }
  .project-grid { grid-template-columns: 1fr; gap: 24px; }
  .project-card { grid-template-columns: 1fr; }
  .project-card img { min-height: 230px; aspect-ratio: 16/9; }
  .project-body { padding: 24px; }

  .principles-grid { grid-template-columns: 1fr; gap: 28px; }
  .principles-rule { width: 72px; height: 1px; }
  .principles-statement { font-size: 38px; }

  .footer-inner { grid-template-columns: 1fr; text-align: left; gap: 18px; }
  .footer-copy { text-align: left; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .hero-media { height: 250px; min-height: 250px; }
  .hero-copy { padding: 40px 22px 50px; }
  .container { padding: 0 22px; }
  .section { padding: 54px 0; }
  h1 { font-size: 43px; }
  .btn { width: 100%; min-height: 50px; }
  .about-copy p { font-size: 16.5px; }
  .project-body p { font-size: 16.5px; }
  .principles-statement { font-size: 34px; }
  .contact h2 { font-size: 35px; }
  .footer-links { gap: 18px; flex-wrap: wrap; }
}

@media (max-width: 900px) {
  h3 { font-size: 20px; }
  p { font-size: 17px; }
  .lead { font-size: 17px; }
  .btn { font-size: 16px; min-height: 48px; padding: 12px 22px; }
  .project-body p { font-size: 16.5px; }
}


.contact-form {
  width: min(720px, 100%);
  margin: 34px auto 0;
  text-align: left;
  display: grid;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field {
  display: grid;
  gap: 8px;
}
.form-field label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #cbd7e4;
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  padding: 14px 15px;
  font: inherit;
  font-size: 17px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.form-field input {
  min-height: 50px;
}
.form-field textarea {
  min-height: 170px;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47,128,237,.12);
}
.form-note {
  margin: 0;
  font-size: 14px;
  color: #66768a;
}
.form-note a {
  text-underline-offset: 3px;
}
.contact-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.contact-actions .btn {
  border: 0;
  cursor: pointer;
}
.contact-direct {
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
}
.contact-direct:hover,
.contact-direct:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.form-status {
  display: none;
  width: min(720px, 100%);
  margin: 24px auto 0;
  padding: 15px 17px;
  border-radius: 10px;
  text-align: left;
  font-size: 16px;
}
.form-status.success {
  display: block;
  background: #edf8f0;
  border: 1px solid #bddfc5;
  color: #194d2b;
}
.form-status.error {
  display: block;
  background: #fff4f2;
  border: 1px solid #efc8c1;
  color: #7b281d;
}
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 620px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form { margin-top: 28px; gap: 18px; }
  .contact-actions { align-items: stretch; }
  .contact-actions .btn { width: 100%; }
  .contact-direct { width: 100%; text-align: center; padding: 8px 0; }
}


/* V1.6 – Mobile-Finalisierung */
.legal-wrap h1,
.legal-wrap h2,
.legal-wrap h3,
.legal-wrap p,
.legal-wrap li,
.legal-wrap a {
  overflow-wrap: anywhere;
  word-break: normal;
  -webkit-hyphens: auto;
  hyphens: auto;
}

@media (max-width: 900px) {
  .mobile-nav {
    padding: 4px 22px 14px;
  }

  .mobile-nav a {
    min-height: 44px;
    padding: 10px 0;
    font-size: 16px;
  }

  .legal-wrap {
    padding: 48px 22px 64px;
  }

  .legal-wrap h1 {
    font-size: 38px;
    line-height: 1.08;
  }

  .legal-wrap h2 {
    font-size: 25px;
    line-height: 1.16;
    margin-top: 34px;
  }

  .legal-wrap p,
  .legal-wrap li {
    font-size: 16.5px;
    line-height: 1.58;
  }

  .legal-wrap a {
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .legal-wrap h2 {
    font-size: 23px;
  }

  .wordmark {
    letter-spacing: .18em;
  }
}
