:root {
      --primary: #38bdf8;
      --nav: #102040;
      --secondary: #0a192f;
      --background: #f8fafc;
      --accent: #2563eb;
      --white: #fff;
      --shadow: 0 4px 24px rgba(37,99,235,0.07);
      --hero-bg: #e0f2fe;
      --keyboard-gray: #838585;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    html, body { height: 100%; }
    body {
      font-family: 'Montserrat', Arial, sans-serif;
      background: var(--background);
      color: var(--secondary);
      line-height: 1.6;
      min-height: 100vh;
      scroll-behavior: smooth;
      padding-top: 86px;
    }

    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      z-index: 999;
      background: var(--nav);
      color: var(--white);
      box-shadow: var(--shadow);
      transition: background 0.3s;
    }
    .nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
      padding: 1.2rem 2rem;
      position: relative;
    }
    .logo {
      font-size: 2rem;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      opacity: 0.95;
    }
    nav {
      flex: 1;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      position: relative;
    }
    nav ul {
      display: flex;
      gap: 2rem;
      list-style: none;
      transition: max-height 0.3s;
    }
    nav a {
      color: var(--white);
      text-decoration: none;
      font-weight: 500;
      font-size: 1.1rem;
      position: relative;
      transition: color 0.2s;
    }
    nav a::after {
      content: '';
      display: block;
      width: 0;
      height: 2px;
      background: var(--white);
      transition: width 0.3s;
      margin-top: 2px;
    }
    nav a:hover::after { width: 100%; }

    /* Hamburger Menü */
    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 44px;
      height: 44px;
      cursor: pointer;
      position: absolute;
      top: 50%;
      right: 0;
      transform: translateY(-50%);
      z-index: 1100;
    }
    .hamburger span {
      display: block;
      width: 30px;
      height: 4px;
      margin: 4px 0;
      background: var(--white);
      border-radius: 2px;
      transition: all 0.3s;
    }

    /* Hamburger sichtbar und Menü versteckt auf kleinen Geräten */
    @media (max-width: 800px) {
      .logo {
        font-size: 28px;
      }
      nav ul {
        display: none;
      }
      .hamburger {
        display: flex;
        margin-right: 5px;
      }
      .nav.open .hamburger {
        z-index: 1201;
      }
      /* Fullscreen Overlay Menü */
      .menu-overlay {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(16,32,64,0.97);
        z-index: 1200;
        opacity: 1;
        transition: opacity 0.3s;
        animation: fadeInMenu 0.3s;
      }
      @keyframes fadeInMenu {
        from { opacity: 0; }
        to { opacity: 1; }
      }
      .menu-overlay ul {
        display: flex;
        flex-direction: column;
        gap: 2.2rem;
        margin-top: 18vh;
        align-items: center;
        width: 100%;
      }
      .menu-overlay ul li {
        width: 100%;
        text-align: center;
      }
      .menu-overlay ul li a {
        font-size: 2rem;
        color: var(--white);
        text-decoration: none;
        font-weight: 700;
        display: block;
        padding: 1.1rem 0;
        letter-spacing: 1px;
        transition: color 0.2s;
      }
      .menu-overlay ul li a:hover {
        color: var(--primary);
      }
    }

    /* Hero Section Layout */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      padding-top: 0;
      background: var(--hero-bg);
      color: var(--secondary);
      overflow: hidden;
      flex-wrap: wrap;
      gap: 0;
    }
    .hero-inner {
      display: flex;
      width: 100%;
      max-width: 1300px;
      margin: 0 auto;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      min-height: 80vh;
    }
    .hero-content {
      flex: 1 1 420px;
      min-width: 320px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      text-align: left;
      padding-left: 3vw;
      z-index: 2;
      animation: fadeInLeft 1.2s;
    }
    .hero-content h1 {
      font-size: 3.2rem;
      font-weight: 800;
      line-height: 1.1;
      margin-bottom: 1.2rem;
      letter-spacing: 1px;
      color: var(--accent);
      text-align: left;
      width: 100%;
    }
    .hero-content p {
      font-size: 1.5rem;
      color: #1e293b;
      max-width: 540px;
      margin-bottom: 2.2rem;
      line-height: 1.5;
      animation: fadeInUp 1.5s;
      text-align: left;
      width: 100%;
    }
    .cta-btn {
      background: var(--accent);
      color: var(--white);
      border: none;
      padding: 1.1rem 2.7rem;
      border-radius: 32px;
      font-size: 1.2rem;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 2px 12px rgba(37,99,235,0.13);
      transition: background 0.2s, color 0.2s, transform 0.2s;
      margin-top: 0.5rem;
      letter-spacing: 1px;
      animation: fadeInUp 1.7s;
    }
    .cta-btn:hover {
      background: var(--primary);
      color: var(--secondary);
      transform: translateY(-2px) scale(1.04);
    }
    .hero-visual {
      flex: 1 1 540px;
      min-width: 340px;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1;
      animation: fadeInRight 1.2s;
      margin-right: 3vw;
    }
    .laptop-svg {
      width: 420px;
      max-width: 98vw;
      height: auto;
      display: block;
      margin: 0 auto;
    }
    @media (min-width: 1200px) {
      .laptop-svg { width: 520px; }
    }
    @media (max-width: 1000px) {
      .hero-inner { flex-direction: column; align-items: center; justify-content: center;}
      .hero-content { align-items: center; text-align: center; padding-left: 0; }
      .hero-content h1 { text-align: center; }
      .hero-content p { text-align: center; font-size: 15px; margin-left: 5px; margin-right: 5px;}
      .hero-visual { margin: 2rem 0 0 0; }
    }
    @media (max-width: 600px) {
      .hero-content h1 { font-size: 2.1rem;}
      .laptop-svg { width: 95vw;}
    }
    @keyframes fadeInLeft {
      0% { opacity: 0; transform: translateX(-60px);}
      100% { opacity: 1; transform: translateX(0);}
    }
    @keyframes fadeInRight {
      0% { opacity: 0; transform: translateX(60px);}
      100% { opacity: 1; transform: translateX(0);}
    }
    @keyframes fadeInUp {
      0% { opacity: 0; transform: translateY(40px);}
      100% { opacity: 1; transform: translateY(0);}
    }

    .section {
      max-width: 1200px;
      margin: 0 auto;
      padding: 4rem 2rem;
    }
    .section-title {
      font-size: 2.2rem;
      color: var(--accent);
      font-weight: 700;
      margin-top: 2rem;
      text-align: center;
      letter-spacing: 1px;
    }

    .about {
      display: flex;
      flex-wrap: wrap;
      gap: 3rem;
      align-items: stretch;
      justify-content: center;
      min-height: 180px;
    }
    .about-visual {
      flex: 1 1 340px;
      min-width: 180px;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
    }
    .about-phone-anim {
      width: 220px;
      max-width: 340px;
      height: 380px;
      display: flex;
      align-items: center;
      justify-content: center;
      animation: phoneWip 2.2s infinite cubic-bezier(.6,0,.4,1) alternate;
      transform: rotate(15deg);
    }
    @media (max-width: 900px) {
      .about-phone-anim { width: 120px; height: 180px;}
    }
    @media (max-width: 700px) {
      .about-phone-anim { width: 90px; height: 130px;}
    }
    @media (max-width: 600px) {
      .about-visual { display: none !important; }
    }
    .about-phone-html {
      width: 100%;
      height: 100%;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      background: transparent;
    }
    .phone-frame {
      position: absolute;
      width: 100%;
      height: 100%;
      border-radius: 28px;
      background: #222;
      box-shadow: 0 6px 32px 0 rgba(0,0,0,0.18), 0 1.5px 3px 0 #111;
      border: 4px solid #333;
      z-index: 2;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
    }
    .phone-screen {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #fff;
      border-radius: 24px;
      z-index: 3;
      box-shadow: 0 1px 4px 0 #0002;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .phone-notch {
      position: absolute;
      top: 2%;
      left: 50%;
      transform: translateX(-50%);
      width: 36%;
      height: 7%;
      background: #222;
      border-radius: 0 0 12px 12px;
      z-index: 4;
    }
    .phone-speaker {
      position: absolute;
      top: 4.5%;
      left: 50%;
      transform: translateX(-50%);
      width: 16%;
      height: 2.5%;
      background: #444;
      border-radius: 6px;
      z-index: 5;
    }
    .phone-btn {
      position: absolute;
      left: 3%;
      top: 25%;
      width: 3.5%;
      height: 12%;
      background: #444;
      border-radius: 8px;
      z-index: 6;
    }
    .phone-btn-right {
      left: auto; right: 3%;
      top: 45%;
      width: 3.5%;
      height: 18%;
      background: #444;
      border-radius: 8px;
      z-index: 6;
    }
    /* Moderner kreativer Bildschirm-Inhalt */
    .phone-ui {
      width: 85%;
      margin: 0 auto;
      margin-top: 18%;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1.2rem;
      font-family: 'Montserrat', Arial, sans-serif;
      z-index: 10;
    }
    .phone-ui-logo {
      width: 54px;
      height: 54px;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2.2rem;
      color: #fff;
      font-weight: bold;
      box-shadow: 0 2px 8px #38bdf844;
      margin-bottom: 0.4rem;
      animation: rotateLogo 6s infinite linear;
    }
    @keyframes rotateLogo {
      0% { transform: rotate(0);}
      100% { transform: rotate(360deg);}
    }
    .phone-ui-title {
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--accent);
      text-align: center;
      margin-bottom: 0.2rem;
      letter-spacing: 0.5px;
    }
    .phone-ui-bar {
      width: 100%;
      height: 16px;
      background: linear-gradient(90deg, var(--primary) 60%, var(--accent) 100%);
      border-radius: 8px;
      margin: 0.3rem 0;
      opacity: 0.7;
      animation: barAnim 2.5s infinite alternate;
    }
    .phone-ui-bar:nth-child(4) {
      width: 60%;
      animation-delay: 1s;
    }
    @keyframes barAnim {
      0% { opacity: 0.7; }
      100% { opacity: 1; }
    }
    .phone-ui-btn {
      padding: 0.5rem 1.3rem;
      background: var(--accent);
      color: #fff;
      border-radius: 18px;
      font-weight: 700;
      font-size: 1rem;
      border: none;
      margin-top: 0.6rem;
      cursor: pointer;
      box-shadow: 0 2px 8px #2563eb22;
      transition: background 0.2s;
    }
    .phone-ui-btn:hover {
      background: var(--primary);
    }
    @keyframes phoneWip {
      0% { transform: rotate(15deg) translateY(0);}
      40% { transform: rotate(15deg) translateY(-10px);}
      60% { transform: rotate(15deg) translateY(-10px);}
      100% { transform: rotate(15deg) translateY(0);}
    }
    .about-text {
      flex: 2 1 350px;
      font-size: 1.15rem;
      color: var(--secondary);
      min-width: 260px;
      z-index: 2;
      display: flex;
      align-items: center;
    }
    .about-text p {
      margin: 0;
    }

    .skills {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      justify-content: center;
      margin-top: 2rem;
    }
    .skill-card {
      background: var(--white);
      border-radius: 18px;
      box-shadow: var(--shadow);
      padding: 2rem 1.5rem;
      text-align: center;
      min-width: 180px;
      flex: 1 1 220px;
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .skill-card:hover {
      transform: translateY(-6px) scale(1.03);
      box-shadow: 0 8px 32px rgba(37,99,235,0.18);
    }
    .skill-icon {
      font-size: 2.5rem;
      color: var(--accent);
      margin-bottom: 1rem;
    }
    .skill-title {
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      color: var(--secondary);
    }
    .skill-desc {
      font-size: 1rem;
      color: #444;
    }

    .projects {
      display: flex;
      flex-wrap: wrap;
      gap: 2.5rem;
      justify-content: center;
      margin-top: 2rem;
    }
    .project-card {
      background: var(--white);
      border-radius: 16px;
      box-shadow: var(--shadow);
      overflow: hidden;
      min-width: 260px;
      max-width: 340px;
      flex: 1 1 300px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .project-card:hover {
      transform: translateY(-5px) scale(1.025);
      box-shadow: 0 8px 32px rgba(37,99,235,0.15);
    }
    .project-img {
      width: 100%;
      height: 180px;
      object-fit: cover;
      background: #e0e7ef;
    }
    .project-content {
      padding: 1.3rem 1rem 1.5rem 1rem;
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    .project-title {
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--accent);
      margin-bottom: 0.6rem;
      text-align: center;
    }
    .project-link {
      color: var(--primary);
      text-decoration: none;
      font-weight: 600;
      transition: color 0.2s;
      font-size: 1rem;
      align-self: center;
      margin-top: 0.5rem;
    }
    .project-link:hover {
      color: var(--accent);
      text-decoration: underline;
    }

    .contact-form {
      max-width: 600px;
      margin: 0 auto;
      background: var(--white);
      border-radius: 20px;
      box-shadow: var(--shadow);
      padding: 3.2rem 2.5rem 2.8rem 2.5rem;
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      font-size: 1.08rem;
    }
    .contact-form input, .contact-form textarea {
      border: 2px solid #e0e7ef;
      border-radius: 10px;
      padding: 1.2rem;
      font-size: 1.08rem;
      font-family: inherit;
      outline: none;
      transition: border 0.2s;
      resize: none;
      background: #f1f5fb;
    }
    .contact-form input:focus, .contact-form textarea:focus {
      border: 2px solid var(--accent);
      background: #fff;
    }
    .contact-form button {
      background: var(--accent);
      color: var(--white);
      border: none;
      border-radius: 10px;
      padding: 1.1rem;
      font-size: 1.15rem;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.2s;
      margin-top: 0.5rem;
    }
    .contact-form button:hover {
      background: var(--primary);
      color: var(--secondary);
    }
    .form-success, .form-error {
      text-align: center;
      margin-top: 1rem;
      font-weight: 600;
      font-size: 1rem;
    }
    .form-success { color: var(--accent);}
    .form-error { color: #d32f2f;}

    footer {
      background: var(--nav);
      color: var(--white);
      text-align: center;
      padding: 2rem 1rem 1rem 1rem;
      font-size: 1rem;
      letter-spacing: 1px;
      margin-top: 2rem;
    }