/* ===== ZENTRALE FARBEN & VARIABLEN ===== */
:root {
  --font-family: 'Segoe UI', Arial, sans-serif;
  --font-size: 14px;
  --header-bg: #1e293b;
  --header-text: #ffffff;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary: #64748b;
  --secondary-hover: #475569;
  --cta-bg: #fbbf24;
  --cta-text: #1e293b;
  --cta-hover: #f59e0b;
  --bg-color: #f5f7fa;
  --container-bg: #ffffff;
  --text-color: #222;
  --border-color: #cbd5e1;
  --footer-bg: #1e293b;
  --footer-text: #94a3b8;
  --footer-height: 50px;
}

/* ===== RESET & BASE ===== */
* { box-sizing: border-box; }

body {
  font-family: var(--font-family);
  font-size: var(--font-size);
  margin: 0;
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  padding-bottom: calc(var(--footer-height) + 40px);
  min-height: 100vh;
}

/* ===== HEADER ===== */
header {
  background: var(--header-bg);
  color: var(--header-text);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav a {
  color: var(--header-text);
  margin-left: 20px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}

nav a.nav-cta {
  background-color: var(--cta-bg);
  color: var(--cta-text);
  padding: 8px 16px;
  border-radius: 6px;
}

nav a:hover {color: var(--cta-hover)}
nav a.nav-cta:hover { background-color: var(--cta-hover); color: var(--cta-text)}


/* ===== CONTAINER ===== */
.container {
  width: 90%;
  margin: 40px;
  background: var(--container-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

h1 { margin-top: 0; color: var(--header-bg); }
p {margin-top: 10px;}
.discl-text {
  color: darkred;
}

/* ===== ÜBER UNS ===== */
.content-with-image { display: flex; gap: 30px; align-items: flex-start; margin-bottom: 30px; }
.text-block { 
  flex: 2; 
  gap: 15px;
}
.image-placeholder-right {
  flex: 1;
  background: #e2e8f0;
  min-height: 150px;
  max-width: 250px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.image-placeholder-right img { width: 100%; height: auto; display: block; }

.button-group { display: flex; gap: 15px; margin-bottom: 15px;}

/* ===== FORMULAR ===== */

input, textarea, button { font-family: inherit; font-size: inherit; }
input, textarea {
  width: 100%;
  padding: 12px;
  margin: 8px 0 16px 0;
  border: 1px solid var(--border-color);
  border-radius: 6px;
}
/* Nur "echte" Eingabefelder groß machen */
input, textarea {
  width: 100%;
  padding: 12px;
  margin: 8px 0 16px 0;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  display: block; /* Sorgt dafür, dass sie untereinander stehen */
}

/* Radio-Buttons und Checkboxen explizit klein und in der Reihe lassen */
input[type="radio"] {
  width: auto;
  height: auto;
  margin: 0 8px 0 0;
  padding: 0;
  cursor: pointer;
  /* Verhindert, dass sie die Stile der Textfelder erben */
  appearance: auto; 
  -webkit-appearance: radio; 
}

button {
  background: var(--cta-bg);
  color: var(--cta-text);
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}
button:disabled, 
button:disabled:hover {
  background-color: var(--secondary) !important; /* Nutzt die graue Variable */
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important; /* Falls du Animationen beim Hover hast */
  box-shadow: none !important;
}

button:hover { background: var(--cta-hover); }
.secondary-btn { background: var(--secondary); color: var(--header-text);}
.secondary-btn:hover { background: var(--secondary-hover); }

.form-row-plz-ort {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0 16px 0;
}
.form-row-plz-ort input { margin: 0; }
.form-row-plz-ort input[name="plz"] {
  flex: 0 0 120px;
  max-width: 100%;
}
.form-row-plz-ort input[name="ort"] {
  flex: 1;
  min-width: 160px;
}

.checkbox { margin: 15px 0; }
.checkbox label { display: flex; align-items: flex-start; cursor: pointer; gap: 10px; }
.checkbox input[type="checkbox"] { width: auto; margin-top: 4px; flex-shrink: 0; }

.inline-link {
  color: var(--primary);
  text-decoration: underline;
  cursor: pointer;
  font-weight: bold;
}

input[type="radio"], 
input[type="checkbox"] {
  width: auto;      
  margin: 0 8px 0 0; 
  padding: 0;       
  border: none;     
  cursor: pointer;
}

.radio-group label {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  cursor: pointer;
}

/* ===== FAQ ===== */
.accordion-item { border: 1px solid var(--border-color); border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.accordion-header { background: #f8fafc; padding: 16px; cursor: pointer; display: flex; justify-content: space-between; font-weight: bold; }
.accordion-content { max-height: 0; overflow: hidden; transition: all 0.3s ease-in-out; background: white; padding: 0 16px; }
.accordion-item.active .accordion-content { max-height: 500px; padding: 16px; border-top: 1px solid var(--border-color); }
.accordion-item.active .icon { transform: rotate(45deg); }

/* ===== FOOTER ===== */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--footer-height);
  background: var(--footer-bg);
  color: var(--footer-text);
  display: flex;
  align-items: center;
  z-index: 1000;
}

.footer-content {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
}

.footer-nav a { color: var(--footer-text); margin-left: 20px; text-decoration: none; cursor: pointer; }
.footer-nav a:hover { color: white;}

.hidden { display: none; }

@media (max-width: 600px) {
  .content-with-image { flex-direction: column; }
  header { flex-direction: column; gap: 10px; }
}

.logo {
  display: flex;
  flex-direction: row;    /* Nebeneinander */
  align-items: flex-end;  /* Unten bündig ausrichten */
  gap: 10px;              /* Abstand zwischen Logo und Text */
}

.logo-svg {
  width: 40px;            /* Größe nach Bedarf anpassen */
  height: auto;
  display: block;
}

.logo-text {
  font-weight: bold;
  font-size: 1.4rem;      /* Etwas größer für bessere Lesbarkeit */
  line-height: 1;         /* Verhindert zusätzliche Abstände unter dem Text */
  color: var(--header-text);
  letter-spacing: 0.5px;
}

.logo-paths {
  fill: var(--cta-hover);          /* Deine Farbe */
}