
/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

/* PAGE */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 80px 0 40px;
}

/* CARD (GRID) */
#box {
  display: grid;
  grid-template-columns: 150px 1fr 150px;
  width: 900px;
  min-height: 600px;
  padding: 24px;
  border: 3px solid #d3d3d3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* IMAGES */
.leftimg,
.rightimg {
  width: 150px;
  height: 600px;
  object-fit: cover;
  border-radius: 10px;
}

/* MIDDLE COLUMN */
.text {
  display: flex;
  flex-direction: column;
  min-height: 600px;
}

/* CONTENT (oben) */
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 30px;
  gap: 14px;
}

/* LOGO */
.logo {
  width: 120px;
  height: auto;
  margin-bottom: 15px;
}

/* TEXT */
h1 {
  color: #0050A0;
  font-size: 32px;
  margin: 0;
  text-align: center;
}

h2 {
  color: #0050A0;
  font-size: 20px;
  margin: 0;
  text-align: center;
}

p {
  color: #333;
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

/* LINKS */
.link1 {
  color: #0050A0;
  text-decoration: none;
}

.link1:hover {
  text-decoration: underline;
}

/* FOOTER (JETZT STABIL MIT GRID) */
#footer {
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px 0 10px;
  font-size: 13px;
}

#footer a {
  color: #0050A0;
  text-decoration: none;
}

#footer a:hover {
  text-decoration: underline;
}

/* LEGAL PAGES */

body.legal .content {
  padding-left: 40px;
  padding-right: 40px;
}


body.legal p {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

body.datenschutz p {
  font-size: 13px !important;
}

#impressum,
#datenschutz {
  max-width: 900px;
  margin: 60px auto;
  padding: 20px;
  color: #333;
  text-align: center;
}

#impressum h2,
#datenschutz h2 {
  color: #0050A0;
  text-align: center;
}

