/* =============================================
   Internet SELECT – Global Stylesheet
   Brand Colors:
   #7bb5d5  Light Blue
   #ffffff  White
   #007ea4  Teal
   #004c63  Dark Teal
   #fc9126  Orange (Primary CTA)
   #fc4919  Red-Orange (Hover/Highlight)
   ============================================= */

/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #004c63;
  --paper: #f5f8fa;
  --accent: #fc9126;
  --accent-light: #fc4919;
  --muted: #4a7a8f;
  --border: #b8d4e0;
  --card: #ffffff;
  --highlight: #e8f3f8;
  --teal: #007ea4;
  --teal-dark: #004c63;
  --blue-light: #7bb5d5;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', monospace;
  --max-width: 1100px;
  --nav-height: 64px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: var(--font-mono); }


/* ===== LAYOUT ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
section { padding: 5rem 0; }


/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}
nav .container {
  display: flex; justify-content: space-between; align-items: center;
}
.nav-logo img {
  height: 36px;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: var(--accent);
}
.nav-links .cta-nav {
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 0.5rem 1.2rem;
  transition: all 0.25s ease;
}
.nav-links .cta-nav:hover {
  background: var(--accent);
  color: white;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ===== HERO ===== */
.hero {
  padding-top: calc(var(--nav-height) + 5rem);
  padding-bottom: 6rem;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(0,126,164,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: inline-block;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.3rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 800px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 6px;
  background: rgba(252,145,38,0.2);
}
.hero-sub {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}


/* ===== BUTTONS ===== */
.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1rem 2.5rem;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.cta-btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(252,145,38,0.35);
}
.cta-btn--outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.cta-btn--outline:hover {
  background: var(--accent);
  color: white;
  box-shadow: none;
}


/* ===== PROOF BAR ===== */
.proof-bar {
  background: var(--teal-dark);
  color: white;
  padding: 2.5rem 0;
  overflow: hidden;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}
.proof-item .num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-light);
  display: block;
}
.proof-item .label {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.3rem;
}


/* ===== SECTION HEADERS ===== */
.section-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 700px;
  margin: 0 auto;
}


/* ===== PROBLEM / DEMO ===== */
.problem { background: white; }
.problem-header {
  text-align: center;
  margin-bottom: 3rem;
}
.demo-box {
  background: var(--teal-dark);
  color: white;
  border-radius: 12px;
  padding: 2.5rem;
  margin: 2.5rem 0;
  position: relative;
  overflow: hidden;
}
.demo-box::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,126,164,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.demo-prompt {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}
.demo-query {
  font-size: 1.15rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
}
.demo-result {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
}
.demo-result .highlight-miss {
  color: var(--accent-light);
  font-weight: 700;
}


/* ===== CARDS ===== */
.why-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.why-card {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 8px;
  transition: transform 0.2s ease;
}
.why-card:hover { transform: translateY(-3px); }
.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.why-card p { color: var(--muted); font-size: 0.95rem; }


/* ===== APPROACH / STEPS ===== */
.approach-steps {
  display: grid;
  gap: 0;
  margin-top: 3rem;
}
.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.step p { color: var(--muted); }
.step-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: 0.5rem;
  display: inline-block;
  border: 1px solid var(--accent);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}


/* ===== URGENCY ===== */
.urgency {
  background: var(--ink);
  color: white;
}
.urgency .section-title { color: white; }
.urgency-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
}
.stat-block {
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
}
.stat-block .big-num {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-light);
}
.stat-block .stat-text {
  margin-top: 0.5rem;
  opacity: 0.8;
  font-size: 0.95rem;
}


/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  padding: 6rem 0;
}
.cta-section .section-title {
  margin-bottom: 1rem;
}
.cta-section .sub {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto; margin-right: auto;
}
.cta-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}


/* ===== ABOUT ===== */
.about { background: white; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2.5rem;
}
.about-facts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.fact {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  font-size: 0.95rem;
}
.fact-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  min-width: 110px;
}
.about-text p {
  margin-bottom: 1rem;
  color: var(--muted);
}
.about-text p:first-child {
  font-size: 1.1rem;
  color: var(--ink);
}


/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}
footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--ink); }


/* =============================================
   BLOG STYLES
   ============================================= */

/* Blog Listing */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,76,99,0.08);
}
.blog-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.blog-card__body {
  padding: 1.5rem;
}
.blog-card__meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.blog-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.blog-card__title a {
  color: var(--ink);
  text-decoration: none;
}
.blog-card__title a:hover { color: var(--accent); }
.blog-card__excerpt {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Blog Post / Article */
.article {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 4rem;
}
.article-header {
  max-width: 750px;
  margin: 0 auto 3rem;
  text-align: center;
}
.article-header .section-tag {
  margin-bottom: 1rem;
}
.article-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.article-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}
.article-body {
  max-width: 750px;
  margin: 0 auto;
}
.article-body h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: var(--ink);
}
.article-body h3 {
  font-size: 1.2rem;
  margin: 2rem 0 0.8rem;
  color: var(--ink);
}
.article-body p {
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}
.article-body p:first-child {
  font-size: 1.15rem;
  color: var(--ink);
}
.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--muted);
}
.article-body li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
.article-body blockquote {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--highlight);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--ink);
}
.article-body code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--highlight);
  padding: 0.15em 0.4em;
  border-radius: 3px;
}
.article-body pre {
  background: var(--teal-dark);
  color: #e0ecfa;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: 0.85rem;
  line-height: 1.6;
}
.article-body pre code {
  background: none;
  padding: 0;
  color: inherit;
}
.article-body img {
  max-width: 100%;
  border-radius: 8px;
  margin: 1.5rem 0;
}
.article-body a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body a:hover {
  color: var(--accent);
}

/* Article CTA Box */
.article-cta {
  background: var(--highlight);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
}
.article-cta h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.article-cta p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}


/* =============================================
   SUBPAGE STYLES
   ============================================= */

/* Page Header (for subpages like /leistungen, /ueber-mich) */
.page-header {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 3rem;
  background: var(--highlight);
  text-align: center;
}
.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.page-header p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: 0.8rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.page-body {
  padding: 4rem 0;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .hero { padding-top: calc(var(--nav-height) + 3rem); padding-bottom: 4rem; }
  .step { grid-template-columns: 60px 1fr; gap: 1rem; }
  .urgency-content { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }

  /* Mobile Nav */
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(0,76,99,0.1);
  }
  .nav-links.active { display: flex; }
}


/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-tag { animation: fadeUp 0.6s ease both; }
.hero h1 { animation: fadeUp 0.6s ease 0.1s both; }
.hero-sub { animation: fadeUp 0.6s ease 0.2s both; }
.hero .cta-btn { animation: fadeUp 0.6s ease 0.3s both; }

/* ===== TYPING CURSOR ===== */
.cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--accent-light);
  margin-left: 4px;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}
@keyframes blink { 50% { opacity: 0; } }
