/* ============================================
   CSS Variables - Farbschema
   ============================================ */
:root {
  --color-navy: #0F172A;
  --color-off-white: #F8FAFC;
  --color-blue: #2563EB;
  --color-cyan: #06B6D4;
  --color-gray: #6B7280;
  --color-light-gray: #F1F5F9;
  
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s ease-out;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-family);
  color: var(--color-navy);
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-gray);
}

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-cyan);
}

/* ============================================
   Container & Layout
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }
}

/* ============================================
   Rebuild Notice
   ============================================ */
.rebuild-notice {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-cyan) 100%);
  color: var(--color-off-white);
  padding: 0.75rem 0;
  text-align: center;
  font-weight: 500;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rebuild-notice p {
  margin: 0;
  color: var(--color-off-white);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, #1e293b 100%);
  color: var(--color-off-white);
  padding: 4rem 0 6rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Mobile: Visual oben, dann Content */
.hero-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  order: 1;
}

.hero-content {
  text-align: center;
  flex: 1;
  order: 2;
}

.hero-visual-content {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-svg {
  width: 100%;
  height: auto;
  max-width: 100%;
  min-width: 0;
}

.hero-title {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  color: var(--color-off-white);
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  max-width: 100%;
  margin: 0 auto 2rem;
  color: rgba(248, 250, 252, 0.9);
  line-height: 1.7;
}

@media (min-width: 640px) {
  .hero-wrapper {
    gap: 2.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.25rem;
    max-width: 600px;
  }
  
  .hero-visual-content {
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .hero .container {
    padding-right: 1rem;
  }
  
  .hero-wrapper {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
    text-align: left;
  }
  
  /* Desktop: Content links, Visual rechts */
  .hero-visual {
    order: 2;
    flex: 1;
    padding-right: 0;
    min-width: 0;
  }
  
  .hero-content {
    order: 1;
    text-align: left;
    flex: 1;
    min-width: 0;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-description {
    margin: 0 0 2.5rem 0;
    max-width: 100%;
  }
  
  .hero-visual-content {
    max-width: 100%;
    padding-left: 1rem;
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .hero .container {
    padding-right: 2rem;
  }
  
  .hero-wrapper {
    gap: 5rem;
  }
  
  .hero-content {
    min-width: 0;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-visual-content {
    max-width: 100%;
    padding-left: 2rem;
    width: 100%;
  }
}

@media (min-width: 1280px) {
  .hero .container {
    padding-right: 3rem;
  }
  
  .hero-content {
    min-width: 0;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-visual-content {
    padding-left: 3rem;
    width: 100%;
  }
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
  display: inline-block;
  background: var(--color-blue);
  color: var(--color-off-white);
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  width: 100%;
  max-width: 100%;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  color: var(--color-off-white);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-large {
  padding: 1.125rem 2.25rem;
  font-size: 1.125rem;
}

@media (min-width: 640px) {
  .btn-primary {
    width: auto;
    padding: 1rem 2rem;
    font-size: 1.125rem;
  }
  
  .btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
  }
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 3rem 0;
}

.section-light {
  background-color: var(--color-light-gray);
}

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

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .section {
    padding: 4rem 0;
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
  }
  
  .section-subtitle {
    font-size: 1.25rem;
  }
}

@media (min-width: 768px) {
  .section {
    padding: 5rem 0;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  .section-header h2 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 6rem 0;
  }
}

/* ============================================
   About Section
   ============================================ */
.about-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .about-content {
    align-items: center;
  }
}

.profile-image-wrapper {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.profile-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  border: 3px solid white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  image-rendering: -webkit-optimize-contrast;
  -ms-interpolation-mode: bicubic;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
}

.status-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 36px;
  background: #10b981;
  border-radius: 50%;
  border: 3px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.status-badge svg {
  width: 18px;
  height: 18px;
  color: white;
}

.about-text {
  text-align: center;
  flex: 1;
}

.about-text h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.about-role {
  font-size: 1rem;
  color: var(--color-blue);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .profile-image {
    width: 180px;
    height: 180px;
  }
  
  .status-badge {
    width: 44px;
    height: 44px;
  }
  
  .status-badge svg {
    width: 22px;
    height: 22px;
  }
  
  .about-text h3 {
    font-size: 2rem;
  }
  
  .about-role {
    font-size: 1.125rem;
  }
  
  .about-text p {
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 3rem;
  }
  
  .about-text {
    text-align: left;
  }
  
  .profile-image {
    width: 200px;
    height: 200px;
  }
  
  .status-badge {
    width: 48px;
    height: 48px;
  }
  
  .status-badge svg {
    width: 24px;
    height: 24px;
  }
}

@media (min-width: 1024px) {
  .profile-image {
    width: 220px;
    height: 220px;
  }
  
  .status-badge {
    width: 52px;
    height: 52px;
  }
  
  .status-badge svg {
    width: 26px;
    height: 26px;
  }
}

/* ============================================
   Services Section
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-base);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-cyan) 100%);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-off-white);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.875rem;
}

.service-price {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 1rem;
}

.service-card p {
  line-height: 1.7;
  font-size: 0.9375rem;
}

@media (min-width: 640px) {
  .service-card {
    padding: 2.25rem;
  }
  
  .service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
  }
  
  .service-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .service-card h3 {
    font-size: 1.5rem;
  }
  
  .service-price {
    font-size: 1.5rem;
  }
  
  .service-card p {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .service-card {
    padding: 2.5rem;
  }
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   Process Section
   ============================================ */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.process-step {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-cyan) 100%);
  color: var(--color-off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
  flex-shrink: 0;
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.process-step p {
  color: var(--color-gray);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Tablet: 2 Spalten */
@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .process-step {
    padding: 2.5rem 2rem;
  }
  
  .step-number {
    width: 64px;
    height: 64px;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }
  
  .process-step h3 {
    font-size: 1.375rem;
  }
}

/* Desktop: 3 Spalten */
@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  
  .process-step {
    padding: 3rem 2.5rem;
  }
  
  .step-number {
    width: 72px;
    height: 72px;
    font-size: 2rem;
  }
  
  .process-step h3 {
    font-size: 1.5rem;
  }
  
  .process-step p {
    font-size: 1.125rem;
  }
}

/* ============================================
   Why Section
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.why-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-base);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.why-icon {
  width: 56px;
  height: 56px;
  background: var(--color-light-gray);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  margin-bottom: 1.5rem;
}

.why-icon svg {
  width: 28px;
  height: 28px;
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.why-card p {
  line-height: 1.7;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================
   Testimonial
   ============================================ */
.testimonial {
  margin-top: 4rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-content {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  border: 1px solid var(--color-light-gray);
  transition: all var(--transition-base);
  text-align: center;
}

.testimonial-content:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.testimonial-logo {
  flex-shrink: 0;
  margin: 0 auto 1.5rem;
  display: inline-block;
}

.testimonial-logo-img {
  height: 48px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.testimonial-text {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--color-navy);
  position: relative;
  font-weight: 500;
  font-style: italic;
  text-align: center;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: nowrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-light-gray);
  position: relative;
}

.testimonial-author-info {
  flex: 0 0 auto;
  text-align: center;
}

.testimonial-author {
  font-weight: 600;
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-navy);
  white-space: nowrap;
}

.testimonial-author a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color var(--transition-base);
  white-space: nowrap;
}

.testimonial-author a:hover {
  color: var(--color-cyan);
}

@media (min-width: 640px) {
  .testimonial-content {
    padding: 3.5rem;
  }
  
  .testimonial-logo {
    margin-bottom: 2rem;
  }
  
  .testimonial-logo-img {
    height: 56px;
    max-width: 180px;
  }
  
  .testimonial-text {
    font-size: 1.375rem;
    margin-bottom: 2.5rem;
  }
  
  .testimonial-author {
    font-size: 1rem;
  }
  
  .testimonial-footer {
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .testimonial-content {
    padding: 4rem;
  }
  
  .testimonial-logo {
    margin-bottom: 2.5rem;
  }
  
  .testimonial-logo-img {
    height: 64px;
    max-width: 200px;
  }
  
  .testimonial-text {
    font-size: 1.5rem;
  }
  
  .testimonial-footer {
    gap: 2rem;
  }
}

/* ============================================
   CTA Section
   ============================================ */
.section-cta {
  background: linear-gradient(135deg, var(--color-navy) 0%, #1e293b 100%);
  color: var(--color-off-white);
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content {
  padding: 0 1rem;
}

.cta-content h2 {
  font-size: 2rem;
  color: var(--color-off-white);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.cta-content > p {
  font-size: 1.125rem;
  color: rgba(248, 250, 252, 0.9);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.cta-email {
  margin-top: 1.5rem;
  color: rgba(248, 250, 252, 0.8);
  font-size: 0.9375rem;
}

.cta-email a {
  color: var(--color-cyan);
  font-weight: 600;
  word-break: break-word;
}

.cta-email a:hover {
  color: var(--color-blue);
}

@media (min-width: 640px) {
  .cta-content h2 {
    font-size: 2.5rem;
  }
  
  .cta-content > p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }
  
  .cta-email {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .cta-content {
    padding: 0;
  }
  
  .cta-content h2 {
    font-size: 3rem;
  }
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-navy);
  color: var(--color-off-white);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: var(--color-off-white);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-section p {
  color: rgba(248, 250, 252, 0.8);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(248, 250, 252, 0.8);
  transition: color var(--transition-base);
}

.footer-section a:hover {
  color: var(--color-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(248, 250, 252, 0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(248, 250, 252, 0.6);
  margin: 0;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   Animations
   ============================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in-up.animate {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.fade-in.animate {
  opacity: 1;
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.scale-in.animate {
  opacity: 1;
  transform: scale(1);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.slide-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.slide-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

/* Hero Section spezifische Animationen */
.slide-in-right-to-left {
  opacity: 0;
  transform: translateX(100px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.slide-in-right-to-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-top {
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.slide-in-top.animate {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-bottom {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.slide-in-bottom.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Section Animationen sofort beim Laden starten */
.hero-wrapper.slide-in-top {
  opacity: 0;
  animation: slideInTop 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-visual.slide-in-right-to-left {
  opacity: 0;
  animation: slideInRightToLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-description.slide-in-left {
  opacity: 0;
  animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero .btn-primary.slide-in-bottom {
  opacity: 0;
  animation: slideInBottom 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInTop {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRightToLeft {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInBottom {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================
   Responsive Utilities
   ============================================ */
@media (max-width: 639px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero {
    padding: 2rem 0 3rem;
    min-height: auto;
  }
  
  .hero-wrapper {
    gap: 1.5rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-visual-content {
    max-width: 100%;
    padding: 0 0.5rem;
  }
  
  .profile-image {
    width: 140px;
    height: 140px;
  }
  
  .status-badge {
    width: 32px;
    height: 32px;
  }
  
  .status-badge svg {
    width: 16px;
    height: 16px;
  }
}

/* ============================================
   Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Focus styles for accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}

/* ============================================
   Legal Pages (Impressum, Datenschutz)
   ============================================ */
.legal-page {
  min-height: 100vh;
  background-color: var(--color-light-gray);
  padding: 2rem 0;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--color-navy);
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--color-navy);
}

.legal-section h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-navy);
}

.legal-box {
  background-color: var(--color-light-gray);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.legal-box p {
  margin: 0;
  line-height: 1.8;
}

.legal-section p {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--color-gray);
}

.legal-section a {
  color: var(--color-blue);
  text-decoration: underline;
}

.legal-section a:hover {
  color: var(--color-cyan);
}

.legal-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-light-gray);
}

.btn-secondary {
  display: inline-block;
  background: var(--color-light-gray);
  color: var(--color-navy);
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .legal-content {
    padding: 2rem 1.5rem;
  }
  
  .legal-content h1 {
    font-size: 2rem;
  }
  
  .legal-section h2 {
    font-size: 1.5rem;
  }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
  .rebuild-notice,
  .btn-primary,
  .footer {
    display: none;
  }
  
  .hero {
    background: white;
    color: var(--color-navy);
  }
  
  .section-cta {
    background: white;
    color: var(--color-navy);
  }
}

