/* Allgemeine Seite */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}

header {
  background-color: #333;
  color: #fff;
  padding: 1rem 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

header .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header img {
  max-width: 150px;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  display: inline;
  margin-right: 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* Hauptbereich */
h1 {
  text-align: center;
  margin-top: 2rem;
}

p {
  text-align: center;
  margin-top: 1rem;
}

/* Abschnitt: Mehrwertsteuerberechnung */
#mehrwertsteuer {
  background-color: #fff;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#steuer-form input,
#steuer-form button {
  width: 100%;
  padding: 0.8rem;
  margin: 0.5rem 0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#steuer-form button {
  background-color: #4CAF50;
  color: white;
  cursor: pointer;
}

#steuer-form button:hover {
  background-color: #45a049;
}

#steuer-ergebnis {
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
}

/* Abschnitt: Visitenkarten */
#visitenkarte {
  padding: 2rem;
  background-color: #fff;
  margin: 2rem auto;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#visitenkarten-form input,
#visitenkarten-form button {
  width: 100%;
  padding: 0.8rem;
  margin: 0.5rem 0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#visitenkarten-form button {
  background-color: #4CAF50;
  color: white;
  cursor: pointer;
}

#visitenkarten-form button:hover {
  background-color: #45a049;
}

#visitenkarten-output {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.visitenkarte {
  background-color: #fff;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.visitenkarte p {
  margin: 0.5rem 0;
}

.visitenkarte strong {
  color: #4CAF50;
}

/* Abschnitt: Galerie */
#galerie {
  padding: 2rem;
  background-color: #f4f4f4;
}

.gallery {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
}

.gallery-item {
  width: 100%;
  max-width: 300px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.gallery-item a {
  text-decoration: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #333;
  color: #fff;
}

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

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

