/* =========================
   Variablen
========================= */
:root{
  --bg: #ffffff;
  --text: #111111;
  --muted: #555555;

  --card: #f4f7fb;
  --line: #e3ebf7;

  /* sm-it Blau */
  --accent: #0b4fb8;
  --accent2: #083a86;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.06);
  --max: 1120px;
}

/* =========================
   Base
========================= */
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height:1.6;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

strong{ font-weight: 800; }

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* =========================
   Header / Navigation
========================= */

header{
  position: sticky;
  top:0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

.navbar{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 800;
}

.brand-logo{
  height: 100px;
  width: auto;
}

nav ul{
  list-style:none;
  display:flex;
  gap: 10px;
  padding:0;
  margin:0;
  flex-wrap: wrap;
}

nav a{
  padding: 8px 10px;
  border-radius: 10px;
}

nav a.active{
  background: var(--card);
  text-decoration: none;
}

.cta{
  display:flex;
  gap:10px;
  align-items:center;
}

/* =========================
   Buttons
========================= */
.btn{
  display:inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
  text-decoration:none !important;
  transition: box-shadow .12s ease, transform .12s ease, filter .12s ease, background .12s ease;
}

.btn:hover{ box-shadow: var(--shadow); }
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  border-color: transparent;
}

.btn-primary:hover{ filter: brightness(.95); }

/* =========================
   HERO (Startseite)
========================= */
.hero-tech{
  position: relative;
  background: url("../images/hero9-sm-it.png") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

/* Overlay */
.hero-tech::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,
      rgba(6,14,30,.78) 0%,
      rgba(6,14,30,.45) 45%,
      rgba(6,14,30,.25) 100%
    ),
    linear-gradient(180deg,
      rgba(0,0,0,.5) 0%,
      rgba(0,0,0,.25) 100%
    );
  pointer-events:none;
  z-index:0;
}

.hero-tech .hero{
  position: relative;
  z-index:1;
  padding: clamp(64px, 8vw, 110px) 0;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.kicker{
  font-size: .85rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: .9;
  margin: 0 0 12px;
  color:#fff;
}

.hero-tech h1{
  margin: 0 0 16px;
  line-height: 1.05;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  max-width: 22ch;
  color:#fff;
  text-shadow: 0 6px 24px rgba(0,0,0,.55);
}

.lead{
  margin: 0 0 22px;
  font-size: clamp(1.05rem, 1.4vw, 1.15rem);
  line-height: 1.55;
  max-width: 56ch;
  color:#fff;
  opacity:.95;
}

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

/* Buttons im Hero */
.hero-tech .btn{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
  color:#fff;
}

.hero-tech .btn:hover{
  background: rgba(255,255,255,.14);
}

.hero-tech .btn.btn-primary{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent;
}

/* Card rechts */
.hero-card{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 18px;
  backdrop-filter: blur(6px);
}

.hero-card h3{
  margin: 0 0 8px;
  color:#fff;
}

.hero-card p{
  margin: 0 0 12px;
  color:#fff;
  opacity:.95;
}

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

.badge{
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  font-size:.95rem;
  color:#fff;
}

/* =========================
   Sections
========================= */
section{ padding: clamp(36px, 5vw, 56px) 0; }

section:nth-of-type(even){
  background: rgba(11,79,184,0.03);
}

.section-title{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.section-title h2{ margin:0; }
.section-title p{ margin:0; color: var(--muted); }

.section-title h2{
  margin:0;
  font-size: 26px;
}

.section-title p{
  margin:0;
  color: var(--muted);
}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.card{
  background: rgba(244,247,251,.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
  transition: transform .12s ease, box-shadow .12s ease;
}

.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,.06);
}

.card h3{ margin: 0 0 6px; }
.card p{ margin: 0; color: var(--muted); }

.section-actions{
  margin-top: 18px;
}

/* =========================
   Pagehead (Unterseiten) – Tech Banner
========================= */
.pagehead{
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: clamp(34px, 4.5vw, 54px) 0;
  color: #fff;
  background: url("../images/hero9-sm-it.png") center/cover no-repeat;
}

.pagehead::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,
      rgba(6,14,30,.88) 0%,
      rgba(6,14,30,.65) 45%,
      rgba(6,14,30,.45) 100%
    ),
    linear-gradient(180deg,
      rgba(0,0,0,.20) 0%,
      rgba(0,0,0,.40) 100%
    );
  pointer-events:none;
}

.pagehead .container{
  position: relative;
  z-index: 1;
}

.pagehead h1{
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.1;
  text-shadow: 0 6px 24px rgba(0,0,0,.55);
}

.pagehead p{
  margin: 0;
  max-width: 70ch;
  opacity: .95;
}

/* =========================
   Footer
========================= */
.footer{
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid{
  display:flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  align-items: center;
}

.small-links{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* =========================
   Responsive
========================= */
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }

  .cta{ display:none; }
  .brand-logo{ height: 30px; }
}

@media (max-width: 520px){
  .hero-actions a{
    width:100%;
    text-align:center;
  }
}
.form-status { margin-top: 12px; padding: 12px 14px; border-radius: 10px; }
.form-status.ok { background: rgba(0,0,0,.06); }
.form-status.err { background: rgba(255,0,0,.08); }
/* ============ Mobile Navigation (sm-it) ============ */
.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border:1px solid var(--line);
  background:transparent;
  border-radius:12px;
  padding:10px;
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  height:2px;
  width:100%;
  background:currentColor;
  border-radius:2px;
  margin:6px 0;
  transition:transform .2s ease, opacity .2s ease;
}

/* Default: Desktop */
.site-nav .cta--mobile{ display:none; }
.cta--desktop{ display:flex; gap:10px; }

/* Mobile Breakpoint */
@media (max-width: 820px){
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }

  /* Desktop-CTA ausblenden */
  .cta--desktop{ display:none; }

  /* Nav wird Dropdown */
  .site-nav{
    position:absolute;
    left:0;
    right:0;
    top:100%;
    background:var(--bg, #fff);
    border-top:1px solid var(--line);
    padding:14px 0;
    display:none;
    z-index: 1000;
  }

  /* Links im Menü */
  .site-nav ul{
    display:grid;
    gap:8px;
    padding:0 16px;
    margin:0;
  }

  .site-nav a{
    display:block;
    padding:10px 12px;
    border-radius:12px;
  }

  /* Mobile-CTA im Menü */
  .site-nav .cta--mobile{
    display:flex;
    gap:10px;
    padding:0 16px;
    margin-top:14px;
  }

  /* geöffnet */
  body.nav-open .site-nav{ display:block; }

  /* Burger zu X */
  body.nav-open .nav-toggle span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2){ opacity:0; }
  body.nav-open .nav-toggle span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }
}
.ip-card{
  display:grid;
  gap:10px;
}

#ipValue{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  padding: 4px 8px;
  border-radius: 10px;
  background: rgba(0,0,0,.04);
  margin-left: 8px;
}

.ip-hint{
  color: var(--muted);
  font-size: 14px;
}
.holiday-box {
  margin-top: 32px;
}

.holiday-box h3 {
  margin-bottom: 16px;
}

.holiday-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
}

.holiday-box p {
  margin-top: 16px;
  color: #5f6673;
  line-height: 1.6;
}