/* sesemi.net – ein Stylesheet für alle Seiten. Farben und Schriften wie im Designkonzept (Canvas). */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #3B3B6B;
  --navy-dark: #1E1E45;
  --red: #D24848;
  --red-text: #B83A3A;
  --text: #172B4D;
  --text-2: #44526B;
  --muted: #55627A;
  --soft: #F5F8FC;
  --line: #E3E8EF;
  --app-blue: #0866FF;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, "Segoe UI", system-ui, sans-serif; color: var(--text); background: #FFFFFF; line-height: 1.5; }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--red-text); }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 3px solid var(--app-blue); outline-offset: 2px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section { padding-top: 104px; padding-bottom: 104px; }
.section--soft { background: var(--soft); }
.section--tight { padding-top: 88px; padding-bottom: 88px; }
.stack { display: flex; flex-direction: column; gap: 48px; }
.stack--s { gap: 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #FFFFFF; padding: 8px 12px; z-index: 10; }

/* Typografie */
.kicker { font-size: 14px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--red-text); }
.h1 { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 60px; line-height: 1.05; letter-spacing: -1px; color: var(--navy-dark); }
.h1--theme { font-size: 52px; line-height: 1.08; letter-spacing: -0.8px; }
.h2 { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 40px; line-height: 1.15; color: var(--navy-dark); }
.h3 { font-size: 22px; font-weight: 600; color: var(--navy-dark); }
.lead { font-size: 18px; line-height: 1.6; color: var(--text-2); }
.hero-text { font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 560px; }
.intro { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.note { font-size: 13px; color: #64748B; }
.small { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* Kopfzeile */
.header { border-bottom: 1px solid var(--line); background: #FFFFFF; }
.header__bar { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--text); text-decoration: none; padding-top: 10px; padding-bottom: 10px; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"] { color: var(--navy-dark); font-weight: 600; border-bottom-color: var(--red); }
.nav a:hover { color: var(--red-text); }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu__panel { position: absolute; left: 0; right: 0; top: 80px; background: #FFFFFF; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: flex; flex-direction: column; z-index: 5; }
.menu__panel a { padding-top: 12px; padding-bottom: 12px; color: var(--text); text-decoration: none; font-size: 17px; font-weight: 500; border-bottom: 1px solid #EDF1F6; }
.menu__panel a:last-child { border-bottom: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 12px; font-weight: 600; font-size: 16px; text-decoration: none; }
.btn--s { height: 44px; padding: 0 20px; border-radius: 10px; font-size: 15px; }
.btn--primary { background: var(--navy); color: #FFFFFF; }
.btn--primary:hover { background: var(--navy-dark); color: #FFFFFF; }
.btn--secondary { background: #FFFFFF; border: 1px solid #C9D2DE; color: var(--navy-dark); }
.btn--secondary:hover { border-color: var(--navy); color: var(--navy-dark); }
.btn--light { background: #FFFFFF; color: var(--navy-dark); align-self: flex-start; height: 48px; padding: 0 22px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; height: 56px; padding: 0 22px; border-radius: 12px; background: #000000; color: #FFFFFF; text-decoration: none; }
.store small { font-size: 11px; }
.store strong { font-size: 17px; font-weight: 600; }
.store--soon { background: #E9EEF4; color: var(--muted); }

/* Hero */
.hero { background: var(--soft); }
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 88px; }
.hero__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__visual { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }

/* Telefon-Mockup (Startseite) */
.phone { width: 300px; border-radius: 40px; background: var(--text); padding: 12px; box-shadow: 0 30px 60px rgba(23, 43, 77, 0.18); }
.phone__screen { border-radius: 30px; background: var(--soft); overflow: hidden; }
.phone__head { padding: 22px 18px 12px; display: flex; flex-direction: column; gap: 10px; }
.phone__title { font-size: 22px; font-weight: 700; }
.phone__list { padding: 0 12px 18px; display: flex; flex-direction: column; gap: 8px; }
.phone__item { background: #FFFFFF; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.phone__row { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 600; }
.phone__row span:last-child { font-size: 11px; font-weight: 400; color: #64748B; }
.phone__alarm { font-size: 12px; font-weight: 600; }
.phone__button { height: 44px; border-radius: 12px; background: var(--app-blue); color: #FFFFFF; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.chips { display: flex; gap: 6px; font-size: 11px; font-weight: 600; }
.chips span { padding: 5px 10px; border-radius: 999px; background: #E9EEF4; color: #475569; }
.chips span.is-active { background: #102A43; color: #FFFFFF; }

/* Status- und Signalfarben (Text-Varianten, Kontrast >= 4.5:1) */
.t-alarm { color: #C81E1E; }
.t-warn { color: #92400E; }
.t-off { color: #475569; }
.chip { align-self: flex-start; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.chip--alarm { background: #FDECEC; color: #C81E1E; }
.chip--blue { background: #E8F0FF; color: #0B4FC4; }
.chip--off { background: #EEF2F6; color: #475569; }
.chip--warn { background: #FEF3C7; color: #92400E; }
.chip--ok { background: #E7F7EF; color: #047857; }
.chip--none { background: #FFFFFF; color: #64748B; }

/* Kennzahlen */
.facts { border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 40px; padding-bottom: 40px; }
.fact { display: flex; flex-direction: column; gap: 4px; }
.fact strong { font-family: Montserrat, sans-serif; font-size: 28px; font-weight: 700; color: var(--navy-dark); }
.fact span { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Raster und Karten */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--s { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.grid--m { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.grid--l { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; background: #FFFFFF; }
.card--plain { border: 0; }
.card--link { text-decoration: none; color: var(--text); padding: 36px; gap: 16px; border-radius: 20px; }
.card--link:hover { border-color: var(--navy); color: var(--text); }
.card__num { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--red-text); }
.card__title { font-family: Montserrat, sans-serif; font-size: 26px; font-weight: 700; line-height: 1.2; color: var(--navy-dark); }
.card__more { font-size: 16px; font-weight: 600; color: var(--navy); padding-top: 4px; }
.card--dark { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.card--dark .small { color: #DADAF0; }
.card--dark .h2, .card--dark .h3 { color: #FFFFFF; }
.card--dark:hover { background: var(--navy-dark); color: #FFFFFF; }
.step-num { width: 44px; height: 44px; border-radius: 22px; background: var(--navy); color: #FFFFFF; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.step-num--red { background: var(--red); }
.step-num--green { background: #047857; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px 36px; }
.features--s { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feature { display: flex; gap: 14px; }
.feature::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 5px; background: var(--red); }
.feature h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }

.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.flow__step { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 3px solid var(--navy); }
.flow__step--red { border-top-color: var(--red); }
.flow__step--green { border-top-color: #10A66A; }
.flow__label { font-size: 13px; font-weight: 600; color: var(--muted); }
.flow__title { font-size: 18px; font-weight: 600; color: var(--navy-dark); }

/* Anwendungsbeispiele */
.usecases { display: flex; flex-direction: column; gap: 48px; }
.usecase-group { display: flex; flex-direction: column; gap: 20px; }
.usecase { background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.usecase__img { height: 140px; background: #DCE3EC; }
.usecase__img img { width: 100%; height: 100%; object-fit: cover; }
.usecase__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.usecase__body h4 { font-size: 17px; font-weight: 600; }
.usecase__alarm { font-size: 13px; font-weight: 600; color: var(--navy); }

/* Benachrichtigung, Diagramm, Karte, Matrix */
.visual { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 16px; }
.notif { background: #FFFFFF; border-radius: 16px; padding: 14px 16px; display: flex; gap: 12px; box-shadow: 0 12px 30px rgba(23, 43, 77, 0.14); }
.notif__icon { flex: none; width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.notif__icon span { width: 12px; height: 12px; border-radius: 6px; background: #EF4444; }
.notif__icon--off span { background: #94A3B8; }
.notif__icon--warn span { background: #F59E0B; }
.notif__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.notif__body strong { font-size: 14px; }
.notif__body span { font-size: 13px; line-height: 1.45; color: var(--muted); }
.panel { background: #FFFFFF; border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 30px rgba(23, 43, 77, 0.08); }
.panel__pad { padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.panel__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; color: var(--muted); }
.panel__value { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.matrix__row { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 10px; align-items: center; padding: 12px 18px; border-top: 1px solid #EDF1F6; }
.matrix__row--head { background: var(--soft); border-top: 0; font-size: 12px; font-weight: 600; color: var(--muted); }
.matrix__row .chip { justify-self: start; }
.matrix__name { display: flex; flex-direction: column; font-size: 14px; font-weight: 600; }
.matrix__name small { font-size: 12px; font-weight: 400; color: #64748B; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.split > * { flex: 1 1 420px; min-width: 0; }
.box { background: var(--soft); border-radius: 20px; padding: 32px; }
.box .card { border: 0; }

/* Rechtstexte */
.legal { display: flex; flex-wrap: wrap; gap: 64px; padding-top: 56px; padding-bottom: 96px; }
.toc { flex: 1 1 240px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.toc a { padding-top: 7px; padding-bottom: 7px; text-decoration: none; }
.toc__title { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; }
.prose { flex: 999 1 560px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 40px; font-size: 16px; line-height: 1.7; color: #2E3B52; }
.prose section { display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 24px; }
.prose h2 { font-size: 22px; font-weight: 600; color: var(--navy-dark); }
.prose .address { padding: 16px 20px; background: var(--soft); border-radius: 12px; }
.prose .warning { padding: 24px; border-radius: 14px; background: #FDF1F1; border: 1px solid #F3CACA; }
.prose .warning h2 { color: #8E2A2A; }
.table { border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; font-size: 15px; line-height: 1.5; }
.table table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 12px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--soft); border-top: 0; font-weight: 600; }
.page-head { background: var(--soft); }
.page-head__inner { padding-top: 64px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 12px; }
.page-head .lead { max-width: 760px; }
.facts-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; padding-top: 56px; padding-bottom: 96px; font-size: 16px; line-height: 1.7; color: #2E3B52; }
.facts-list h2 { font-size: 18px; font-weight: 600; color: var(--navy-dark); margin-bottom: 8px; }

/* Fusszeile */
.footer { background: var(--navy-dark); color: #C9CBE6; }
.footer__inner { padding-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; font-size: 14px; line-height: 1.6; }
.footer__brand img { height: 44px; width: auto; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 48px; font-size: 15px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col strong { color: #FFFFFF; font-weight: 600; }
.footer a { color: #C9CBE6; text-decoration: none; }
.footer a:hover, .footer a[aria-current="page"] { color: #FFFFFF; }
.footer__bottom { border-top: 1px solid #34345E; padding-top: 24px; font-size: 13px; }

@media (max-width: 960px) {
  .nav, .header__cta { display: none; }
  .menu { display: block; }
  .header { position: relative; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .section--tight { padding-top: 56px; padding-bottom: 56px; }
  .hero__inner { padding-top: 48px; padding-bottom: 48px; gap: 40px; }
  .h1, .h1--theme { font-size: 38px; }
  .h2 { font-size: 28px; }
  .hero-text, .lead { font-size: 17px; }
  .card, .card--link { padding: 24px; }
  .btn-row .btn { flex: 1 1 100%; }
  .matrix__row { grid-template-columns: 1.3fr 1fr 1fr 1fr; padding: 10px 12px; gap: 6px; }
}
