/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f6f1e8;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

h1, h2, h3 {
  font-family: Arial, sans-serif;
  color: #333;
  margin-top: 0;
}

p, li, a {
  font-family: Arial, sans-serif;
}

/* ===== HEADER AND NAVIGATION ===== */
header {
  background: #eae1cd;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: #333;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #8b6f47;
}

/* ===== HERO SECTION ===== */
.hero-container {
  background-image: 
  linear-gradient(
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.75)
  ),
  url("photo_2026-05-18_10-54-23.jpg");
  background-size: cover;
  background-position: center 15%;
  color: white;
  padding: 140px 20px;
  text-align: center;
}

.hero-text {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.3;
  color: white;
}

.hero-subtext {
  font-size: 20px;
  font-weight: normal;
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* ===== BUTTONS ===== */
.hero-button,
.services-button {
  background-color: #8b6f47;
  color: white;
  border: none;
  padding: 14px 35px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.hero-button:hover,
.services-button:hover {
  background-color: #a18455;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

/* ===== INTRO SECTION ===== */
.intro {
  padding: 35px 20px 10px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro h1,
.intro h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #333;
}

.intro p {
  font-size: 17px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: 60px 20px;
  text-align: center;
  background-color: #f6f1e8;
}
.services h2,
.values h2,
.notice h2,
.contact h2 {
  font-size: 36px;
  margin-bottom: 30px;
  color:#333;
  font-weight: 600;
}
.services-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 35px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.service-box {
  background: white;
  padding: 25px 20px;
  width: 240px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.service-box h3 {
  font-size: 18px;
  color: #222;
  margin: 0;
  font-weight: 600;
}

.service-box p {
  font-size: 15px;
  color: #555;
  margin-top: 10px;
}

/* ===== VALUES SECTION ===== */
.values {
  padding: 60px 20px;
  text-align: center;
  background-color: #f6f1e8;
}

.values-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== NOTICE SECTION ===== */
.notice {
  padding: 60px 20px;
  text-align: center;
  background: #e7e0d8;
}

.notice p {
  font-size: 17px;
  line-height: 1.7;
  color: #333;
  max-width: 800px;
  margin: 0 auto 20px auto;
}

.notice ul {
  max-width: 700px;
  margin: 0 auto 20px auto;
  text-align: left;
  line-height: 1.8;
  color: #333;
  font-size: 17px;
  list-style-position: inside;
}

/* ===== SERVICE SECTION (LEISTUNGEN PAGE) ===== */
.service-section {
  background: #ffffff;
  max-width: 820px;
  margin: 0 auto 25px auto;
  padding: 30px;
  border-radius: 14px;
  border: 1px solid #e0dbd1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: all 0.2s ease;
}

.service-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.service-section h2 {
  font-size: 28px;
  margin-top: 0;
  margin-bottom: 18px;
  color: #1f1f1f;
  text-align: center;
  font-weight: 600;
}

.service-section p {
  font-size: 17px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 20px;
}
.service-section ul {
  margin: 15px 0;
  padding-left: 24px;
  line-height: 1.9;
  color: #444;
  font-size: 17px;
}

.service-section li {
  margin-bottom: 10px;
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 60px 20px;
  text-align: center;
  background-color: #f6f1e8;
}

.contact-text {
  font-size: 17px;
  color: #555;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FOOTER ===== */
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 30px 20px;
  font-size: 14px;
  margin-top: 60px;
}

footer p {
  margin: 5px 0;
  color: #ddd;
}

/* ===== RESPONSIVE (MOBILE VIEW) ===== */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 15px;
    padding: 15px 20px;
  }

  nav {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  nav a {
    text-align: center;
    padding: 10px;
  }

  .hero-container {
    padding: 80px 20px;
  }

  .hero-text {
    font-size: 28px;
  }

  .hero-subtext {
    font-size: 16px;
  }

  .services h2,
  .values h2,
  .notice h2,
  .contact h2,
  .intro h1,
  .intro h2 {
    font-size: 28px;
  }

  .services-container,
  .values-container {
    gap: 15px;
  }

  .service-box {
    width: 100%;
    max-width: 300px;
  }

  .service-section {
    max-width: 100%;
    padding: 20px;
  }

  .service-section h2 {
    font-size: 22px;
  }

  .service-section p,
  .service-section ul {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 10px 15px;
  }

  .logo {
    font-size: 18px;
  }

  nav a {
    font-size: 14px;
  }

  .hero-container {
    padding: 60px 15px;
    min-height: auto;
  }

  .hero-text {
    font-size: 22px;
  }

  .hero-subtext {
    font-size: 14px;
  }

  .intro {
    padding: 40px 15px;
  }

  .services,
  .values {
    padding: 40px 15px;
  }

  .notice {
    padding: 40px 15px;
  }

  .contact {
    padding: 40px 15px;
  }

  .service-box {
    width: 100%;
    max-width: 100%;
  }

  .service-section {
    margin: 0 auto 20px auto;
    padding: 15px;
  }

  .services-button,
  .hero-button {
    padding: 12px 20px;
    font-size: 14px;
  }
}
/* ===== FOOTER LINKS ===== */

footer nav {
    margin-top: 10px;
    justify-content: center;

}

footer a {
    color: #ddd;
    text-decoration: none;
    margin: 0 10px;
    transition: 0.2s;

}

footer a:hover {
    color: white;
}

/* ===== IMPRESSUM ===== */

.service-section {
    max-width: 800px;
    margin: 40px auto;
    background-color: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.service-section h2{
    text-align:center;
    margin-bottom:40px;
}

.service-section p{
    text-align:center;
    line-height:1.9;
    font-size:18px;
}

.service-section strong{
    font-size:24px;
}
/* ===== IMPRESSUM INFO BOX ===== */

.info-box{
    background:#f8f8f8;
    padding:20px;
    margin:20px 0;
    border-radius:12px;
}

.info-box strong{
    display:block;
    text-align: center;
    font-size:18px;
    margin-bottom:15px;
    color:#8b6f47;
}

.info-box p{
    margin:0;
}
.zertifikat{
    width:100%;
    max-width:700px;
    display:block;
    margin:30px auto;
    border-radius:12px;
    box-shadow:0 6px 20px rgba(0,0,0,0.15);
}
.contact-box{
    overflow:hidden;
}

.contact .service-box p {
    word-break: break-all;
    overflow-wrap: anywhere;
    font-size: 18px;
}