:root {
  --accent: #0b6cf0;
  --bg: #f4f7fb;
  --muted: #51606b;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

body { 
  background: #fff; 
  color: #111; 
  line-height: 1.5; 
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: fixed;
  width: 100%;
  background: rgba(255,255,255,0.9);
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.brand { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
}

.logo {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

nav a { 
  margin-left: 20px; 
  text-decoration: none; 
  color: #111; 
  font-weight: 500; 
}

/* Hero */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #cce7ff;
  color: #111;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: url('auto.jpg') center/cover no-repeat;
  opacity: 0.35;
  filter: brightness(0.85) contrast(1.1);
  z-index: 0;
}

.hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(204, 231, 255, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 40px;
}

.hero h1 { 
  font-size: 3rem; 
  margin-bottom: 16px; 
}

.hero p { 
  font-size: 1.2rem; 
  margin-bottom: 24px; 
}

.btn {
  background-color: #0b3d91;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.btn:hover { 
  background-color: #09407f; 
}

/* Sections */
section { 
  padding: 80px 20px; 
  max-width: 1100px; 
  margin: 0 auto; 
}

h2 { 
  text-align: center; 
  font-size: 2rem; 
  margin-bottom: 40px; 
}

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

.card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card h3 { 
  margin-bottom: 8px; 
}

.muted { 
  color: var(--muted); 
}

/* Kontakt */
.contact-box {
  background: var(--bg);
  padding: 24px;
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-name { 
  font-size: 1.3rem; 
  font-weight: 700; 
  margin-bottom: 4px; 
}

.contact-addr { 
  margin-bottom: 12px; 
}

.phone-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.phone-row div {
  margin-right: 20px;
}

.phone-num {
  margin-bottom: 10px;
}

.call-cta {
  background: var(--accent);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  margin: 4px; 
  flex: 1; 
  min-width: 160px; 
}

form { 
  display: grid; 
  gap: 12px; 
  margin-bottom: 16px; 
}

input, select, textarea {
  padding: 10px; 
  border-radius: 6px; 
  border: 1px solid #ccc; 
  font: inherit;
}

button {
  background: var(--accent); 
  color: #fff; 
  padding: 12px; 
  border-radius: 6px; 
  border: none; 
  font-weight: 600; 
  cursor: pointer;
}

button:hover { 
  background: #09407f; 
}

/* Footer */
footer {
  background: #f4f7fb; 
  text-align: center; 
  padding: 20px; 
  color: #111;
}

/* Responsives Design für kleine Bildschirme */
@media (max-width: 600px) {
  .phone-row {
    flex-direction: column;      /* alles untereinander */
    align-items: flex-start;     /* links ausrichten */
  }

  .phone-row div {
    margin: 8px 0;              /* Abstand zwischen Elementen */
  }

  .call-cta {
    width: 100%;                /* Buttons volle Breite */
    margin: 6px 0;
  }
}
