* {
  box-sizing: border-box;
}

body {
  background-color: #c7d8f3;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 80px;
  padding: 40px 24px;
  color: #141e37;
  font-family: sans-serif;
}

.hero-bereich {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 1100px;
}

.hero-bereich.gespiegelt {
  justify-content: space-between;
}

.textblock {
  flex: 1 1 300px;
  max-width: 450px;
}



h1,h2 {
    color: #ffffff;
    font-family: Tahoma;
    font-size: 60px;
    text-transform: uppercase;
    font-weight: bold;
}

h1 {
    text-align: left;
    margin-left: -3px;
}

h2 {
    text-align: right;
    margin-right: 10px;
}

p {
    font-family: monospace;
    font-size: 20px;
}

section.text2 {text-align: right}

html {
  scroll-behavior: smooth;
}

.nach-oben {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  background-color: #141e37;
  color: #c7d8f3;
  text-decoration: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nach-oben:hover {
  background-color: #333333;
}


model-viewer {
  width: 100%;
  height: 450px;
}

.objekt-3d-ueber-bild {
  position: relative;
  flex: 0 0 auto;
  display: inline-block;
}

.objekt-3d-ueber-bild img {
  display: block;
  height: 320px;
  max-width: 100%;
  width: auto;
    box-shadow: 0 4px 12px rgba(0, 11, 39, 0.61);
}

.objekt-3d-ueber-bild model-viewer {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -46%);
  width: 77%;
  height: 68%;
  background-color: transparent;
}