* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: url('Background.jpeg') no-repeat center center fixed;
  background-size: cover;
}

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Header */
header {
  padding: 2rem 1rem;
}

/* Wrapper für Logo + Titel nebeneinander */
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: left;
}

/* Logo links neben Titel */
.logo {
  max-width: 150px;
  height: auto;
  margin-bottom: 0;
}

/* Block für Titel + Untertitel */
.title-block {
  display: flex;
  flex-direction: column;
}

.title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #0d3c61;
}

.title-link {
  text-decoration: none;
}

.subtitle {
  font-size: 2.2rem;
  color: #eb5e27;
  font-family: 'Brush Script MT', cursive;
  margin-left: 0;
  transition: margin-left 0.3s ease;
}

@media (min-width: 600px) {
  .subtitle {
    margin-left: 220px;
  }
}

/* Intro */
.intro {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.intro-wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
}

.portrait {
  width: 180px;
  height: auto;
  border-radius: 4px;
}

.intro-text {
  flex: 1;
  min-width: 250px;
}

.intro-text p {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.contact {
  color: #eb5e27;
  font-weight: bold;
  margin-top: 1rem;
}

/* Angebote */
.angebote {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.angebote h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.angebote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.angebot {
  background: #f9f9f9;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.angebot:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.angebot img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.angebot .details {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.angebot .details h3 {
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: #666;
}

.angebot .details p {
  margin-bottom: 0.25rem;
}

.angebot-link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

/* Footer */
footer {
  background: #e4e9ed;
  padding: 2rem 1rem;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer-nav a {
  color: #0d3c61;
  text-decoration: none;
  font-weight: bold;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* Rechtstexte */
.legal-text-wrapper {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.legal-text-wrapper .intro-text h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
}

.legal-text-wrapper p {
  margin-bottom: 1.2rem;
  line-height: 1.6;
  font-size: 1rem;
}

.legal-text-wrapper a {
  color: #003366;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  .header-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .title {
    font-size: 1.3rem;
  }

  .subtitle {
    font-size: 1.5rem;
  }

  .portrait {
    width: 150px;
  }

  .logo {
    margin-bottom: 1rem;
  }
}
