"<!DOCTYPE html>
<html lang=\"de\">
<head>
  <meta charset=\"UTF-8\">
  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  <title>PC-Strub — Professionelle Computer Reparatur | Romanshorn</title>
  <meta name=\"description\" content=\"PC-Strub — Ihr Partner für Computer Reparatur, Virusentfernung, Datenwiederherstellung und IT-Dienstleistungen in Romanshorn, Schweiz.\">
  <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
  <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
  <link href=\"https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap\" rel=\"stylesheet\">
  <style>
    /* ═══════════════════════════════════════════════
       PC-STRUB — LANDING PAGE STYLES
       Apple Pro Dark Theme
    ═══════════════════════════════════════════════ */

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

    :root {
      --bg-main: #050505;
      --bg-secondary: #0A0A0A;
      --bg-card: #121212;
      --text-primary: #F5F5F7;
      --text-secondary: #86868B;
      --text-muted: #424245;
      --accent: #2997FF;
      --accent-glow: rgba(41, 151, 255, 0.5);
      --success: #32D74B;
      --border-subtle: rgba(255,255,255,0.08);
      --border-strong: rgba(255,255,255,0.15);
      --font-heading: 'Plus Jakarta Sans', -apple-system, sans-serif;
      --font-body: 'Inter', -apple-system, sans-serif;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: var(--font-body);
      background-color: var(--bg-main);
      color: var(--text-primary);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      overflow-x: hidden;
      line-height: 1.6;
    }

    /* Custom Scrollbar */
    ::-webkit-scrollbar { width: 6px; }
    ::-webkit-scrollbar-track { background: var(--bg-secondary); }
    ::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
    ::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

    ::selection {
      background: rgba(41, 151, 255, 0.3);
      color: var(--text-primary);
    }

    a { text-decoration: none; color: inherit; }
    img { max-width: 100%; display: block; }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    @media (min-width: 768px) {
      .container { padding: 0 48px; }
    }
    @media (min-width: 1024px) {
      .container { padding: 0 96px; }
    }

    /* ─── ANIMATIONS ─── */
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    @keyframes scaleIn {
      from { opacity: 0; transform: scale(0.95); }
      to { opacity: 1; transform: scale(1); }
    }
    @keyframes glowPulse {
      0%, 100% { opacity: 0.4; }
      50% { opacity: 0.7; }
    }
    @keyframes spin {
      to { transform: rotate(360deg); }
    }
    @keyframes shimmer {
      0% { transform: translateX(-100%); }
      100% { transform: translateX(100%); }
    }

    .fade-in-up {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    .fade-in-up.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ─── NAVBAR ─── */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .navbar.scrolled {
      background: rgba(5, 5, 5, 0.75);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .navbar-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
    }
    .nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .nav-logo-icon {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: var(--accent);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.3s ease;
    }
    .nav-logo:hover .nav-logo-icon {
      transform: scale(1.1);
    }
    .nav-logo-icon svg {
      width: 16px;
      height: 16px;
      color: white;
    }
    .nav-logo-text {
      font-family: var(--font-heading);
      font-size: 18px;
      font-weight: 600;
      letter-spacing: -0.02em;
      color: white;
    }
    .nav-links {
      display: none;
      align-items: center;
      gap: 32px;
    }
    @media (min-width: 768px) {
      .nav-links { display: flex; }
    }
    .nav-link {
      font-size: 14px;
      color: var(--text-secondary);
      transition: color 0.3s ease;
    }
    .nav-link:hover { color: white; }

    .nav-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: white;
      color: black;
      border-radius: 9999px;
      padding: 8px 24px;
      font-size: 14px;
      font-weight: 500;
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }
    .nav-cta:hover { background: #e5e5e5; }
    .nav-cta::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
      transform: translateX(-100%);
      transition: transform 0.5s ease;
    }
    .nav-cta:hover::before { transform: translateX(100%); }

    /* Mobile menu toggle */
    .nav-mobile-toggle {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      background: none;
      border: none;
      color: white;
      cursor: pointer;
    }
    @media (min-width: 768px) {
      .nav-mobile-toggle { display: none; }
    }
    .nav-mobile-toggle svg {
      width: 22px;
      height: 22px;
    }

    /* Mobile menu */
    .mobile-menu {
      display: none;
      position: fixed;
      top: 64px;
      left: 0;
      right: 0;
      background: rgba(10,10,10,0.97);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border-subtle);
      padding: 24px;
      z-index: 99;
      animation: fadeIn 0.2s ease-out;
    }
    .mobile-menu.open { display: block; }
    .mobile-menu a {
      display: block;
      padding: 14px 0;
      font-size: 16px;
      color: var(--text-secondary);
      border-bottom: 1px solid var(--border-subtle);
      transition: color 0.3s;
    }
    .mobile-menu a:hover { color: white; }
    .mobile-menu a:last-child {
      color: var(--accent);
      font-weight: 500;
      border-bottom: none;
    }

    /* ─── HERO ─── */
    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      background-image: url('https://images.unsplash.com/photo-1770733126996-76bc593c50df?crop=entropy&cs=srgb&fm=jpg&ixid=M3w4NTYxODh8MHwxfHNlYXJjaHwxfHxtYWNybyUyMGNvbXB1dGVyJTIwbW90aGVyYm9hcmQlMjBoYXJkd2FyZSUyMGJsdWUlMjBsaWdodHxlbnwwfHx8fDE3NzMzMTc1MDF8MA&ixlib=rb-4.1.0&q=85');
    }
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(5,5,5,0.7) 0%, rgba(5,5,5,0.9) 60%, #050505 100%);
      z-index: 1;
    }
    .hero-glow {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 800px;
      height: 800px;
      background: radial-gradient(circle, rgba(41, 151, 255, 0.12) 0%, transparent 60%);
      pointer-events: none;
      z-index: 1;
      animation: glowPulse 4s ease-in-out infinite;
    }
    .hero-content {
      position: relative;
      z-index: 2;
      text-align: center;
      padding: 0 24px;
      max-width: 900px;
    }
    .hero-label {
      font-family: var(--font-heading);
      text-transform: uppercase;
      letter-spacing: 0.25em;
      font-size: 12px;
      font-weight: 500;
      color: var(--accent);
      margin-bottom: 24px;
    }
    .hero-title {
      font-family: var(--font-heading);
      font-size: clamp(36px, 7vw, 72px);
      font-weight: 700;
      letter-spacing: -0.04em;
      line-height: 1.05;
      color: white;
      margin-bottom: 24px;
    }
    .hero-subtitle {
      font-size: 16px;
      color: var(--text-secondary);
      max-width: 600px;
      margin: 0 auto 40px;
      line-height: 1.7;
    }
    @media (min-width: 768px) {
      .hero-subtitle { font-size: 18px; }
    }
    .hero-buttons {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
    }
    @media (min-width: 640px) {
      .hero-buttons { flex-direction: row; justify-content: center; }
    }
    .btn-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: white;
      color: black;
      border-radius: 9999px;
      padding: 14px 32px;
      font-size: 14px;
      font-weight: 500;
      letter-spacing: 0.02em;
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }
    .btn-primary:hover { background: #e5e5e5; }
    .btn-primary::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
      transform: translateX(-100%);
      transition: transform 0.5s ease;
    }
    .btn-primary:hover::before { transform: translateX(100%); }

    .btn-secondary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: rgba(255,255,255,0.1);
      color: white;
      border-radius: 9999px;
      padding: 14px 32px;
      font-size: 14px;
      font-weight: 500;
      letter-spacing: 0.02em;
      transition: all 0.3s ease;
      border: 1px solid rgba(255,255,255,0.05);
      cursor: pointer;
      backdrop-filter: blur(12px);
    }
    .btn-secondary:hover { background: rgba(255,255,255,0.2); }

    .btn-primary svg, .btn-secondary svg {
      width: 16px;
      height: 16px;
    }

    /* ─── SECTION SHARED ─── */
    .section {
      padding: 96px 0;
    }
    @media (min-width: 768px) {
      .section { padding: 128px 0; }
    }
    .section-divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    }
    .section-label {
      font-family: var(--font-heading);
      text-transform: uppercase;
      letter-spacing: 0.2em;
      font-size: 12px;
      font-weight: 500;
      color: var(--accent);
      margin-bottom: 16px;
    }
    .section-title {
      font-family: var(--font-heading);
      font-size: clamp(28px, 4vw, 48px);
      font-weight: 700;
      letter-spacing: -0.04em;
      line-height: 1.1;
      color: white;
    }

    /* ─── SERVICES ─── */
    .services-header {
      text-align: center;
      margin-bottom: 64px;
    }
    .services-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
    }
    @media (min-width: 768px) {
      .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
      }
    }
    .service-card {
      position: relative;
      overflow: hidden;
      background: rgba(24, 24, 27, 0.5);
      border: 1px solid var(--border-subtle);
      border-radius: 24px;
      padding: 32px;
      display: flex;
      flex-direction: column;
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .service-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
      opacity: 0;
      transition: opacity 0.5s ease;
    }
    .service-card:hover::before { opacity: 1; }
    .service-card:hover {
      border-color: rgba(255,255,255,0.2);
      transform: translateY(-4px);
    }
    .service-card.span-2 {
      grid-column: span 1;
    }
    @media (min-width: 768px) {
      .service-card.span-2 { grid-column: span 2; }
    }
    .service-icon {
      width: 48px;
      height: 48px;
      border-radius: 14px;
      background: rgba(41, 151, 255, 0.1);
      border: 1px solid rgba(41, 151, 255, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 24px;
      transition: all 0.4s ease;
    }
    .service-card:hover .service-icon {
      background: rgba(41, 151, 255, 0.2);
      border-color: rgba(41, 151, 255, 0.4);
      box-shadow: 0 0 20px rgba(41, 151, 255, 0.15);
    }
    .service-icon svg {
      width: 22px;
      height: 22px;
      color: var(--accent);
    }
    .service-card h3 {
      font-family: var(--font-heading);
      font-size: 18px;
      font-weight: 600;
      color: white;
      letter-spacing: -0.02em;
      margin-bottom: 12px;
      position: relative;
      z-index: 1;
    }
    .service-card p {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.7;
      flex: 1;
      position: relative;
      z-index: 1;
    }
    .service-link {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      color: var(--accent);
      font-size: 14px;
      font-weight: 500;
      margin-top: 24px;
      transition: color 0.3s ease;
      position: relative;
      z-index: 1;
    }
    .service-link:hover { color: #5EB0FF; }
    .service-link svg {
      width: 14px;
      height: 14px;
      transition: transform 0.3s ease;
    }
    .service-link:hover svg { transform: translateX(4px); }

    /* ─── ABOUT ─── */
    .about-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 64px;
      align-items: center;
    }
    @media (min-width: 1024px) {
      .about-grid { grid-template-columns: 1fr 1fr; }
    }
    .about-text p {
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: 24px;
    }
    .about-text p:last-of-type { margin-bottom: 32px; }
    .about-location {
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--text-secondary);
      font-size: 14px;
    }
    .about-location svg {
      width: 16px;
      height: 16px;
      color: var(--accent);
    }
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
    @media (max-width: 639px) {
      .stats-grid { grid-template-columns: 1fr; }
    }
    .stat-card {
      background: rgba(24, 24, 27, 0.5);
      border: 1px solid var(--border-subtle);
      border-radius: 16px;
      padding: 24px;
      text-align: center;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }
    .stat-card:hover { border-color: rgba(255,255,255,0.2); }
    .stat-card::after {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.03) 50%, transparent 60%);
      transition: transform 0.6s ease;
    }
    .stat-card:hover::after { transform: translateX(50%) translateY(50%); }
    .stat-card svg {
      width: 20px;
      height: 20px;
      color: var(--accent);
      margin: 0 auto 12px;
    }
    .stat-value {
      font-family: var(--font-heading);
      font-size: 30px;
      font-weight: 700;
      color: white;
      letter-spacing: -0.02em;
      margin-bottom: 4px;
      position: relative;
      z-index: 1;
    }
    .stat-label {
      font-size: 11px;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      position: relative;
      z-index: 1;
    }

    /* ─── CONTACT ─── */
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 64px;
    }
    @media (min-width: 1024px) {
      .contact-grid { grid-template-columns: 1fr 1fr; }
    }
    .contact-info-title {
      margin-bottom: 24px;
    }
    .contact-description {
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: 40px;
    }
    .contact-divider {
      height: 1px;
      background: rgba(255,255,255,0.06);
      margin-bottom: 40px;
    }
    .contact-details {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .contact-detail {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .contact-detail-icon {
      width: 40px;
      height: 40px;
      min-width: 40px;
      border-radius: 12px;
      background: rgba(24, 24, 27, 0.8);
      border: 1px solid var(--border-subtle);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .contact-detail-icon svg {
      width: 16px;
      height: 16px;
      color: var(--accent);
    }
    .contact-detail-label {
      font-size: 11px;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 2px;
    }
    .contact-detail-value {
      font-size: 14px;
      color: white;
    }

    /* Form */
    .contact-form-card {
      background: rgba(24, 24, 27, 0.3);
      border: 1px solid var(--border-subtle);
      border-radius: 24px;
      padding: 32px;
    }
    @media (min-width: 768px) {
      .contact-form-card { padding: 40px; }
    }
    .form-row {
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
      margin-bottom: 20px;
    }
    @media (min-width: 640px) {
      .form-row { grid-template-columns: 1fr 1fr; }
    }
    .form-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .form-group.full-width {
      margin-bottom: 20px;
    }
    .form-label {
      font-size: 11px;
      color: var(--text-secondary);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      font-weight: 500;
    }
    .form-input,
    .form-select,
    .form-textarea {
      width: 100%;
      background: rgba(24, 24, 27, 0.5);
      border: 1px solid rgba(255,255,255,0.1);
      color: white;
      font-family: var(--font-body);
      font-size: 14px;
      padding: 14px 16px;
      border-radius: 12px;
      outline: none;
      transition: all 0.3s ease;
      -webkit-appearance: none;
    }
    .form-input::placeholder,
    .form-textarea::placeholder {
      color: #52525b;
    }
    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
      border-color: rgba(41, 151, 255, 0.5);
      box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.1);
    }
    .form-select {
      cursor: pointer;
      background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2386868B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E\");
      background-repeat: no-repeat;
      background-position: right 16px center;
      padding-right: 44px;
    }
    .form-select option {
      background: #1a1a1a;
      color: white;
    }
    .form-textarea {
      resize: none;
      min-height: 130px;
    }
    .btn-submit {
      width: 100%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: white;
      color: black;
      border-radius: 9999px;
      padding: 14px 32px;
      font-size: 14px;
      font-weight: 500;
      letter-spacing: 0.02em;
      transition: all 0.3s ease;
      border: none;
      cursor: pointer;
      position: relative;
      overflow: hidden;
      margin-top: 4px;
    }
    .btn-submit:hover { background: #e5e5e5; }
    .btn-submit:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }
    .btn-submit::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
      transform: translateX(-100%);
      transition: transform 0.5s ease;
    }
    .btn-submit:hover::before { transform: translateX(100%); }
    .btn-submit svg {
      width: 16px;
      height: 16px;
    }

    /* Spinner */
    .spinner {
      width: 16px;
      height: 16px;
      border: 2px solid rgba(0,0,0,0.2);
      border-top-color: black;
      border-radius: 50%;
      animation: spin 0.6s linear infinite;
    }

    /* Success state */
    .success-state {
      text-align: center;
      padding: 40px 20px;
      animation: scaleIn 0.5s ease-out;
    }
    .success-icon {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: rgba(50, 215, 75, 0.1);
      border: 1px solid rgba(50, 215, 75, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 24px;
    }
    .success-icon svg {
      width: 32px;
      height: 32px;
      color: var(--success);
    }
    .success-title {
      font-family: var(--font-heading);
      font-size: 24px;
      font-weight: 700;
      color: white;
      margin-bottom: 12px;
    }
    .success-text {
      color: var(--text-secondary);
      margin-bottom: 32px;
    }
    .success-reset {
      background: none;
      border: none;
      color: var(--accent);
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: color 0.3s;
    }
    .success-reset:hover { color: #5EB0FF; }

    /* ─── TOAST ─── */
    .toast-container {
      position: fixed;
      bottom: 24px;
      right: 24px;
      z-index: 200;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .toast {
      background: #1a1a1a;
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 14px 20px;
      color: white;
      font-size: 14px;
      display: flex;
      align-items: center;
      gap: 10px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.5);
      animation: fadeInUp 0.3s ease-out;
      max-width: 380px;
    }
    .toast.error { border-color: rgba(255, 69, 58, 0.3); }
    .toast.success { border-color: rgba(50, 215, 75, 0.3); }
    .toast svg { width: 18px; height: 18px; flex-shrink: 0; }
    .toast.success svg { color: var(--success); }
    .toast.error svg { color: #FF453A; }

    /* ─── FOOTER ─── */
    .footer {
      border-top: 1px solid rgba(255,255,255,0.05);
      padding: 48px 0;
    }
    .footer-inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 24px;
    }
    @media (min-width: 768px) {
      .footer-inner {
        flex-direction: row;
        justify-content: space-between;
      }
    }
    .footer-logo {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .footer-logo-icon {
      width: 24px;
      height: 24px;
      border-radius: 6px;
      background: var(--accent);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .footer-logo-icon svg {
      width: 12px;
      height: 12px;
      color: white;
    }
    .footer-logo-text {
      font-family: var(--font-heading);
      font-size: 14px;
      font-weight: 600;
      color: white;
    }
    .footer-info {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 16px;
      font-size: 12px;
      color: var(--text-muted);
    }
    .footer-info svg {
      width: 12px;
      height: 12px;
    }
    .footer-info-item {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .footer-sep {
      width: 1px;
      height: 12px;
      background: rgba(255,255,255,0.1);
    }
    .footer-copy {
      font-size: 12px;
      color: #333;
    }
  </style>
</head>
<body>

  <!-- ═══ NAVBAR ═══ -->
  <nav class=\"navbar\" id=\"navbar\">
    <div class=\"container\">
      <div class=\"navbar-inner\">
        <a href=\"#hero\" class=\"nav-logo\">
          <div class=\"nav-logo-icon\">
            <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z\"/></svg>
          </div>
          <span class=\"nav-logo-text\">PC-Strub</span>
        </a>

        <div class=\"nav-links\">
          <a href=\"#services\" class=\"nav-link\">Dienstleistungen</a>
          <a href=\"#about\" class=\"nav-link\">Über uns</a>
          <a href=\"#contact\" class=\"nav-link\">Kontakt</a>
          <a href=\"#contact\" class=\"nav-cta\">Anfrage senden</a>
        </div>

        <button class=\"nav-mobile-toggle\" id=\"mobileToggle\" aria-label=\"Menü öffnen\">
          <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" id=\"menuIcon\"><line x1=\"3\" y1=\"6\" x2=\"21\" y2=\"6\"/><line x1=\"3\" y1=\"12\" x2=\"21\" y2=\"12\"/><line x1=\"3\" y1=\"18\" x2=\"21\" y2=\"18\"/></svg>
        </button>
      </div>
    </div>
  </nav>

  <!-- Mobile Menu -->
  <div class=\"mobile-menu\" id=\"mobileMenu\">
    <a href=\"#services\" onclick=\"closeMobile()\">Dienstleistungen</a>
    <a href=\"#about\" onclick=\"closeMobile()\">Über uns</a>
    <a href=\"#contact\" onclick=\"closeMobile()\">Kontakt</a>
    <a href=\"#contact\" onclick=\"closeMobile()\">Anfrage senden</a>
  </div>

  <!-- ═══ HERO ═══ -->
  <section class=\"hero\" id=\"hero\">
    <div class=\"hero-bg\"></div>
    <div class=\"hero-overlay\"></div>
    <div class=\"hero-glow\"></div>
    <div class=\"hero-content fade-in-up\">
      <p class=\"hero-label\">Romanshorn, Schweiz</p>
      <h1 class=\"hero-title\">Professionelle<br>Computer Reparatur</h1>
      <p class=\"hero-subtitle\">Schweizer Präzision für Ihre digitale Welt. Von der Reparatur bis zur Konfiguration — wir bringen Ihre Technik auf den neuesten Stand.</p>
      <div class=\"hero-buttons\">
        <a href=\"#contact\" class=\"btn-primary\">
          Reparatur anfragen
          <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"m9 18 6-6-6-6\"/></svg>
        </a>
        <a href=\"#services\" class=\"btn-secondary\">Unsere Services</a>
      </div>
    </div>
  </section>

  <!-- ═══ SERVICES ═══ -->
  <section class=\"section\" id=\"services\">
    <div class=\"section-divider\"></div>
    <div class=\"container\" style=\"padding-top: 96px;\">
      <div class=\"services-header fade-in-up\">
        <p class=\"section-label\">Dienstleistungen</p>
        <h2 class=\"section-title\">Was wir für Sie tun</h2>
      </div>
      <div class=\"services-grid\">

        <!-- Card 1 — Repair (span 2) -->
        <div class=\"service-card span-2 fade-in-up\">
          <div class=\"service-icon\">
            <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect width=\"20\" height=\"14\" x=\"2\" y=\"3\" rx=\"2\"/><line x1=\"8\" x2=\"16\" y1=\"21\" y2=\"21\"/><line x1=\"12\" x2=\"12\" y1=\"17\" y2=\"21\"/></svg>
          </div>
          <h3>Computer & Laptop Reparatur</h3>
          <p>Professionelle Diagnose und Reparatur aller Marken. Von defekten Bildschirmen bis zu Mainboard-Problemen.</p>
          <a href=\"#contact\" class=\"service-link\">Mehr erfahren <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"m9 18 6-6-6-6\"/></svg></a>
        </div>

        <!-- Card 2 — Virus -->
        <div class=\"service-card fade-in-up\">
          <div class=\"service-icon\">
            <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z\"/><path d=\"m9 12 2 2 4-4\"/></svg>
          </div>
          <h3>Virus & Spyware Entfernung</h3>
          <p>Gründliche Bereinigung und Schutz vor Malware, Ransomware und Spyware.</p>
          <a href=\"#contact\" class=\"service-link\">Mehr erfahren <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"m9 18 6-6-6-6\"/></svg></a>
        </div>

        <!-- Card 3 — Data Recovery -->
        <div class=\"service-card fade-in-up\">
          <div class=\"service-icon\">
            <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><line x1=\"22\" x2=\"2\" y1=\"12\" y2=\"12\"/><path d=\"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z\"/><line x1=\"6\" x2=\"6.01\" y1=\"16\" y2=\"16\"/><line x1=\"10\" x2=\"10.01\" y1=\"16\" y2=\"16\"/></svg>
          </div>
          <h3>Datenwiederherstellung & Backup</h3>
          <p>Rettung verlorener Daten und Einrichtung zuverlässiger Backup-Lösungen.</p>
          <a href=\"#contact\" class=\"service-link\">Mehr erfahren <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"m9 18 6-6-6-6\"/></svg></a>
        </div>

        <!-- Card 4 — Network (span 2) -->
        <div class=\"service-card span-2 fade-in-up\">
          <div class=\"service-icon\">
            <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"16\" y=\"16\" width=\"6\" height=\"6\" rx=\"1\"/><rect x=\"2\" y=\"16\" width=\"6\" height=\"6\" rx=\"1\"/><rect x=\"9\" y=\"2\" width=\"6\" height=\"6\" rx=\"1\"/><path d=\"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3\"/><path d=\"M12 12V8\"/></svg>
          </div>
          <h3>Netzwerk Realisierung</h3>
          <p>Planung, Installation und Wartung Ihres Heim- oder Firmennetzwerks.</p>
          <a href=\"#contact\" class=\"service-link\">Mehr erfahren <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"m9 18 6-6-6-6\"/></svg></a>
        </div>

        <!-- Card 5 — Webdesign -->
        <div class=\"service-card fade-in-up\">
          <div class=\"service-icon\">
            <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20\"/><path d=\"M2 12h20\"/></svg>
          </div>
          <h3>Webdesign</h3>
          <p>Moderne, responsive Webseiten für Ihr Unternehmen. Von der Konzeption bis zum Launch.</p>
          <a href=\"#contact\" class=\"service-link\">Mehr erfahren <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"m9 18 6-6-6-6\"/></svg></a>
        </div>

        <!-- Card 6 — Custom PC -->
        <div class=\"service-card fade-in-up\">
          <div class=\"service-icon\">
            <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"/><path d=\"M12 8v8\"/><path d=\"m8.5 14 7-4\"/><path d=\"m8.5 10 7 4\"/></svg>
          </div>
          <h3>Konfiguration Wunschcomputer</h3>
          <p>Zusammenstellung und Aufbau Ihres Traum-PCs, massgeschneidert auf Ihre Bedürfnisse.</p>
          <a href=\"#contact\" class=\"service-link\">Mehr erfahren <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"m9 18 6-6-6-6\"/></svg></a>
        </div>

      </div>
    </div>
  </section>

  <!-- ═══ ABOUT ═══ -->
  <section class=\"section\" id=\"about\">
    <div class=\"section-divider\"></div>
    <div class=\"container\" style=\"padding-top: 96px;\">
      <div class=\"about-grid\">
        <div class=\"about-text fade-in-up\">
          <p class=\"section-label\">Über PC-Strub</p>
          <h2 class=\"section-title\" style=\"margin-bottom: 24px;\">Schweizer Qualität<br>für Ihre Technik</h2>
          <p>Seit über 15 Jahren sind wir Ihr zuverlässiger Partner für Computer-Reparaturen und IT-Dienstleistungen in Romanshorn und der Region Bodensee. Unser Anspruch: Schnell, transparent und professionell.</p>
          <p>Ob Privatkunde oder KMU — wir finden für jedes technische Problem die passende Lösung. Faire Preise und persönliche Beratung sind für uns selbstverständlich.</p>
          <div class=\"about-location\">
            <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0\"/><circle cx=\"12\" cy=\"10\" r=\"3\"/></svg>
            <span>Romanshorn, Thurgau, Schweiz</span>
          </div>
        </div>
        <div class=\"stats-grid fade-in-up\">
          <div class=\"stat-card\">
            <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526\"/><circle cx=\"12\" cy=\"8\" r=\"6\"/></svg>
            <div class=\"stat-value\">15+</div>
            <div class=\"stat-label\">Jahre Erfahrung</div>
          </div>
          <div class=\"stat-card\">
            <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z\"/></svg>
            <div class=\"stat-value\">5'000+</div>
            <div class=\"stat-label\">Reparaturen</div>
          </div>
          <div class=\"stat-card\">
            <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\"/><circle cx=\"9\" cy=\"7\" r=\"4\"/><path d=\"M22 21v-2a4 4 0 0 0-3-3.87\"/><path d=\"M16 3.13a4 4 0 0 1 0 7.75\"/></svg>
            <div class=\"stat-value\">98%</div>
            <div class=\"stat-label\">Kundenzufriedenheit</div>
          </div>
        </div>
      </div>
    </div>
  </section>

  <!-- ═══ CONTACT ═══ -->
  <section class=\"section\" id=\"contact\">
    <div class=\"section-divider\"></div>
    <div class=\"container\" style=\"padding-top: 96px;\">
      <div class=\"contact-grid\">

        <!-- Info -->
        <div class=\"fade-in-up\">
          <p class=\"section-label\">Kontakt</p>
          <h2 class=\"section-title contact-info-title\">Lassen Sie uns<br>Ihr Problem lösen</h2>
          <p class=\"contact-description\">Beschreiben Sie Ihr Anliegen und wir erstellen Ihnen ein unverbindliches Angebot. Schnelle Reaktionszeit garantiert.</p>
          <div class=\"contact-divider\"></div>
          <div class=\"contact-details\">
            <div class=\"contact-detail\">
              <div class=\"contact-detail-icon\">
                <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z\"/></svg>
              </div>
              <div>
                <div class=\"contact-detail-label\">Telefon</div>
                <div class=\"contact-detail-value\">+41 71 XXX XX XX</div>
              </div>
            </div>
            <div class=\"contact-detail\">
              <div class=\"contact-detail-icon\">
                <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect width=\"20\" height=\"16\" x=\"2\" y=\"4\" rx=\"2\"/><path d=\"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7\"/></svg>
              </div>
              <div>
                <div class=\"contact-detail-label\">E-Mail</div>
                <div class=\"contact-detail-value\">info@pc-strub.ch</div>
              </div>
            </div>
            <div class=\"contact-detail\">
              <div class=\"contact-detail-icon\">
                <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><polyline points=\"12 6 12 12 16 14\"/></svg>
              </div>
              <div>
                <div class=\"contact-detail-label\">Öffnungszeiten</div>
                <div class=\"contact-detail-value\">Mo — Fr: 08:00 — 18:00</div>
              </div>
            </div>
          </div>
        </div>

        <!-- Form -->
        <div class=\"contact-form-card fade-in-up\" id=\"contactFormCard\">
          <form id=\"contactForm\">
            <div class=\"form-row\">
              <div class=\"form-group\">
                <label class=\"form-label\" for=\"cf-name\">Name *</label>
                <input type=\"text\" id=\"cf-name\" class=\"form-input\" placeholder=\"Ihr Name\" required aria-label=\"Name\">
              </div>
              <div class=\"form-group\">
                <label class=\"form-label\" for=\"cf-email\">E-Mail *</label>
                <input type=\"email\" id=\"cf-email\" class=\"form-input\" placeholder=\"ihre@email.ch\" required aria-label=\"E-Mail\">
              </div>
            </div>
            <div class=\"form-row\">
              <div class=\"form-group\">
                <label class=\"form-label\" for=\"cf-phone\">Telefon</label>
                <input type=\"tel\" id=\"cf-phone\" class=\"form-input\" placeholder=\"+41 ...\" aria-label=\"Telefon\">
              </div>
              <div class=\"form-group\">
                <label class=\"form-label\" for=\"cf-service\">Service *</label>
                <select id=\"cf-service\" class=\"form-select\" required aria-label=\"Service auswählen\">
                  <option value=\"\" disabled selected>Service wählen</option>
                  <option value=\"repair\">Computer & Laptop Reparatur</option>
                  <option value=\"virus\">Virus & Spyware Entfernung</option>
                  <option value=\"data\">Datenwiederherstellung & Backup</option>
                  <option value=\"network\">Netzwerk Realisierung</option>
                  <option value=\"web\">Webdesign</option>
                  <option value=\"custom\">Konfiguration Wunschcomputer</option>
                </select>
              </div>
            </div>
            <div class=\"form-group full-width\">
              <label class=\"form-label\" for=\"cf-message\">Nachricht *</label>
              <textarea id=\"cf-message\" class=\"form-textarea\" placeholder=\"Beschreiben Sie Ihr Anliegen...\" required aria-label=\"Nachricht\"></textarea>
            </div>
            <button type=\"submit\" class=\"btn-submit\" id=\"submitBtn\">
              Anfrage senden
              <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"m22 2-7 20-4-9-9-4z\"/><path d=\"M22 2 11 13\"/></svg>
            </button>
          </form>
        </div>

      </div>
    </div>
  </section>

  <!-- ═══ FOOTER ═══ -->
  <footer class=\"footer\">
    <div class=\"container\">
      <div class=\"footer-inner\">
        <div class=\"footer-logo\">
          <div class=\"footer-logo-icon\">
            <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z\"/></svg>
          </div>
          <span class=\"footer-logo-text\">PC-Strub</span>
        </div>
        <div class=\"footer-info\">
          <span class=\"footer-info-item\">
            <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0\"/><circle cx=\"12\" cy=\"10\" r=\"3\"/></svg>
            Romanshorn, Schweiz
          </span>
          <div class=\"footer-sep\"></div>
          <span>info@pc-strub.ch</span>
          <div class=\"footer-sep\"></div>
          <span>+41 71 XXX XX XX</span>
        </div>
        <p class=\"footer-copy\">&copy; 2025 PC-Strub. Alle Rechte vorbehalten.</p>
      </div>
    </div>
  </footer>

  <!-- Toast Container -->
  <div class=\"toast-container\" id=\"toastContainer\"></div>

  <!-- ═══ JAVASCRIPT ═══ -->
  <script>
    /* ─────────────────────────────────────────────
       KONFIGURATION — Passe diese URL an dein Backend an
       oder entferne den API-Call für eine rein statische Version
    ───────────────────────────────────────────── */
    const API_URL = 'https://mac-service-lab.preview.emergentagent.com/api';

    /* ─── Navbar Scroll ─── */
    const navbar = document.getElementById('navbar');
    window.addEventListener('scroll', () => {
      navbar.classList.toggle('scrolled', window.scrollY > 40);
    });

    /* ─── Mobile Menu ─── */
    const mobileToggle = document.getElementById('mobileToggle');
    const mobileMenu = document.getElementById('mobileMenu');
    let menuOpen = false;

    mobileToggle.addEventListener('click', () => {
      menuOpen = !menuOpen;
      mobileMenu.classList.toggle('open', menuOpen);
      document.getElementById('menuIcon').innerHTML = menuOpen
        ? '<line x1=\"18\" y1=\"6\" x2=\"6\" y2=\"18\"/><line x1=\"6\" y1=\"6\" x2=\"18\" y2=\"18\"/>'
        : '<line x1=\"3\" y1=\"6\" x2=\"21\" y2=\"6\"/><line x1=\"3\" y1=\"12\" x2=\"21\" y2=\"12\"/><line x1=\"3\" y1=\"18\" x2=\"21\" y2=\"18\"/>';
    });

    function closeMobile() {
      menuOpen = false;
      mobileMenu.classList.remove('open');
      document.getElementById('menuIcon').innerHTML = '<line x1=\"3\" y1=\"6\" x2=\"21\" y2=\"6\"/><line x1=\"3\" y1=\"12\" x2=\"21\" y2=\"12\"/><line x1=\"3\" y1=\"18\" x2=\"21\" y2=\"18\"/>';
    }

    /* ─── Intersection Observer (Scroll Animations) ─── */
    const observer = new IntersectionObserver((entries) => {
      entries.forEach(entry => {
        if (entry.isIntersecting) {
          entry.target.classList.add('visible');
          observer.unobserve(entry.target);
        }
      });
    }, { threshold: 0.1 });

    document.querySelectorAll('.fade-in-up').forEach(el => observer.observe(el));

    /* ─── Toast Notifications ─── */
    function showToast(message, type = 'success') {
      const container = document.getElementById('toastContainer');
      const toast = document.createElement('div');
      toast.className = `toast ${type}`;

      const icon = type === 'success'
        ? '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M20 6 9 17l-5-5\"/></svg>'
        : '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><line x1=\"15\" y1=\"9\" x2=\"9\" y2=\"15\"/><line x1=\"9\" y1=\"9\" x2=\"15\" y2=\"15\"/></svg>';

      toast.innerHTML = icon + `<span>${message}</span>`;
      container.appendChild(toast);

      setTimeout(() => {
        toast.style.opacity = '0';
        toast.style.transform = 'translateY(10px)';
        toast.style.transition = 'all 0.3s ease';
        setTimeout(() => toast.remove(), 300);
      }, 4000);
    }

    /* ─── Contact Form ─── */
    const contactForm = document.getElementById('contactForm');
    const submitBtn = document.getElementById('submitBtn');
    const formCard = document.getElementById('contactFormCard');

    contactForm.addEventListener('submit', async (e) => {
      e.preventDefault();

      const name = document.getElementById('cf-name').value.trim();
      const email = document.getElementById('cf-email').value.trim();
      const phone = document.getElementById('cf-phone').value.trim();
      const service = document.getElementById('cf-service').value;
      const message = document.getElementById('cf-message').value.trim();

      if (!name || !email || !service || !message) {
        showToast('Bitte füllen Sie alle Pflichtfelder aus.', 'error');
        return;
      }

      submitBtn.disabled = true;
      submitBtn.innerHTML = '<span class=\"spinner\"></span> Wird gesendet...';

      try {
        const response = await fetch(`${API_URL}/contact`, {
          method: 'POST',
          headers: { 'Content-Type': 'application/json' },
          body: JSON.stringify({ name, email, phone: phone || null, service, message })
        });

        if (!response.ok) throw new Error('Server error');

        showToast('Anfrage erfolgreich gesendet! Wir melden uns bei Ihnen.', 'success');

        // Show success state
        formCard.innerHTML = `
          <div class=\"success-state\">
            <div class=\"success-icon\">
              <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M20 6 9 17l-5-5\"/></svg>
            </div>
            <h3 class=\"success-title\">Vielen Dank!</h3>
            <p class=\"success-text\">Ihre Anfrage wurde erfolgreich übermittelt. Wir melden uns schnellstmöglich bei Ihnen.</p>
            <button class=\"success-reset\" onclick=\"location.reload()\">Neue Anfrage senden</button>
          </div>
        `;
      } catch (err) {
        showToast('Fehler beim Senden. Bitte versuchen Sie es erneut.', 'error');
        submitBtn.disabled = false;
        submitBtn.innerHTML = 'Anfrage senden <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"m22 2-7 20-4-9-9-4z\"/><path d=\"M22 2 11 13\"/></svg>';
      }
    });
  </script>

</body>
</html>
"

Diese Seite verwendet Cookies, um die Nutzerfreundlichkeit zu verbessern. Mit der weiteren Verwendung stimmen Sie dem zu.

Datenschutzerklärung