@import url('reset.css');

/* Base layout and typography responsive */

html {
  margin: 0;
}

body {
  margin: 0;
  font-family: 'Cinzel', serif;
  background: #f8f8f8;
  color: #222;
  line-height: 1.5;
  font-size: clamp(14px, 1.4vw, 17px);
}

/* Page wrapper */

#seite {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- HEADER --- */

#header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 1rem;
  margin-top: 2rem;
}

#header img {
  display: block;
  width: 46px;
  height: 46px;
  margin: 0;
}

/* --- CONTENT --- */

#content {
  flex: 1;
  height: auto;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 20px;
}

.left {
  text-align: left;
  margin-bottom: 40px;
}

/* Lists */

ul.linie {
  list-style-type: none;
  list-style-image: url(../images/li_line.gif);
  padding-left: 25px;
}

ul.bullet {
  list-style-type: none;
  list-style-image: url(../images/li_bullet.gif);
  padding-left: 25px;
}

li {
  margin: 0.25rem 0;
}

/* --- FOOTER --- */

#footer {
  margin-top: 2.5rem;
  padding-top: 1rem;
  text-align: center;
  border-top: 1px solid #ddd;
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  color: #555;
}

/* --- HEADINGS & TEXT SIZES --- */

h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 1rem 0;
}

h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  font-weight: bold;
}

h4 {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: bold;
}

small.info {
  font-size: clamp(0.9rem, 1.6vw, 1rem);
}

small.auftrag {
  font-size: clamp(0.85rem, 1.4vw, 0.95rem);
}

small.auftrag2 {
  font-size: clamp(0.4rem, 1.0vw, 0.6rem);
}

small {
  font-size: clamp(0.8rem, 1.4vw, 0.9rem);
}

/* --- LINKS --- */

a {
  color: #202020;
  text-decoration: none;
}

a:hover {
  color: #202020;
  text-decoration: underline;
}

/* --- UTILITIES --- */

.klar {
  clear: both;
}

.links {
  float: left;
}

.rechts {
  float: right;
}

.abstand0 {
  clear: both;
  height: 0;
  line-height: 0;
}

.abstand10 {
  clear: both;
  height: 10px;
}

.abstand16 {
  clear: both;
  height: 16px;
}

.abstand20 {
  clear: both;
  height: 20px;
}

.abstandv20 {
  float: left;
  width: 20px;
  height: 180px;
}

/* --- RESPONSIVE TWEAKS --- */

@media (max-width: 600px) {
  #seite {
    padding: 0.75rem 0.75rem 1.5rem;
  }

  #header {
    margin-top: 1rem;
    justify-content: center;
  }

  #content {
    text-align: left;
  }

  #footer {
    margin-top: 2rem;
    padding-top: 0.75rem;
  }
}

@media (min-width: 1024px) {
  #seite {
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  }
}
