/* ALPA minimal theme – mobile Fix: Text bleibt innerhalb der Kästchen */
*{box-sizing:border-box}
:root{--red:#c00;--text:#333;--muted:#555}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#fff;color:var(--text);line-height:1.55}

/* Header */
header{background:#fff;text-align:center;padding:28px 12px;border-bottom:4px solid var(--red)}
header img{max-width:340px;height:auto}

/* Hero */
.hero{text-align:center;padding:40px 18px;max-width:960px;margin:0 auto;border-bottom:1px solid #eee}
.hero h1{color:var(--red);margin:8px 0 6px;font-size:27px}
.hero p{margin:0;color:var(--muted)}

/* Layout */
main{max-width:960px;margin:0 auto;padding:24px}
section{margin-bottom:56px}
h1,h2,h3{font-family:Arial,Helvetica,sans-serif}
h2{color:var(--red);font-size:23px;margin:0 0 14px;text-align:center}

/* Basis UL */
ul{list-style:none;padding:0;margin:0}

/* Leistungen: Grid */
ul.services{
  display:grid;
  gap:14px;
  max-width:820px;
  margin:0 auto;
  grid-template-columns:repeat(2,minmax(0,1fr)); /* 2x2 auch mobil */
}
@media (max-width:359px){
  ul.services{grid-template-columns:1fr;}
}

ul.services li{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  height:100%;
  min-height:165px;
  margin:0;
  padding:12px 14px;
  border:1px solid #e3e3e3;
  border-radius:12px;
  background:#fff;
  box-shadow:0 8px 28px rgba(0,0,0,0.08);
  overflow-wrap:anywhere; /* wichtiger Schutz */
  word-break:break-word;
}

/* Service-Titel und -Text: sicheres Umbrechen + Hyphenation */
ul.services h3{
  color:var(--red);
  font-size:18px;
  margin:0 0 8px;
  overflow-wrap:anywhere;
  word-break:break-word;
  hyphens:auto;
}
.services .desc{
  display:block;
  color:var(--muted);
  font-size:14.5px;
  line-height:1.45;
  margin-top:4px;
  overflow-wrap:anywhere;
  word-break:break-word;
  hyphens:auto;
}

/* Kleinere Geräte: Typografie weiter reduzieren */
@media (max-width:420px){
  ul.services h3{font-size:16px}
  .services .desc{font-size:14px}
}

/* Über uns */
.about{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}
.about img{width:190px;height:auto;border-radius:14px;object-fit:cover;box-shadow:0 6px 16px rgba(0,0,0,.12);border:2px solid #eee}
.about picture,.about .about-meta{display:block;margin-top:10px;text-align:center}
.about .about-meta{font-size:14px;color:var(--muted)}
.about .role{font-weight:500;color:#777}

/* Kontakt */
.kontakt{text-align:center;max-width:700px;margin:0 auto 48px;padding:0}
.kontakt a{color:var(--red);text-decoration:none}

/* Card Boxen (Rubriken): permanenter Schatten, kein Hover) */
.section-box{
  border:none;
  border-radius:16px;
  padding:20px;
  background:#fff;
  box-shadow:0 8px 28px rgba(0,0,0,0.08);
}
.section-box:hover{transform:none;box-shadow:0 8px 28px rgba(0,0,0,0.08)}

/* Footer */
footer{text-align:center;padding:18px;font-size:14px;color:#666;border-top:1px solid #ddd}

/* Animationen ruhig */
.fade-in-section,.reveal{opacity:1;transform:none;transition:none}
