/* NEUWERK Handwerk – Website Styles
   Layout/Struktur orientiert an neuverdrahtet.com (Schwesterseite, gleicher Betreiber):
   helle Grundfläche, Pill-Buttons, Poppins/Inter/IBM Plex Mono, Icon-Badges.
   Farbwelt: NEUWERK-eigenes Blau/Marine statt Teal. */

:root {
  --navy-950: #05070d;
  --navy-900: #0a0e17;
  --navy-850: #0d1220;
  --navy-800: #121a2b;
  --blue-500: #2ba9e0;
  --blue-600: #1c7fc9;
  --blue-400: #5ec7ef;
  --ink: #1c2024;
  --ink-soft: rgba(28, 32, 36, 0.66);
  --bg: #f5f6f8;
  --white: #ffffff;
  --line: #e3e7ee;
  --gray-100: #eef1f5;
  --radius: 16px;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-dark: 0 12px 30px rgba(0, 0, 0, 0.45);
  --max-width: 1180px;
  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--blue-600); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 12px; top: 12px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); margin: 0 0 12px; }
h3 { font-size: 1.12rem; margin: 0 0 8px; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; }
.section-lead { font-size: 1.02rem; color: var(--ink-soft); max-width: 68ch; }
.section-lead-dark { color: rgba(255,255,255,0.75); }
.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--blue-600);
  margin: 0 0 10px;
}
.section-dark .eyebrow { color: var(--blue-400); }
.accent { color: var(--blue-600); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 100px; font-weight: 600; font-size: 0.95rem; border: 1.5px solid transparent; transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease; }
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); background: var(--blue-500); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--blue-500); color: var(--blue-600); }
.section-dark .btn-ghost { border-color: rgba(255,255,255,0.35); color: #fff; background: transparent; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.text-link { display: inline-block; margin-top: 18px; font-weight: 700; color: var(--blue-600); }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header { background: rgba(255,255,255,0.9); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 500; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo-mark { display: block; }
.logo-header { height: 60px; width: auto; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-list > li > a { display: block; padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.nav-list > li > a:hover, .nav-list > li > a[aria-current="page"] { color: var(--blue-600); }
.has-sub .sub-menu { position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px; min-width: 220px; display: none; box-shadow: var(--shadow); }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { display: block; }
.sub-menu li a { display: block; padding: 9px 12px; border-radius: 6px; font-size: 0.88rem; color: var(--ink-soft); }
.sub-menu li a:hover { background: var(--gray-100); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }

/* Hero */
.hero { background: radial-gradient(ellipse at top right, #e3f1fb 0%, var(--bg) 55%); padding: 60px 0 20px; }
.page-hero { background: radial-gradient(ellipse at top right, #e3f1fb 0%, var(--bg) 60%); padding: 46px 0 40px; }
.hero-inner { max-width: 760px; }
.hero-inner-split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 40px; align-items: center; }
.hero-copy { max-width: 620px; }
.hero-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--navy-950); display: flex; }
.hero-media img { display: block; width: 100%; height: 100%; max-height: 640px; object-fit: contain; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0 20px; }
.hero-badges { display: flex; gap: 10px 20px; flex-wrap: wrap; color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 36px; }
.hero-badges li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 100px; padding: 8px 16px; }
.badge-icon { width: 16px; height: 16px; fill: var(--blue-600); }

/* Foto-Galerie (Projekte) */
.photo-carousel { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 8px; background: var(--navy-950); }
.photo-carousel .carousel-track { min-height: 0; }
.photo-slide { padding: 0; aspect-ratio: 16 / 9; }
.photo-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-carousel .carousel-dots { position: absolute; bottom: 14px; left: 0; right: 0; padding: 0; }

/* Carousel */
.highlight-carousel { position: relative; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); box-shadow: var(--shadow); margin-bottom: 8px; }
.carousel-track { position: relative; min-height: 260px; }
.carousel-slide { display: none; padding: 40px 60px; color: #fff; }
.carousel-slide.is-active { display: block; }
.carousel-slide-icon .icon { width: 40px; height: 40px; fill: var(--blue-400); margin-bottom: 14px; }
.carousel-slide-tag { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--blue-400); text-transform: uppercase; margin-bottom: 10px; }
.carousel-slide h3 { color: #fff; font-size: 1.4rem; max-width: 42ch; }
.carousel-slide p { color: rgba(255,255,255,0.75); max-width: 56ch; }
.carousel-slide a { color: var(--blue-400); font-weight: 700; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.12); border: none; color: #fff; width: 38px; height: 38px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }
.carousel-prev { left: 14px; } .carousel-next { right: 14px; }
.carousel-btn:hover { background: rgba(255,255,255,0.25); }
.carousel-dots { display: flex; gap: 6px; justify-content: center; padding-bottom: 16px; }
.carousel-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.3); display: inline-block; cursor: pointer; }
.carousel-dots span.is-active { background: var(--blue-500); width: 20px; border-radius: 4px; }

/* Breadcrumb */
.breadcrumb { background: var(--gray-100); color: var(--ink-soft); font-size: 0.8rem; }
.breadcrumb .container { padding-top: 10px; padding-bottom: 10px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #b7bfcb; }
.breadcrumb a:hover { color: var(--blue-600); }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--gray-100); }
.section-dark { background: var(--navy-900); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p:not(.eyebrow) { color: rgba(255,255,255,0.75); }
.cta-section { text-align: center; }
.cta-inner { max-width: 620px; margin: 0 auto; }
.cta-inner .hero-actions { justify-content: center; }

/* Values 2x2 */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; margin-top: 28px; }
.value { padding: 20px 0; border-top: 3px solid var(--blue-500); }
.value-icon .icon { width: 26px; height: 26px; fill: none; stroke: var(--blue-600); stroke-width: 1; }
.value p { color: var(--ink-soft); font-size: 0.95rem; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: transform 0.15s ease, box-shadow 0.15s ease; display: flex; flex-direction: column; gap: 6px; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(15,23,42,0.12); }
.card p { color: var(--ink-soft); font-size: 0.94rem; margin: 0 0 8px; }
.card-link { font-weight: 700; color: var(--blue-600); font-size: 0.88rem; margin-top: auto; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: #e3f1fb; margin-bottom: 6px; }
.card-icon .icon { width: 24px; height: 24px; fill: var(--blue-600); }
.icon { width: 34px; height: 34px; fill: var(--blue-600); }

/* Steps (Ablauf) */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 28px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step-tag { position: absolute; top: -12px; left: 20px; background: var(--blue-600); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; padding: 4px 12px; border-radius: 100px; }
.step-n { font-family: var(--font-mono); color: var(--blue-600); font-size: 0.8rem; margin-bottom: 6px; }
.step p:not(.step-n) { color: var(--ink-soft); font-size: 0.94rem; }

/* Why (3 columns) */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.why { padding: 28px; border-left: 1px solid var(--line); }
.why:first-child { border-left: none; }
.why-n { font-family: var(--font-mono); color: var(--blue-600); font-size: 0.85rem; margin-bottom: 6px; }
.why p:not(.why-n) { color: var(--ink-soft); font-size: 0.94rem; }

/* Radar / Einsatzgebiet */
.radar-section { position: relative; overflow: hidden; }
.radar { position: relative; height: 260px; margin: 32px 0; opacity: 0.9; }
.radar-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(94, 199, 239, 0.35); border-radius: 50%; }
.radar-ring-1 { width: 120px; height: 120px; }
.radar-ring-2 { width: 220px; height: 220px; }
.radar-ring-3 { width: 320px; height: 320px; }
.radar-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-400); box-shadow: 0 0 12px 2px rgba(94,199,239,0.6); }
.radar-dot-center { top: 50%; left: 50%; transform: translate(-50%,-50%); width: 12px; height: 12px; background: #fff; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.chip { background: transparent; border: 1.5px solid rgba(255,255,255,0.35); color: #fff; padding: 8px 18px; border-radius: 100px; font-weight: 600; font-size: 0.86rem; font-family: var(--font-mono); }
.chip:hover { background: var(--blue-500); border-color: var(--blue-500); }
.chip-static { cursor: default; }
.chip-static:hover { background: transparent; border-color: rgba(255,255,255,0.35); }
.section:not(.section-dark) .chip, .section-alt .chip { border-color: var(--blue-500); color: var(--blue-600); }
.section:not(.section-dark) .chip:hover, .section-alt .chip:hover { background: var(--blue-500); color: #fff; }
.section:not(.section-dark) .chip-static:hover, .section-alt .chip-static:hover { background: transparent; color: var(--blue-600); }

/* Detail grid (service pages) */
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; margin-top: 24px; }
.detail { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.detail p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }

/* FAQ */
.faq-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; position: relative; font-family: var(--font-head); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.3rem; color: var(--blue-600); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--ink-soft); padding-bottom: 16px; margin: 0; }

/* Team / Ansprechpartner */
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); max-width: 480px; margin-bottom: 30px; }
.team-avatar { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; margin-bottom: 16px; border: 3px solid #e3f1fb; box-shadow: var(--shadow); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.team-tag { display: inline-block; background: var(--gray-100); color: var(--ink-soft); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; margin-bottom: 10px; }
.team-role { color: var(--ink-soft); margin-top: -8px; }
.team-list { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.team-list li { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; }
.list-icon { width: 16px; height: 16px; fill: none; stroke: var(--blue-600); stroke-width: 2; flex-shrink: 0; }
.prose-about { max-width: 60ch; }

/* Prose (legal pages) */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 34px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { list-style: disc; padding-left: 22px; margin: 12px 0; }
.notice { background: #fff6e5; border: 1px solid #f0d99b; border-radius: 10px; padding: 14px 18px; color: #6b5210 !important; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.contact-list { margin: 20px 0 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list strong { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); margin-bottom: 2px; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 700; font-size: 0.88rem; }
.form-row input, .form-row select, .form-row textarea { padding: 11px 14px; border-radius: 8px; border: 1.5px solid var(--line); font: inherit; background: #fff; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--blue-500); outline-offset: 1px; }
.form-note { font-size: 0.8rem; color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.7); padding: 56px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; }
.footer-brand .logo-footer { height: 74px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; max-width: 32ch; }
.footer-col h4 { color: #fff; font-family: var(--font-head); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-col h4 a { color: inherit; }
.footer-col h4 a:hover { color: var(--blue-400); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a:hover { color: var(--blue-400); }
.footer-area { font-size: 0.9rem; line-height: 1.6; max-width: 34ch; }
address { font-style: normal; font-size: 0.9rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; }
.legal-links { display: flex; gap: 16px; }

/* Floating action buttons */
.floating-actions { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 400; }
.fab { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-dark); color: #fff; }
.fab svg { width: 24px; height: 24px; }
.fab-whatsapp { background: #25d366; }
.fab-call { background: var(--blue-600); }
.fab:hover { transform: scale(1.06); }

/* Responsive */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why { border-left: none; border-top: 1px solid var(--line); }
  .why:first-child { border-top: none; }
  .hero-inner-split { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { max-height: 320px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .main-nav { position: static; }
  .nav-list { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 16px 18px; display: none; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-list.is-open { display: flex; }
  .has-sub .sub-menu { position: static; display: block; box-shadow: none; border: none; padding-left: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .carousel-slide { padding: 30px 44px; }
  .floating-actions { right: 14px; bottom: 14px; }
  .logo-header { height: 44px; }
}
