/* ============================================================
   style.css — Handwerker Mockup Webseite
   Hauptstyles: Farbpalette, Reset, Typography, Layout,
   Header, Hero, Sektionen, Footer, Formular, Lightbox, Loader
   ============================================================ */

/* ==================== Custom Properties ==================== */
:root {
  /* Farbpalette */
  --color-primary: #C75B39;
  --color-primary-light: #D98B6F;
  --color-primary-dark: #A04228;
  --color-secondary: #2C2C2C;
  --color-accent: #D4922A;
  --color-accent-light: #E8B96D;
  --color-bg-light: #FAF3E8;
  --color-bg-dark: #3E2723;
  --color-text: #1A1A1A;
  --color-text-secondary: #6B5B4F;
  --color-success: #6B8E6B;
  --color-white: #FFFFFF;

  /* Abgeleitete Farben */
  --color-hero-gradient: linear-gradient(135deg, rgba(62, 39, 35, 0.85) 0%, rgba(44, 44, 44, 0.7) 100%);
  --color-footer-gradient: linear-gradient(180deg, #2C2C2C 0%, #1A1A1A 100%);
  --color-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --color-card-hover-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);

  /* Typography */
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;

  /* Schriftgrößen */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 2rem;      /* 32px */
  --text-4xl: 2.5rem;    /* 40px */
  --text-5xl: 3.5rem;    /* 56px */

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Transitionen */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;

  /* Z-Index Scale */
  --z-header: 1000;
  --z-overlay: 900;
  --z-modal: 1100;
  --z-toast: 1200;

  /* Container */
  --container-max: 1200px;
  --container-padding: var(--space-6);
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==================== Typography ==================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p {
  margin-bottom: var(--space-4);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

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

/* ==================== Layout ==================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-24) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.section-title {
  margin-bottom: var(--space-3);
}

.section-title em {
  font-style: normal;
  color: var(--color-primary);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-8);
  font-size: var(--text-base);
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(199, 91, 57, 0.3);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--ghost:hover {
  background-color: var(--color-white);
  color: var(--color-text);
  transform: translateY(-2px);
}

.btn--hero {
  margin: var(--space-2);
}

.btn--full {
  width: 100%;
}

/* ==================== Header / Navigation ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background-color: transparent;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header.header--scrolled {
  background-color: rgba(44, 44, 44, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-3) var(--container-padding);
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white);
  text-decoration: none;
}

.nav-logo em {
  font-style: normal;
  color: var(--color-accent);
}

.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: var(--space-1);
}

.nav-link {
  display: block;
  padding: var(--space-2) var(--space-4);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-link--cta {
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  margin-left: var(--space-2);
}

.nav-link--cta:hover {
  background-color: var(--color-primary-dark) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.hamburger-line {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.nav-hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ==================== Hero ==================== */
.section-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(62, 39, 35, 0.9) 0%, rgba(44, 44, 44, 0.75) 100%),
    url('../images/hero/hero-bg.jpg') center/cover no-repeat;
  z-index: 0;
}

#sparks-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-8);
  max-width: 800px;
}

.hero-title {
  font-size: var(--text-5xl);
  color: var(--color-white);
  margin-bottom: var(--space-4);
  line-height: 1.1;
}

.hero-title em {
  font-style: normal;
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-arrow {
  display: block;
  width: 32px;
  height: 32px;
  border-right: 3px solid var(--color-white);
  border-bottom: 3px solid var(--color-white);
  transform: rotate(45deg);
  opacity: 0.6;
  animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.6; }
  50% { transform: rotate(45deg) translateY(8px); opacity: 1; }
}

/* ==================== Über Mich ==================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-16);
  align-items: center;
}

.about-image-placeholder {
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #D7CCC8 0%, #BCAAA4 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  gap: var(--space-2);
}

.placeholder-icon {
  width: 64px;
  height: 64px;
  opacity: 0.5;
}

.placeholder-label {
  font-size: var(--text-sm);
  opacity: 0.7;
}

/* Echte Bilder */
.about-image-real {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-text p {
  color: var(--color-text-secondary);
  font-size: var(--text-lg);
}

.about-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 2px solid rgba(0, 0, 0, 0.06);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* ==================== Leistungen ==================== */
.section-services {
  background-color: var(--color-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.service-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  cursor: default;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--color-card-hover-shadow);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon--wood { background: rgba(214, 184, 156, 0.3); color: #A1887F; }
.service-icon--blue { background: rgba(66, 165, 245, 0.15); color: #1565C0; }
.service-icon--grey { background: rgba(188, 170, 164, 0.2); color: #757575; }
.service-icon--teal { background: rgba(77, 182, 172, 0.15); color: #00897B; }
.service-icon--tealblue { background: rgba(66, 165, 245, 0.15); color: #1976D2; }
.service-icon--amber { background: rgba(212, 146, 42, 0.15); color: var(--color-accent); }

.service-title {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.service-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ==================== Projekte / Galerie ==================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}

.filter-btn {
  padding: var(--space-2) var(--space-6);
  background: transparent;
  border: 2px solid var(--color-text-secondary);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #D7CCC8 0%, #BCAAA4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h3 {
  color: var(--color-white);
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
}

.lightbox-trigger {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background-color var(--transition-fast);
}

.lightbox-trigger:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* ==================== Referenzen / Testimonials ==================== */
.section-testimonials {
  background-color: var(--color-white);
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.testimonial-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 6rem;
  color: var(--color-primary);
  opacity: 0.15;
  position: absolute;
  top: var(--space-2);
  left: var(--space-6);
  line-height: 1;
}

.testimonial-stars {
  color: var(--color-accent);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.testimonial-name {
  font-weight: 700;
  color: var(--color-text);
}

.testimonial-location {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* ==================== Kontakt ==================== */
.section-contact {
  background: linear-gradient(135deg, rgba(250, 243, 232, 0.95) 0%, rgba(250, 243, 232, 0.9) 100%),
              url('../images/backgrounds/contact-bg.png') center/cover no-repeat;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-16);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-family: var(--font-body);
  border: 2px solid #E0D6CC;
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(199, 91, 57, 0.15);
}

.form-input::placeholder {
  color: #B0A090;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%236B5B4F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-notice {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  margin-top: var(--space-1);
}

/* Kontakt-Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.contact-info-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--color-card-shadow);
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: var(--space-6);
}

.contact-item {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
}

.contact-item dt {
  min-width: 140px;
  font-weight: 600;
}

.contact-item dd {
  color: var(--color-text-secondary);
}

.contact-item a {
  color: var(--color-primary);
}

.contact-map-placeholder {
  background: linear-gradient(135deg, #D7CCC8 0%, #BCAAA4 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  gap: var(--space-2);
  font-size: var(--text-sm);
}

.contact-map-placeholder svg {
  opacity: 0.5;
}

/* ==================== Footer ==================== */
.site-footer {
  background: var(--color-footer-gradient), url('../images/backgrounds/footer-bg.png');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-20) 0 var(--space-8);
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.footer-address {
  font-style: normal;
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.footer-contact-line a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-line a:hover {
  color: var(--color-accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

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

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-6);
  text-align: center;
  font-size: var(--text-sm);
}

/* ==================== Lightbox ==================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.lightbox.lightbox--open {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: none;
  border: none;
  color: var(--color-white);
  font-size: var(--text-4xl);
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  color: var(--color-white);
  text-align: center;
}

/* ==================== Page Loader ==================== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-toast);
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.page-loader--hidden {
  opacity: 0;
  visibility: hidden;
}

.tape-measure {
  width: 120px;
  height: 4px;
  background: #E0D6CC;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.tape-line {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--color-primary);
  border-radius: 2px;
  animation: tape-load 1.5s ease-in-out infinite;
}

@keyframes tape-load {
  0% { width: 0; left: 0; }
  50% { width: 100%; left: 0; }
  100% { width: 0; left: 100%; }
}

/* ==================== Scroll Animations ==================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ==================== Component Loaded State ==================== */
.component-loaded {
  opacity: 1;
  transition: opacity var(--transition-normal);
}
