* ============================================
   matthiasarlt.de — Stylesheet 2026
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #020e12;
  --bg2:         #041318;
  --surface:     #071e26;
  --surface2:    #0a2830;
  --border:      #0d3a47;
  --border-glow: #1a6070;
  --accent:      #00c8d4;
  --accent2:     #00e8f0;
  --accent3:     #007a8a;
  --glow:        rgba(0,200,212,0.18);
  --glow-soft:   rgba(0,200,212,0.07);
  --text:        #d0eef2;
  --text-muted:  #4a8a95;
  --text-dim:    #7ab8c2;
  --mono: 'DM Mono', monospace;
  --sans: 'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── CANVAS HEX BACKGROUND ── */
#hexCanvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

/* ── AMBIENT GLOW ORBS ── */
.orb {
  position: fixed; border-radius: 50%;
  pointer-events: none; z-index: 1; filter: blur(90px);
}
.orb-1 { width:700px; height:700px; background:radial-gradient(circle, rgba(0,150,180,0.15), transparent 70%); top:-200px; right:-150px; animation:drift1 14s ease-in-out infinite; }
.orb-2 { width:500px; height:500px; background:radial-gradient(circle, rgba(0,80,120,0.12), transparent 70%); bottom:0; left:-150px; animation:drift2 18s ease-in-out infinite; }
.orb-3 { width:350px; height:350px; background:radial-gradient(circle, rgba(0,180,200,0.1), transparent 70%); top:40%; right:5%; animation:drift1 11s ease-in-out infinite 4s; }

@keyframes drift1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-40px,50px)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(50px,-40px)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }

/* ── CURSOR GLOW ── */
#cursorGlow {
  position:fixed; width:380px; height:380px; border-radius:50%;
  background:radial-gradient(circle, rgba(0,200,212,0.08) 0%, transparent 65%);
  pointer-events:none; z-index:2; transform:translate(-50%,-50%);
  transition:opacity 0.3s; mix-blend-mode:screen;
}

/* ── NAV ── */
nav {
  position:fixed; top:0; left:0; right:0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding:1.25rem 3rem;
  background:rgba(2,14,18,0.88);
  backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
  box-shadow:0 1px 40px rgba(0,180,200,0.06);
}
.nav-logo { font-family:var(--mono); font-size:0.85rem; color:var(--accent2); letter-spacing:0.06em; text-shadow:0 0 16px rgba(0,230,240,0.55); }
.nav-logo span { color:var(--text-muted); }
.nav-links { display:flex; gap:2.5rem; list-style:none; }
.nav-links a { font-family:var(--mono); font-size:0.72rem; color:var(--text-muted); text-decoration:none; letter-spacing:0.12em; text-transform:uppercase; transition:color 0.2s, text-shadow 0.2s; }
.nav-links a:hover { color:var(--accent2); text-shadow:0 0 10px rgba(0,230,240,0.5); }

/* ── HERO ── */
#home {
  min-height:100vh; position:relative; overflow:hidden;
  display:flex; flex-direction:column; justify-content:center;
  padding:8rem 3rem 4rem; z-index:1;
}
.hero-tag {
  font-family:var(--mono); font-size:0.72rem; color:var(--accent);
  letter-spacing:0.25em; text-transform:uppercase; margin-bottom:1.5rem;
  opacity:0; animation:fadeUp 0.6s 0.2s forwards;
  display:flex; align-items:center; gap:0.75rem;
}
.hero-tag::before {
  content:''; display:inline-block; width:30px; height:1px;
  background:var(--accent); box-shadow:0 0 6px var(--accent);
}
h1.hero-name {
  font-family:var(--sans); font-weight:700;
  font-size:clamp(3.5rem, 8vw, 7rem); line-height:1;
  letter-spacing:-0.03em; color:#fff;
  opacity:0; animation:fadeUp 0.7s 0.35s forwards;
}
h1.hero-name .first { display:block; }
h1.hero-name .last {
  display:block;
  background:linear-gradient(120deg, var(--accent2) 0%, var(--accent) 50%, #0090a8 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
  filter:drop-shadow(0 0 22px rgba(0,200,212,0.45));
}
.hero-sub {
  margin-top:1.5rem; font-size:1.05rem; color:var(--text-dim);
  max-width:520px; font-weight:300;
  opacity:0; animation:fadeUp 0.7s 0.5s forwards;
}
.hero-roles {
  margin-top:1.2rem; display:flex; gap:0.6rem; flex-wrap:wrap;
  opacity:0; animation:fadeUp 0.7s 0.65s forwards;
}
.role-chip {
  font-family:var(--mono); font-size:0.68rem; letter-spacing:0.1em;
  padding:0.3rem 0.85rem;
  border:1px solid var(--border-glow); border-radius:2px;
  color:var(--text-muted); background:rgba(7,30,38,0.8);
}
.hero-cta {
  margin-top:2.5rem; display:flex; gap:1rem;
  opacity:0; animation:fadeUp 0.7s 0.8s forwards;
}
.btn {
  font-family:var(--mono); font-size:0.72rem; letter-spacing:0.12em;
  text-transform:uppercase; padding:0.85rem 1.8rem; border-radius:2px;
  text-decoration:none; transition:all 0.25s; cursor:pointer; display:inline-block;
}
.btn-primary {
  background:linear-gradient(135deg, var(--accent) 0%, #006878 100%);
  color:#020e12; border:none; font-weight:500;
  box-shadow:0 0 24px rgba(0,200,212,0.35), 0 0 60px rgba(0,200,212,0.1);
}
.btn-primary:hover {
  transform:translateY(-2px);
  box-shadow:0 0 36px rgba(0,200,212,0.6), 0 0 80px rgba(0,200,212,0.2);
}
.btn-outline { border:1px solid var(--border-glow); color:var(--text-dim); background:transparent; }
.btn-outline:hover {
  border-color:var(--accent); color:var(--accent);
  transform:translateY(-2px); box-shadow:0 0 16px rgba(0,200,212,0.18);
}
.hero-scroll {
  position:absolute; bottom:3rem; left:3rem;
  font-family:var(--mono); font-size:0.62rem; letter-spacing:0.2em;
  color:var(--text-muted); text-transform:uppercase;
  display:flex; align-items:center; gap:0.75rem;
  opacity:0; animation:fadeUp 0.7s 1.2s forwards; z-index:2;
}
.scroll-line { width:40px; height:1px; background:linear-gradient(90deg, var(--accent), transparent); }

/* ── SECTIONS ── */
section { padding:6rem 3rem; position:relative; z-index:1; }
.section-header { display:flex; align-items:center; gap:1rem; margin-bottom:3.5rem; }
.section-num { font-family:var(--mono); font-size:0.68rem; color:var(--accent); letter-spacing:0.12em; text-shadow:0 0 10px rgba(0,200,212,0.5); }
.section-title { font-size:clamp(1.8rem, 3vw, 2.4rem); font-weight:600; letter-spacing:-0.02em; color:#fff; }
.section-line { flex:1; height:1px; background:linear-gradient(90deg, var(--border-glow), transparent); max-width:200px; }

/* ── ABOUT ── */
#matthias { background:var(--bg2); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:4rem; max-width:1100px; }
.about-text p { color:var(--text-dim); margin-bottom:1.25rem; font-size:1rem; line-height:1.85; }
.about-text a { color:var(--accent2); text-decoration:none; border-bottom:1px solid rgba(0,200,212,0.3); transition:border-color 0.2s; }
.about-text a:hover { border-color:var(--accent2); }
.about-interests { display:flex; flex-direction:column; gap:0.9rem; }
.about-pic {
    float: left; /* Bild fließt links */
    margin-right: 15px; /* Abstand rechts vom Bild */
    margin-bottom: 10px; /* Abstand nach unten, falls nötig */
    width: 200px; /* Breite festlegen */
    height: auto; /* Höhe automatisch */
  }
.interest-item {
  display:flex; align-items:flex-start; gap:1rem; padding:1.1rem 1.25rem;
  border:1px solid var(--border); border-radius:3px; background:var(--surface);
  transition:border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.interest-item:hover {
  border-color:var(--accent3); transform:translateX(5px);
  box-shadow:0 0 24px rgba(0,200,212,0.1), inset 0 0 20px rgba(0,200,212,0.03);
}
.interest-icon { font-size:1.3rem; flex-shrink:0; margin-top:0.1rem; }
.interest-label { font-size:0.88rem; font-weight:500; color:var(--text); }
.interest-desc { font-size:0.76rem; color:var(--text-muted); font-family:var(--mono); margin-top:0.15rem; }

.social-links { display:flex; gap:0.75rem; margin-top:2rem; flex-wrap:wrap; }
.social-link {
  font-family:var(--mono); font-size:0.68rem; letter-spacing:0.1em; text-transform:uppercase;
  padding:0.5rem 1rem; border:1px solid var(--border-glow); border-radius:2px;
  color:var(--text-muted); text-decoration:none; transition:all 0.2s;
  display:flex; align-items:center; gap:0.5rem;
}
.social-link:hover { border-color:var(--accent); color:var(--accent); box-shadow:0 0 14px rgba(0,200,212,0.2); }

/* ── TIMELINE ── */
.timeline { max-width:700px; position:relative; padding-left:2rem; }
.timeline::before {
  content:''; position:absolute; left:0; top:0; bottom:0;
  width:1px; background:linear-gradient(180deg, var(--accent) 0%, var(--accent3) 60%, transparent 100%);
}
.timeline-item { position:relative; padding:0 0 2.5rem 2rem; }
.timeline-item::before {
  content:''; position:absolute; left:-0.3rem; top:0.35rem;
  width:7px; height:7px; border-radius:50%;
  background:var(--accent); box-shadow:0 0 12px var(--accent), 0 0 28px rgba(0,200,212,0.4);
}
.tl-period { font-family:var(--mono); font-size:0.68rem; color:var(--accent); letter-spacing:0.1em; margin-bottom:0.4rem; }
.tl-role { font-size:1rem; font-weight:600; color:#fff; margin-bottom:0.2rem; }
.tl-company { font-size:0.84rem; color:var(--text-muted); margin-bottom:0.4rem; }
.tl-desc { font-size:0.84rem; color:var(--text-dim); line-height:1.65; }

/* ── SERVICES ── */
#services { background:var(--bg); }
.services-intro {
  font-family:var(--mono); font-size:0.78rem; color:var(--text-muted);
  margin-bottom:2rem; padding:0.9rem 1.25rem;
  border-left:2px solid var(--accent); background:var(--surface);
  border-radius:0 3px 3px 0; line-height:1.75;
}
.services-grid {
  display:grid; grid-template-columns:repeat(auto-fill, minmax(175px,1fr));
  gap:1px; background:var(--border); border:1px solid var(--border);
  border-radius:3px; overflow:hidden; max-width:1100px;
}
.service-card {
  background:var(--surface); padding:1.4rem 1.2rem; text-decoration:none;
  display:flex; flex-direction:column; gap:0.45rem;
  transition:background 0.25s, box-shadow 0.25s;
  position:relative; overflow:hidden;
}
.service-card::after {
  content:'';
  position:absolute; right:-10px; top:50%; transform:translateY(-50%);
  width:80px; height:92px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='92'%3E%3Cpolygon points='40,2 78,22 78,70 40,90 2,70 2,22' fill='none' stroke='rgba(0,200,212,0.2)' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events:none; transition:all 0.25s;
}
.service-card:hover {
  background:var(--surface2);
  box-shadow:inset 0 0 40px rgba(0,200,212,0.08), 0 0 20px rgba(0,200,212,0.06);
}
.service-card:hover::after {
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='92'%3E%3Cpolygon points='40,2 78,22 78,70 40,90 2,70 2,22' fill='rgba(0,200,212,0.06)' stroke='rgba(0,232,240,0.85)' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
  filter:drop-shadow(0 0 8px rgba(0,220,240,0.7));
  right:-6px; width:88px; height:101px;
}
.service-category { font-family:var(--mono); font-size:0.58rem; letter-spacing:0.18em; text-transform:uppercase; color:var(--text-muted); }
.service-name { font-size:0.84rem; font-weight:500; color:var(--text); transition:color 0.2s; }
.service-card:hover .service-name { color:var(--accent2); }
.service-arrow { font-size:0.72rem; color:var(--border-glow); margin-top:auto; transition:color 0.2s, transform 0.2s; }
.service-card:hover .service-arrow { color:var(--accent); transform:translateX(4px); }

/* ── CONTACT ── */
#kontakt { background:var(--bg2); border-top:1px solid var(--border); }
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:4rem; max-width:900px; }
.contact-block h3 { font-size:1rem; font-weight:600; color:#fff; margin-bottom:1.5rem; }
.contact-detail { display:flex; flex-direction:column; gap:1.1rem; }
.contact-row { display:flex; flex-direction:column; gap:0.2rem; }
.contact-label { font-family:var(--mono); font-size:0.62rem; letter-spacing:0.15em; text-transform:uppercase; color:var(--text-muted); }
.contact-value { font-size:0.9rem; color:var(--text-dim); }
.contact-value a { color:var(--accent2); text-decoration:none; }
.contact-value a:hover { text-decoration:underline; }
.impressum-box { padding:1.5rem; border:1px solid var(--border); border-radius:3px; background:var(--surface); }
.impressum-box p { font-size:0.8rem; color:var(--text-muted); line-height:1.85; }

/* ── FOOTER ── */
footer {
  padding:2rem 3rem; border-top:1px solid var(--border);
  display:flex; align-items:center; justify-content:space-between;
  background:var(--bg); position:relative; z-index:1;
}
.footer-copy { font-family:var(--mono); font-size:0.62rem; color:var(--text-muted); letter-spacing:0.1em; }
.footer-badge { font-family:var(--mono); font-size:0.62rem; color:var(--text-muted); letter-spacing:0.1em; }
.footer-badge span { color:var(--accent); }

/* ── REVEAL ANIMATION ── */
.reveal { opacity:1; transform:none; transition:opacity 0.7s ease, transform 0.7s ease; }
.js-loaded .reveal { opacity:0; transform:translateY(20px); }
.js-loaded .reveal.visible { opacity:1; transform:none; }

/* ── RESPONSIVE ── */
@media (max-width:768px) {
  nav { padding:1rem 1.5rem; }
  .nav-links { display:none; }
  section { padding:4rem 1.5rem; }
  #home { padding:7rem 1.5rem 3rem; }
  .about-grid, .contact-grid { grid-template-columns:1fr; gap:2.5rem; }
  footer { padding:1.5rem; flex-direction:column; gap:0.5rem; text-align:center; }
}
.nav-pic {
    margin-right: 15px; /* Abstand rechts vom Bild */
    vertical-align: middle;
    width: 70px; /* Breite festlegen */
    height: auto; /* Höhe automatisch */
  }

