:root {
  --navy: #071c33;
  --navy-2: #0c2847;
  --blue: #0b82ff;
  --blue-light: #38a4ff;
  --text: #0b1624;
  --muted: #657180;
  --bg: #f5f8fb;
  --white: #ffffff;
  --line: #e6ebf0;

  --radius: 22px;
  --max: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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


/* HEADER */

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

  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(0,0,0,.06);
}

.nav {
  min-height: 78px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand img {
  width: 180px;
  height: auto;
}

.desktop-nav {
  display: flex;
  gap: 30px;

  margin-left: auto;

  font-size: .93rem;
  color: #42505f;
}

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

.nav-cta {
  padding: 11px 18px;

  border-radius: 12px;

  background: var(--blue);
  color: white;

  font-weight: 650;
  font-size: .91rem;

  box-shadow: 0 8px 22px rgba(11,130,255,.22);
}

.menu-button {
  display: none;
}


/* HERO */

.hero {
  overflow: hidden;

  color: white;

  background:
    radial-gradient(
      circle at 75% 40%,
      rgba(11,130,255,.2),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #06182c,
      #092949
    );

  padding: 100px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;

  gap: 70px;
  align-items: center;
}

.eyebrow {
  margin-bottom: 20px;

  color: #67b6ff;

  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
}

.hero h1 {
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  line-height: 1;

  letter-spacing: -.05em;
  font-weight: 700;

  margin-bottom: 28px;
}

.hero h1 span {
  color: #38a4ff;
}

.hero-text {
  max-width: 680px;

  color: rgba(255,255,255,.72);
  font-size: 1.1rem;

  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-bottom: 34px;
}

.button {
  display: inline-flex;

  justify-content: center;
  align-items: center;

  padding: 14px 21px;

  border: none;
  border-radius: 12px;

  cursor: pointer;

  font-weight: 650;
  font-size: .94rem;

  transition: .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  color: white;

  box-shadow:
    0 10px 26px rgba(11,130,255,.25);
}

.button-secondary {
  color: white;

  border: 1px solid rgba(255,255,255,.3);

  background: rgba(255,255,255,.05);
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;

  font-size: .88rem;

  color: rgba(255,255,255,.68);
}

.hero-benefits span::before {
  content: "✓";

  margin-right: 7px;

  color: #39a7ff;
}

.hero-visual {
  position: relative;
}

.hero-image-wrapper {
  overflow: hidden;

  height: 600px;

  border-radius: 28px;

  box-shadow:
    0 35px 90px rgba(0,0,0,.4);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.hero-floating-card {
  position: absolute;

  left: -35px;
  bottom: 30px;

  width: 270px;

  padding: 18px 20px;

  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;

  background: rgba(5,23,42,.83);
  backdrop-filter: blur(14px);

  box-shadow: 0 12px 30px rgba(0,0,0,.3);
}

.hero-floating-card small {
  display: block;

  color: #58aeff;

  margin-bottom: 4px;
}


/* SECTIONS */

.section {
  padding: 105px 0;
}

.section-intro {
  max-width: 760px;

  margin-bottom: 52px;
}

.section-intro span,
.section-label {
  display: block;

  color: var(--blue);

  margin-bottom: 12px;

  font-size: .75rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.section-intro h2,
.about h2,
.contact h2 {
  font-size: clamp(2.3rem, 4vw, 4rem);

  line-height: 1.05;
  letter-spacing: -.045em;

  margin-bottom: 18px;
}

.section-intro p {
  color: var(--muted);
}


/* SERVICES */

.services {
  background: white;
}

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

  gap: 18px;
}

.service-card {
  min-height: 255px;

  padding: 30px;

  border-radius: var(--radius);
  border: 1px solid var(--line);

  background: white;

  transition: .25s ease;
}

.service-card:hover {
  transform: translateY(-5px);

  box-shadow:
    0 18px 45px rgba(11,28,45,.08);

  border-color: rgba(11,130,255,.25);
}

.service-icon {
  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  margin-bottom: 52px;

  border-radius: 12px;

  color: var(--blue);
  background: #edf6ff;

  font-size: .76rem;
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: 10px;

  font-size: 1.3rem;
  letter-spacing: -.02em;
}

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


/* PROJECTS */

.projects {
  background:
    linear-gradient(
      135deg,
      #06182c,
      #082844
    );

  color: white;
}

.section-intro-dark p {
  color: rgba(255,255,255,.58);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 17px;
}

.project-card {
  overflow: hidden;

  border-radius: 20px;

  background: rgba(255,255,255,.05);

  border:
    1px solid rgba(255,255,255,.1);

  transition: .25s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: 350px;

  object-fit: cover;
}

.project-content {
  padding: 20px;
}

.project-content small {
  color: #64b5ff;

  font-size: .72rem;

  text-transform: uppercase;
  letter-spacing: .1em;
}

.project-content h3 {
  margin: 5px 0 4px;

  font-size: 1.12rem;
}

.project-content p {
  color: rgba(255,255,255,.55);

  font-size: .88rem;
}


/* ABOUT */

.about {
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;

  gap: 70px;
}

.about-content p {
  color: var(--muted);

  margin-bottom: 17px;

  max-width: 700px;
}

.about-card {
  padding: 42px;

  border-radius: 28px;

  background:
    linear-gradient(
      135deg,
      #ebf5ff,
      #f6faff
    );

  border: 1px solid #dbeafb;
}

.about-card h3 {
  font-size: 2rem;

  line-height: 1.15;
  letter-spacing: -.03em;

  margin-bottom: 25px;
}

.about-card ul {
  list-style: none;
}

.about-card li {
  padding: 13px 0;

  border-bottom: 1px solid rgba(0,0,0,.08);

  color: #55616d;
}

.about-card li::before {
  content: "✓";

  margin-right: 9px;

  color: var(--blue);
}


/* CONTACT */

.contact {
  background: var(--bg);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: .85fr 1.15fr;

  gap: 70px;
}

.contact-copy p {
  max-width: 540px;

  color: var(--muted);

  margin-bottom: 25px;
}

.contact-email {
  font-weight: 700;

  color: var(--blue);
}

.contact-form {
  padding: 34px;

  background: white;

  border-radius: 24px;
  border: 1px solid var(--line);

  box-shadow:
    0 16px 45px rgba(10,28,45,.07);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 14px;
}

.contact-form label {
  display: block;

  margin-bottom: 15px;

  color: #495563;

  font-size: .83rem;
  font-weight: 650;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;

  margin-top: 7px;

  padding: 14px 15px;

  border: 1px solid #dfe5ea;
  border-radius: 11px;

  background: #fafbfd;

  font-family: inherit;

  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
}

.button-full {
  width: 100%;
}

.contact-form small {
  display: block;

  text-align: center;

  margin-top: 12px;

  color: #8c959d;
}


/* FOOTER */

.footer {
  padding: 50px 0 25px;

  background: #06172a;
  color: white;
}

.footer-top {
  display: flex;

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

  gap: 40px;

  padding-bottom: 35px;
}

.footer-logo {
  width: 190px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;

  gap: 24px;

  color: rgba(255,255,255,.65);

  font-size: .9rem;
}

.footer-bottom {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  padding-top: 20px;

  border-top:
    1px solid rgba(255,255,255,.09);

  color: rgba(255,255,255,.45);

  font-size: .82rem;
}


/* MOBILE */

@media (max-width: 1000px) {

  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-button {
    display: block;

    width: 40px;
    height: 40px;

    border: none;
    background: transparent;
  }

  .menu-button span {
    display: block;

    width: 23px;
    height: 2px;

    margin: 5px auto;

    background: var(--navy);
  }

  .hero-grid,
  .about-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

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

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

  .hero-image-wrapper {
    height: 520px;
  }

  .hero-floating-card {
    left: 20px;
  }
}


@media (max-width: 650px) {

  .container {
    width: min(calc(100% - 30px), var(--max));
  }

  .brand img {
    width: 150px;
  }

  .hero {
    padding: 72px 0;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .section {
    padding: 75px 0;
  }

  .service-grid,
  .project-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-image-wrapper {
    height: 430px;
  }

  .hero-benefits {
    flex-direction: column;
    gap: 8px;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Klickbare Projektkarten */
.project-card.is-link {
  cursor: pointer;
}

.project-card.is-link::after {
  content: "Projekt ansehen →";
  display: block;
  padding: 0 20px 20px;
  color: #64b5ff;
  font-size: .84rem;
  font-weight: 650;
  opacity: 0;
  transform: translateY(4px);
  transition: .2s ease;
}

.project-card.is-link:hover::after {
  opacity: 1;
  transform: translateY(0);
}
