:root {
  --schwarz: #080808;
  --dunkelblau: #071a35;
  --blau: #0d2f5f;
  --weiss: #ffffff;
  --grau: #b8c0cc;
  --grau-hell: #e6e8ef;
  --dunkelgrau: #121722;
  --rot: #d90429;
  --rot-dunkel: #a8001f;
  --linie: rgba(255, 255, 255, 0.09);
  --linie-stark: rgba(255, 255, 255, 0.14);
  --radius: 14px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(135deg, rgba(7, 26, 53, 0.72), transparent 42%),
    var(--schwarz);
  color: var(--weiss);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.header {
  width: 100%;
  min-height: 80px;
  padding: 0 8%;
  background-color: rgba(8, 8, 8, 0.94);
  border-bottom: 1px solid var(--linie);

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

  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 9px;
  background-color: var(--rot);
  border-radius: 50%;
}

.logo span {
  color: var(--rot);
}

.navigation {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navigation a {
  color: var(--weiss);
  font-size: 15px;
  font-weight: 600;
  opacity: 0.82;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.navigation a:hover {
  color: var(--rot);
  opacity: 1;
}

.hero {
  min-height: calc(100vh - 80px);
  padding: 80px 8%;

  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: clamp(48px, 7vw, 86px);

  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.98), rgba(7, 26, 53, 0.9));
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: -24px;
  width: 86px;
  height: 3px;
  background-color: var(--rot);
  opacity: 0.9;
}

.kleiner-titel {
  color: var(--rot);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}

.kleiner-titel::before {
  display: none;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(48px, 7vw, 90px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin-bottom: 25px;
}

.hero h1 span {
  color: var(--rot);
}

.beschreibung {
  max-width: 650px;
  color: var(--grau);
  font-size: clamp(17px, 1.5vw, 19px);
  margin-bottom: 25px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.hero-tags span {
  color: var(--grau-hell);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border: 1px solid var(--linie-stark);
  border-radius: 4px;
  background-color: rgba(18, 23, 34, 0.8);
}

.hero-buttons,
.kontakt-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 5px;
  font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.button-rot {
  background-color: var(--rot);
  color: var(--weiss);
}

.button-rot:hover {
  background-color: var(--rot-dunkel);
  transform: translateY(-3px);
}

.button-outline {
  color: var(--weiss);
  border: 1px solid rgba(255, 255, 255, 0.78);
  background-color: transparent;
}

.button-outline:hover {
  background-color: var(--weiss);
  color: var(--schwarz);
  transform: translateY(-3px);
}

.hero-bild {
  width: min(100%, 470px);
  justify-self: end;
  position: relative;
}

.hero-bild::before,
.hero-bild::after {
  display: none;
}

.hero-bild-rahmen {
  position: relative;
  border-radius: 10px;
  background-color: var(--rot);
  padding: 0;
  box-shadow: var(--shadow);
}

.hero-bild-rahmen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 10px;
  background: linear-gradient(to bottom, transparent 54%, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.hero-bild-rahmen img {
  position: relative;
  z-index: 1;
  left: -16px;
  top: -16px;
}

.hero-bild img {
  height: clamp(420px, 50vw, 540px);
  object-fit: cover;
  border-radius: 10px;
  filter: brightness(0.88) contrast(1.03);
}


.bereich {
  padding: 110px 8%;
  background-color: var(--schwarz);
}

.bereich::before {
  display: none;
}

.bereich:nth-of-type(even) {
  background-color: var(--dunkelblau);
}

.bereich-titel {
  max-width: 760px;
  margin-bottom: 48px;
}

.bereich-titel p {
  color: var(--rot);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 10px;
}

.bereich-titel h2 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.ueber-mich-inhalt {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  margin-bottom: 28px;
}

.text-box,
.info-box,
.service-grid article,
.projekt-karte,
.kontakt-inhalt {
  background-color: var(--dunkelgrau);
  border: 1px solid var(--linie);
  box-shadow: none;
  backdrop-filter: none;
}

.text-box,
.info-box {
  padding: 35px;
  border-radius: 8px;
}

.text-box {
  position: relative;
  overflow: hidden;
}

.text-box::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background-color: var(--rot);
  opacity: 0.85;
}

.text-box h3 {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.text-box p {
  color: var(--grau);
  font-size: 16px;
  margin-bottom: 15px;
}

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

.info-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.info-box div {
  padding: 24px 26px;
  border-bottom: 1px solid var(--linie);
}

.info-box div:last-child {
  border-bottom: 0;
}

.info-box span {
  color: var(--rot);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 800;
}

.info-box p {
  margin-top: 5px;
  color: var(--grau-hell);
  font-weight: 700;
}

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

.service-grid article {
  min-height: 210px;
  padding: 26px;
  border-radius: 8px;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.service-grid article::after {
  display: none;
}

.service-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 4, 41, 0.58);
  background-color: #151c2a;
}

.service-grid span {
  display: inline-flex;
  color: var(--rot);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 36px;
}

.service-grid h3 {
  font-size: 21px;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.service-grid p {
  color: var(--grau);
  font-size: 14px;
}

.projekte-bereich {
  background-color: var(--dunkelblau);
}

.karten {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.projekt-karte {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.projekt-karte:hover {
  transform: translateY(-8px);
  border-color: var(--rot);
}

.projekt-bild {
  min-height: 350px;
  position: relative;
  overflow: hidden;
}

.projekt-bild::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(8, 8, 8, 0.54));
}

.projekt-bild img {
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82) contrast(1.04);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.projekt-karte:hover .projekt-bild img {
  transform: scale(1.04);
  filter: brightness(0.94) contrast(1.06);
}

.projekt-inhalt {
  align-self: center;
  padding: clamp(32px, 5vw, 56px);
}

.projekt-inhalt span {
  color: var(--rot);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 800;
}

.projekt-inhalt h3 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.055em;
  margin: 12px 0 18px;
}

.projekt-inhalt p {
  max-width: 560px;
  color: var(--grau);
  margin-bottom: 26px;
  font-size: 17px;
}

.projekt-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--weiss);
  font-weight: 800;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--rot);
}

.projekt-link::after {
  content: "→";
  color: var(--rot);
  transition: transform 0.25s ease;
}

.projekt-link:hover::after {
  transform: translateX(4px);
}

.galerie {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  grid-auto-rows: 230px;
  gap: 18px;
}

.galerie img {
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--linie);
  filter: brightness(0.78) contrast(1.02);
  transition: transform 0.3s ease, filter 0.3s ease, border-color 0.3s ease;
}

.galerie img:first-child {
  grid-row: span 2;
}

.galerie img:nth-child(4) {
  grid-column: span 2;
}

.galerie img:hover {
  filter: brightness(1) contrast(1.03);
  transform: translateY(-4px);
  border-color: var(--rot);
}

.kontakt-bereich {
  padding: 120px 8%;
  text-align: center;
  background:
    linear-gradient(rgba(7, 26, 53, 0.95), rgba(8, 8, 8, 0.98));
}

.kontakt-inhalt {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(38px, 7vw, 68px);
  border-radius: 8px;
  overflow: hidden;
}

.kontakt-inhalt::before {
  display: none;
}

.kontakt-inhalt .kleiner-titel {
  justify-content: center;
}

.kontakt-inhalt h2 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin-bottom: 22px;
}

.kontakt-inhalt > p:not(.kleiner-titel) {
  max-width: 660px;
  color: var(--grau);
  margin: 0 auto 32px;
  font-size: 18px;
}

.kontakt-links {
  justify-content: center;
}

.footer {
  padding: 30px;
  text-align: center;
  color: var(--grau);
  background-color: var(--schwarz);
  border-top: 1px solid var(--linie);
}


.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--grau);
  font-size: 14px;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--rot);
}

.legal-page {
  min-height: calc(100vh - 80px);
  padding: 96px 8% 120px;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.98), rgba(7, 26, 53, 0.9));
}

.legal-container {
  max-width: 920px;
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 38px;
}

.legal-header p {
  color: var(--rot);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 10px;
}

.legal-header h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.legal-content {
  background-color: var(--dunkelgrau);
  border: 1px solid var(--linie);
  border-radius: 8px;
  padding: clamp(28px, 5vw, 48px);
}

.legal-content h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 34px 0 14px;
}

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

.legal-content h3 {
  font-size: 20px;
  margin: 24px 0 8px;
}

.legal-content p,
.legal-content li {
  color: var(--grau);
  font-size: 16px;
}

.legal-content p + p {
  margin-top: 12px;
}

.legal-content ul {
  margin: 10px 0 0 20px;
}

.legal-content a {
  color: var(--weiss);
  border-bottom: 1px solid var(--rot);
}

.legal-note {
  margin-top: 26px;
  padding: 18px 20px;
  border-left: 4px solid var(--rot);
  background-color: rgba(8, 8, 8, 0.28);
}

.projekt-link-disabled {
  color: var(--grau);
  cursor: default;
  opacity: 0.75;
  pointer-events: none;
}

.projekt-link-disabled::after {
  content: "";
}

.projekt-link-disabled:hover {
  color: var(--grau);
  transform: none;
}

@media screen and (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
  }

  .hero-text::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-tags,
  .hero-buttons {
    justify-content: center;
  }

  .hero-bild {
    justify-self: center;
    order: -1;
  }

  .ueber-mich-inhalt {
    grid-template-columns: 1fr;
  }

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

  .info-box div:nth-child(odd) {
    border-right: 1px solid var(--linie);
  }

  .info-box div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

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

@media screen and (max-width: 820px) {
  .header {
    min-height: auto;
    padding: 18px 20px;
    flex-direction: column;
    gap: 15px;
  }

  .navigation {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .navigation a {
    font-size: 14px;
    padding: 0;
    background: transparent;
  }

  .hero,
  .bereich,
  .kontakt-bereich {
    padding-left: 24px;
    padding-right: 24px;
  }

  .projekt-karte {
    grid-template-columns: 1fr;
  }

  .projekt-bild {
    min-height: 300px;
  }

  .projekt-bild::after {
    background: linear-gradient(to bottom, transparent, rgba(8, 8, 8, 0.54));
  }

  .galerie {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

  .galerie img:first-child,
  .galerie img:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media screen and (max-width: 600px) {
  .hero {
    padding-top: 54px;
    padding-bottom: 72px;
    gap: 36px;
  }

  .hero h1 {
    font-size: clamp(46px, 15vw, 64px);
  }

  .beschreibung {
    font-size: 16px;
  }

  .hero-tags span {
    font-size: 12px;
    padding: 8px 10px;
  }

  .hero-bild {
    width: min(100%, 380px);
  }

  .hero-bild-rahmen img {
    left: -10px;
    top: -10px;
  }

  .hero-bild img {
    height: 390px;
  }


  .bereich {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .bereich-titel {
    margin-bottom: 32px;
  }

  .text-box,
  .kontakt-inhalt {
    padding: 28px;
  }

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

  .info-box div,
  .info-box div:nth-child(odd) {
    border-right: 0;
  }

  .info-box div:nth-last-child(2) {
    border-bottom: 1px solid var(--linie);
  }

  .service-grid article {
    min-height: 180px;
  }

  .projekt-bild {
    min-height: 240px;
  }

  .galerie {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .kontakt-links,
  .hero-buttons {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}


@media screen and (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    gap: 8px;
  }

  .legal-page {
    padding: 64px 20px 86px;
  }

  .legal-content {
    padding: 26px 22px;
  }
}
