/* CAD3D STEP Viewer – Produktseite · © 2026 CADTEC GMBH SUISSE */
:root {
  --dunkel: #262626;
  --dunkel-2: #2d2d2d;
  --text: #1f2933;
  --text-2: #52606d;
  --linie: #dde3ea;
  --flaeche: #f4f6f9;
  --weiss: #ffffff;
  --akzent: #1e78d6;        /* Blau wie die Links auf cadtec.ch, etwas dunkler für Kontrast */
  --akzent-dunkel: #155ea8;
  --signal: #e2552b;        /* Orange-Rot aus dem cadtec.ch-Auftritt */
  --paypal: #003087;
  --radius: 10px;
  --breite: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font-family: "Lato", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--akzent); }
a:hover { color: var(--akzent-dunkel); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: #111827; }
h2 { font-size: 30px; }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
.innen { max-width: var(--breite); margin: 0 auto; padding: 0 20px; }
.klein { font-size: 14px; color: var(--text-2); }

/* Kopfzeile -------------------------------------------------------------- */
.kopf { background: var(--dunkel); color: #fff; position: sticky; top: 0; z-index: 10; }
.kopf .innen { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.kopf .logo img { height: 44px; width: auto; }
.kopf nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.kopf nav a { color: #e5e7eb; text-decoration: none; font-size: 15px; padding: 6px 0;
  border-bottom: 2px solid transparent; }
.kopf nav a:hover { color: #fff; border-bottom-color: var(--signal); }

/* Einstieg --------------------------------------------------------------- */
.held { background: linear-gradient(180deg, var(--dunkel-2) 0%, #3b4452 100%); color: #e5e7eb;
  padding: 56px 0 64px; }
.held .innen { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; }
.held h1 { color: #fff; font-size: 40px; margin-bottom: 6px; display: flex; align-items: center; gap: 14px; }
.held h1 img { width: 52px; height: 52px; }
.held .unter { font-size: 21px; color: #fff; margin-bottom: 18px; }
.held p { color: #d1d5db; }
.held .bild { border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,.45);
  border: 1px solid #4b5563; }
.knopf { display: inline-flex; align-items: center; gap: 10px; background: var(--signal); color: #fff;
  font-weight: 700; font-size: 18px; padding: 14px 26px; border-radius: 8px; text-decoration: none;
  border: 0; cursor: pointer; font-family: inherit; }
.knopf:hover { background: #c94822; color: #fff; }
.knopf.aus { background: #6b7280; cursor: default; }
.knopf svg { width: 22px; height: 22px; }
.download-info { margin-top: 12px; font-size: 14px; color: #cbd5e1; }
.download-info a { color: #9cc8ff; }
.held .zweit { display: inline-block; margin-left: 18px; color: #9cc8ff; }

/* Abschnitte ------------------------------------------------------------- */
section { padding: 64px 0; }
section.grau { background: var(--flaeche); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.einleitung { max-width: 760px; color: var(--text-2); margin-bottom: 32px; }

.raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.karte { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 20px 20px 16px;
  border-top: 4px solid var(--akzent); }
.karte:nth-child(4n+2) { border-top-color: var(--signal); }
.karte:nth-child(4n+3) { border-top-color: #2f9e6b; }
.karte:nth-child(4n+4) { border-top-color: #8b5cf6; }
.karte p { font-size: 15px; color: var(--text-2); margin: 0; }

.bilder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bilder figure { margin: 0; }
.bilder a { display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--linie);
  box-shadow: 0 6px 18px rgba(15,23,42,.08); }
.bilder figcaption { font-size: 15px; color: var(--text-2); margin-top: 10px; }

/* Lizenz ----------------------------------------------------------------- */
.lizenz { display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; align-items: start; }
.feld { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 24px; }
.feld h3 { margin-bottom: 12px; }
/* Bezahlarten in Pastellfarben: PayPal blau, Banküberweisung grün */
.feld.pp { background: #e6f0fc; border-color: #c4d9f4; }
.feld.bank { background: #e5f4ea; border-color: #c2e2cc; }
.feld.pp .preis { background: #fff; border-color: #c4d9f4; }
.preis { font-size: 15px; background: #eef5ff; border: 1px solid #cfe2fb; border-radius: 8px;
  padding: 12px 14px; margin-bottom: 18px; }
.preis strong { font-size: 18px; }
.preis .aktion { display: inline-block; background: var(--signal); color: #fff; font-weight: 700;
  font-size: 13px; letter-spacing: .3px; border-radius: 4px; padding: 2px 8px; margin-bottom: 6px; }
form .zeile { display: grid; grid-template-columns: 150px 1fr; gap: 10px; align-items: center; margin-bottom: 12px; }
form label { font-size: 15px; color: var(--text-2); }
form input { font: inherit; font-size: 16px; padding: 9px 11px; border: 1px solid #c3ccd6; border-radius: 6px; width: 100%; }
form input:focus { outline: 2px solid var(--akzent); outline-offset: 1px; }
.paypal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0 10px; }
.paypal button { font: inherit; font-weight: 700; font-size: 16px; color: var(--paypal); background: #ffc439;
  border: 0; border-radius: 22px; padding: 11px 8px; cursor: pointer; }
.paypal button:hover { background: #f2b52a; }
.bank dl { display: grid; grid-template-columns: 130px 1fr; gap: 6px 12px; margin: 0 0 14px; font-size: 15px; }
.bank dt { color: var(--text-2); }
.bank dd { margin: 0; font-weight: 600; word-break: break-word; }
.bank .iban { font-family: Consolas, "Courier New", monospace; letter-spacing: .5px; }
.schritte { padding-left: 20px; margin: 0; font-size: 15px; color: var(--text-2); }
.schritte li { margin-bottom: 6px; }
kbd { font-family: Consolas, monospace; font-size: 14px; background: #f1f3f6; border: 1px solid #c3ccd6;
  border-bottom-width: 2px; border-radius: 4px; padding: 1px 6px; color: var(--text); }

/* Technik ---------------------------------------------------------------- */
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.liste { margin: 0; padding-left: 20px; }
.liste li { margin-bottom: 6px; }

/* Fuss ------------------------------------------------------------------- */
.fuss { background: var(--dunkel); color: #cbd5e1; padding: 34px 0; font-size: 14px; }
.fuss .innen { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; }
.fuss a { color: #e5e7eb; }
.fuss .rechts { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.fuss .marken { flex-basis: 100%; color: #9aa5b1; font-size: 13px; }
.fuss .intern { flex-basis: 100%; text-align: right; font-size: 12px; margin-top: -6px; }
.fuss .intern a { color: #6b7280; text-decoration: none; }
.fuss .intern a:hover { color: #cbd5e1; text-decoration: underline; }

/* Textseiten (Nutzungsbedingungen, Danke) ---------------------------------- */
.text { max-width: 820px; margin: 0 auto; padding: 44px 20px 60px; }
.text h2 { font-size: 26px; }
.text h3 { margin-top: 1.4em; }
.hinweis { background: #fff; border: 1px solid var(--linie); border-left: 5px solid var(--akzent);
  border-radius: 8px; padding: 22px 24px; }
.hinweis.ok { border-left-color: #2f9e6b; }

/* Kleine Bildschirme ----------------------------------------------------- */
@media (max-width: 980px) {
  .held .innen, .lizenz, .zwei { grid-template-columns: 1fr; }
  .raster { grid-template-columns: repeat(2, 1fr); }
  .bilder { grid-template-columns: 1fr; }
  .held h1 { font-size: 34px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .raster { grid-template-columns: 1fr; }
  .kopf nav { display: none; }
  .held { padding: 36px 0 44px; }
  .held h1 { font-size: 27px; gap: 10px; }
  .held h1 img { width: 40px; height: 40px; }
  .held .zweit { display: block; margin: 14px 0 0; }
  h2 { font-size: 25px; }
  section { padding: 44px 0; }
  form .zeile { grid-template-columns: 1fr; gap: 4px; }
  .paypal { grid-template-columns: 1fr; }
  .bank dl { grid-template-columns: 1fr; gap: 0 0; }
  .bank dd { margin-bottom: 8px; }
  .fuss .rechts { margin-left: 0; }
}
