/* === Globale Farben === */
:root {
  --primary: #0066cc;   /* Hauptblau */
  --secondary: #00b8d9; /* Türkis */
  --dark: #183434;      /* Dunkelblau */
  --light: #f5f7fa;     /* Hellgrau/Weiß */
  --accent: #ffd700;    /* Gold-Akzent */
}

/* === Grundlayout === */
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: linear-gradient(-45deg, var(--primary), var(--secondary), var(--light));
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
  padding-top: 90px; /* gleicht die Höhe des fixierten Menüs aus */

}

/* === Header === */
header {
  background: linear-gradient(-45deg, var(--dark), var(--primary), var(--secondary));
  color: var(--light);
  padding: 40px;
  text-align: center;
}

header h1 {
  margin: 0 auto; 
  font-size: 2.5rem;
  letter-spacing: 1px;
}

/* === Navigation === */
nav {
  text-align: center;
  padding: 25px 0;
  color: var(--accent);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  width: 100%;
  background-color: white; /* oder transparent */
  z-index: 1000;
  height: 40px; /* oder die tatsächliche Höhe deiner Menüleiste */

  
}

nav a {
  font-size: 20px;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: 0.3s;
  border-radius: 8px;
text-shadow: 1px 1px 2px rgba(102, 9, 9, 0.4);
}

nav a:hover {
  background: var(--secondary);
  color: white;
}



/* === Services === */
.service-box {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* === Formulare === */
form {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);

  max-width: 400px;   /* ✅ Breite begrenzen */
  margin: 0 auto;     /* ✅ zentrieren */
}

form input,
form textarea {
  width: auto;         /* passt sich der Formularbreite an */
  padding: 25px;      /* passt sich der Formularhöhe an */
  display: block;     /* jedes Feld in einer eigenen Zeile */
  margin: auto; /* zentriert die Felder */
  margin-bottom: 25px;
  border-radius: 15px;
  border: 1px solid #ccc;
  font-size: 17px;
}

form button {
  background: var(--secondary);
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
  display: block;     /* Button eigene Zeile */
  margin: 0 auto;     /* ✅ Button mittig */
}

form button:hover {
  background: var(--primary);
}

/* === Footer === */
footer {
 background: linear-gradient(-45deg, var(--dark), var(--primary), var(--secondary));
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-size: 14px;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px; /* Abstand zwischen Logo und Text */
  background: linear-gradient(-45deg, var(--dark), var(--primary), var(--secondary));
  padding: 40px;
  height: 80px;
}
.logo {
  max-width: 500px; /* Maximale Breite des Logos */
  height: auto;    /* Höhe passt sich automatisch an */
  border-radius: 12px; /* Abgerundete Ecken */}

/*Texte auf der Seite*/
h1, h2, h3 {
  color: var(--dark);
  text-align: center;
  text-shadow: 1px 1px 2px rgba(102, 9, 9, 0.4);
  font: optional;
}

p {
  max-width: 800px;
  margin: 20px auto;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
}
footer {
  background: #f1f1f1;
  padding: 15px;
  text-align: center;
  font-size: 14px;
}

footer a {
  margin: 0 10px;
  color: #333;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.bg-lion, .bg-tiger {
  position: fixed;   /* bleibt beim Scrollen stehen */
  top: 0;
  bottom: 0;
  width: 742px;      /* Größe anpassen */
  background-repeat: no-repeat;
  background-size: contain; /* Bild passt rein */
  opacity: 0.08;     /* Transparenz */
  z-index: -3;       /* hinter dem Inhalt */
}

.bg-lion {
  left: 0;
  background-image: url("Bilder/lion-1657957_960_720.jpeg"); /* dein Löwenbild */
}

.bg-tiger {
  right: 0;
  background-image: url("Bilder/tiger-2923186_960_720.jpeg"); /* dein Tigerbild */
}

html {
  scroll-behavior: smooth;
}

.Firmen{
  font-size: 20px;
  font-weight: bold;
  font-style: italic;
  color: rgb(161, 6, 6);
}

#thank-you {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 100px auto;
  text-align: center;
}

#thank-you h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 20px;
}

#thank-you p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

#thank-you a {
  display: inline-block;
  background: var(--secondary);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

#thank-you a:hover {
  background: var(--primary);
}
