:root {
  --bg:       #F7F5F0;
  --bg2:      #EDEAE2;
  --dark:     #1A1C20;
  --dark2:    #2B2E35;
  --ink:      #22252B;
  --muted:    #6B7080;
  --accent:   #2B6BE6;
  --accent2:  #1A4EBB;
  --green:    #1E9E72;
  --amber:    #E07B2A;
  --rose:     #C1415A;
  --violet:   #6C45C8;
  --white:    #FFFFFF;
  --radius:   14px;
  --radius-sm: 8px;
  --shadow:   0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:0 16px 56px rgba(0,0,0,0.13);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem; height: 68px;
  background: rgba(247,245,240,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.nav-logo {
  display: flex; align-items: center; gap: 0.5rem;
  text-decoration: none;
  font-family: 'Fraunces', serif; font-size: 1.4rem; font-weight: 500;
  color: var(--dark); letter-spacing: -0.01em;
}
.nav-logo .dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 0.3rem; list-style: none; }
.nav-links a {
  padding: 0.4rem 0.85rem;
  color: var(--muted); font-size: 0.85rem; font-weight: 500;
  text-decoration: none; border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(0,0,0,0.05); }
.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  padding: 0.45rem 1.1rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--accent2) !important; }

/* HERO */
#home {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem 3rem 5rem;
  position: relative; overflow: hidden;
}
.hero-blob {
  position: absolute; top: -10%; right: -8%;
  width: 55vw; height: 55vw; max-width: 750px; max-height: 750px;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  background: linear-gradient(135deg, rgba(43,107,230,0.12) 0%, rgba(108,69,200,0.08) 100%);
  animation: blobMorph 12s ease-in-out infinite; z-index: 0;
}
.hero-blob2 {
  position: absolute; bottom: -5%; left: -5%;
  width: 35vw; height: 35vw; max-width: 480px; max-height: 480px;
  border-radius: 40% 60% 30% 70% / 60% 40% 70% 30%;
  background: linear-gradient(135deg, rgba(30,158,114,0.09) 0%, rgba(224,123,42,0.06) 100%);
  animation: blobMorph 16s ease-in-out infinite reverse; z-index: 0;
}
@keyframes blobMorph {
  0%,100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; }
  33%      { border-radius: 40% 60% 30% 70% / 60% 40% 70% 30%; }
  66%      { border-radius: 70% 30% 50% 50% / 30% 70% 50% 50%; }
}
.hero-inner { position: relative; z-index: 1; max-width: 900px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(43,107,230,0.1); border: 1px solid rgba(43,107,230,0.2);
  color: var(--accent); padding: 0.35rem 0.9rem;
  border-radius: 999px; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.04em; margin-bottom: 1.6rem;
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 300; line-height: 1.1;
  letter-spacing: -0.02em; color: var(--dark); margin-bottom: 1.4rem;
}
.hero-title em { font-style: italic; color: var(--accent); }
.hero-subtitle {
  font-size: 1.1rem; color: var(--muted);
  max-width: 560px; line-height: 1.75; margin-bottom: 2.4rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 0.85rem 2rem; border-radius: var(--radius-sm);
  font-size: 0.88rem; transition: all 0.2s; cursor: pointer; border: none;
  font-family: 'Outfit', sans-serif;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(43,107,230,0.3); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid rgba(0,0,0,0.15); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(43,107,230,0.05); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 3rem; }
.chip {
  display: flex; align-items: center; gap: 0.45rem;
  background: white; border: 1px solid rgba(0,0,0,0.08);
  padding: 0.4rem 0.85rem; border-radius: 999px;
  font-size: 0.78rem; font-weight: 500; color: var(--muted);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.chip-dot { width: 8px; height: 8px; border-radius: 50%; }

/* SERVICES INTRO */
.services-intro { padding: 2rem 3rem 5rem; text-align: center; }
.overline {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.8rem; display: block;
}
.intro-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 300; color: var(--dark); line-height: 1.2;
}
.intro-title em { font-style: italic; color: var(--accent); }

/* SECTIONS */
.section { padding: 6rem 3rem; }
.section-alt { background: white; }
.section-dark { background: var(--dark); color: white; }

/* SERVICE BLOCKS */
.service-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.service-block.flip .service-visual { order: 2; }
.service-block.flip .service-content { order: 1; }

.service-visual { position: relative; }
.service-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius); display: block; box-shadow: var(--shadow-lg);
}
.service-num-big {
  position: absolute; top: -1.2rem; left: -1.2rem;
  font-family: 'Fraunces', serif; font-size: 5rem; font-weight: 500;
  line-height: 1; opacity: 0.07; color: var(--dark);
  pointer-events: none; user-select: none;
}
.service-tag-overlay {
  position: absolute; bottom: 1.2rem; left: 1.2rem;
  background: white; border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 600;
  box-shadow: var(--shadow);
}
.service-overline {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; margin-bottom: 0.8rem;
}
.num-badge {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700; color: white;
}
.service-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 300; line-height: 1.2; margin-bottom: 1.2rem; color: var(--dark);
}
.service-title em { font-style: italic; }
.service-desc { color: var(--muted); font-size: 0.97rem; line-height: 1.8; margin-bottom: 1rem; }
.service-bullets { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; margin-bottom: 1.8rem; }
.service-bullets li {
  display: flex; align-items: flex-start; gap: 0.7rem;
  font-size: 0.9rem; color: var(--ink);
}
.service-bullets li .check { flex-shrink: 0; font-weight: 700; margin-top: 0.05rem; }
.service-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 600; text-decoration: none;
  transition: gap 0.2s;
}
.service-link:hover { gap: 0.9rem; }

/* ABOUT */
.about-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.about-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 300; line-height: 1.2;
  color: var(--dark); margin-bottom: 1.4rem;
}
.about-title em { font-style: italic; color: var(--accent); }
.about-body { color: var(--muted); font-size: 0.97rem; line-height: 1.85; }
.about-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem;
}
.about-card {
  background: var(--bg); border-radius: var(--radius-sm); padding: 1.2rem;
}
.about-card .icon { font-size: 1.4rem; margin-bottom: 0.5rem; }
.about-card .label { font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.about-card .val { font-size: 0.78rem; color: var(--muted); }
.about-visual { display: flex; align-items: center; justify-content: center; }
.about-portrait {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-portrait::before {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(43,107,230,0.15) 0%, rgba(108,69,200,0.1) 100%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(20px);
}
.about-portrait img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3/4;
  transition: transform 0.4s ease;
}
.about-portrait:hover img {
  transform: scale(1.03);
}

/* CONTACT */
#kontakt { background: var(--dark); }
.contact-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: start;
}
.contact-overline { color: var(--accent); }
.contact-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300; line-height: 1.2; color: white; margin-bottom: 1.2rem;
}
.contact-title em { font-style: italic; color: var(--accent); }
.contact-body { color: rgba(255,255,255,0.5); font-size: 0.95rem; line-height: 1.8; margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.contact-item-label {
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 0.1rem;
}
.contact-item-val { font-size: 0.93rem; color: white; }
.contact-form {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 2.4rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.9rem; }
.form-group.full { grid-column: span 2; }
.form-label { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.form-input, .form-textarea, .form-select {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  color: white; padding: 0.75rem 1rem;
  font-family: 'Outfit', sans-serif; font-size: 0.9rem;
  border-radius: var(--radius-sm); outline: none; width: 100%;
  transition: border-color 0.2s;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.22); }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--accent); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-select option { background: var(--dark2); color: white; }
.form-submit {
  width: 100%; background: var(--accent); color: white; border: none; padding: 0.95rem;
  font-family: 'Outfit', sans-serif; font-size: 0.88rem; font-weight: 600;
  border-radius: var(--radius-sm); cursor: pointer;
  transition: background 0.2s, transform 0.2s; margin-top: 0.4rem;
}
.form-submit:hover:not(:disabled) { background: var(--accent2); transform: translateY(-2px); }
.form-submit:disabled {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.4);
  cursor: not-allowed;
  transform: none;
}

/* FOOTER */
footer {
  background: var(--dark2); border-top: 1px solid rgba(255,255,255,0.07);
  padding: 2rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo { font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 500; color: white; }
.footer-logo .dot { color: var(--accent); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.4); font-size: 0.8rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-copy { color: rgba(255,255,255,0.25); font-size: 0.75rem; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.up { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.15);
  padding: 1.8rem 3rem;
  z-index: 300;
  display: none;
  animation: slideUp 0.4s ease-out;
}
#cookie-banner.show { display: block; }
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1;
  min-width: 300px;
}
.cookie-title {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.cookie-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}
.cookie-desc a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(43,107,230,0.3);
}
.cookie-desc a:hover { border-bottom-color: var(--accent); }
.cookie-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.cookie-btn-accept {
  background: var(--accent);
  color: white;
}
.cookie-btn-accept:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43,107,230,0.3);
}
.cookie-btn-decline {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid rgba(0,0,0,0.15);
}
.cookie-btn-decline:hover {
  color: var(--ink);
  border-color: rgba(0,0,0,0.3);
}
.cookie-btn-settings {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.cookie-btn-settings:hover {
  background: rgba(43,107,230,0.05);
}

/* COOKIE MODAL */
#cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease-out;
}
#cookie-modal.show { display: flex; }
.cookie-modal-content {
  background: white;
  border-radius: var(--radius);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: scaleIn 0.3s ease-out;
}
@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.cookie-modal-title {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.cookie-modal-subtitle {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}
.cookie-modal-body {
  padding: 1.5rem 2rem;
}
.cookie-category {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.cookie-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.cookie-category-name {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
}
.cookie-category-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.cookie-category-required {
  font-size: 0.72rem;
  color: var(--green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cookie-toggle {
  position: relative;
  width: 48px;
  height: 26px;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.15);
  transition: 0.3s;
  border-radius: 999px;
}
.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  background-color: var(--accent);
}
.cookie-toggle input:checked + .cookie-toggle-slider:before {
  transform: translateX(22px);
}
.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}
.cookie-modal-footer {
  padding: 1rem 2rem 2rem;
  display: flex;
  gap: 0.8rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* MOBILE */
@media (max-width: 900px) {
  nav { padding: 0 1.2rem; }
  .nav-links { display: none; }
  #home { padding: 7rem 1.5rem 4rem; }
  .services-intro { padding: 2rem 1.5rem 4rem; }
  .section { padding: 4rem 1.5rem; }
  .service-block { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-block.flip .service-visual { order: unset; }
  .service-block.flip .service-content { order: unset; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { order: -1; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  footer { flex-direction: column; text-align: center; }
  
  #cookie-banner { padding: 1.5rem 1.2rem; }
  .cookie-content { flex-direction: column; gap: 1.2rem; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
  #cookie-modal { padding: 1rem; }
  .cookie-modal-header { padding: 1.5rem 1.5rem 1rem; }
  .cookie-modal-body { padding: 1rem 1.5rem; }
  .cookie-modal-footer { padding: 1rem 1.5rem 1.5rem; flex-direction: column; }
  .cookie-modal-footer .cookie-btn { width: 100%; }
}

/* ==================== TOAST NOTIFICATIONS ==================== */
.toast-container {
  position: fixed;
  top: 100px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  pointer-events: none;
}

.toast {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.2rem 1.5rem;
  min-width: 320px;
  max-width: 420px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  pointer-events: auto;
  transform: translateX(450px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.hide {
  transform: translateX(450px);
  opacity: 0;
}

.toast-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
}

.toast.success .toast-icon {
  background: rgba(30, 158, 114, 0.15);
  color: var(--green);
}

.toast.error .toast-icon {
  background: rgba(193, 65, 90, 0.15);
  color: var(--rose);
}

.toast.info .toast-icon {
  background: rgba(43, 107, 230, 0.15);
  color: var(--accent);
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.toast-message {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.toast-close {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  font-size: 1.1rem;
  transition: background 0.2s, color 0.2s;
  margin-left: 0.5rem;
}

.toast-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--dark);
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: currentColor;
  border-radius: 0 0 var(--radius) var(--radius);
  animation: toast-progress 5s linear forwards;
}

.toast.success .toast-progress {
  color: var(--green);
}

.toast.error .toast-progress {
  color: var(--rose);
}

.toast.info .toast-progress {
  color: var(--accent);
}

@keyframes toast-progress {
  from {
    width: 100%;
  }
  to {
    width: 0;
  }
}

@media (max-width: 600px) {
  .toast-container {
    top: auto;
    bottom: 20px;
    right: 15px;
    left: 15px;
  }

  .toast {
    min-width: unset;
    max-width: unset;
    width: 100%;
    transform: translateY(150px);
  }

  .toast.show {
    transform: translateY(0);
  }

  .toast.hide {
    transform: translateY(150px);
  }
}
