/*
 * CSS für xxconsulting.ch (Statische Version)
 * Basierend auf den Screenshots vom 07.11.2025
 */

/* ===== GRUNDEINSTELLUNGEN & SCHRIFTEN ===== */

body {
  font-family: 'Lato', sans-serif; /* Standard-Schrift */
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #333; /* Standard-Textfarbe (Dunkelgrau) */
  min-height: 100vh;

  /* ----- NEU: Globaler Verlauf ----- */
  background-image: linear-gradient(
    to bottom,
    #f1f0f0 25%, /* Startet Hellgrau (passend zum Logo) */
    #f0eaff 40%, /* Übergang zu Hell-Lila */
    #D4ACE3 100% /* Ende bei Haupt-Lila */
  );

  /* Stellt sicher, dass der Verlauf beim Scrollen fixiert ist */
  background-size: cover; /* Stellt sicher, dass der Verlauf die ganze Seite füllt */
}

/* * Definition der Hauptfarben aus den Screenshots
 * Hellgrau/Weiss: #F8F8F8 (oder #FFFFFF)
 * Lavendel/Lila: #E6E0F8
 */
.light-bg {
  background-color: transparent; /* Lässt den Body-Verlauf durchscheinen */
}

.purple-bg {
  /* Wir entfernen den lokalen Verlauf.
     Die Sektion wird transparent und lässt den
     neuen body-Verlauf durchscheinen. */
  background-color: transparent;
}

/* Container, der den Inhalt zentriert und begrenzt */
.container {
  max-width: 650px; /* Begrenzt die Breite des Inhalts */
  margin: 0 auto;   /* Zentriert den Container */
  padding: 20px 40px; /* Innenabstand (oben/unten | links/rechts) */
}

/* Alle Überschriften (h2, h3) */
h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif; /* Serif-Schrift für Titel */
  font-weight: 500;
  margin-top: 40px;
  margin-bottom: 20px;
  text-transform: uppercase; /* Grossbuchstaben */
}

h2 {
  font-size: 2rem; /* 32px */
}

h3 {
  font-size: 1.5rem; /* 24px */
}

h4 {
  font-size: 1rem; /* 16px */
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 10px;
  text-transform: none; /* 'Kosten:' ist nicht uppercase */
}

p, li, a {
  font-size: 1rem; /* 16px */
}

a {
  color: #333; /* Standard Link-Farbe */
}

/* ===== 1. HEADER & NAVIGATION ===== */

header {
  width: 100%;
  background-color: #f1f0f0; /* Gleiche Farbe wie Intro */
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid #ddd; /* Leichte Trennlinie */
}

/* Ersetzt den Block ab Zeile 99 */
header .logo svg {
  width: 100%;         /* NEU: Mache das Logo flexibel */
  max-width: 550px;   /* GEÄNDERT: Das ist die Obergrenze (statt 800px) */
  height: auto;       /* GEÄNDERT: Unbedingt auf 'auto' setzen! */
  margin-top: 60px;
  margin-bottom: 120px;
  shape-rendering: geometricPrecision;
  transform: translateZ(0);
}

header nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 60px; /* Abstand zwischen den Menüpunkten */
}

header nav a {
  font-family: 'Cormorant Garamond', serif;
  text-decoration: none;
  font-size: 1.25rem; /* 20px */
  font-weight: 600;
  color: #333;
}

header nav a:hover {
  text-decoration: underline;
}

/* ===== 2. & 3. INHALTS-SEKTIONEN (Intro & Angebot) ===== */

.content-section {
  padding: 40px 0;
}

/* Kosten-Liste im Angebot */
#angebot ul {
  list-style-type: disc;
  padding-left: 20px;
}

/* ===== 4. TEAM-SEKTION ===== */

/* --- NEU: Wrapper für das 2-Spalten-Layout --- */
.team-grid {
  display: flex; /* Aktiviert Flexbox */
  gap: 40px;     /* Erstellt einen Abstand von 40px zwischen den Spalten */
  margin-top: 30px;
  margin-bottom: 40px;
}

.team-mitglied {
  flex: 1; /* GEÄNDERT: Sorgt dafür, dass beide Spalten gleich breit sind */
  margin-top: 0; /* GEÄNDERT: Wird jetzt vom Grid gehandhabt */
  margin-bottom: 0; /* GEÄNDERT: Wird jetzt vom Grid gehandhabt */
}

.team-mitglied img {
  max-width: 180px; /* Grösse der Profilbilder */
  height: auto;
  border-radius: 50%; /* Runde Bilder */
  display: block;
  margin-bottom: 20px;
}

/* ===== 5. KONTAKTFORMULAR ===== */

#kontakt h2 {
  margin-bottom: 30px;
}

form {
  display: flex;
  flex-direction: column; /* Elemente untereinander */
}

form label {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

form input[type="email"],
form textarea {
  width: 100%;
  padding: 12px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  border: 1px solid #ccc;
  background-color: #FFFFFF; /* Weisses Feld */
  margin-top: 5px;
  margin-bottom: 20px;
  box-sizing: border-box; /* Stellt sicher, dass padding die Breite nicht erhöht */
}

form textarea {
  min-height: 200px; /* Höhe des Textfeldes */
  resize: vertical; /* Erlaube nur vertikales Ändern der Grösse */
}

form button[type="submit"] {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: #333;
  background-color: #dcbded; /* Lila-Button (heller als BG) */
  border: 1px solid #333;
  padding: 10px 20px;
  cursor: pointer;
  align-self: flex-start; /* Button nicht über die ganze Breite */
  transition: background-color 0.3s;
}

form button[type="submit"]:hover {
  background-color: #FFFFFF;
}


/* ===== 6. FOOTER ===== */

/* ===== FOOTER & SOCIAL MEDIA ===== */

footer {
  /* Existierende Stile überschreiben/ergänzen */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 40px 0;
  border-top: 1px solid #ddd;
  background-color: transparent; /* Oder #f1f0f0 falls gewünscht */
}

.footer-content {
  text-align: center;
}

.social-link {
  display: inline-block;
  color: #555; /* Standard Farbe (Dunkelgrau) */
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.social-link svg {
  width: 30px;  /* Grösse des Icons */
  height: 30px;
}

/* Hover-Effekt: Instagram Farbe und leichtes Vergrössern */
.social-link:hover {
  color: #C13584;
  transform: scale(1.1);
}

footer p {
  margin: 0;
  font-size: 0.9rem;
  color: #777;
}

/* ===== FOOTER LINKS ===== */
.footer-link {
  color: #777;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #333;
  text-decoration: underline;
}

/* ===== 7. THANKSPAGE ==== */

/* ===== 8. RESPONSIVE DESIGN ===== */
.danke-link {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  color: #333;
  border: 1px solid #ccc;
  padding: 10px 15px;
  background-color: #ffffff;
  transition: background-color 0.3s;
}

.danke-link:hover {
  background-color: #f0f0f0;
  text-decoration: none;
}


#danke .container {
  text-align: center;
}

#danke.content-section {
  background-color: #f1f0f0;
}

.danke-seite footer {
  background-color: #f1f0f0;
  margin-top: 0;
}

@media (max-width: 768px) {

  /* Container auf Mobile anpassen */
  .container {
    padding: 10px 20px;
  }

  /* ===== HIER DEN NEUEN BLOCK EINFÜGEN ===== */
  /* Logo auf Mobile verkleinern, damit es zentriert ist und die Seite nicht bricht */
  header .logo img {
    max-width: 350px; /* Deutlich kleiner als die Desktop-Grösse von 650px */
  }
  /* ===== ENDE DES NEUEN BLOCKS ===== */

  /* Team-Grid auf Mobilgeräten: Wieder untereinander */
  .team-grid {
    flex-direction: column; /* Stellt die Spalten untereinander */
    gap: 0; /* Setzt den Spaltenabstand zurück */
  }

  .team-mitglied {
    /* Gibt den Mitgliedern wieder den unteren Abstand */
    margin-bottom: 40px;
  }
}
