/* Source Sans 3 – lokal gehostet */

/* Light */
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/sourcesans3-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Regular */
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/sourcesans3-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* SemiBold */
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/sourcesans3-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/sourcesans3-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root{
  --bg: #ffffff;
  --bg-soft:#f6f7f8;
  --text:#1f2328;
  --muted:#5b636b;
  --line:#e6e9ec;

  /* CI colors (from CI PDF) */
  --green:#7DBA28;
  --green-2:#6aa51f;
  --dark:#3b3f43;
  --dark-2:#2b2f33;
  --gray:#595959;
  --gray-soft:#595959;

  --radius: 18px;
  --shadow: 0 10px 24px rgba(0,0,0,.08);
  --shadow2: 0 14px 36px rgba(0,0,0,.14);
  --container: 1100px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Source Sans 3","Source Sans Pro",Arial, Helvetica, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
}

a{color:inherit; text-decoration:none}
a:hover{text-decoration:underline}
.skip{
  position:absolute; left:-999px; top:10px;
  background:#000; color:#fff; padding:10px 12px; border-radius:10px;
}
.skip:focus{left:10px; z-index:9999}

.container{
  width:min(var(--container), calc(100% - 40px));
  margin:0 auto;
}

.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.9);
  backdrop-filter:saturate(160%) blur(8px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
  gap:16px;
}

.brand{display:flex; align-items:center; gap:12px}
.brand-mark{display:block}
.brand-name{font-weight:700; letter-spacing:.2px}
.brand-sub{font-size:13px; color:var(--muted)}

.nav{display:flex; align-items:center; gap:18px; font-weight:600}
.nav.is-mobile{
  flex-direction: column;
  align-items: stretch;
}
.nav.is-mobile a{
  width: 100%;
  text-align: center;
}
.nav a{padding:8px 10px; border-radius:12px}
.nav a:hover{background:var(--gray-soft); text-decoration:none}
.nav-cta{
  background:var(--green); color:#0b1202;
}
.nav-cta:hover{background:var(--green-2)}

.hero{
  position:relative;
  padding:56px 0 30px;
  overflow:hidden;
}
.hero-topwave, .hero-bottomwave{
  position:absolute; left:0; right:0; pointer-events:none;
}
.hero-topwave{top:-10px}
.hero-bottomwave{bottom:-10px}
.hero-topwave svg{height:200px; width:100%}
.hero-bottomwave svg{height:240px; width:100%}
.hero-topwave path{fill:#7b7f84; opacity:.35}
.hero-bottomwave path{fill:var(--green); opacity:.65}

.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns: 420px 1fr;
  gap:42px;
  align-items:center;
}

.portrait-frame{
  background:#fff;
  border-radius: var(--radius);
  padding:10px;
  box-shadow: var(--shadow);
  border:1px solid var(--line);
}
.portrait-frame img{
  display:block;
  width:100%;
  height:auto;
  border-radius: calc(var(--radius) - 8px);
}

.kicker{
  display:inline-block;
  font-weight:700;
  letter-spacing:.6px;
  text-transform:uppercase;
  font-size:12px;
  color:var(--gray);
  background:linear-gradient(90deg, rgba(125,186,40,.16), rgba(125,186,40,0));
  padding:6px 10px;
  border-radius:999px;
}
h1{
  margin:14px 0 10px;
  font-size:42px;
  line-height:1.1;
  letter-spacing:-.6px;
}
.lead{
  margin:10px 0 18px;
  font-size:18px;
  color:var(--muted);
  max-width: 56ch;
}

.hero-cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
  margin:18px 0 18px;
}
.mini-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,.04);
}
.mini-label{font-size:12px; color:var(--muted); margin-bottom:2px}
.mini-card a{font-weight:700}

.hero-actions{display:flex; gap:12px; flex-wrap:wrap}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  font-weight:700;
  background:var(--green);
  color:#0b1202;
  box-shadow: 0 10px 18px rgba(125,186,40,.22);
  border:1px solid rgba(0,0,0,.08);
}
.btn:hover{background:var(--green-2); text-decoration:none}
.btn-ghost{
  background:#fff;
  color:var(--text);
  box-shadow:none;
}
.btn-ghost:hover{background:var(--gray-soft)}

.section{padding:70px 0}
.section-head{margin-bottom:26px}
.section-head h2{margin:0 0 8px; font-size:32px; letter-spacing:-.4px}
.section-head p{margin:0; color:rgba(255,255,255,.78)}
.section h2{margin:0 0 10px; font-size:32px; letter-spacing:-.4px}
.lead-sm{margin:0 0 14px; color:var(--muted); font-size:18px}

.section-dark{
  background:linear-gradient(180deg, var(--dark), var(--dark-2));
  color:#fff;
  position:relative;
  overflow:hidden;
}
.section-dark .section-head p{max-width:70ch}
.grid.cards{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:14px;
}
.card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:16px 16px 14px;
  backdrop-filter: blur(6px);
}
.card h3{margin:0 0 6px; font-size:16px}
.card p{margin:0; color:rgba(255,255,255,.78); font-size:14px}
.logo-watermark{
  position:absolute;
  right:-180px;
  bottom:-100px;
  width:1000px;
  opacity:.05;
  filter: saturate(120%);
  pointer-events:none;
}
.logo-watermark img{width:100%; height:auto}

.two-col{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:28px;
  align-items:start;
}
.bullets{
  margin:14px 0 0;
  padding-left:18px;
}
.bullets li{margin:8px 0}

.info-panel{
  background:var(--bg-soft);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px 18px;
  box-shadow: 0 10px 22px rgba(0,0,0,.05);
}
.info-panel h3{margin:0 0 6px; font-size:14px; text-transform:uppercase; letter-spacing:.7px; color:var(--gray)}
.info-panel p{margin:0 0 12px}

.section-soft{
  background:linear-gradient(180deg, rgba(125,186,40,.10), rgba(125,186,40,0));
  border-top:1px solid var(--line);
}
.contact-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:22px;
  align-items:stretch;
}
.contact-cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
  margin-top:16px;
}
.contact-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px 14px;
  box-shadow: 0 8px 18px rgba(0,0,0,.05);
}
.contact-card:hover{background:var(--gray-soft); text-decoration:none}
.cc-title{font-size:12px; color:var(--muted); margin-bottom:4px}
.cc-value{font-weight:700; font-size:14px}

.contact-panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
.panel-top{display:flex; gap:12px; align-items:center; padding-bottom:12px; border-bottom:1px solid var(--line)}
.panel-logo{width:44px; height:44px}
.panel-name{font-weight:800}
.panel-sub{color:var(--muted); font-size:14px}
.panel-lines{padding:12px 0}
.line{display:flex; justify-content:space-between; gap:14px; padding:7px 0}
.label{color:var(--muted); font-size:13px}
.value{font-weight:700; text-align:right}
.panel-note{
  margin-top:6px;
  background:rgba(125,186,40,.10);
  border:1px solid rgba(125,186,40,.25);
  color:#2b3b08;
  padding:10px 12px;
  border-radius:14px;
  font-size:13px;
}

.footer{
  background:#0f1215;
  color:#cfd6dd;
  border-top:1px solid rgba(255,255,255,.08);
}
.footer-inner{
  display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap;
  padding:22px 0;
}
.footer-brand{display:flex; gap:10px; align-items:center}
.footer-name{font-weight:800; color:#fff}
.footer-sub{font-size:13px; color:#aeb7c0}
.footer-links{display:flex; gap:12px; flex-wrap:wrap; justify-content:flex-end}
.footer-links a{padding:8px 10px; border-radius:12px}
.footer-links a:hover{background:rgba(255,255,255,.06); text-decoration:none}
.footer-legal{font-size:13px; color:#aeb7c0; text-align:right; margin-top:6px}

@media (max-width: 980px){
  .hero-grid{grid-template-columns: 1fr; gap:22px}
  h1{font-size:36px}
  .hero-cards{grid-template-columns: 1fr}
  .grid.cards{grid-template-columns: repeat(2, minmax(0, 1fr))}
  .two-col{grid-template-columns: 1fr}
  .contact-grid{grid-template-columns: 1fr}
  .contact-cards{grid-template-columns: 1fr}
  .value{text-align:left; font-weight:600}
  .line{flex-direction:column; align-items:flex-start}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
}
/* Legal Pages (Impressum / Datenschutz) */
.legal-page{
  padding: 44px 0 70px;
}

.legal-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:22px;
  box-shadow: 0 10px 22px rgba(0,0,0,.05);
}

.legal-card h1{
  margin-top:0;
}

.legal-meta{
  color: var(--muted);
  font-size: 14px;
  margin: 6px 0 18px;
}

.legal-card h2{
  font-size: 22px;
  margin: 22px 0 10px;
}

.legal-card p,
.legal-card li{
  color: var(--text);
}

.legal-card a{
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-back{
  display:inline-flex;
  margin: 14px 0 0;
  font-weight: 700;
}
/* Legal pages background logo */
.legal-page{
  position: relative;
  overflow: hidden;
}

.legal-page::after{
  content: "";
  position: absolute;
  right: -600px;
  bottom: -300px;
  width: 2500px;
  height: 2500px;
  background: url("assets/print_transparent.svg") no-repeat center / contain;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

/* ensure content stays above watermark */
.legal-card{
  position: relative;
  z-index: 1;
}
.bildhinweis {
  font-size: 0.7rem;      /* deutlich kleiner als Fließtext */
  color: #888;            /* neutrales Grau */
  margin-top: 0.3rem;
  line-height: 1.3;
}
#leistungen{
  scroll-margin-top: 25px; /* Höhe deines Headers + etwas Luft */
}
#profil{
  scroll-margin-top: 25px; /* Höhe deines Headers + etwas Luft */
}
