
:root {
  --font-color: #e8e8e0;
  --font-base: 'Lexend';
  --font-h2: 'Playfair Display';
  --primary-color: rgb(150, 132, 96);
  --primary-color-light: rgba(150, 132, 96, 0.068);
  --secondary-color: rgb(210, 180, 138);
  --highlight-color: rgb(226, 186, 140);
  --button-color: rgb(150, 132, 96);
  --button-hover-color: hsla(22, 41, 24, 1);
  --background-color:#FBF7F4;
  --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Leichter Schatten für Karten */
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  background-color: #fefbf6;
  color: var(--primary-color);
  padding-top: 8rem;
  line-height: 1.6;
}
.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
}

.section-title svg {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 20px;
}

.section-title svg path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: drawLine 1s ease forwards;
}


p.subtitle {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

/* Kontaktformular Section */

.contact-form-section {
  padding: 50px 20px;
  text-align: center;
  margin-bottom: 5rem;
}

.contact-form-section h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.contact-form-section .section-subtext {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
}

.contact-form .form-group label {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary-color);
}

.contact-form button {
  background-color: var(--button-color);
  color: white;
  padding: 15px 30px;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: var(--button-color-light);
}

/* Kontaktinformationen Section */
.contact-info {
  padding: 50px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.contact-info h3 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.contact-info .section-subtext {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 40px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.contact-card {
  text-decoration: none;
  color: var(--primary-color); /* oder deine gewünschte Farbe */
  background-color: var(--background-box);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background-color: var(--highlight-color); /* Optional: Hover-Farbe */
}

.contact-card h4,
.contact-card p {
  margin: 0.5rem 0;
  font-weight: 300;
  color: var(--primary-color);
}

.contact-card-icon i {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 0.8rem;
}


.contact-card {
  background-color: white;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.contact-card h4 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 1rem;
  color: #555;
}

.contact-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.contact-card a:hover {
  color: var(--button-color);
}

/* Firmenlogo */
.contact-logo {
  margin-top: 50px;
}

.contact-logo .logo {
  width: 150px;
  height: auto;
  margin: 0 auto;
}
