/* rc-tec — pharao.control standalone site
   Shared stylesheet — matches the CI used across rc-tec's sites:
   Colors: Red #E30A18, dark backgrounds #212121 / #1C1B1B, grey #706F6F / #999 / #DADADA
   Fonts: Source Sans Pro (headings/UI), Tajawal (body text) */

/* Schriften lokal, nicht von Google.
   Grund: der Aufruf an fonts.googleapis.com/fonts.gstatic.com uebertraegt
   die IP jedes Besuchers an Google — in AT/DE die bekannte
   DSGVO-Angriffsflaeche. Beide Familien stehen unter der SIL Open Font
   License, Selbsthosting ist ausdruecklich erlaubt.

   Enthalten sind genau die Schnitte, die die Seiten benutzen
   (Source Sans Pro 200/300/400/600/700, Tajawal 400/700), jeweils in den
   Subsets latin und latin-ext. Der Browser laedt ueber unicode-range nur,
   was er wirklich braucht — fuer deutsche Texte praktisch nur latin.
   Neue Schnitte muessen hier ergaenzt UND als Datei unter public/fonts/
   abgelegt werden, sonst rechnet der Browser einen Kunstschnitt. */

@font-face{
  font-family:'Source Sans Pro';
  font-style:normal;
  font-weight:200;
  font-display:swap;
  src:url('fonts/source-sans-pro-200-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'Source Sans Pro';
  font-style:normal;
  font-weight:200;
  font-display:swap;
  src:url('fonts/source-sans-pro-200-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'Source Sans Pro';
  font-style:normal;
  font-weight:300;
  font-display:swap;
  src:url('fonts/source-sans-pro-300-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'Source Sans Pro';
  font-style:normal;
  font-weight:300;
  font-display:swap;
  src:url('fonts/source-sans-pro-300-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'Source Sans Pro';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('fonts/source-sans-pro-400-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'Source Sans Pro';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('fonts/source-sans-pro-400-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'Source Sans Pro';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('fonts/source-sans-pro-600-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'Source Sans Pro';
  font-style:normal;
  font-weight:600;
  font-display:swap;
  src:url('fonts/source-sans-pro-600-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'Source Sans Pro';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('fonts/source-sans-pro-700-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face{
  font-family:'Source Sans Pro';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('fonts/source-sans-pro-700-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'Tajawal';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('fonts/tajawal-400-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face{
  font-family:'Tajawal';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('fonts/tajawal-700-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{
  /* CI-Konstanten — in beiden Modi identisch */
  --red:#E30A18;
  --red-dark:#c00815;
  --on-red:#ffffff;

  /* Dark Mode (Standard) */
  --bg-dark:#212121;
  --bg-darker:#1C1B1B;
  --bg-darkest:#151414;
  --border:#3a3a3a;
  --text-strong:#ffffff;
  --text-grey:#A8A8A8;
  --text-light-grey:#DADADA;
  --text-muted:#9C9C9C;
  /* CI-Rot erreicht als Kleintext auf Dunkel nur 3,3:1 — aufgehellte
     Variante nur fuer Textrot, Flaechen/Rahmen bleiben --red */
  --red-text:#FF3B47;
  --sweep:rgba(227,10,24,0.10);
  --diamond-alt:rgba(255,255,255,0.03);
  --panel-tint:rgba(255,255,255,0.02);
  --problem-bg:rgba(0,0,0,0.18);
  --loesung-bg:rgba(227,10,24,0.16);
  --header-scrolled-bg:rgba(33,33,33,0.85);
  --shadow-header:0 4px 24px rgba(0,0,0,0.4);
  --shadow-cover:0 20px 50px -12px rgba(0,0,0,0.6);
  color-scheme:dark;
}

/* Light Mode — aktiv ueber data-theme="light" am <html>.
   Dark bleibt der Standard; die Wahl merkt sich der Browser
   in localStorage unter "rct-theme". Gleiche Palette wie monitoring. */
:root[data-theme="light"]{
  --bg-dark:#ffffff;
  --bg-darker:#f4f4f4;
  --bg-darkest:#efefef;
  --border:#d9d9d9;
  --text-strong:#1C1B1B;
  --text-grey:#5a5a5a;
  --text-light-grey:#3d3d3d;
  --text-muted:#5d5c5c;
  --red-text:#CE0916;
  --sweep:rgba(227,10,24,0.07);
  --diamond-alt:rgba(0,0,0,0.05);
  --panel-tint:rgba(0,0,0,0.02);
  --problem-bg:rgba(0,0,0,0.05);
  --loesung-bg:rgba(227,10,24,0.08);
  --header-scrolled-bg:rgba(255,255,255,0.85);
  --shadow-header:0 4px 24px rgba(0,0,0,0.12);
  --shadow-cover:0 20px 50px -12px rgba(0,0,0,0.25);
  color-scheme:light;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg-dark);
  color:var(--text-strong);
  font-family:'Tajawal', sans-serif;
  font-weight:400;
  line-height:1.6;
}
h1,h2,h3,h4{ font-family:'Source Sans Pro', sans-serif; margin:0; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
.wrap{ max-width:1200px; margin:0 auto; padding:0 48px; }
@media (max-width:780px){ .wrap{ padding:0 24px; } }

/* ---------- Scroll progress bar ---------- */
.scroll-progress{ position:fixed; top:0; left:0; height:3px; width:0%; background:var(--red); z-index:100; box-shadow:0 0 8px rgba(227,10,24,0.6); transition:width 0.1s linear; }

/* ---------- Header / Nav ---------- */
.site-header{ position:sticky; top:0; z-index:50; background:var(--bg-dark); border-bottom:1px solid var(--border); transition:background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease; }
.site-header.scrolled{ background:var(--header-scrolled-bg); backdrop-filter:blur(10px); box-shadow:var(--shadow-header); }
.site-header .wrap{ display:flex; align-items:center; justify-content:space-between; padding-top:16px; padding-bottom:16px; }
.site-logo{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.site-logo img{ height:44px; width:auto; }
.site-nav{ display:flex; align-items:center; gap:28px; }
.site-nav a{ font-family:'Source Sans Pro', sans-serif; font-size:13px; letter-spacing:0.05em; color:var(--text-light-grey); position:relative; padding-bottom:4px; }
.site-nav a:not(.cta-btn):hover{ color:var(--red-text); }
.site-nav a:not(.cta-btn)::after{ content:''; position:absolute; left:0; right:100%; bottom:0; height:1px; background:var(--red); transition:right 0.25s ease; }
.site-nav a:not(.cta-btn):hover::after{ right:0; }
.site-nav .cta-btn{ background:var(--red); color:var(--on-red); padding:10px 20px; letter-spacing:0.05em; transition:background 0.2s ease, transform 0.2s ease; }
.site-nav .cta-btn:hover{ background:var(--red-dark); color:var(--on-red); transform:translateY(-1px); }
@media (max-width:780px){ .site-nav{ gap:14px; flex-wrap:wrap; justify-content:flex-end; } .site-nav a{ font-size:12px; } }

/* ---------- Shared animated background elements ---------- */
/* Weich und langsam, nicht als harter Balken: geringe Deckkraft, Blur,
   lineare Bewegung und Ein-/Ausblenden an den Raendern. Sonst zieht er
   mehr Aufmerksamkeit als der Text daneben. */
@keyframes rct-sweep{
  0%   { left:-25%; opacity:0; }
  12%  { opacity:1; }
  88%  { opacity:1; }
  100% { left:120%; opacity:0; }
}
@keyframes rct-dot-pulse { 0%, 100% { box-shadow:0 0 0 0 rgba(227,10,24,0.5); } 50% { box-shadow:0 0 0 8px rgba(227,10,24,0); } }
@keyframes rct-diamond-drift { 0% { background-position:0 0; } 100% { background-position:80px 80px; } }
@keyframes rct-hero-in { 0% { opacity:0; transform:translateY(24px); } 100% { opacity:1; transform:translateY(0); } }
@keyframes rct-underline-grow { 0% { transform:scaleX(0); } 100% { transform:scaleX(1); } }
@keyframes rct-btn-pulse { 0%, 100% { box-shadow:0 0 0 0 rgba(227,10,24,0.5); } 50% { box-shadow:0 0 0 10px rgba(227,10,24,0); } }

.diamond-field{ position:absolute; inset:0; opacity:0.5; pointer-events:none; background-image:linear-gradient(45deg, transparent 48%, rgba(227,10,24,0.06) 49%, rgba(227,10,24,0.06) 51%, transparent 52%), linear-gradient(-45deg, transparent 48%, var(--diamond-alt) 49%, var(--diamond-alt) 51%, transparent 52%); background-size:80px 80px; animation:rct-diamond-drift 14s linear infinite; }
.sweep-wrap{ position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.sweep-bar{
  position:absolute; top:-20%; left:0; width:240px; height:140%;
  transform:rotate(9deg);
  background:linear-gradient(90deg, transparent, var(--sweep), transparent);
  filter:blur(10px);
  animation:rct-sweep 9s linear infinite;
}
.pulse-dot{ width:8px; height:8px; border-radius:50%; background:var(--red); animation:rct-dot-pulse 1.8s ease-in-out infinite; flex-shrink:0; }
.eyebrow-row{ display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.eyebrow-row p{ font-family:'Source Sans Pro', sans-serif; font-size:13px; letter-spacing:0.08em; color:var(--red-text); margin:0; }

/* ---------- Hero ---------- */
/* Nur senkrechte Polsterung setzen. Der Hero-Block traegt im Markup
   "hero wrap" gleichzeitig; ein padding-Kurzschreiber wuerde hier die
   seitliche Polsterung von .wrap ueberschreiben (gleiche Spezifitaet,
   .hero steht spaeter). Auf dem Desktop faellt das nicht auf, weil
   max-width:1200px die Raender erzeugt — auf dem Telefon klebt der Text
   dann am Displayrand. */
.hero{ position:relative; overflow:hidden; padding-top:60px; padding-bottom:44px; }
.hero h1{ font-weight:200; font-size:clamp(30px, 8.5vw, 48px); line-height:1.15; margin:0 0 18px; max-width:900px; animation:rct-hero-in 0.7s ease-out 0.15s backwards; }
.hero h1 span{ font-weight:600; color:var(--red); }
.hero-underline{ height:3px; width:100px; background:var(--red); transform-origin:left; animation:rct-underline-grow 1s ease-out 0.5s backwards; margin:0 0 24px; }
.hero .eyebrow-row{ animation:rct-hero-in 0.7s ease-out; }
.hero p.lead{ font-family:'Tajawal', sans-serif; font-weight:400; font-size:16px; line-height:1.7; color:var(--text-light-grey); max-width:900px; margin:0 0 24px; animation:rct-hero-in 0.7s ease-out 0.3s backwards; }
.hero p.lead strong{ color:var(--text-strong); font-weight:700; }
.hero-cta-wrap{ display:flex; gap:14px; flex-wrap:wrap; animation:rct-hero-in 0.7s ease-out 0.6s backwards; }
.hero-cta-outline{ border:1px solid var(--border); color:var(--text-strong); font-family:'Source Sans Pro', sans-serif; font-size:13px; letter-spacing:0.05em; padding:12px 24px; display:inline-block; }
.hero-cta-outline:hover{ border-color:var(--red-text); color:var(--red-text); }

/* ---------- Benefits checkmark bar (static, matches pharao.monitoring) ---------- */
.benefits-bar{ background:var(--bg-darker); border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding:18px 0; position:relative; z-index:1; }
.benefits-bar-track{ display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:12px 34px; max-width:1200px; margin:0 auto; padding:0 24px; }
.benefits-bar-track span{ font-family:'Source Sans Pro', sans-serif; font-size:12px; letter-spacing:0.05em; color:var(--text-light-grey); display:inline-flex; align-items:center; gap:9px; }
.benefits-bar-track span::before{ content:'✓'; color:var(--red-text); font-size:15px; line-height:1; font-weight:700; }
/* Entweder alle fuenf in einer Reihe oder einer je Zeile — dazwischen
   nichts. Ein Umbruch auf 3+2 sieht aus wie ein Fehler, nicht wie Absicht.
   Alle fuenf nebeneinander brauchen rund 1090px plus Reserve fuer den
   Scrollbalken; darunter steht die Liste untereinander. Wer Begriffe
   verlaengert, prueft die Schwelle nach. */
@media (max-width:1180px){
  .benefits-bar-track{ flex-direction:column; align-items:flex-start; gap:10px; }
}

/* ---------- Problem / Lösung (diagonal split) ---------- */
.pl-section{ position:relative; }
.pl-sizer{ visibility:hidden; padding:44px 60px 44px calc(50% + 40px); }
.pl-sizer p{ margin:0 0 16px; font-size:14px; line-height:1.75; max-width:480px; }
.pl-sizer .sizer-line{ height:2px; width:100px; margin-top:2px; }
.pl-problem{ position:absolute; top:0; left:0; right:0; height:100%; background:var(--problem-bg); clip-path:polygon(0 0, calc(50% - 8px) 0, calc(50% - 38px) 100%, 0 100%); padding:44px 60px 44px 40px; }
.pl-problem .eyebrow{ font-family:'Source Sans Pro', sans-serif; font-size:19px; font-weight:600; letter-spacing:0.02em; color:var(--text-strong); margin:0 0 18px; }
.pl-problem p.body{ font-family:'Tajawal', sans-serif; font-weight:400; font-size:14px; line-height:1.75; color:var(--text-light-grey); margin:0; max-width:480px; }
.pl-loesung{ position:absolute; top:0; left:0; right:0; height:100%; background:var(--loesung-bg); clip-path:polygon(calc(50% + 8px) 0, 100% 0, 100% 100%, calc(50% - 22px) 100%); overflow:hidden; }
.pl-loesung-inner{ padding:44px 60px 44px calc(50% + 40px); position:relative; }
.pl-loesung-inner .eyebrow{ font-family:'Source Sans Pro', sans-serif; font-size:19px; font-weight:600; letter-spacing:0.02em; color:var(--red); margin:0 0 18px; }
.pl-loesung-inner p.body{ font-family:'Tajawal', sans-serif; font-weight:400; font-size:14px; line-height:1.75; color:var(--text-strong); margin:0 0 18px; max-width:480px; }
.pl-underline{ height:2px; width:100px; background:var(--red); transform-origin:left; animation:rct-underline-grow 1.2s ease-out 0.4s backwards; }
.pl-center{ position:absolute; left:calc(50% - 15px); top:50%; transform:translate(-50%,-50%); width:44px; height:44px; background:var(--bg-dark); border:2px solid var(--red); border-radius:50%; display:flex; align-items:center; justify-content:center; z-index:3; }
.pl-center svg{ width:18px; height:18px; stroke:var(--red); }
@keyframes rct-arrow-pulse { 0%, 100% { transform: translateX(0); opacity: 0.6; } 50% { transform: translateX(6px); opacity: 1; } }
.pl-center svg{ animation:rct-arrow-pulse 1.6s ease-in-out infinite; }

@media (max-width:780px){
  .pl-sizer{ display:none; }
  .pl-problem, .pl-loesung{ position:static; height:auto; clip-path:none; padding:24px; }
  .pl-loesung-inner{ padding:0; }
  .pl-center{ display:none; }
}

/* ---------- Section shells ---------- */
.section-dark{ background:var(--bg-darker); padding:44px 0; }
.section-mid{ background:var(--bg-dark); padding:44px 0; }
.section-title-eyebrow{ font-family:'Source Sans Pro', sans-serif; font-size:13px; letter-spacing:0.08em; color:var(--red-text); margin:0 0 8px; }
.section-title{ font-weight:300; font-size:26px; color:var(--text-strong); margin:0 0 20px; text-transform:uppercase; }
.section-body{ font-family:'Tajawal', sans-serif; font-weight:400; font-size:14px; line-height:1.75; color:var(--text-light-grey); max-width:640px; margin:0 0 32px; }

/* ---------- App-Einblick Karussell (Screenshots) ---------- */
.app-showcase{ position:relative; overflow:hidden; }
.app-carousel-wrap{ display:flex; align-items:center; gap:20px; }
.app-carousel-viewport{ overflow:hidden; flex:1; }
.app-carousel-track{ display:flex; gap:28px; transition:transform 0.5s cubic-bezier(.4,0,.2,1); }
.app-shot{ flex:0 0 calc((100% - 56px) / 3); cursor:pointer; }
.app-shot .img-frame{ border:1px solid var(--border); padding:10px; transition:transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; overflow:hidden; }
.app-shot:hover .img-frame{ border-color:var(--red); transform:translateY(-8px); box-shadow:0 20px 50px -12px rgba(227,10,24,0.4); }
.app-shot .shot-label{ font-family:'Source Sans Pro', sans-serif; font-size:14px; color:var(--text-light-grey); text-align:center; margin:18px 0 0; }
.app-shot .img-frame{ position:relative; }
.app-shot .img-frame::after{ content:'⤢'; position:absolute; top:8px; right:8px; width:28px; height:28px; background:rgba(0,0,0,0.6); color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:14px; opacity:0; transition:opacity 0.2s ease; }
.app-shot:hover .img-frame::after{ opacity:1; }
.lightbox-overlay{ position:fixed; inset:0; background:rgba(10,10,10,0.92); z-index:1000; display:none; align-items:center; justify-content:center; padding:40px; cursor:zoom-out; }
.lightbox-overlay.active{ display:flex; }
.lightbox-overlay img{ max-width:92vw; max-height:88vh; border:1px solid var(--border); box-shadow:0 30px 80px -20px rgba(0,0,0,0.7); }
/* Feste Farben statt Tokens: die Lightbox liegt in beiden Modi auf
   fast schwarzem Grund. Mit --bg-darker waere der Knopf im Light Mode
   hellgrau mit weisser Schrift. */
.lightbox-close{ position:absolute; top:24px; right:32px; width:44px; height:44px; border-radius:50%; border:1px solid #3a3a3a; background:#1C1B1B; color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; }
.lightbox-close:hover{ border-color:#FF3B47; color:#FF3B47; }
.carousel-arrow{ flex-shrink:0; width:56px; height:56px; border-radius:50%; border:2px solid var(--red); background:var(--bg-darker); color:var(--red); cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.carousel-arrow svg{ width:24px; height:24px; }
.carousel-arrow:hover{ background:var(--red); color:var(--on-red); transform:scale(1.08); }
.carousel-arrow:disabled{ opacity:0.25; cursor:default; box-shadow:none; }
.carousel-dots{ display:flex; justify-content:center; gap:10px; margin-top:32px; }
.carousel-dots .dot{ width:8px; height:8px; border-radius:50%; background:var(--border); cursor:pointer; transition:background 0.2s ease, transform 0.2s ease; }
.carousel-dots .dot.active{ background:var(--red); transform:scale(1.3); }
@media (max-width:900px){ .app-shot{ flex:0 0 calc((100% - 28px) / 2); } .carousel-arrow{ width:44px; height:44px; } }
@media (max-width:600px){ .app-shot{ flex:0 0 100%; } .carousel-arrow{ width:40px; height:40px; } }

/* ---------- Basismodul highlight card ---------- */
.basismodul-card{ border:1px solid var(--border); border-left:3px solid var(--red); padding:28px 30px; max-width:680px; margin:36px 0; }
.basismodul-card .bm-title{ font-family:'Source Sans Pro', sans-serif; font-weight:700; font-size:20px; color:var(--text-strong); margin:0 0 6px; }
.basismodul-card .bm-sub{ font-family:'Tajawal', sans-serif; font-size:13px; color:var(--text-grey); margin:0 0 20px; }
.bm-check-list{ display:flex; flex-direction:column; gap:12px; }
.bm-check{ display:flex; align-items:center; gap:12px; }
.bm-check-icon{ width:20px; height:20px; border-radius:50%; background:var(--red); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.bm-check-icon svg{ width:11px; height:11px; stroke:var(--on-red); }
.bm-check span:last-child{ font-family:'Tajawal', sans-serif; font-size:14px; color:var(--text-strong); }
.fundament-heading{ font-weight:300; font-size:20px; color:var(--text-strong); margin:0 0 16px; }

/* ---------- Erweiterungen ---------- */
.ext-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:14px; margin-bottom:14px; }
.ext-card{ border:1px solid var(--border); padding:20px 18px; transition:transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.ext-card:hover{ transform:translateY(-4px); border-color:var(--red); box-shadow:0 0 24px -4px rgba(227,10,24,0.35); }
.ext-card svg{ width:24px; height:24px; stroke:var(--red); margin-bottom:12px; }
.ext-card .title{ font-family:'Source Sans Pro', sans-serif; font-size:14px; color:var(--text-strong); margin:0 0 8px; }
.ext-card .desc{ font-family:'Tajawal', sans-serif; font-size:12px; color:var(--text-grey); margin:0; line-height:1.6; }
.ext-info-card{ border:1px solid var(--border); padding:22px 20px; text-align:left; transition:border-color 0.25s ease, box-shadow 0.25s ease; }
.ext-info-card:hover{ border-color:var(--red); box-shadow:0 0 24px -4px rgba(227,10,24,0.35); }
.ext-info-header{ display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.ext-info-header svg{ width:24px; height:24px; stroke:var(--red); }
.ext-info-header p{ font-family:'Source Sans Pro', sans-serif; font-size:15px; color:var(--text-strong); margin:0; }
.ext-info-grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px 28px; }
.ext-info-grid p{ font-family:'Tajawal', sans-serif; font-size:13px; color:var(--text-grey); margin:0; line-height:1.65; }
.ext-info-grid p span{ color:var(--text-strong); }
@media (max-width:900px){ .ext-grid{ grid-template-columns:1fr 1fr; } .ext-info-grid{ grid-template-columns:1fr; } }
@media (max-width:520px){ .ext-grid{ grid-template-columns:1fr; } }

/* ---------- Unser Service (circular icon badges, brochure style) ---------- */
.us-section{ text-align:center; }
.us-section .section-title{ text-transform:none; text-align:center; margin:0 0 20px; }
.us-section .eyebrow-row{ justify-content:center; }
.us-intro{ font-family:'Tajawal', sans-serif; font-weight:400; font-size:15px; line-height:1.75; color:var(--text-light-grey); max-width:720px; margin:0 auto 40px; }
.us-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:32px; margin-top:0; }
.us-item{ display:flex; flex-direction:column; align-items:center; }
.us-icon-circle{ width:90px; height:90px; border-radius:50%; background:var(--red); display:flex; align-items:center; justify-content:center; margin-bottom:20px; transition:transform 0.25s ease, box-shadow 0.25s ease; }
.us-item:hover .us-icon-circle{ transform:scale(1.08); box-shadow:0 0 0 10px rgba(227,10,24,0.12); }
.us-item svg{ width:38px; height:38px; stroke:var(--on-red); }
.us-item h3{ font-family:'Source Sans Pro', sans-serif; font-weight:600; font-size:15px; color:var(--text-strong); margin:0 0 10px; text-transform:uppercase; letter-spacing:0.02em; }
.us-item p{ font-family:'Tajawal', sans-serif; font-weight:400; font-size:13px; color:var(--text-grey); margin:0; line-height:1.6; max-width:220px; }
@media (max-width:900px){ .us-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .us-grid{ grid-template-columns:1fr; } }

/* ---------- Kernfunktionen cards ---------- */
.kf-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:14px; }
.kf-card{ border:1px solid var(--border); padding:20px 18px; transition:transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.kf-card:hover{ transform:translateY(-4px); border-color:var(--red); box-shadow:0 0 28px -4px rgba(227,10,24,0.5); }
.kf-card .num{ font-family:'Source Sans Pro', sans-serif; font-weight:600; font-size:20px; color:var(--red); margin:0 0 10px; }
.kf-card .title{ font-family:'Source Sans Pro', sans-serif; font-size:15px; color:var(--text-strong); margin:0 0 8px; }
.kf-card .desc{ font-family:'Tajawal', sans-serif; font-size:13px; color:var(--text-grey); margin:0; line-height:1.6; }
@media (max-width:900px){ .kf-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .kf-grid{ grid-template-columns:1fr; } }

/* ---------- Weitere Varianten (expanding panels) ---------- */
.wv-panels{ display:flex; gap:4px; height:280px; }
.wv-panel{ flex:1; border:1px solid var(--border); padding:24px 20px; display:flex; flex-direction:column; justify-content:flex-end; position:relative; overflow:hidden; transition:flex 0.5s ease, border-color 0.3s ease; cursor:pointer; }
.wv-panel:hover{ flex:2.4; border-color:var(--red); }
.wv-panel svg{ width:34px; height:34px; stroke:var(--red); margin-bottom:14px; flex-shrink:0; }
.wv-panel .title{ font-family:'Source Sans Pro', sans-serif; font-size:17px; color:var(--text-strong); margin:0 0 10px; white-space:nowrap; }
.wv-panel .desc{ font-family:'Tajawal', sans-serif; font-size:13px; color:var(--text-grey); margin:0; line-height:1.65; opacity:0; transition:opacity 0.3s ease 0.15s; max-width:280px; min-height:105px; }
.wv-panel:hover .desc{ opacity:1; }
@media (max-width:780px){
  .wv-panels{ flex-direction:column; height:auto; }
  .wv-panel{ flex:none !important; }
  .wv-panel .desc{ opacity:1; min-height:0; }
}

/* ---------- Pyramid image frame ---------- */
.pyramid-frame{ border:1px solid var(--border); padding:16px; background:var(--panel-tint); }

/* ---------- Zentral / Dezentral cards ---------- */
.zd-grid{ display:grid; grid-template-columns:repeat(2, 1fr); gap:14px; }
.zd-card{ border:1px solid var(--border); border-top:2px solid var(--red); padding:28px 24px; }
.zd-card .tag{ font-family:'Source Sans Pro', sans-serif; font-size:12px; letter-spacing:0.08em; color:var(--red-text); margin:0 0 8px; }
.zd-card h3{ font-weight:700; font-size:24px; color:var(--text-strong); margin:0 0 4px; text-transform:uppercase; }
.zd-card .focus{ font-family:'Source Sans Pro', sans-serif; font-size:12px; letter-spacing:0.05em; color:var(--text-grey); margin:0 0 20px; }
.zd-card-body{ display:flex; gap:16px; align-items:flex-start; margin-bottom:20px; }
.zd-card-body .icon-circle{ width:56px; height:56px; border-radius:50%; background:var(--red); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.zd-card-body .icon-circle svg{ width:26px; height:26px; stroke:var(--on-red); }
.zd-card-body p{ font-family:'Tajawal', sans-serif; font-size:14px; color:var(--text-light-grey); margin:0; line-height:1.6; }
.zd-vorteil{ background:rgba(227,10,24,0.1); border:1px solid rgba(227,10,24,0.3); padding:16px 18px; display:flex; gap:12px; align-items:flex-start; }
.zd-vorteil .check{ width:24px; height:24px; border-radius:50%; background:var(--red); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.zd-vorteil .check svg{ width:14px; height:14px; stroke:var(--on-red); }
.zd-vorteil strong{ display:block; font-family:'Source Sans Pro', sans-serif; font-size:12px; letter-spacing:0.06em; color:var(--red-text); margin-bottom:4px; }
.zd-vorteil span{ font-family:'Tajawal', sans-serif; font-size:14px; color:var(--text-strong); }
@media (max-width:780px){ .zd-grid{ grid-template-columns:1fr; } }

/* ---------- Hardware partner ---------- */
/* Die <img>-Attribute width/height reservieren den Platz vor dem Laden (kein
   Layout-Sprung). Sie wirken aber wie CSS — wer hier nur width setzt, bekommt
   ein verzerrtes Bild. Darum ueberall, wo eine Bildbreite gesetzt wird,
   zusaetzlich height:auto. */
.hw-partner{ display:flex; align-items:center; gap:32px; }
.hw-partner img{ width:110px; height:auto; border-radius:50%; flex-shrink:0; }
.hw-partner h3{ font-weight:600; font-size:14px; letter-spacing:0.03em; color:var(--text-strong); margin:0 0 10px; }
.hw-partner p{ font-family:'Tajawal', sans-serif; font-size:14px; line-height:1.7; color:var(--text-light-grey); margin:0; }
@media (max-width:600px){ .hw-partner{ flex-direction:column; text-align:center; } }

/* ---------- Brochure block ---------- */
.brochure{ border:1px solid var(--border); padding:40px; display:flex; align-items:center; gap:40px; transition:border-color 0.3s ease, box-shadow 0.3s ease; }
.brochure:hover{ border-color:var(--red); box-shadow:0 0 40px -6px rgba(227,10,24,0.28); }
.brochure .cover-wrap{ position:relative; flex-shrink:0; }
.brochure .cover-wrap img{ width:210px; height:auto; border:1px solid var(--border); transition:transform 0.3s ease; box-shadow:var(--shadow-cover); }
.brochure:hover .cover-wrap img{ transform:translateY(-6px) rotate(-2deg) scale(1.03); }
.brochure .cover-badge{ position:absolute; top:-10px; right:-10px; background:var(--red); color:var(--on-red); font-family:'Source Sans Pro', sans-serif; font-size:12px; font-weight:700; letter-spacing:0.04em; padding:6px 12px; }
.brochure .info p.eyebrow-small{ font-family:'Source Sans Pro', sans-serif; font-size:13px; letter-spacing:0.08em; color:var(--red-text); margin:0 0 10px; }
.brochure .info h3{ font-weight:300; font-size:28px; margin:0 0 14px; }
.brochure .info p.desc{ font-family:'Tajawal', sans-serif; font-size:15px; color:var(--text-light-grey); margin:0 0 18px; max-width:440px; line-height:1.65; }
.brochure .info ul{ list-style:none; margin:0 0 22px; padding:0; display:flex; flex-direction:column; gap:10px; }
.brochure .info ul li{ font-family:'Tajawal', sans-serif; font-size:14px; color:var(--text-grey); display:flex; align-items:center; gap:10px; }
.brochure .info ul li::before{ content:'✓'; color:var(--red-text); font-weight:700; font-size:14px; }
.brochure .btn-red{ font-size:13px; padding:14px 30px; }
@media (max-width:700px){ .brochure{ flex-direction:column; text-align:center; padding:32px 24px; gap:28px; } .brochure .cover-wrap img{ width:180px; height:auto; } .brochure .info ul li{ justify-content:center; } }

/* ---------- CTA banner ---------- */
.cta-banner{ position:relative; overflow:hidden; background:var(--bg-darker); padding:56px 0; text-align:center; }
.cta-banner h2{ font-weight:200; font-size:30px; margin:0 0 24px; position:relative; z-index:1; }
.cta-banner h2 span{ font-weight:600; color:var(--red); }
.cta-banner .eyebrow-row{ justify-content:center; position:relative; z-index:1; }
.btn-red{ display:inline-block; background:var(--red); color:var(--on-red); font-family:'Source Sans Pro', sans-serif; font-size:13px; letter-spacing:0.05em; padding:13px 28px; position:relative; z-index:1; transition:background 0.2s ease, transform 0.2s ease; }
.btn-red:hover{ background:var(--red-dark); color:var(--on-red); transform:translateY(-2px); }
/* Der Puls ist opt-in, nicht Standard: pulst jeder rote Button dauerhaft,
   hebt sich der eigentliche Haupt-CTA nicht mehr ab (wie in monitoring). */
.btn-red.pulse{ animation:rct-btn-pulse 4.5s ease-in-out infinite; }

/* ---------- Impressum page ---------- */
.impressum-grid{ display:flex; flex-direction:column; gap:36px; max-width:760px; }
.impressum-block h2{ font-family:'Source Sans Pro', sans-serif; font-weight:600; font-size:16px; color:var(--text-strong); margin:0 0 12px; }
.impressum-block p{ font-family:'Tajawal', sans-serif; font-weight:400; font-size:14px; line-height:1.75; color:var(--text-light-grey); margin:0 0 10px; }
.impressum-block a{ color:var(--red-text); }
.impressum-block a:hover{ text-decoration:underline; }

/* ---------- Kontakt page: form + contact details ---------- */
.kontakt-grid{ display:grid; grid-template-columns:1.2fr 1fr; gap:64px; }
.eyebrow-row-label{ font-family:'Source Sans Pro', sans-serif; font-size:13px; letter-spacing:0.08em; color:var(--red-text); margin:0 0 20px; }
.kontakt-form{ display:flex; flex-direction:column; gap:16px; max-width:460px; }
.kontakt-form label{ display:flex; flex-direction:column; gap:6px; font-family:'Source Sans Pro', sans-serif; font-size:12px; letter-spacing:0.04em; color:var(--text-grey); }
.kontakt-form input, .kontakt-form textarea{ font-family:'Tajawal', sans-serif; font-size:14px; color:var(--text-strong); background:var(--bg-darkest); border:1px solid var(--border); padding:12px 14px; transition:border-color 0.2s ease; resize:vertical; }
.kontakt-form input:focus, .kontakt-form textarea:focus{ outline:none; border-color:var(--red); }
.kontakt-form button{ margin-top:6px; width:fit-content; }
.kontakt-info-col{ display:flex; flex-direction:column; gap:28px; }
.kontakt-info-item{ display:flex; gap:16px; align-items:flex-start; }
.kontakt-info-item svg{ width:24px; height:24px; flex-shrink:0; margin-top:2px; }
.kontakt-info-item .label{ font-family:'Source Sans Pro', sans-serif; font-size:12px; letter-spacing:0.05em; color:var(--text-muted); margin:0 0 4px; }
.kontakt-info-item .value{ font-family:'Tajawal', sans-serif; font-size:15px; color:var(--text-strong); margin:0; line-height:1.6; }
.kontakt-info-item .value a{ color:var(--text-strong); }
.kontakt-info-item .value a:hover{ color:var(--red-text); }
@media (max-width:900px){ .kontakt-grid{ grid-template-columns:1fr; gap:40px; } }

/* ---------- Footer ---------- */
.site-footer{ background:var(--bg-darker); border-top:1px solid var(--border); padding:48px 0 32px; }
.footer-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:32px; margin-bottom:32px; }
.footer-grid h4{ font-family:'Source Sans Pro', sans-serif; font-size:13px; letter-spacing:0.05em; color:var(--text-muted); margin:0 0 14px; }
.footer-grid a, .footer-grid p{ display:block; font-family:'Tajawal', sans-serif; font-size:13px; color:var(--text-light-grey); margin:0 0 8px; line-height:1.6; }
.footer-grid a:hover{ color:var(--red-text); }
.footer-legal{ border-top:1px solid var(--border); padding-top:20px; }
.footer-legal p{ font-family:'Tajawal', sans-serif; font-size:12px; color:var(--text-muted); margin:0; line-height:1.6; }
@media (max-width:780px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:480px){ .footer-grid{ grid-template-columns:1fr; } }


/* ---------- Runder "Coming soon"-Stoerer (nur index.html) ----------
   Uebernimmt Form, Groesse und Puls vom App-Stoerer aus monitoring.
   Sitzt oben rechts unterhalb des klebenden Headers: der ist im Desktop
   77px hoch, unter 780px bricht die Navigation um und macht ihn 118px
   hoch — die top-Werte halten davon Abstand, sonst ueberdeckt der Kreis
   den Kontakt-Button. z-index bleibt unter der Scroll-Fortschrittsleiste
   (100) und ueber dem Header (50). Leichte Drehung gibt ihm
   Aufkleber-Charakter.
   Bewusst kein <a>: es gibt noch kein Ziel. Sobald es eine Zielseite
   gibt, wird daraus ein Link — dann braucht es hier zusaetzlich
   :hover und :focus-visible. */
.soon-badge{
  position:fixed; right:28px; top:101px; z-index:60;
  width:142px; height:142px; border-radius:50%;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
  background:var(--red); color:var(--on-red);
  font-family:'Source Sans Pro', sans-serif; text-align:center;
  transform:rotate(-8deg);
  animation:rct-badge-pulse 4.5s ease-in-out infinite;
  /* Der Stoerer ist reine Information und liegt fest ueber der Seite —
     auf dem Telefon damit auch ueber dem zweiten Hero-Button. Ohne
     pointer-events:none wuerde er den Fingertipp dort schlucken.
     Sobald daraus ein Link wird, muss diese Zeile weg. */
  pointer-events:none;
}
/* Keine Transparenz: Weiss auf CI-Rot liegt bei 4,86:1, mit opacity 0.85
   faellt es auf 3,74:1 und damit unter die AA-Schwelle fuer Kleintext. */
.soon-badge-kicker{ font-size:13px; font-weight:600; letter-spacing:0.22em; line-height:1; text-indent:0.22em; }
.soon-badge-wort{ font-size:31px; font-weight:700; letter-spacing:0.06em; line-height:1; }
@keyframes rct-badge-pulse{
  0%,100%{ box-shadow:0 10px 28px -8px rgba(0,0,0,0.5), 0 0 0 0 rgba(227,10,24,0.5); }
  50%    { box-shadow:0 10px 28px -8px rgba(0,0,0,0.5), 0 0 0 13px rgba(227,10,24,0); }
}
/* Auf Telefonen nach unten rechts: oben rechts verdeckt der Kreis das
   Ende der Eyebrow-Zeile im Hero. top:auto ist noetig, sonst bliebe der
   Desktop-Wert stehen und beide Kanten waeren gesetzt. */
@media (max-width:780px){
  .soon-badge{ width:88px; height:88px; right:14px; top:auto; bottom:18px; gap:2px; }
  .soon-badge-kicker{ font-size:9px; letter-spacing:0.14em; text-indent:0.14em; }
  .soon-badge-wort{ font-size:21px; }
}

/* ---------- Scroll-Reveal ---------- */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible{ opacity:1; transform:translateY(0); }
.reveal-delay-1.is-visible{ transition-delay:0.1s; }
.reveal-delay-2.is-visible{ transition-delay:0.2s; }
.reveal-delay-3.is-visible{ transition-delay:0.3s; }

/* ---------- Theme-Umschalter (Dark/Light) ---------- */
/* Beim Umschalten sollen Flaechen weich wechseln statt zu springen.
   Nur Elemente mit eigenem Hintergrund oder Rahmen brauchen das. */
body, .site-header, .hero, .section-dark, .section-mid, .cta-banner,
.benefits-bar, .site-footer, .kf-card, .ext-card, .ext-info-card,
.brochure, .basismodul-card, .zd-card, .wv-panel, .pyramid-frame,
.app-shot .img-frame, .kontakt-form input, .kontakt-form textarea,
.carousel-arrow, .pl-center{
  transition:background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.theme-toggle{
  flex-shrink:0; width:36px; height:36px; padding:0;
  display:flex; align-items:center; justify-content:center;
  background:transparent; border:1px solid var(--border); color:var(--text-light-grey);
  cursor:pointer;
  transition:border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, background-color 0.3s ease;
}
.theme-toggle:hover{ border-color:var(--red); color:var(--red); transform:translateY(-1px); }
.theme-toggle:focus-visible{ outline:2px solid var(--red); outline-offset:2px; }
.theme-toggle svg{ width:18px; height:18px; display:block; }

/* Der Knopf zeigt das Ziel, nicht den Ist-Zustand:
   Dark aktiv -> Sonne (Klick fuehrt ins Helle),
   Light aktiv -> Mond (Klick fuehrt ins Dunkle).
   Muss zum aria-label in den Seiten passen. */
.theme-toggle .icon-sun{ display:block; }
.theme-toggle .icon-moon{ display:none; }
:root[data-theme="light"] .theme-toggle .icon-sun{ display:none; }
:root[data-theme="light"] .theme-toggle .icon-moon{ display:block; }

/* Logo: weiss/rot im Dark, grau/rot im Light */
.site-logo .logo-light{ display:none; }
:root[data-theme="light"] .site-logo .logo-dark{ display:none; }
:root[data-theme="light"] .site-logo .logo-light{ display:block; }

@media (max-width:780px){
  .theme-toggle{ width:32px; height:32px; }
  .theme-toggle svg{ width:16px; height:16px; }
}

/* ---------- Ruecksicht auf "Bewegung reduzieren" ----------
   Wer im Betriebssystem Animationen abbestellt hat, bekommt die Seite
   ohne Dauerbewegung: Hintergrund-Deko verschwindet, Einblendungen
   stehen sofort sichtbar da, Hover-Zustaende bleiben. */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:0.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:0.01ms !important;
  }
  .sweep-wrap, .diamond-field, .scroll-progress{ display:none !important; }
  .reveal{ opacity:1 !important; transform:none !important; }
  .hero-underline, .pl-underline{ transform:scaleX(1) !important; }
}
