/* ====== Basis ====== */
body{
  font-family: Arial, sans-serif;
  margin:0;
  background:#f5f5f5;
  color:#333;
}

.container{
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.card{
  background:#fff;
  margin: 20px 0;
  padding: 24px;
  border-radius: 8px;
}

/* ====== Header / Navi ====== */
header{
  background:#1f4e79;
  color:#fff;
  padding: 28px 0;
  text-align:center;
}

header h1{
  margin: 0 0 6px 0;
}

nav{
  background:#333;
  position: sticky;
  top: 0;
  z-index: 10;
}

nav .container{
  display:flex;
  gap: 14px;
  justify-content:center;
  flex-wrap: wrap;
  padding: 10px 16px;
}

nav a{
  color:#fff;
  text-decoration:none;
  font-weight:bold;
  padding: 8px 10px;
  border-radius: 6px;
}

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

/* ====== Hero / Buttons ====== */
.hero{
  background:#e3eef7;
}

.button{
  display:inline-block;
  background:#1f4e79;
  color:#fff;
  padding: 12px 18px;
  text-decoration:none;
  border-radius: 6px;
}

.button:hover{
  background:#163a5a;
}

.button.secondary{
  background:#333;
}

.button.secondary:hover{
  background:#222;
}

/* ====== Listen ====== */
ul{
  padding-left: 20px;
}

li{
  margin: 8px 0;
}

/* ====== Form ====== */
form input,
form textarea{
  width:100%;
  padding:10px;
  margin: 8px 0;
  font-size: 1em;
  box-sizing: border-box;
}

form input[type="file"]{
  background:#fff;
}

form button{
  width:100%;
  border:none;
  padding:12px;
  background:#1f4e79;
  color:#fff;
  font-size: 1em;
  cursor:pointer;
  border-radius: 6px;
  margin-top: 10px;
}

form button:hover{
  background:#163a5a;
}

/* ====== Footer ====== */
footer{
  background:#333;
  color:#fff;
  padding: 18px 0;
  margin-top: 40px;
  text-align:center;
}

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

footer a:hover{
  color:#fff;
}

/* ====== Hinweistext ====== */
.form-hint{
  color:#666;
  font-size: 0.95em;
}

/* ====== Grid / Leistungen ====== */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
}

/* ====== Kontakt – FINAL LAYOUT ====== */
.contact-hero{
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: stretch;
}

/* Formular links */
.contact-card{
  border: 1px solid #eee;
  height: 100%;
}

/* Direktkontakt rechts */
.info-box{
  background: #e3eef7;
  padding: 18px;
  border-radius: 10px;
  height: 100%;
}

/* Key-Value Liste */
.kv div{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.kv div:last-child{
  border-bottom: none;
}

.kv b{
  color: #1f4e79;
}

.quick-actions{
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

/* ====== Mobil ====== */
@media (max-width: 900px){
  .contact-hero{
    grid-template-columns: 1fr;
  }
}

/* ====== Einheitlicher Header ====== */
.site-header{
  background:#1f4e79;
  color:white;
}

.header-layout{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.logo-left{
  position: absolute;
  left: 0;
  max-width: 120px;
  height: auto;
}

.header-center{
  text-align: center;
}

.header-center h1{
  margin: 0;
}

.header-center p{
  margin: 6px 0 0 0;
}

@media (max-width: 700px){
  .header-layout{
    flex-direction: column;
  }

  .logo-left{
    position: static;
    margin-bottom: 10px;
    max-width: 110px;
  }
}
