:root{
  --bg0:#ffffff;
  --bg1:#ffffff;
  --surface:#ffffff;
  --surface2:#ffffff;
  --border:rgba(15,23,42,.10);
  --text:#0b1220;
  --muted:#334155;
  --muted2:#64748b;
  --shadow: 0 18px 60px rgba(2,6,23,.10);
  --shadow2: 0 10px 30px rgba(2,6,23,.08);
  --radius: 18px;
  --radius2: 14px;
  --ring: 0 0 0 3px rgba(249,115,22,.28);
  --accent:#f97316;   /* clean orange */
  --accent2:#f59e0b;  /* warm amber */
  --max:1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  background: #ffffff;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height:1.55;
  text-rendering:optimizeLegibility;
}

a{color:inherit; text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%; height:auto}

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

.skip-link{
  position:absolute;
  left:12px;
  top:10px;
  transform:translateY(-200%);
  padding:10px 12px;
  background:rgba(255,255,255,.92);
  border:1px solid var(--border);
  border-radius:12px;
  z-index:1000;
}
.skip-link:focus{transform:translateY(0); outline:none; box-shadow:var(--ring)}

.container{max-width:var(--max); margin:0 auto; padding:0 18px}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background:rgba(255,255,255,.72);
  border-bottom:1px solid rgba(15,23,42,.08);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header[data-elevated="true"]{
  border-bottom-color: rgba(15,23,42,.10);
  box-shadow: 0 10px 24px rgba(2,6,23,.06);
}
.site-header::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:2px;
  background: linear-gradient(90deg, transparent, rgba(249,115,22,.55), transparent);
  opacity:.9;
  pointer-events:none;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none !important;
}
.brand-mark{display:inline-flex; align-items:center; gap:10px}
.brand-logo{
  height:34px;
  width:auto;
  display:inline-block;
  filter: drop-shadow(0 10px 22px rgba(2,6,23,.18));
}
.brand-fallback{opacity:.75}
.brand-logo--small{height:34px}
.brand-text{display:flex; flex-direction:column; line-height:1.15}
.brand-title{font-weight:700; letter-spacing:.2px}
.brand-subtitle{color:var(--muted2); font-size:.86rem}
.brand-title{font-size:1.05rem}

.nav{display:flex; align-items:center}
.nav-menu{
  display:flex;
  align-items:center;
  gap:10px;
}
.nav-link{
  padding:10px 12px;
  border-radius:12px;
  color:var(--muted);
  text-decoration:none !important;
  transition: background .15s ease, color .15s ease;
}
.nav-link:hover{background:rgba(2,6,23,.04); color:var(--text)}
.nav-cta{
  background:linear-gradient(135deg, rgba(249,115,22,.92), rgba(245,158,11,.80));
  color:#111827;
  font-weight:650;
}
.nav-cta:hover{filter:brightness(1.06)}

.nav-toggle{
  display:none;
  background:transparent;
  border:1px solid var(--border);
  border-radius:12px;
  width:44px;
  height:44px;
  padding:0;
  color:var(--text);
}
.nav-toggle:focus{outline:none; box-shadow:var(--ring)}
.nav-toggle-lines{
  display:block;
  width:20px;
  height:2px;
  background:var(--text);
  margin:0 auto;
  position:relative;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after{
  content:"";
  position:absolute;
  left:0;
  width:20px;
  height:2px;
  background:var(--text);
}
.nav-toggle-lines::before{top:-6px}
.nav-toggle-lines::after{top:6px}

/* Hero */
.hero{position:relative; padding:64px 0 34px}
.hero-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:24px;
  align-items:start;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  background:rgba(255,255,255,.75);
  border:1px solid var(--border);
  border-radius:999px;
  color:var(--muted);
  margin:0 0 14px;
  width:fit-content;
}
.badge .dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 4px rgba(249,115,22,.10);
}
.hero h1{
  margin:0 0 12px;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height:1.06;
  letter-spacing:-.02em;
}
.lead{margin:0 0 18px; color:var(--muted); font-size:1.05rem}
.lead strong{color:var(--text); font-weight:650}
.hero-actions{display:flex; gap:10px; flex-wrap:wrap; margin:0 0 18px}

.hero-head{
  display:grid;
  grid-template-columns: auto 1fr;
  gap:18px;
  align-items:center;
  margin:6px 0 10px;
}

.hero-logo-wrap{margin:0}
.hero-logo{
  height:168px;
  width:auto;
  display:block;
  filter: drop-shadow(0 20px 34px rgba(2,6,23,.14));
}

.hero-pills{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:8px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.10);
  background:#ffffff;
  color:rgba(2,6,23,.78);
  font-weight:600;
  font-size:.92rem;
}
.pill::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:999px;
  background: linear-gradient(135deg, rgba(249,115,22,.95), rgba(245,158,11,.75));
  box-shadow: 0 0 0 3px rgba(249,115,22,.10);
}

.stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:10px;
  margin:0;
}
.stat{
  padding:12px 12px;
  background:rgba(255,255,255,.75);
  border:1px solid var(--border);
  border-radius:var(--radius2);
}
.stat dt{color:var(--muted2); font-size:.85rem}
.stat dd{margin:2px 0 0; font-weight:650}

.hero-card{position:relative}

.hero-bg{
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:1;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.parallax-layer{
  position:absolute;
  inset:-12%;
  border-radius:999px;
  filter: blur(38px);
  opacity:.18;
  will-change: transform;
  transform: translate3d(0,0,0);
}
.parallax-layer.p1{
  left:-20%;
  top:-22%;
  right:20%;
  bottom:40%;
  background: radial-gradient(circle at 30% 30%, rgba(249,115,22,.55), transparent 60%);
}
.parallax-layer.p2{
  left:20%;
  top:-18%;
  right:-10%;
  bottom:35%;
  background: radial-gradient(circle at 65% 25%, rgba(245,158,11,.50), transparent 62%);
}
.parallax-layer.p3{
  left:-5%;
  top:35%;
  right:-5%;
  bottom:-35%;
  background: radial-gradient(circle at 50% 55%, rgba(2,6,23,.10), transparent 62%);
}

/* Sections */
.section{padding:54px 0}
.section.alt{
  background:#ffffff;
  border-top:1px solid rgba(15,23,42,.08);
  border-bottom:1px solid rgba(15,23,42,.08);
}
.section.alt .section-head::after{
  content:"";
  display:block;
  height:2px;
  width:72px;
  margin-top:10px;
  border-radius:999px;
  background: linear-gradient(90deg, rgba(249,115,22,.65), rgba(245,158,11,.40));
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:18px;
}
.section-head h2{margin:0; font-size:1.7rem; letter-spacing:-.015em}
.muted{color:var(--muted)}
.muted.small{font-size:.92rem}

.grid{display:grid; gap:14px}
.grid.cards{grid-template-columns: repeat(3, minmax(0, 1fr))}
.grid.two{grid-template-columns: repeat(2, minmax(0, 1fr))}
.grid.contact{grid-template-columns: .95fr 1.05fr}

/* Slider */
.slider{position:relative}
.slider-wrap{
  position:relative;
  display:grid;
  grid-template-columns: 44px 1fr 44px;
  align-items:stretch;
  gap:10px;
}
.slider-track{
  display:flex;
  gap:14px;
  overflow:auto hidden;
  padding:2px 2px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.slider-track::-webkit-scrollbar{display:none}
.slide{
  scroll-snap-align: start;
  flex: 0 0 min(520px, 90vw);
  min-height: 520px;
  display:flex;
  flex-direction:column;
}
.slide-media{
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(2,6,23,.02);
  height: 240px;
  margin-bottom:14px;
  position:relative;
}
.slide-media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.75) 100%);
  pointer-events:none;
}
.slide-img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.slider-btn{
  border:1px solid rgba(15,23,42,.10);
  background:#ffffff;
  border-radius:14px;
  width:44px;
  height:100%;
  min-height:56px;
  display:grid;
  place-items:center;
  color:rgba(2,6,23,.80);
  font-size:26px;
  line-height:1;
  box-shadow: 0 8px 18px rgba(2,6,23,.05);
  cursor:pointer;
}
.slider-btn:hover{filter:brightness(1.02)}
.slider-btn:focus{outline:none; box-shadow: var(--ring)}

/* Cards */
.card{
  background:linear-gradient(180deg, var(--surface), rgba(255,255,255,.92));
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow: 0 1px 0 rgba(255,255,255,.70) inset, 0 10px 26px rgba(2,6,23,.05);
}
.card h3{margin:0 0 8px; letter-spacing:-.01em}
.card-title{margin:0 0 10px; font-size:1.15rem}
.glow{
  position:relative;
  overflow:hidden;
}
.glow::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(520px 240px at 10% 10%, rgba(249,115,22,.16), transparent 60%),
    radial-gradient(460px 240px at 90% 0%, rgba(245,158,11,.12), transparent 60%);
  opacity:.9;
  pointer-events:none;
  z-index:0;
}
.glow > *{position:relative; z-index:1}

.bullets{
  margin:12px 0 0;
  padding-left:18px;
  color:var(--muted);
}
.bullets li{margin:6px 0}

.checklist{list-style:none; margin:12px 0 0; padding:0; color:var(--muted)}
.checklist li{
  margin:10px 0;
  padding-left:28px;
  position:relative;
}
.checklist li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  width:22px;
  height:22px;
  border-radius:10px;
  background:rgba(249,115,22,.14);
  border:1px solid rgba(249,115,22,.18);
  display:grid;
  place-items:center;
  color:rgba(2,6,23,.86);
  font-weight:800;
  font-size:.9rem;
}

.callout{
  margin-top:14px;
  padding:12px 12px;
  border-radius:var(--radius2);
  background:rgba(249,115,22,.10);
  border:1px solid rgba(249,115,22,.16);
}
.callout p{margin:0}

.mini-row{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
  margin-top:12px;
}
.mini{
  padding:14px 14px;
  border-radius:var(--radius);
  background:rgba(2,6,23,.02);
  border:1px solid rgba(15,23,42,.08);
}
.mini-kicker{color:var(--muted2); font-size:.85rem}
.mini-title{font-weight:700; margin-top:2px}
.mini-text{color:var(--muted); font-size:.95rem; margin-top:6px}

/* Steps */
.steps{display:grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap:14px}
.step-num{
  width:44px; height:44px;
  border-radius:14px;
  display:grid; place-items:center;
  background:rgba(2,6,23,.03);
  border:1px solid rgba(15,23,42,.10);
  color:rgba(2,6,23,.90);
  font-weight:800;
  margin-bottom:10px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#ffffff;
  color:var(--text);
  text-decoration:none !important;
  font-weight:650;
  transition: transform .12s ease, filter .12s ease, background .12s ease;
}
.btn:hover{transform:translateY(-1px); filter:brightness(1.05)}
.btn:focus{outline:none; box-shadow:var(--ring)}
.btn-primary{
  border-color: rgba(249,115,22,.30);
  background:linear-gradient(135deg, rgba(249,115,22,.92), rgba(245,158,11,.80));
  color:#111827;
}
.btn-ghost{
  background:transparent;
}

/* Projects */
.project-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.project-actions{display:flex; align-items:center; gap:10px}
.project-logo{
  height:92px;
  width:auto;
  border-radius:12px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.92);
}
.kicker{
  margin:0 0 6px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted2);
  font-size:.8rem;
}

.embed{
  margin-top:14px;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(2,6,23,.03);
}
.embed iframe{
  width:100%;
  aspect-ratio: 16/9;
  border:0;
  display:block;
}
.embed-note{margin:10px 12px 12px}

.link-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:10px;
  margin-top:12px;
}
.private-projects .link-grid{grid-template-columns: 1fr}
.link-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.link-card-compact{
  padding:10px 12px;
  border-radius:14px;
  width:auto;
  min-width: 180px;
}
.link-left{min-width:0}
.link-icon{
  width:34px;
  height:34px;
  border-radius:12px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(2,6,23,.02);
  display:grid;
  place-items:center;
  color: rgba(2,6,23,.72);
  flex: 0 0 auto;
}
.link-icon svg{width:18px; height:18px; display:block}
.link-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid rgba(15,23,42,.10);
  background:#ffffff;
  text-decoration:none !important;
}
.link-card:hover{background:rgba(2,6,23,.02)}
.link-card-primary{
  border-color: rgba(249,115,22,.24);
  background: linear-gradient(135deg, rgba(249,115,22,.14), rgba(245,158,11,.10));
}
.link-card-primary:hover{filter:brightness(1.05)}
.link-title{font-weight:750}
.link-sub{
  display:block;
  margin-top:4px;
  font-size:.92rem;
  overflow-wrap:anywhere;
  word-break: break-word;
  line-height:1.2;
}

/* In "Private Projekte": Icon links neben Text */
.private-projects .link-card{
  justify-content:flex-start;
}
.private-projects .link-icon{
  order:-1;
}
.private-projects .link-left{
  flex:1;
}

/* Forms */
.form label{display:block; margin-top:12px}
.label{display:block; color:var(--muted2); font-size:.9rem; margin-bottom:6px}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.12);
  background:#ffffff;
  color:var(--text);
  outline:none;
}
input:focus, textarea:focus{box-shadow:var(--ring); border-color: rgba(249,115,22,.30)}
textarea{resize:vertical}
.form-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}

.contact-list{display:grid; gap:10px; margin-top:12px}
.contact-item{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid rgba(15,23,42,.10);
  background:#ffffff;
  text-decoration:none !important;
}
.contact-item:hover{background:rgba(2,6,23,.02)}
.contact-label{color:var(--muted2)}
.contact-value{font-weight:650}
.divider{height:1px; background:rgba(15,23,42,.08); margin:14px 0}

/* Footer */
.footer{
  padding:28px 0 34px;
  border-top:1px solid rgba(15,23,42,.08);
  background:#ffffff;
}
.footer-inner{display:flex; justify-content:space-between; align-items:center; gap:14px; flex-wrap:wrap}
.footer-links{display:flex; gap:14px}
.footer-links a{color:var(--muted); text-decoration:none}
.footer-links a:hover{text-decoration:underline; color:var(--text)}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns: 1fr; gap:16px}
  .grid.cards{grid-template-columns: repeat(2, minmax(0, 1fr))}
  .steps{grid-template-columns: repeat(2, minmax(0, 1fr))}
  .grid.contact{grid-template-columns: 1fr}
  .slider-wrap{grid-template-columns: 1fr}
  .slider-btn{display:none}
}
@media (max-width: 720px){
  .hero-head{grid-template-columns: 1fr; gap:10px}
  .hero-logo{height:84px}
  .project-logo{height:72px}
  .section-head{flex-direction:column; align-items:flex-start}
  .stats{grid-template-columns:1fr; gap:10px}
  .grid.cards{grid-template-columns:1fr}
  .grid.two{grid-template-columns:1fr}
  .mini-row{grid-template-columns:1fr}
  .link-grid{grid-template-columns:1fr}

  .nav-toggle{display:inline-grid; place-items:center}
  .nav-menu{
    position:absolute;
    right:18px;
    top:64px;
    width:min(360px, calc(100vw - 36px));
    padding:10px;
    border-radius:18px;
    border:1px solid rgba(15,23,42,.10);
    background:rgba(255,255,255,.92);
    box-shadow: var(--shadow);
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:6px;
  }
  .nav-menu[data-open="true"]{display:flex}
  .nav-link{width:100%}

  /* Mobile: Logos zentrieren */
  .hero-logo-wrap{
    display:flex;
    justify-content:center;
  }
  .hero-head{
    text-align:center;
  }
  .project-top{
    flex-direction:column;
    align-items:center;
  }
  .project-title{
    text-align:center;
  }
  .project-actions{
    width:100%;
    justify-content:center;
    flex-wrap:wrap;
  }
  .project-logo{
    margin:0 auto;
  }
}


