/* Start.css – rekonstruiert und modernisiert */

/* Generelles Design */
body {
  background-image: url(../Hintergrund/hintergrund_marmor.jpg);
  /*background-size: cover;
  background-attachment: fixed;*/
  margin: 0;
  padding: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 100;
  font-size: 100%;
  color: #333;
}

h1 {
  font-size: 2.5em;
  line-height: 1.5em;
  margin: 0.2em 0;
  font-weight: 300;
}

h2 {
  font-size: 1.6em;
  line-height: 1.5em;
  margin: 0.4em 0;
  font-weight: 300;
  text-align: left;
}

p {
  line-height: 1.5em;
  margin: 0.5em 0;
  text-align: justify;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
  margin: 0.3em 0;
  padding: 1.25em;
  line-height: 1.3em;
}

img {
  max-width: 100%;
  height: auto;
  /*display: block;*/
}

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

/* Header */
header {
  text-align: center;
  padding: 1em 0;
}

header img {
  width: 10em;
}

/* Navigation */
nav {
  background: #fff;
  text-align: center;
  border-bottom: 1px solid #ccc;
}

nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0.5em 0;
}

nav ul li {
  margin: 0 0.4em;
  display: inline-block;
}

nav ul li a {
  color: #454040;
  font-size: 1.1em;
  padding: 0.4em 0.6em;
  border-radius: 4px;
  transition: 0.2s;
}

nav ul li a:hover {
  background: #DBD9D8;
  border-bottom: 3px solid #E7590B;
}

nav ul li a.active {
  border-bottom: 3px solid #E7590B;
}

/* Content Area */
#main {
  width: 96%;
  max-width: 1600px;
  margin: 1.5em auto;
  padding: 0;
}

#maintext {
  position: relative;
  min-height: 140px;
  margin-bottom: 10px;
  padding: 10px;
  text-align: justify;
}

.image {
  float: left;
  margin: 0 10px 10px 0;
  padding: 10px;
  border: 1px solid #333;
  border-radius: 15px;
  background: #fff;
}

#main img {
  max-height: 120px;
}

/* Footer */
footer {
  background: #2F2C2C;
  text-align: center;
  padding: 1em 0;
  margin-top: 2em;
}

footer ul {
  max-width: 980px;
  margin: 0 auto;
}

footer ul li {
  display: inline-block;
  font-size: 0.85em;
  line-height: 2em;
  color: #E2DBDB;
  padding: 0 0.6em;
}

footer ul li a {
  color: #E2DBDB;
}

/* Mobile Style */
@media (max-width: 800px) {
  body {
    font-size: 90%;
  }

  nav ul li {
    margin: 0.3em 0.6em;
  }
}

@media (max-width: 500px) {
  body {
    font-size: 86%;
  }

  nav {
    display: none;
  }

  nav ul li {
    display: block;
    padding: 0.4em 0;
    font-size: 1.25em;
  }
}


/* Category Tiles */
#image, .image, .cat-tile {
  display: inline-block;
  width: 180px;
  margin: 10px;
  padding: 10px;
  border-radius: 15px;
  text-align: center;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#image:hover, .image:hover, .cat-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

#image img, .image img, .cat-tile img {
  border-radius: 10px;
  max-height: 120px;
  object-fit: contain;
}
