/* IT-Host.de – style.css v1 */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700&family=Space+Grotesk:wght@400;500;600&display=swap');

:root {
  --navy: #0d2b4f;
  --navy-deep: #081c36;
  --blue: #1668a8;
  --blue-bright: #2e9be0;
  --blue-soft: #eaf4fc;
  --green: #2e8b4f;
  --green-bright: #3ba55d;
  --text: #24384f;
  --muted: #52667e;
  --footer-text: #a9c4dd;
  --footer-muted: #7ea3c4;
  --white: #ffffff;
  --grad-hero: linear-gradient(115deg, #0d2b4f 0%, #14508a 55%, #2e9be0 130%);
  --grad-btn: linear-gradient(135deg, #1668a8, #2e9be0);
  --grad-btn-green: linear-gradient(135deg, #2e8b4f, #3ba55d);
  --grad-card: linear-gradient(165deg, #ffffff 60%, #eef6fd 100%);
  --grad-section: linear-gradient(180deg, #f6fafd 0%, #eaf3fb 100%);
  --shadow: 0 8px 30px rgba(13, 43, 79, 0.10);
  --shadow-lift: 0 14px 40px rgba(13, 43, 79, 0.16);
  --radius: 14px;
  --site: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  color: var(--text);
  background: #fdfefe;
  line-height: 1.7;
  font-size: 1.02rem;
}

h1, h2, h3, .btn, .nav-links a, .logo-text {
  font-family: 'Sora', 'Segoe UI', sans-serif;
}

h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.18; font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; color: var(--navy); margin-bottom: 0.6em; }
h3 { font-size: clamp(1.12rem, 2vw, 1.3rem); font-weight: 700; color: var(--navy); margin-bottom: 0.4em; }

p { margin-bottom: 1em; }
a { color: var(--blue); }
img { max-width: 100%; height: auto; }

.wrap { max-width: var(--site); margin: 0 auto; padding: 0 22px; }
section { padding: 64px 0; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #e3edf6;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 12px 22px; max-width: var(--site); margin: 0 auto;
}
.logo img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--navy); font-weight: 600; font-size: 1rem;
  padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav-links a:hover { color: var(--blue-bright); }
.nav-links a.active { color: var(--blue); border-bottom-color: var(--blue-bright); }
.nav-cta {
  background: var(--grad-btn); color: #fff !important; padding: 10px 20px !important;
  border-radius: 999px; border: none !important; box-shadow: 0 4px 14px rgba(22, 104, 168, .35);
  white-space: nowrap; transition: transform .15s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(22, 104, 168, .45); color: #fff !important; }

.burger {
  display: none; background: none; border: 2px solid var(--navy); border-radius: 8px;
  padding: 7px 9px 4px; cursor: pointer; color: var(--navy); line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--grad-hero);
  padding: 0;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: right center; opacity: 0.8;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 28, 54, .94) 0%, rgba(10, 36, 66, .82) 34%, rgba(13, 43, 79, .28) 58%, rgba(13, 43, 79, 0) 78%);
}
.hero-inner {
  position: relative; max-width: var(--site); margin: 0 auto;
  padding: 97px 22px 104px;
}
.hero h1 { margin-bottom: 14px; }
.hero:not(.sub-hero) h1 { max-width: 640px; }
.hero:not(.sub-hero) p.lead { max-width: 560px; }
.hero .claim {
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.3rem);
  background: linear-gradient(90deg, #6fc3f2, #a8ddf9); -webkit-background-clip: text; background-clip: text;
  color: transparent; margin-bottom: 18px;
}
.hero p.lead { font-size: 1.08rem; color: #dcebf8; }
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 26px; }

.sub-hero { padding: 0; }
.sub-hero .hero-inner { padding: 118px 22px 128px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 1.02rem;
  padding: 13px 28px; border-radius: 999px; transition: transform .15s, box-shadow .2s;
}
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 6px 18px rgba(22, 104, 168, .4); }
.btn-green { background: var(--grad-btn-green); color: #fff; box-shadow: 0 6px 18px rgba(46, 139, 79, .35); }
.btn-navy { background: linear-gradient(135deg, #0d2b4f, #14508a); color: #fff; box-shadow: 0 6px 18px rgba(13, 43, 79, .4); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 2px solid rgba(255,255,255,.55); }
.btn:hover { transform: translateY(-2px); }

/* ---------- Sections ---------- */
.section-alt { background: var(--grad-section); }
.section-head { text-align: center; margin: 0 0 40px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Preiskarten ---------- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch;
}
.price-card {
  background: var(--grad-card); border: 1px solid #e1edf7; border-left: 5px solid var(--blue-bright);
  border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column;
  box-shadow: var(--shadow), 0 0 0 rgba(46,155,224,0);
  transition: transform .2s, box-shadow .25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift), 0 10px 34px rgba(46, 155, 224, .18); }
.price-card.starter { border-left-color: var(--green-bright); }
.price-card.professional { border-left-color: var(--navy); }
.price-card .tier {
  font-family: 'Sora', sans-serif; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; font-size: .95rem; color: var(--blue);
}
.price-card.starter .tier { color: var(--green); }
.price-card.professional .tier { color: var(--navy); }
.price-card .price { font-family: 'Sora', sans-serif; font-size: 2.6rem; font-weight: 700; color: var(--navy); margin: 6px 0 2px; }
.price-card .price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-card .for { color: var(--muted); margin-bottom: 18px; }
.price-card .btn { margin-top: auto; text-align: center; }

ul.check { list-style: none; margin: 0 0 24px; }
ul.check li { padding: 6px 0 6px 30px; position: relative; }
ul.check li::before {
  content: "✓"; position: absolute; left: 2px; top: 6px;
  color: var(--green-bright); font-weight: 700;
}

.netto-note { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 22px; }

/* ---------- Individuelle Box ---------- */
.custom-box {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(120deg, #eaf3fb, #dcedf9);
  border: 1px solid #cfe4f5; border-radius: var(--radius); padding: 32px 34px;
  box-shadow: var(--shadow);
}
.custom-box .icon { font-size: 2.6rem; }
.custom-box .text { flex: 1 1 380px; }
.custom-box .text p { margin-bottom: 6px; }

/* ---------- Feature-Grid ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px;
}
.feature {
  text-align: center; padding: 26px 18px; border-radius: var(--radius);
  transition: background .2s;
}
.feature:hover { background: #f2f8fd; }
.feature .icon {
  width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 16px;
  background: var(--grad-btn); display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff; box-shadow: 0 6px 16px rgba(22,104,168,.3);
}
.feature:nth-child(even) .icon { background: var(--grad-btn-green); box-shadow: 0 6px 16px rgba(46,139,79,.3); }
.feature h3 { font-size: 1.05rem; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Textbereiche ---------- */
.prose { margin: 0 auto; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.3em; }

.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 46px; align-items: center; }
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow-lift); }

/* ---------- FAQ ---------- */
.faq-list { margin: 0; }
.faq-item {
  background: var(--grad-card); border: 1px solid #e1edf7; border-left: 5px solid var(--blue-bright);
  border-radius: var(--radius); padding: 22px 26px; margin-bottom: 16px; box-shadow: var(--shadow);
}
.faq-item h3 { margin-bottom: 8px; }
.faq-item p:last-child { margin-bottom: 0; }

/* ---------- Glossar ---------- */
.glossar-item {
  background: var(--grad-card); border: 1px solid #e1edf7; border-left: 5px solid var(--blue-bright);
  border-radius: var(--radius); padding: 26px 30px; margin-bottom: 20px; box-shadow: var(--shadow);
  scroll-margin-top: 90px;
}
.glossar-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 38px; }
.glossar-nav a {
  text-decoration: none; font-family: 'Sora', sans-serif; font-weight: 600;
  background: #eaf3fb; color: var(--navy); border: 1px solid #cfe4f5;
  padding: 7px 16px; border-radius: 999px; transition: background .2s, color .2s;
}
.glossar-nav a:hover { background: var(--grad-btn); color: #fff; border-color: transparent; }

/* ---------- CTA-Band ---------- */
.cta-band {
  background: var(--grad-hero); color: #fff; text-align: center;
  border-radius: var(--radius); padding: 46px 30px; box-shadow: var(--shadow-lift);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d6e8f7; margin: 0 0 24px; }
.cta-band .phone {
  font-family: 'Sora', sans-serif; font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 700; display: block; color: #fff; text-decoration: none; margin-bottom: 8px;
}
.cta-band .phone:hover { color: #a8ddf9; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.contact-card {
  background: var(--grad-card); border: 1px solid #e1edf7; border-left: 5px solid var(--blue-bright);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
}
.contact-card a { font-weight: 600; }

/* ---------- Footer ---------- */
footer { background: linear-gradient(160deg, #0d2b4f 0%, #081c36 70%); color: var(--footer-text); margin-top: 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px;
  padding: 52px 22px 34px; max-width: var(--site); margin: 0 auto;
}
.footer-grid h3 { color: #ffffff; font-size: 1.05rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: var(--footer-text); text-decoration: none; }
.footer-grid a:hover { color: #ffffff; text-decoration: underline; }
.footer-logo img { height: 46px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .92; }
.footer-contact li { display: flex; align-items: center; gap: 9px; }
.footer-contact svg.ico { width: 16px; height: 16px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(169, 196, 221, .22);
  padding: 18px 22px; text-align: center; font-size: .93rem; color: var(--footer-muted);
}
.footer-bottom a { color: var(--footer-text); }
.footer-bottom a:hover { color: #ffffff; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .burger { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: #ffffff; padding: 18px 22px 26px;
    border-bottom: 1px solid #e3edf6; box-shadow: var(--shadow); gap: 14px;
  }
  .nav-links.open { display: flex; }
}
@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 70px 22px 76px; }
  .sub-hero .hero-inner { padding: 58px 22px 64px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Ansprechpartner ---------- */
.person-card {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  background: var(--grad-card); border: 1px solid #e1edf7; border-left: 5px solid var(--blue-bright);
  border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow); margin: 28px 0;
}
.person-card img {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  border: 3px solid #fff; box-shadow: 0 4px 14px rgba(13,43,79,.22); flex-shrink: 0;
}
.person-card .who { flex: 1 1 320px; }
.person-card .name { font-family: 'Sora', sans-serif; font-weight: 700; color: var(--navy); font-size: 1.12rem; margin-bottom: 2px; }
.person-card .role { color: var(--muted); font-size: .95rem; margin-bottom: 8px; }
.person-card p:last-child { margin-bottom: 0; }

/* ---------- SVG-Icons ---------- */
svg.ico { width: 1.05em; height: 1.05em; vertical-align: -0.16em; }
.feature .icon svg.ico { width: 27px; height: 27px; }
.custom-box .icon { display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 18px; background: var(--grad-btn);
  color: #fff; box-shadow: 0 6px 18px rgba(22,104,168,.32); flex-shrink: 0; }
.custom-box .icon svg.ico { width: 32px; height: 32px; }
.cta-band .phone svg.ico { width: .95em; height: .95em; }

/* ---------- Subnavi Hosting ---------- */
.subnav { margin-bottom: 38px; }
.glossar-nav a.active { background: var(--grad-btn); color: #fff; border-color: transparent; }

/* ---------- Dropdown Hauptnavi ---------- */
.has-sub { position: relative; }
.has-sub > a .chev { vertical-align: -0.12em; transition: transform .2s; }
.has-sub:hover > a .chev, .has-sub:focus-within > a .chev { transform: rotate(180deg); }
.subnav-drop {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 240px; list-style: none; padding: 10px; margin: 0;
  background: #ffffff; border: 1px solid #e1edf7; border-radius: 12px;
  box-shadow: var(--shadow-lift);
}
.has-sub:hover .subnav-drop, .has-sub:focus-within .subnav-drop { display: block; }
.subnav-drop li { margin: 0; }
.subnav-drop a {
  display: block; padding: 9px 14px; border-radius: 8px; border-bottom: none !important;
  font-size: .98rem; white-space: nowrap;
}
.subnav-drop a:hover { background: var(--blue-soft); color: var(--blue); }
.subnav-drop a.active { background: var(--grad-btn); color: #fff; }
.subnav-drop li:first-child a { border-bottom: 1px solid #e1edf7 !important; border-radius: 8px 8px 0 0; margin-bottom: 6px; }

@media (max-width: 1000px) {
  .subnav-drop {
    display: block; position: static; transform: none; min-width: 0;
    border: none; box-shadow: none; padding: 6px 0 0 16px; background: transparent;
  }
  .subnav-drop li:first-child a { border-bottom: none !important; margin-bottom: 0; }
  .subnav-drop a { padding: 7px 0; }
  .has-sub > a .chev { display: none; }
}

/* ---------- Plus-Bubbles (medienplus-Motiv) ---------- */
.hero-inner { z-index: 2; }
.plus-field {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1;
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 14%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to top, transparent 0, #000 14%, #000 78%, transparent 100%);
}
.plus {
  position: absolute; bottom: -48px; color: #ffffff;
  font-family: 'Sora', sans-serif; font-weight: 600; line-height: 1;
  animation: plusRise linear infinite; will-change: transform;
}
.plus-blue { color: #8fd0f5; }
@keyframes plusRise {
  from { transform: translateY(0) rotate(0deg); }
  to   { transform: translateY(-780px) rotate(14deg); }
}
@media (prefers-reduced-motion: reduce) {
  .plus { display: none; }
}
