/* ====== Base ====== */
:root{
  --bg: #D8DCDF;
  --text: #1C1C1C;
  --white: #FFFFFF;
  --petrol: #197F85;
  --border: rgba(28,28,28,0.12);
}

*{ box-sizing: border-box; }
html, body{
  margin: 0;
  padding: 0;
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a{ color: var(--petrol); text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 768px){
  .container{ padding: 0 24px; }
}

html, body{
  height: 100%;
}

body{
  display: flex;
  flex-direction: column;
}

main{
  flex: 1;   /* füllt den verfügbaren Raum */
}

/* ====== Body ====== */
body {
  font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ====== Header ====== */
header{
  background: transparent;
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
  position: relative;
}

.logo img{
  display: block;
  max-height: 84px;
}

/* Desktop-Navi exakt rechtsbündig */
.nav-desktop{
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 24px;          /* statt margin-left an Links */
}

/* Mobile handled separat */

/* ====== Cards / Sections ====== */
.section{
  padding: 20px 0;
}
.card{
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 40px;
}
@media (max-width: 768px){
  .card{ padding: 28px; }
  h1{ font-size: 32px; line-height: 1.1; }
}

h1{
  font-size: 40px;
  margin: 0 0 8px 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
h2{
  font-size: 20px;
  margin: 0 0 16px 0;
}
.meta{
  color: var(--petrol);
  letter-spacing: 0.12em;
  font-size: 13px;
  margin-bottom: 16px;
}

.leistungen{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 768px){
  .leistungen{ grid-template-columns: 1fr; }
}
.marker{
  width: 6px;
  height: 18px;
  background: var(--petrol);
  margin-bottom: 12px;
}
.closing{
  margin-top: 20px;
  font-weight: 600;
}
/* ====== Buttons ====== */
.btn-outline{
  display: inline-block;
  padding: 10px 18px;
  border: 2px solid var(--petrol);
  color: var(--petrol);
  border-radius: 8px;
  font-weight: 500;
}
.btn-outline:hover{
  background: rgba(25,127,133,0.08);
  text-decoration: none;
}

/* ====== Footer ====== */
footer{
  background: var(--petrol);
  color: #FFFFFF;
}
.footer-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;   /* ← seitlicher Abstand */
}
@media (max-width: 768px){
  .footer-inner{
    padding: 24px 24px;
  }
}
footer a{
  color: #FFFFFF;
  margin-left: 16px;
}
footer a:hover{
  text-decoration: underline;
}
@media (max-width: 768px){
  .footer-inner{
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  footer a{ margin-left: 8px; margin-right: 8px; }
}
/* ====== Hamburger-Navi ====== */
/* Desktop/Mobile Nav Switch */
.nav-desktop{
  margin-left: auto;   /* drückt Navi nach rechts */
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.nav-desktop a{
  margin-left: 24px;
}
.nav-mobile{
  display: none;
}
@media (max-width: 768px){
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
}
/* ====== Hamburger-Navi (Petrol Button, weiße Striche) ====== */

/* Mobile-Menü Button (summary) */
.nav-mobile summary{
  font-size: 0;                 /* Text ausblenden */
  line-height: 0;
  list-style: none;
  width: 60px;
  height: 60px;
  cursor: pointer;

  background: var(--petrol);
  border: 2px solid var(--petrol);
  border-radius: 8px;

  display: flex;                /* zuverlässiger als grid */
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Marker entfernen */
.nav-mobile summary::-webkit-details-marker{
  display: none;
}
.nav-mobile summary::marker{
  content: "";
}

/* Hamburger-Striche (weiß), exakt zentriert */
.nav-mobile summary::before{
  content: "";
  width: 35px;
  height: 5px;
  background: #FFFFFF;
  border-radius: 5px;   /* ← abgerundete Enden */
  display: block;
  margin: 0 auto;
  box-shadow:
    0 13px 0 #FFFFFF,
    0 -13px 0 #FFFFFF;
}

/* Dropdown Panel */
.nav-panel{
  position: absolute;
  right: 0;
  margin-top: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  min-width: 190px;
  z-index: 1000;
}

.nav-panel a{
  display: block;
  padding: 10px 8px;
  color: var(--petrol);
  font-size: 14px;
}

.nav-panel a:hover{
  background: rgba(25,127,133,0.08);
  text-decoration: none;
}

/* Make sure panel positions relative to header area */
.header-inner{
  position: relative;