/* =========================
   Grundlegendes Reset
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

/* Definition der neuen Firmenfarben als Variablen (optional, aber gut für Übersicht) */
:root {
  --brand-yellow: #FFCC00;      /* Das Gelb aus dem Logo */
  --brand-yellow-dark: #e6b800; /* Etwas dunkler für Hover-Effekte */
  --brand-gray-dark: #333333;   /* Dunkles Anthrazit für Header/Text */
  --brand-gray-medium: #666666; /* Für Sublines */
  --brand-gray-light: #f4f4f4;  /* Für Hintergründe */
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--brand-gray-dark);
  background-color: #ffffff;
}

/* =========================
   Layout-Helfer
========================= */
.container {
  max-width: 1200px;
  padding: 0 1.25rem;
  margin: 0 auto;
}

section {
  padding: 4rem 0;
}

/* =========================
   Typografie
========================= */
h1, h2, h3 {
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--brand-gray-dark);
  font-weight: 700; /* Etwas fetter passend zum blockigen Logo */
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
  max-width: 800px;
  color: #444;
}

/* =========================
   Header & Navigation
========================= */
.site-header {
  background-color: var(--brand-gray-dark); /* Jetzt sattes Dunkelgrau */
  color: #ffffff;
  border-bottom: 4px solid var(--brand-yellow); /* Gelber Akzentstreifen unten */
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
}

.logo a {
  display: flex;
  align-items: center;
  color: #ffffff; /* Weißer Text passt gut auf Dunkelgrau */
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--brand-yellow); /* Gelb beim Drüberfahren */
  text-decoration: none;
}

/* =========================
   Logo Bild
========================= */
.logo img {
  max-height: 50px;
  width: auto;
  display: block;
}

/* =========================
   Buttons (Neues Design)
========================= */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px; /* Leicht abgerundet, aber technisch */
  text-decoration: none;
  font-weight: 700;
  margin-right: 0.5rem;
  transition: all 0.2s ease;
}

/* Primary: Gelber Hintergrund, Dunkle Schrift (Wichtig für Lesbarkeit!) */
.btn-primary {
  background-color: var(--brand-yellow);
  color: #222222; 
  border: 2px solid var(--brand-yellow);
}

.btn-primary:hover {
  background-color: var(--brand-yellow-dark);
  border-color: var(--brand-yellow-dark);
  transform: translateY(-1px); /* Leichter 3D Effekt */
}

/* Secondary: Dunkler Rahmen, Dunkle Schrift */
.btn-secondary {
  border: 2px solid var(--brand-gray-dark);
  color: var(--brand-gray-dark);
  background-color: transparent;
}

.btn-secondary:hover {
  background-color: var(--brand-gray-dark);
  color: #ffffff; /* Wird dunkel mit weißer Schrift beim Hover */
}

/* =========================
   Hero Section
========================= */
.hero {
  background-color: var(--brand-gray-light); /* Helles Grau */
  padding: 5rem 0;
}

.hero p {
  font-size: 1.1rem;
}

.hero-actions {
  margin-top: 2rem;
}

/* =========================
   Intro & Leistungen
========================= */
.intro {
  background-color: #ffffff;
}

.services {
  background-color: var(--brand-gray-light);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.service-item {
  background-color: #ffffff;
  padding: 1.5rem;
  /* Der grüne Balken links wird jetzt GELB */
  border-left: 5px solid var(--brand-yellow);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* =========================
   Kontaktformular (Angepasst auf Gelb/Grau)
========================= */
.contact-section {
  background-color: var(--brand-gray-light); 
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

/* Formular Felder */
.contact-form .form-group {
  margin-bottom: 1rem;
}

.visually-hidden {
  border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; 
  overflow: hidden; padding: 0; position: absolute; width: 1px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  font-family: inherit;
  font-size: 1rem;
}

/* Fokus Farbe ist jetzt Gelb/Orange */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-yellow-dark);
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.2);
}

.contact-form textarea {
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}

.form-check input {
  margin-top: 4px;
  margin-right: 10px;
  flex-shrink: 0;
  accent-color: var(--brand-yellow); /* Checkbox Farbe in modernen Browsern */
}

.form-check a {
  color: #d4a000; /* Dunkleres Gelb für Textlinks (bessere Lesbarkeit auf Weiß) */
  text-decoration: underline;
}

.btn-submit {
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

/* Rechte Seite: Kontaktdaten Box */
.contact-info-wrapper {
  text-align: center;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 8px;
  border-top: 5px solid var(--brand-yellow); /* Gelber Akzent oben */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); 
}

/* Das Icon-SVG passt sich der Textfarbe an oder wir setzen sie explizit */
.contact-icon {
  color: var(--brand-yellow); 
  margin-bottom: 1rem;
}

/* Damit die Linien des Icons gut sichtbar sind, machen wir sie ggf. etwas dunkler als das Flächengelb, 
   oder wir nutzen das Gelb, da Icons meist dicker sind. */
.contact-icon svg {
  stroke: var(--brand-yellow-dark); /* Etwas dunkler für Kontrast */
}

.contact-phone {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-gray-dark);
  margin-bottom: 0.5rem;
}

.contact-address {
  font-style: normal;
  margin-bottom: 1.5rem;
  color: #555;
}

.contact-address strong {
  text-transform: uppercase;
  color: var(--brand-gray-dark);
}

.contact-details {
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-details a {
  color: var(--brand-gray-dark);
  text-decoration: none;
  border-bottom: 2px solid var(--brand-yellow); /* Moderne Unterstreichung */
}

.contact-details a:hover {
  background-color: var(--brand-yellow); /* Highlight Effekt */
  color: #000;
}

/* =========================
   Call to Action (Footer Bereich)
========================= */
.cta {
  background-color: var(--brand-gray-dark);
  color: #ffffff;
  text-align: center;
}

.cta h2,
.cta p {
  color: #ffffff;
}

/* =========================
   Footer
========================= */
.site-footer {
  background-color: #222; /* Fast schwarz */
  color: #999;
  padding: 1.5rem 0;
  font-size: 0.9rem;
  border-top: 1px solid #444;
}

.site-footer a {
  color: #ccc;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brand-yellow);
}

/* =========================
   Responsive Anpassungen
========================= */
@media (max-width: 768px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }

  .main-nav ul {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-info-wrapper {
    margin-top: 1rem;
  }

  section {
    padding: 3rem 0;
  }
}

.honeypot {
  display: none;
}

/* Formular Meldungen */
.form-message {
  margin-bottom: 1.5rem;
}

.form-success,
.form-error {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  font-weight: 500;
}

.form-success {
  background-color: #e6f4ea;
  color: #166534;
  border: 1px solid #86efac;
}

.form-error {
  background-color: #fdecea;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* =========================
   Zentrierte Textblöcke
========================= */
.text-center-block {
  max-width: 800px;
  margin: 0 auto 1rem auto;
  text-align: center;
}