/* ==========================================================================
   j03media.de — Modern Redesign (100% Original Content)
   ========================================================================== */

/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* vietnamese */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-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 {
  --bg-primary: #090a0f;
  --bg-secondary: #10121a;
  --bg-card: rgba(18, 21, 31, 0.78);
  --bg-card-hover: rgba(26, 30, 44, 0.92);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --accent: #f97316;
  --accent-light: #fb923c;
  --border-color: rgba(255, 255, 255, 0.09);
  --border-hover: rgba(249, 115, 22, 0.5);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-lg: 0 22px 45px -15px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 38px -5px rgba(249, 115, 22, 0.25);
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(9, 10, 15, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 44px;
  width: auto;
  transition: transform var(--transition);
}

.brand:hover .brand-logo {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
}

.mobile-toggle .icon-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  padding: 9.5rem 0 6.5rem;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-compact {
  padding: 8.5rem 0 5rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(9, 10, 15, 0.92) 0%,
    rgba(9, 10, 15, 0.78) 50%,
    rgba(249, 115, 22, 0.18) 100%
  );
  backdrop-filter: blur(4px);
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-avatar {
  display: flex;
  justify-content: center;
}

.avatar-ring {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  padding: 10px;
  background: radial-gradient(circle at 30% 30%, rgba(249, 115, 22, 0.35), rgba(18, 21, 31, 0.92));
  border: 2px solid rgba(249, 115, 22, 0.5);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transition: transform var(--transition);
}

.avatar-ring:hover {
  transform: translateY(-5px) scale(1.02);
}

.avatar-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.hero-content {
  text-align: right;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 0.85rem;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 55%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 500;
  color: var(--text-secondary);
}

/* ==========================================================================
   Services & Pricing Section
   ========================================================================== */

.main-raised-wrap {
  position: relative;
  z-index: 3;
}

.section {
  position: relative;
  padding: 5.5rem 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.section-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 10, 15, 0.94) 0%,
    rgba(13, 15, 23, 0.88) 50%,
    rgba(9, 10, 15, 0.95) 100%
  );
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 3.25rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  display: inline-block;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 999px;
  margin: 0.75rem auto 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.35);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition);
}

.feature-card:hover .card-icon {
  background: var(--accent);
  color: #ffffff;
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
}

.feature-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.feature-card p strong {
  display: block;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

/* Keep inline strong natural for "Wir bieten noch mehr." */
.feature-card:nth-child(6) p strong {
  display: inline;
  font-size: inherit;
  color: var(--accent-light);
}

.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  margin: 4.5rem auto;
  max-width: 720px;
}

.pricing-card {
  text-align: center;
  align-items: center;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
  padding: 5.5rem 0;
  border-top: 1px solid var(--border-color);
}

.contact-overlay {
  background: linear-gradient(
    135deg,
    rgba(9, 10, 15, 0.88) 0%,
    rgba(15, 18, 28, 0.82) 100%
  );
}

.contact-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: rgba(18, 21, 31, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.contact-card .section-title {
  margin-bottom: 1.75rem;
}

.contact-lead {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.contact-lead:last-child {
  margin-bottom: 0;
}

.contact-lead a {
  color: var(--accent-light);
  font-weight: 700;
  border-bottom: 2px solid rgba(249, 115, 22, 0.4);
  padding-bottom: 2px;
}

.contact-lead a:hover {
  color: #ffffff;
  border-bottom-color: var(--accent);
}

/* ==========================================================================
   Impressum & Datenschutz Page
   ========================================================================== */

.legal-section {
  background: var(--bg-primary);
  padding: 4rem 0 5rem;
}

.legal-card {
  max-width: 880px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3.25rem;
  box-shadow: var(--shadow-lg);
}

.legal-card h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.legal-card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2.25rem 0 0.85rem;
}

.legal-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-light);
  margin: 1.75rem 0 0.6rem;
}

.legal-card p,
.legal-card li {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.legal-card ul {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.legal-card li {
  margin-bottom: 0.5rem;
}

.legal-card a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-card a:hover {
  color: var(--accent);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #06070a;
  border-top: 1px solid var(--border-color);
  padding: 2.25rem 0;
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.footer-menu a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-menu a:hover {
  color: var(--accent-light);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 992px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: rgba(9, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .legal-card {
    padding: 2rem 1.5rem;
  }

  .avatar-ring {
    width: 190px;
    height: 190px;
  }
}
