/* style.css - extern verlinkte Datei */
/* Farbschema: Blau wie gewünscht (#0264cb) */


:root{
  --brand-blue: #0264cb;
  --text: #222;
  --muted: #555;
  --max-width: 980px;
  --radius: 8px;
  --gap: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}


/* Header */
.site-header{
  background: var(white);
  padding: 18px 12px;
  border-bottom: 2px solid rgba(0,0,0,0.06);
}
.header-inner{
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo{
  width: 120px;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
}
.title-wrap h1{
  margin: 0;
  font-size: 1.25rem;
  font-weight:700;
}
.lead{
  margin: 4px 0 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Main container */
.container{
  max-width: var(--max-width);
  margin: 22px auto;
  padding: 0 12px;
}

/* Cards / sections */
.card{
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: var(--gap);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

/* Leistungen specific */
#leistungen .card{
  background: rgba(204,204,255,0.08);
}
#leistungen h2{margin-top:0}

/* Accordion styles */
.accordion-item{
  border-top: 1px solid rgba(0,0,0,0.06);
}
.accordion-item:first-of-type{border-top:0}

.accordion-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  background:transparent;
  border:0;
  padding: 12px 8px;
  font-size:1rem;
  text-align:left;
  cursor:pointer;
  transition: background .12s ease;
}
.accordion-header:hover{background: rgba(0,0,0,0.02)}
.accordion-header[aria-expanded="true"]{
  background: rgba(0,0,0,0.03);
}
.acc-title{
  font-weight:600;
  margin-right:12px;
}
.acc-summary{
  color:var(--muted);
  font-size:0.95rem;
  flex:1;
  margin-left:10px;
}
.acc-toggle{
  margin-left:12px;
  font-size:1.05rem;
}

/* Panel content */
.accordion-panel{
  padding: 12px 12px 18px 12px;
  border-top: 1px dashed rgba(0,0,0,0.04);
}
.accordion-panel h3{margin-top:0}

/* Contact */
.contact-card address{
  font-style: normal;
  line-height:1.45;
  color:var(--text);
}
.mail-btn{
  display:inline-block;
  text-decoration:none;
  background: var(--brand-blue);
  color: #000;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight:600;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform .06s ease;
}
.mail-btn:hover{ transform: translateY(-2px); }

/* Footer */
.site-footer{
  text-align:center;
  color:var(--muted);
  font-size:0.9rem;
  margin-bottom: 40px;
}

/* Responsive */
@media (max-width:720px){
  .header-inner{
    flex-direction:row;
    gap:10px;
  }
  .logo{ width:90px }
  .acc-summary{display:none} /* keep headers compact on small screens */
  .acc-title{ font-size:1rem }
}
