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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: #1e293b;
  background: #f8fafc;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.container--narrow {
  max-width: 48rem;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(8, 47, 73, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 52px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav__logo svg {
  width: 1.75rem;
  height: 1.75rem;
  color: #38bdf8;
  transition: color 0.15s;
}

.nav__logo:hover svg {
  color: #7dd3fc;
}

.nav__logo-text {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #e0f2fe;
}

.nav__links a:hover {
  color: #fff;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav__meta {
  display: none;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  color: rgba(224, 242, 254, 0.9);
  font-variant-numeric: tabular-nums;
}

.nav__meta-sep {
  width: 1px;
  height: 0.875rem;
  background: rgba(255, 255, 255, 0.2);
}

.nav__login {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.85rem;
  transition: background 0.15s;
}

.nav__login:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav__burger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.15rem;
  padding: 0.35rem;
  cursor: pointer;
}

.nav__mobile {
  display: none;
  background: rgba(8, 47, 73, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.25rem;
}

.nav__mobile.is-open {
  display: block;
}

.nav__mobile a {
  display: block;
  padding: 0.45rem 0;
  color: #e0f2fe;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav__mobile a:hover {
  color: #fff;
}

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
}

@media (min-width: 640px) {
  .nav__meta { display: flex; }
}

/* ---------- Hero / Wave ---------- */
.hero {
  min-height: 30vh;
  display: flex;
  align-items: center;
  padding-top: 30px;
  padding-bottom : 30px;
  padding-right: 15px;
  padding-left: 15px;
  background: linear-gradient(180deg, #0c4a6e 0%, #075985 40%, #0ea5e9 100%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23f8fafc' d='M0,64L48,58.7C96,53,192,43,288,48C384,53,480,75,576,80C672,85,768,75,864,64C960,53,1056,43,1152,42.7C1248,43,1344,53,1392,58.7L1440,64L1440,120L1392,120C1344,120,1248,120,1152,120C1056,120,960,120,864,120C768,120,672,120,576,120C480,120,384,120,288,120C192,120,96,120,48,120L0,120Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 5rem 0;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 1.25rem;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.hero__title span {
  color: #7dd3fc;
}

.hero__text {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: #e0f2fe;
  font-weight: 300;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.15s, box-shadow 0.15s, border-color 0.15s;
  cursor: pointer;
  border: none;
}

.btn--white {
  background: #fff;
  color: #0c4a6e;
  box-shadow: 0 8px 20px -4px rgba(8, 47, 73, 0.25);
}

.btn--white:hover {
  background: #f0f9ff;
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn--dark {
  background: #fff;
  color: #0c4a6e;
}

.btn--dark:hover {
  background: #f0f9ff;
}

/* ---------- Sections ---------- */
.section {
  padding: 5rem 0;
}

.section--white {
  background: #fff;
}

.section--muted {
  background: #f8fafc;
}

.section--dark {
  background: #082f49;
  color: #fff;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__title {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  color: #0c4a6e;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section--dark .section__title {
  color: #fff;
}

.section__subtitle {
  font-size: 1rem;
  color: #64748b;
  max-width: 36rem;
  margin: 0 auto;
}

.section--dark .section__subtitle {
  color: #bae6fd;
}

/* ---------- About ---------- */
.about {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .about {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
}

.about__title {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  color: #0c4a6e;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.about__text {
  color: #475569;
  margin-bottom: 1rem;
}

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

.about-card {
  display: flex;
  gap: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.about-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: #e0f2fe;
  color: #0369a1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.about-card__title {
  font-weight: 600;
  color: #075985;
  margin-bottom: 0.15rem;
}

.about-card__text {
  font-size: 0.875rem;
  color: #64748b;
}



/* ---------- Projects (schlicht) ---------- */
.projects {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .projects {
    grid-template-columns: 1fr 1fr;
  }
}

.project-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -8px rgba(14, 165, 233, 0.15);
}

.project-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.project-card__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.project-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.project-card__icon--amber {
  background: #fffbeb;
  color: #d97706;
}

.project-card__icon--green {
  background: #ecfdf5;
  color: #059669;
}

.project-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.project-card__tagline {
  font-size: 0.75rem;
  color: #94a3b8;
}

.project-card__badge {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}

.project-card__badge--amber {
  background: #fffbeb;
  color: #b45309;
}

.project-card__badge--green {
  background: #ecfdf5;
  color: #047857;
}

.project-card__text {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0369a1;
  transition: color 0.15s;
}

.project-card__link:hover {
  color: #0c4a6e;
}

.project-card__link i {
  font-size: 0.7rem;
  transition: transform 0.15s;
}

.project-card__link:hover i {
  transform: translateX(2px);
}

/* ---------- Services / Leistungen ---------- */
.services__intro {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  color: #bae6fd;
  line-height: 1.6;
}

.services__grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service-card {
  background: rgba(15, 47, 73, 0.5);
  border: 1px solid #075985;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: left;
}

.service-card i {
  color: #38bdf8;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card__text {
  font-size: 0.875rem;
  color: #7dd3fc;
  line-height: 1.55;
}

.services__cta {
  text-align: center;
}

/* ========== Kontakt Grid ========== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 42rem;
  margin: 0 auto;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.contact-item i {
  font-size: 1.35rem;
  color: #0ea5e9;
  width: 2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 0.1rem;
}

.contact-value {
  font-size: 1rem;
  color: #1e293b;
}

.contact-value a {
  color: #0369a1;
  font-weight: 500;
}

.contact-value a:hover {
  color: #0c4a6e;
  text-decoration: underline;
}

/* ---------- Footer ---------- */
.footer {
  background: #082f49;
  color: #7dd3fc;
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__brand svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #38bdf8;
}

.footer__brand-name {
  font-weight: 600;
  color: #fff;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
}

.footer__links a:hover {
  color: #fff;
}

.footer__sep {
  color: #075985;
}

/* ---------- Legal pages ---------- */
.legal {
  padding: 6rem 0 5rem;
}

.legal__title {
  font-size: 1.85rem;
  font-weight: 700;
  color: #0c4a6e;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.legal__meta {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 2.5rem;
}

.legal__section {
  margin-bottom: 2.5rem;
}

.legal__section h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0c4a6e;
  margin-bottom: 0.75rem;
}

.legal__section h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
  margin: 1.25rem 0 0.5rem;
}

.legal__section p {
  color: #475569;
  margin-bottom: 0.75rem;
}

.legal__section p:last-child {
  margin-bottom: 0;
}

.legal__section ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.5rem 0 0.75rem;
  color: #475569;
}

.legal__section li {
  margin-bottom: 0.35rem;
}

.legal__section a {
  color: #0369a1;
  font-weight: 500;
}

.legal__section a:hover {
  color: #0c4a6e;
  text-decoration: underline;
}

.legal__note {
  font-size: 0.85rem;
  color: #94a3b8;
  font-style: italic;
  margin-top: 0.75rem;
}

.legal__nav {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}

.legal__nav a {
  color: #0369a1;
  font-weight: 500;
}

.legal__nav a:hover {
  color: #0c4a6e;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
