/* ==========================================================================
   .NET Programmierung Landing Page — Standalone Styles
   Brand: RobbelRoot (robbelroot.de)
   ========================================================================== */

/* --- Custom Properties --- */
:root {
  --rr-primary: #e67e22;
  --rr-primary-dark: #cf6d17;
  --rr-primary-light: #f0a04b;
  --rr-dark: #1a1a2e;
  --rr-dark-mid: #16213e;
  --rr-dark-accent: #0f3460;
  --rr-blue: #0181ff;
  --rr-text: #2d3436;
  --rr-text-light: #636e72;
  --rr-bg: #ffffff;
  --rr-bg-alt: #f7f8fa;
  --rr-border: #e2e6ea;
  --rr-radius: 12px;
  --rr-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --rr-shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.14);
  --rr-transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --rr-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--rr-font);
  color: var(--rr-text);
  line-height: 1.7;
  background: var(--rr-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--rr-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--rr-primary-dark);
}

ul {
  list-style: none;
}

/* --- Layout --- */
.rr-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.rr-narrow {
  max-width: 780px;
}

.rr-section {
  padding: 80px 0;
}

.rr-bg-white { background: var(--rr-bg); }
.rr-bg-alt { background: var(--rr-bg-alt); }

/* --- Scroll Animations --- */
.rr-anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.rr-anim.rr-visible {
  opacity: 1;
  transform: translateY(0);
}

.rr-anim[data-delay="1"] { transition-delay: 0.1s; }
.rr-anim[data-delay="2"] { transition-delay: 0.2s; }
.rr-anim[data-delay="3"] { transition-delay: 0.3s; }
.rr-anim[data-delay="4"] { transition-delay: 0.4s; }
.rr-anim[data-delay="5"] { transition-delay: 0.5s; }

/* --- Shared UI: Labels, Titles --- */
.rr-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--rr-primary);
  margin-bottom: 12px;
}

.rr-section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--rr-text);
  line-height: 1.3;
  margin: 0 0 16px 0;
}

.rr-section-subtitle {
  font-size: 1.05rem;
  color: var(--rr-text-light);
  max-width: 640px;
  line-height: 1.7;
  margin: 0 0 8px 0;
}

/* --- Buttons --- */
.rr-btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  letter-spacing: 0.3px;
}

.rr-btn-primary {
  background: var(--rr-primary);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(230, 126, 34, 0.3);
}

.rr-btn-primary:hover {
  background: var(--rr-primary-dark);
  box-shadow: 0 6px 24px rgba(230, 126, 34, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}

.rr-btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.rr-btn-ghost:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
  color: #ffffff;
}

.rr-btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.rr-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 46, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
}

.rr-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.rr-nav-brand {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.rr-nav-brand:hover { color: var(--rr-primary); }

.rr-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.rr-nav-links li a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.rr-nav-links li a:hover { color: #ffffff; }

.rr-nav-cta {
  background: var(--rr-primary) !important;
  color: #ffffff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
}

.rr-nav-cta:hover {
  background: var(--rr-primary-dark) !important;
}

/* Mobile toggle */
.rr-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.rr-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.rr-hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}

.rr-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, #1a1a2e, #16213e, #0f3460, #1a1a2e);
  background-size: 400% 400%;
  animation: rr-gradient 18s ease infinite;
  z-index: 0;
}

.rr-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

.rr-hero-bg::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes rr-gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.rr-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
  padding: 40px 24px;
}

.rr-hero-text {
  flex: 1;
  text-align: left;
}

.rr-hero h1 {
  margin: 0 0 16px 0;
}

.rr-hero-main {
  display: block;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
}

.rr-hero-sub {
  display: block;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
  margin-top: 8px;
}

.rr-hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin: 0 0 28px 0;
  max-width: 540px;
}

/* Tech Tags */
.rr-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.rr-hero-tags span {
  padding: 5px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
}

.rr-hero-tags span:hover {
  border-color: var(--rr-primary);
  color: var(--rr-primary);
  background: rgba(230, 126, 34, 0.08);
}

/* Hero Buttons */
.rr-hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Photo */
.rr-hero-photo {
  flex-shrink: 0;
}

.rr-hero-photo img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(230, 126, 34, 0.4);
  box-shadow: 0 0 60px rgba(230, 126, 34, 0.15);
}

/* Scroll hint */
.rr-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.35);
  animation: rr-bounce 2s 2s infinite;
}

@keyframes rr-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* Hero animations */
.rr-hero .rr-anim {
  opacity: 0;
}

.rr-hero .rr-anim[data-delay="1"] { animation: rr-fade-up 0.8s 0.2s forwards; }
.rr-hero .rr-anim[data-delay="2"] { animation: rr-fade-up 0.8s 0.4s forwards; }
.rr-hero .rr-anim[data-delay="3"] { animation: rr-fade-up 0.8s 0.6s forwards; }
.rr-hero .rr-anim[data-delay="4"] { animation: rr-fade-up 0.8s 0.8s forwards; }
.rr-hero .rr-anim[data-delay="5"] { animation: rr-fade-up 0.8s 1.0s forwards; }

@keyframes rr-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   INTRO
   ========================================================================== */
.rr-intro-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--rr-text);
  max-width: 780px;
}

/* ==========================================================================
   CTA BOX
   ========================================================================== */
.rr-cta-box {
  padding: 0;
}

.rr-cta-inner {
  background: var(--rr-dark);
  border-radius: var(--rr-radius);
  overflow: hidden;
  position: relative;
  padding: 40px 32px;
}

.rr-cta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.rr-cta-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.rr-cta-content {
  position: relative;
  z-index: 2;
}

.rr-cta-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--rr-primary);
  margin-bottom: 14px;
  border: 1px solid rgba(230, 126, 34, 0.35);
  border-radius: 4px;
  padding: 3px 10px;
}

.rr-cta-headline {
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin: 0 0 10px 0;
}

.rr-cta-sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 0 24px 0;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.rr-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.rr-service-card {
  background: var(--rr-bg);
  border-radius: var(--rr-radius);
  padding: 36px 28px;
  border: 1px solid var(--rr-border);
  transition: all var(--rr-transition);
  position: relative;
  overflow: hidden;
}

.rr-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--rr-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.rr-service-card:hover::before { transform: scaleX(1); }

.rr-service-card:hover {
  box-shadow: var(--rr-shadow-hover);
  transform: translateY(-4px);
}

.rr-service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(230, 126, 34, 0.1);
  border-radius: 12px;
  margin-bottom: 20px;
}

.rr-service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--rr-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rr-service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: var(--rr-text);
}

.rr-service-card p {
  font-size: 0.92rem;
  color: var(--rr-text-light);
  margin: 0;
  line-height: 1.7;
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.rr-about-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.rr-about-text p {
  font-size: 0.95rem;
  color: var(--rr-text);
  margin-bottom: 16px;
  line-height: 1.7;
}

.rr-about-text h2 {
  margin-bottom: 20px;
}

.rr-check-list {
  margin: 0 0 16px 0;
}

.rr-check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--rr-text);
}

.rr-check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--rr-primary);
  font-weight: 700;
}

/* Trust Badges */
.rr-about-badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rr-badge-card {
  background: var(--rr-bg-alt);
  border: 1px solid var(--rr-border);
  border-radius: var(--rr-radius);
  padding: 24px;
  transition: all 0.3s ease;
}

.rr-badge-card:hover {
  border-color: var(--rr-primary);
  box-shadow: var(--rr-shadow);
}

.rr-badge-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 8px;
}

.rr-badge-card strong {
  font-size: 1rem;
  display: block;
  margin-bottom: 6px;
  color: var(--rr-text);
}

.rr-badge-card p {
  font-size: 0.88rem;
  color: var(--rr-text-light);
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   STATS
   ========================================================================== */
.rr-stats {
  background: linear-gradient(135deg, var(--rr-dark) 0%, var(--rr-dark-mid) 100%);
  padding: 60px 0;
}

.rr-stats-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.rr-stat {
  text-align: center;
}

.rr-stat-number {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--rr-primary);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.rr-stat-label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   CONTENT SECTIONS (WinForms, WPF, C#, SOLID)
   ========================================================================== */
.rr-section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 32px 0 12px 0;
  color: var(--rr-text);
}

.rr-section p {
  font-size: 1.05rem;
  color: var(--rr-text);
  margin-bottom: 16px;
  line-height: 1.8;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.rr-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.rr-testimonial {
  background: var(--rr-bg);
  border-radius: var(--rr-radius);
  padding: 32px;
  border: 1px solid var(--rr-border);
  transition: all 0.3s ease;
}

.rr-testimonial:hover {
  box-shadow: var(--rr-shadow);
}

.rr-testimonial-quote {
  font-size: 2.4rem;
  color: var(--rr-primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 8px;
  font-family: Georgia, serif;
}

.rr-testimonial blockquote {
  font-size: 0.95rem;
  color: var(--rr-text);
  line-height: 1.7;
  margin: 0 0 20px 0;
  padding: 0;
  border: none;
  font-style: normal;
}

.rr-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rr-testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.rr-testimonial-author strong {
  font-size: 0.88rem;
  display: block;
  color: var(--rr-text);
}

.rr-testimonial-author span {
  font-size: 0.78rem;
  color: var(--rr-text-light);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.rr-faq-list {
  margin-top: 32px;
}

.rr-faq-item {
  border: 1px solid var(--rr-border);
  border-radius: var(--rr-radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.rr-faq-item[open] {
  border-color: var(--rr-primary);
}

.rr-faq-item summary {
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--rr-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s ease;
}

.rr-faq-item summary::-webkit-details-marker { display: none; }

.rr-faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--rr-primary);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s ease;
}

.rr-faq-item[open] summary::after {
  content: '−';
}

.rr-faq-item summary:hover {
  background: var(--rr-bg-alt);
}

.rr-faq-item p {
  padding: 0 24px 20px 24px;
  font-size: 0.92rem;
  color: var(--rr-text-light);
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.rr-final-cta {
  background: linear-gradient(135deg, var(--rr-dark) 0%, var(--rr-dark-accent) 100%);
  text-align: center;
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.rr-final-cta-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.rr-final-cta .rr-container {
  position: relative;
  z-index: 2;
}

.rr-final-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px 0;
}

.rr-final-cta p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 36px 0;
}

.rr-final-cta-alt {
  margin-top: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.rr-final-cta-alt a {
  color: var(--rr-primary);
  text-decoration: underline;
}

.rr-final-cta-alt a:hover {
  color: var(--rr-primary-light);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.rr-footer {
  background: var(--rr-dark);
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.rr-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.rr-footer-links {
  display: flex;
  gap: 24px;
}

.rr-footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.rr-footer-links a:hover { color: #ffffff; }

.rr-trademark {
  display: block;
  margin-top: 16px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
  .rr-hero-content {
    flex-direction: column;
    text-align: center;
  }

  .rr-hero-text { text-align: center; }
  .rr-hero-tags { justify-content: center; }
  .rr-hero-buttons { justify-content: center; }
  .rr-hero-desc { margin-left: auto; margin-right: auto; }

  .rr-hero-photo img {
    width: 220px;
    height: 220px;
  }

  .rr-services-grid,
  .rr-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .rr-about-layout {
    grid-template-columns: 1fr;
  }

  .rr-stats-grid { gap: 40px; }
}

@media (max-width: 768px) {
  /* Mobile nav */
  .rr-nav-toggle { display: flex; }

  .rr-nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.98);
    padding: 16px 24px 24px;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .rr-nav-links.rr-nav-open { display: flex; }

  .rr-nav-links li { padding: 12px 0; }

  .rr-nav-cta {
    display: inline-block;
    text-align: center;
    margin-top: 8px;
  }
}

@media (max-width: 576px) {
  .rr-section { padding: 56px 0; }

  .rr-hero { min-height: 85vh; }
  .rr-hero-main { font-size: 1.8rem; }

  .rr-hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .rr-hero-buttons .rr-btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .rr-hero-photo img {
    width: 180px;
    height: 180px;
  }

  .rr-stats-grid { gap: 32px; }
  .rr-stat-number { font-size: 2rem; }

  .rr-footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .rr-cta-inner { padding: 28px 20px; }
}
