﻿/* NOGETEC GmbH — Website Styles */

:root {
  --color-bg: #f6f8f9;
  --color-bg-alt: #eef3f5;
  --color-bg-tech: #eaf1f4;
  --color-surface: #ffffff;
  --color-border: #e3e9ec;
  --color-border-strong: #d7e2e7;
  --color-text: #1c2933;
  --color-text-heading: #132430;
  --color-text-muted: #4b5a64;
  --color-text-soft: #5c6b76;
  --color-text-softer: #3e535e;
  --color-primary: #1a6fa3;
  --color-primary-hover: #134f78;
  --color-tagline: #5a93ad;
  --color-chip-bg: #e4eef4;
  --color-footer-bg: #e4eef4;
  --color-footer-text: #5c6b76;
  --font-base: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: #ffffff;
}

.page {
  max-width: 1440px;
  margin: 0 auto;
  background: var(--color-bg);
  box-shadow: 0 0 60px rgba(19, 54, 73, .06);
}

a { color: var(--color-primary); }
a:hover { color: var(--color-primary-hover); }

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1440px;
  margin: 0 auto;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 64px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  gap: 24px;
}

.nav-toggle { display: none; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  border-radius: 8px;
}

.nav-burger span {
  display: block;
  height: 2px;
  background: var(--color-text-heading);
  border-radius: 1px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.logo-wordmark {
  font-weight: 800;
  font-size: 29px;
  letter-spacing: .2px;
  color: var(--color-primary);
}

.logo-tagline {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-weight: 600;
  font-size: 11.5px;
  color: var(--color-tagline);
  margin-top: 4px;
}

.main-nav {
  display: flex;
  gap: 40px;
  font-size: 15px;
  font-weight: 500;
  color: #3c4757;
}

.main-nav a {
  color: #3c4757;
  text-decoration: none;
}

.main-nav a:hover { color: var(--color-primary); }

.nav-back {
  color: #3c4757;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover { background: var(--color-primary-hover); color: #fff; }

.btn-outline {
  background: transparent;
  border: 1.5px solid #c9d6dc;
  color: var(--color-text);
}

.btn-small {
  padding: 11px 22px;
  font-size: 14px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  padding: 96px 64px 88px;
  align-items: center;
  background: linear-gradient(180deg, var(--color-bg), var(--color-bg-alt));
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-chip-bg);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 22px;
}

.hero h1 {
  font-weight: 800;
  font-size: 54px;
  line-height: 1.12;
  margin: 0 0 24px;
  color: var(--color-text-heading);
}

.hero p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 0 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  height: 420px;
  max-width: 600px;
  margin: 0 0 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border-strong);
  box-shadow: 0 12px 32px -14px rgba(19, 54, 73, .28);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section headings */
.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-intro {
  text-align: center;
  margin-bottom: 20px;
}

.section-intro h2 {
  font-weight: 800;
  font-size: 34px;
  margin: 0 0 20px;
  color: var(--color-text-heading);
}

.section-intro p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-softer);
  max-width: 760px;
  margin: 0 auto;
}

/* Leistungen */
.section-leistungen {
  padding: 88px 64px;
  background: var(--color-surface);
}

.section-leistungen .section-intro { margin-bottom: 56px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  padding: 32px 26px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--color-text-heading);
}

.card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-text-soft);
  margin: 0;
}

/* Technologien */
.section-technologien {
  padding: 88px 64px;
  background: var(--color-bg-tech);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1040px;
  margin: 48px auto 0;
}

.tech-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: 14px;
  padding: 26px 28px;
}

.tech-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--color-text-heading);
}

.tech-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0 0 16px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 8px 16px;
  border: 1px solid #cddce3;
  border-radius: 20px;
  color: #2e4a58;
  font-size: 13.5px;
  font-weight: 500;
  background: var(--color-surface);
}

.tech-footnote {
  text-align: center;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-softer);
  max-width: 700px;
  margin: 36px auto 0;
}

/* Kontakt */
.section-kontakt {
  padding: 88px 64px;
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-kontakt h2 {
  font-weight: 800;
  font-size: 32px;
  margin: 0 0 16px;
  color: var(--color-text-heading);
}

.section-kontakt > p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 0 32px;
}

.contact-details {
  font-size: 16px;
  line-height: 2;
  color: #26333d;
  margin-bottom: 32px;
}

.contact-details a {
  font-weight: 600;
  text-decoration: none;
}

/* Footer */
.site-footer {
  padding: 32px 64px;
  background: var(--color-footer-bg);
  border-top: 1px solid var(--color-border-strong);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--color-footer-text);
}

.site-footer a {
  color: var(--color-footer-text);
  text-decoration: none;
}

.site-footer a:hover { color: var(--color-primary); }

.footer-links {
  display: flex;
  gap: 24px;
}

/* Legal pages */
.legal-content {
  padding: 80px 64px 100px;
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h1 {
  font-weight: 800;
  font-size: 38px;
  margin: 0 0 40px;
  color: var(--color-text-heading);
}

.legal-content h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-heading);
  margin: 0 0 12px;
}

.legal-content section + section h2,
.legal-content h2 + h2 {
  margin-top: 0;
}

.legal-content section {
  margin-bottom: 32px;
}

.legal-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-softer);
  margin: 0;
}

.legal-content.datenschutz h2 {
  font-size: 20px;
}

/* Responsive */
@media (max-width: 960px) {
  .site-header { padding: 12px 20px; flex-wrap: wrap; }
  .nav-burger { display: flex; }
  .main-nav {
    display: none;
    order: 10;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding-top: 8px;
  }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .main-nav a {
    padding: 14px 4px;
    border-top: 1px solid var(--color-border);
    font-size: 16px;
  }
  .hero { grid-template-columns: 1fr; padding: 56px 24px; }
  .hero h1 { font-size: 38px; }
  .hero-image { margin: 0 auto; max-width: 100%; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr; }
  .section-leistungen, .section-technologien, .section-kontakt { padding: 56px 24px; }
  .site-footer { padding: 24px; flex-direction: column; gap: 12px; }
  .legal-content { padding: 48px 24px 64px; }
}

@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .site-header > .btn { display: none; }
}

/* ==========================================================================
   Ergänzungen für die Umbraco-Fassung: Sprachumschalter, Pathset-Doku,
   Bild-/Video-Figuren, FAQ-Accordion. Keine externen Fonts/CDNs.
   ========================================================================== */

/* Sprachumschalter */
.lang-switch {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}

.lang-switch__item {
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: #3c4757;
  border: 1px solid transparent;
}

a.lang-switch__item:hover { color: var(--color-primary); border-color: var(--color-border-strong); }

.lang-switch__item--active {
  color: var(--color-primary);
  background: var(--color-chip-bg);
}

/* Pathset-Landing */
.doc-landing { background: var(--color-bg); }

.doc-hero {
  padding: 72px 64px 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg), var(--color-bg-alt));
}

.doc-hero h1 {
  font-weight: 800;
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--color-text-heading);
}

.doc-hero__lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.doc-hero__media {
  max-width: 1040px;
  margin: 40px auto 0;
}

.doc-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(15, 30, 50, 0.18);
}

.doc-landing__body {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 24px 8px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
}

.doc-landing__sections { padding: 40px 64px 72px; }

.doc-landing__sections > h2 {
  text-align: center;
  font-weight: 800;
  font-size: 30px;
  color: var(--color-text-heading);
  margin: 0 0 32px;
}

.card-grid--doc { max-width: 1040px; margin: 0 auto; }

.card--link {
  display: block;
  background: var(--color-surface);
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.card--link:hover {
  border-color: var(--color-primary);
  box-shadow: 0 6px 18px -10px rgba(19, 54, 73, .35);
}

.card--link h3 { color: var(--color-text-heading); }
.card--link p { color: var(--color-text-soft); }

/* Doku-Bereich: Sidebar + Inhalt */
.doc-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  padding: 48px 64px 88px;
  background: var(--color-bg);
  align-items: start;
}

.doc-nav {
  position: sticky;
  top: 92px;
  font-size: 14.5px;
}

.doc-nav__details > summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 10px;
  list-style: none;
}

.doc-nav__details > summary::-webkit-details-marker { display: none; }

.doc-nav a {
  display: block;
  padding: 6px 10px;
  border-radius: 6px;
  color: #3c4757;
  text-decoration: none;
}

.doc-nav a:hover { color: var(--color-primary); background: var(--color-chip-bg); }

.doc-nav .doc-nav__link--active {
  color: var(--color-primary);
  background: var(--color-chip-bg);
  font-weight: 600;
}

.doc-nav ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 12px;
}

.doc-nav > .doc-nav__details > nav > ul { padding-left: 0; }

.doc-nav li { margin: 2px 0; }

.doc-nav__landing { font-weight: 600; margin-bottom: 6px; }

.doc-main {
  max-width: 760px;
  min-width: 0;
}

.doc-main h1 {
  font-weight: 800;
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--color-text-heading);
}

.doc-main h2 {
  font-weight: 700;
  font-size: 24px;
  margin: 40px 0 12px;
  color: var(--color-text-heading);
}

.doc-main h3 {
  font-weight: 700;
  font-size: 18px;
  margin: 28px 0 8px;
  color: var(--color-text-heading);
}

.doc-main p, .doc-main li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
}

.doc-lead {
  font-size: 17.5px;
  line-height: 1.6;
  font-style: italic;
  color: var(--color-text-soft);
  border-left: 3px solid var(--color-primary);
  padding: 2px 0 2px 14px;
  margin: 0 0 28px;
}

.doc-article-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.doc-article-list > li {
  padding: 18px 22px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: 14px;
}

.doc-article-list a {
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  color: var(--color-text-heading);
}

.doc-article-list a:hover { color: var(--color-primary); }

.doc-article-list p {
  margin: 6px 0 0;
  font-size: 14.5px;
  color: var(--color-text-soft);
}

/* Bild-Figuren ({docImage:GUID}) */
.doc-figure {
  margin: 28px 0;
}

.doc-figure img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--color-border-strong);
}

.doc-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13.5px;
  color: var(--color-text-soft);
  margin-top: 8px;
}

.doc-figure__credit { white-space: nowrap; }

/* Video-Facade ({docVideo:GUID}) — kein Drittanbieter-Kontakt vor dem Klick */
.doc-video { margin: 28px 0; }

.doc-video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #10222e;
  border: 1px solid var(--color-border-strong);
}

.doc-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.doc-video__play {
  position: absolute;
  inset: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #fff;
  padding: 24px;
}

.doc-video__notice {
  font-size: 13px;
  color: #b8c9d4;
  max-width: 420px;
  text-align: center;
}

.doc-video__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--color-primary);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
}

.doc-video__play:hover .doc-video__cta { background: var(--color-primary-hover); }

.doc-video figcaption {
  font-size: 13.5px;
  color: var(--color-text-soft);
  margin-top: 8px;
}

/* FAQ-Accordion (docFaq) */
.doc-faq {
  max-width: 760px;
  margin: 40px auto;
  padding: 0 24px;
}

.doc-shell .doc-faq { padding: 0; margin: 40px 0 0; }

.doc-faq h2 {
  font-weight: 800;
  font-size: 26px;
  color: var(--color-text-heading);
  margin: 0 0 18px;
}

.doc-faq__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 0;
}

.doc-faq__item summary {
  cursor: pointer;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-heading);
  list-style: none;
  position: relative;
  padding-right: 44px;
}

.doc-faq__item summary::-webkit-details-marker { display: none; }

.doc-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--color-primary);
}

.doc-faq__item[open] summary::after { content: "\2013"; }

.doc-faq__answer {
  padding: 0 20px 16px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--color-text-softer);
}

/* Responsive für den Doku-Bereich */
@media (max-width: 960px) {
  .doc-shell { grid-template-columns: 1fr; padding: 32px 24px 56px; gap: 24px; }
  .doc-nav { position: static; }
  .doc-nav__details[open] { padding-bottom: 8px; border-bottom: 1px solid var(--color-border); }
  .doc-hero { padding: 48px 24px 28px; }
  .doc-hero h1 { font-size: 32px; }
  .doc-landing__sections { padding: 32px 24px 56px; }
  .site-header { gap: 12px; }
}
