/* ===========================
   GENERAL STYLES
=========================== */
:root {
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow: 0 8px 26px rgba(0, 0, 0, 0.15);
  --spring: cubic-bezier(.22, 1.2, .32, 1);
  --accent-green: #34C759;
  --accent-green-light: #4cd964;
  --text: #0b0b0c;
}

@media (prefers-color-scheme: dark) {
  :root {
    --glass-bg: rgba(25, 25, 27, 0.55);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
    --text: #f5f5f7;
  }
}

/* ===========================
   GENERAL LAYOUT
=========================== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Courier New', monospace;
  background-color: #0d1117;
  color: #c9d1d9;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

a {
  color: #58a6ff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ===========================
   FLOATING NAV (Desktop)
=========================== */
.floating-nav {
  position: fixed;
  top: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1000;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background-color: rgba(22, 27, 34, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid #30363d;
  padding: 0.5rem 2rem;
  list-style: none;
  margin: 0;
}

.nav-links a {
  color: #c9d1d9;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #58a6ff;
}

.nav-links a.active {
  color: #58a6ff;
  font-weight: 900;
  text-shadow: 0 0 8px rgba(88,166,255,0.6);
}

.nav-btn {
  background-color: rgba(35, 134, 54, 0.9);
  border: 1px solid #2ea043;
  border-radius: 16px;
  padding: 0.5rem 2rem;
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 0 6px rgba(46, 160, 67, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-btn:hover {
  background-color: rgba(46, 160, 67, 1);
  box-shadow: 0 0 12px rgba(46, 160, 67, 0.5);
  transform: translateY(-1px);
}

/* ===========================
   iOS26 DOCK (Mobile)
=========================== */
/* === iOS26 Dock – Dark Mode fixed === */
/* === iOS26 Liquid Glass Dock – Ultra Dark === */
.ios26-dock {
  position: fixed;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 22px;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(.22, 1.2, .32, 1),
              opacity 0.4s ease;
}

/* === Liquid Glass Body === */
.ios26-tabbar {
  pointer-events: auto;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 60px;
  width: clamp(270px, 45vw, 310px);
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(22, 24, 28, 0.9) 0%,
    rgba(32, 34, 38, 0.65) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(40px) saturate(180%) brightness(1.15);
  -webkit-backdrop-filter: blur(40px) saturate(180%) brightness(1.15);
  box-shadow:
    inset 0 0 1px rgba(255, 255, 255, 0.15),
    0 12px 32px rgba(0, 0, 0, 0.6),
    0 4px 14px rgba(0, 0, 0, 0.3);
  transition:
    width 0.45s cubic-bezier(.22, 1.2, .32, 1),
    height 0.45s cubic-bezier(.22, 1.2, .32, 1),
    transform 0.45s cubic-bezier(.22, 1.2, .32, 1),
    opacity 0.45s ease;
}

/* === Liquid Ripple / Light Reflection === */
.ios26-tabbar::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 8%;
  width: 84%;
  height: 30%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.15)
  );
  filter: blur(12px);
  opacity: 0.45;
  pointer-events: none;
}

/* === Tabs === */
.ios26-tab {
  background: none;
  border: none;
  outline: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 60px;
  height: 44px;
  color: #e8e8e8;
  opacity: 0.8;
  cursor: pointer;
  border-radius: 14px;
  transition: transform 0.25s cubic-bezier(.22, 1.2, .32, 1), opacity 0.25s;
}

.ios26-tab:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.05);
}

.ios26-tab.active {
  color: #34C759;
  text-shadow:
    0 0 6px rgba(52, 199, 89, 0.55),
    0 0 18px rgba(52, 199, 89, 0.3);
  transform: translateY(-1px);
  transition: all 0.25s cubic-bezier(.22, 1.2, .32, 1);
}

.ios26-tab .icon { font-size: 20px; }
.ios26-tab .label {
  font-size: 11px;
  white-space: nowrap;      /* 💡 verhindert Umbruch */
  line-height: 1.2;
}

/* === Floating Button (FAB) === */
.ios26-fab {
  pointer-events: auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  color: #fff;
  background: radial-gradient(circle at 30% 30%, #34C759 0%, #28a745 90%);
  box-shadow:
    0 0 25px rgba(52, 199, 89, 0.55),
    0 8px 20px rgba(0, 0, 0, 0.35),
    inset 0 0 6px rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  cursor: pointer;
  transition:
    background-color 0.4s ease,
    box-shadow 0.3s ease,
    transform 0.3s cubic-bezier(.22, 1.2, .32, 1),
    opacity 0.3s ease;
}

.ios26-fab:hover {
  transform: translateY(-3px) scale(1.07);
  box-shadow:
    0 0 32px rgba(52, 199, 89, 0.6),
    0 10px 24px rgba(0, 0, 0, 0.4);
}

.ios26-fab:active {
  transform: scale(0.94);
  box-shadow: 0 0 16px rgba(52, 199, 89, 0.4);
}

/* === Icon Transition === */
.ios26-fab i {
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(.22, 1.2, .32, 1);
}

.ios26-fab.fade-out i { opacity: 0; transform: scale(0.6); }
.ios26-fab.fade-in i { opacity: 1; transform: scale(1); }

/* === Collapsed === */
.ios26-dock.collapsed .ios26-tabbar {
  width: 68px;
  height: 54px;
  backdrop-filter: blur(35px) saturate(160%);
  -webkit-backdrop-filter: blur(35px) saturate(160%);
}

.ios26-dock.collapsed .ios26-tab:not(.active) {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85) translateX(-8px);
}

.ios26-dock.collapsed .ios26-tab.active {
  opacity: 0.9;
  pointer-events: auto;
  width: 52px;
  height: 52px;
}

.ios26-dock.collapsed .ios26-tab.active .label { display: none; }
.ios26-dock.collapsed .ios26-tab.active .icon { font-size: 19px; opacity: 0.8; }
.ios26-dock.collapsed .ios26-fab { transform: scale(0.9); opacity: 0.9; }

/* === Dock scrollt nach unten / blur intensiver === */
.ios26-dock.collapsed {
  transform: translateY(90%) scale(0.95);
  opacity: 0.65;
  backdrop-filter: blur(50px) saturate(200%);
  -webkit-backdrop-filter: blur(50px) saturate(200%);
}

/* === FAB sichtbar beim Scroll === */
.ios26-fab.scroll-top {
  background: linear-gradient(135deg, #4cd964, #34C759);
  box-shadow:
    0 0 25px rgba(52, 199, 89, 0.55),
    0 8px 20px rgba(0, 0, 0, 0.35);
  transform: translateY(-4px) scale(1.05);
  opacity: 1;
}

/* ===========================
   TYPOGRAPHY & TYPEWRITER
=========================== */
h1 {
  text-align: center;
}

/* Blinken (wird nur am Ende aktiv) */
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Flash am Ende der Schreibanimation */
@keyframes flashEnd {
  0% { background-color: #c9d1d9; opacity: 1; }
  40% { background-color: #58a6ff; opacity: 1; box-shadow: 0 0 10px #58a6ff; }
  100% { background-color: transparent; opacity: 0; }
}

/* Neuer realistischer Caret */
.type-caret {
  display: inline-block;
  width: 10px;
  height: 1.2em;
  margin-left: 5px;
  background-color: #c9d1d9;
  vertical-align: bottom;
}

/* Blink nur wenn fertig geschrieben */
.typewriter.done .type-caret {
  animation: blink 700ms infinite;
}

/* Flash-Effekt am Ende */
.flash-on-end {
  animation: flashEnd 1s ease-in-out forwards;
}

/* ===========================
   UNDERLINE EFFECT — perfect & stable
=========================== */
.typewriter[data-underline="true"] {
  position: relative;                /* Ankerpunkt für Linie */
  display: inline-block;
  padding-bottom: 0.35rem;
}

/* Animierte Linie – sitzt EXAKT unter dem Text, nicht unter dem Cursor */
.typewriter[data-underline="true"].done::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: calc(100% - 12px);          /* Cursorbreite abgezogen */
  background-color: #58a6ff;
  border-radius: 1px;
  transform-origin: left center;
  transform: scaleX(0);
  animation: underlineGrow 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}

/* Animation – elegante Progressbar-Bewegung */
@keyframes underlineGrow {
  0%   { transform: scaleX(0); opacity: 0; }
  25%  { opacity: 1; }
  100% { transform: scaleX(1); opacity: 1; }
}

/* Cursor – außerhalb des Textflusses positioniert, damit nichts springt */
.type-caret {
  display: inline-block;
  position: absolute;
  right: -10px;                      /* steht NEBEN dem Text, nicht dahinter */
  bottom: 0;
  width: 10px;
  height: 1.2em;
  background-color: #c9d1d9;
  vertical-align: bottom;
}

/* Blink nur, wenn fertig geschrieben */
.typewriter.done .type-caret {
  animation: blink 700ms infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Flash nur, wenn explizit aktiviert */
.flash-on-end {
  animation: flashEnd 1s ease-in-out forwards;
}

/* Sanftes Blinken für normale Enden */
@keyframes blinkEnd {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.blink-on-end {
  animation: blinkEnd 0.8s ease-in-out 3;
}

/* ===========================
   APP GRID
=========================== */
section {
  width: 100%;
  margin-top: 2rem;
}

.app-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin: 2rem auto;
  width: 100%;
  max-width: 960px;
  align-items: start;
}

.app-card {
  background-color: #161b22;
  border: 1px solid #30363d;
  padding: 1rem;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  box-sizing: border-box;
  min-height: 100%;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: flex-start;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 12px rgba(88,166,255,0.2);
}

.app-card h4 {
  margin-top: 0;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.app-grid .app-card:nth-child(1) { animation-delay: 0.1s; }
.app-grid .app-card:nth-child(2) { animation-delay: 0.2s; }
.app-grid .app-card:nth-child(3) { animation-delay: 0.3s; }

.app-content {
  flex: 1;
  border-left: 2px solid #30363d;
  padding-left: 1.5rem;
}

/* ===========================
   ICONS
=========================== */
.tvos-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 12px;
  transition: transform 0.3s;
  margin: 0;
}

.ios-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 12px;
  transition: transform 0.3s;
  margin: 15px;
}

.app-card:hover .app-icon {
  transform: scale(1.05);
}

.app-icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  align-self: center;
}

.placeholder-icon {
  width: 120px;
  height: 120px;
  background-color: #21262d;
  color: #58a6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(88,166,255,0.3);
  flex-shrink: 0;
}

/* ===========================
   LABELS
=========================== */
.tvos-label,
.ios-label {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.2rem 0.6rem;
  background: linear-gradient(90deg, #ff7e5f, #feb47b);
  color: #0d1117;
  font-weight: bold;
  font-size: 0.75rem;
  border-radius: 999px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ios-label {
  margin-top: -10px;
}

.latest-label {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.2rem 0.6rem;
  background: linear-gradient(90deg, #62ff5f, #7bfec1);
  color: #0d1117;
  font-weight: bold;
  font-size: 0.75rem;
  border-radius: 999px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ios-label {
  margin-top: -10px;
}

/* ===========================
   SOCIAL / FOOTER
=========================== */
.social-icons {
  font-size: 1.5rem;
}

.social-icons a {
  margin: 0 0.5rem;
  color: #c9d1d9;
  transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
  color: #58a6ff;
  transform: scale(1.2);
}

.social-icons a i {
  font-size: 1.5rem;
}

footer {
  text-align: center;
  padding: 2rem;
  background-color: #0d1117;
  border-top: 1px solid #30363d;
}

/* ===========================
   MODAL
=========================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13,17,23,0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal {
  background-color: #161b22;
  border: 1px solid #30363d;
  border-radius: 10px;
  padding: 2rem;
  max-width: 400px;
  color: #c9d1d9;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  font-family: 'Courier New', monospace;
}

.btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.4rem 0.8rem;
  background-color: #238636;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}
.btn:hover {
  background-color: #2ea043;
  text-decoration: none;
}

/* ===========================
   ANIMATIONS / GLYPHS
=========================== */
.cryptic-preview {
  font-family: 'Courier New', monospace;
  color: #58a6ff;
  font-size: 0.8rem;
  min-height: 1.2rem;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.random-glyphs {
  font-family: 'Courier New', monospace;
  color: rgba(200, 209, 217, 0.58);
  font-size: 0.8rem;
  word-break: break-word;
  white-space: normal;
}

.progress-dots::after {
  content: '';
  display: inline-block;
  width: 1ch;
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0% { content: ''; }
  25% { content: '.'; }
  50% { content: '..'; }
  75% { content: '...'; }
  100% { content: ''; }
}

.coming-soon {
  color: #8b949e;
  font-style: italic;
  margin-top: 0.5rem;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 400px) {
  .app-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   COOKIE BANNER
=========================== */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(-70%);
  background-color: rgba(22, 27, 34, 0.95);
  border: 1px solid #30363d;
  padding: 1.2rem 2rem;             /* ⬅️ mehr Innenabstand */
  border-radius: 12px;
  font-size: 0.9rem;
  color: #c9d1d9;
  z-index: 9999;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  width: 900px;                     /* ⬅️ feste Breite */
  max-width: 95%;                   /* ⬅️ skaliert auf kleinen Bildschirmen */
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;                  /* ⬅️ Text & Button umbrechen falls nötig */
  gap: 1rem;                        /* ⬅️ schöner Abstand zwischen Text & Button */
}

.cookie-banner .btn {
  margin-left: 1rem;
  background-color: #238636;
  color: white;
  border-radius: 4px;
  padding: 0.3rem 0.8rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.cookie-banner .btn:hover {
  background-color: #2ea043;
}












.news-content {
  flex: 1;
  border-left: 2px solid #00ff40;
  padding-left: 1.5rem;
}




/* ===========================
   CONTACT FORM
=========================== */
.contact-card {
  background-color: #161b22;
  border: 1px solid #30363d;
  border-radius: 8px;
  padding: 1.5rem;
  color: #c9d1d9;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  box-sizing: border-box;
  width: 100%;
  max-width: 960px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  animation: fadeInUp 0.6s ease forwards;
}

.contact-card h2 {
  font-size: 1.3rem;
  margin: 0 0 0.5rem 0;
  color: #58a6ff;
  text-align: left;
  border-left: 2px solid #30363d;
  padding-left: 1.5rem;
}

/* 💡 Wichtiger Fix: weniger Padding links, mehr optische Balance */
.contact-card form {
  display: flex;
  flex-direction: column;
  gap: 1rem;          /* ⬅️ vorher 1.5rem – jetzt harmonischer */
  padding-right: 1.9rem;       /* ⬅️ leichte Ausgleichsverlagerung */
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-weight: bold;
  color: #8b949e;
  font-size: 0.9rem;
  padding-left: 0.2rem;        /* ⬅️ kleine optische Justierung */
}

.form-group input,
.form-group textarea {
  background-color: #0d1117;
  border: 1px solid #30363d;
  border-radius: 6px;
  padding: 0.6rem 0.8rem;
  color: #c9d1d9;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #58a6ff;
  box-shadow: 0 0 6px rgba(88,166,255,0.4);
}

/* Senden-Button – leicht nach links verschoben */
.send-btn {
  align-self: flex-start;
  background-color: rgba(35, 134, 54, 0.9);
  border: 1px solid #2ea043;
  border-radius: 8px;
  padding: 0.6rem 1.5rem;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Courier New', monospace;
  margin-top: 0.5rem;
  margin-left: 0.2rem;         /* ⬅️ Button bündig mit Inputs */
}

.send-btn:hover {
  background-color: rgba(46, 160, 67, 1);
  box-shadow: 0 0 12px rgba(46, 160, 67, 0.5);
  transform: translateY(-1px);
}

/* Responsive Anpassung */
@media (max-width: 600px) {
  .contact-card {
    padding: 1rem;
  }

  .contact-card h2 {
    padding-left: 1rem;
  }

  .contact-card form {
    padding-left: 0.8rem;
  }
}


/* ===========================
   SUPPORT LINK
=========================== */
.support-link {
  color: #58a6ff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.support-link:hover {
  color: #79c0ff;
  text-shadow: 0 0 8px rgba(88,166,255,0.6);
}

.support-link i {
  color: #58a6ff;
  transition: color 0.3s ease;
}

.support-link:hover i {
  color: #79c0ff;
}

/* ===========================
   CHARACTER COUNTER (IN FIELD)
=========================== */
.textarea-wrapper {
  position: relative;
  width: 100%;
}

.textarea-wrapper textarea {
  width: 100%;
  background-color: #0d1117;
  border: 1px solid #30363d;
  border-radius: 6px;
  padding: 0.6rem 0.8rem;
  color: #c9d1d9;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  resize: vertical;
  min-height: 8rem;      /* 🧱 Mindesthöhe (ca. 6 Zeilen) */   /* Nur vertikal vergrößerbar */
}

.textarea-wrapper textarea:focus {
  border-color: #58a6ff;
  box-shadow: 0 0 6px rgba(88,166,255,0.4);
}

/* Zähler unten rechts INS Textfeld, leicht höher & eingerückt */
.char-counter {
  position: absolute;
  bottom: 15px;           /* ⬆️ leicht nach oben */
  right: -16px;            /* ⬅️ etwas weiter nach innen */
  font-size: 0.7rem;
  color: rgba(200, 209, 217, 0.25);
  pointer-events: none;
  user-select: none;
  font-family: 'Courier New', monospace;
  transition: color 0.25s ease;
}

/* Farbphasen */
.char-counter.warning {
  color: rgba(255, 166, 0, 0.8);
}

.char-counter.limit {
  color: #ff5555;
  font-weight: bold;
}

.send-btn {
  align-self: flex-start;
  background-color: rgba(35, 134, 54, 0.9);
  border: 1px solid #2ea043;
  border-radius: 8px;
  padding: 0.6rem 1.5rem;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Courier New', monospace;
  margin-top: 0.5rem;
  margin-left: 0.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem; /* Abstand zwischen Icon und Text */
}

.send-btn:hover {
  background-color: rgba(46, 160, 67, 1);
  box-shadow: 0 0 12px rgba(46, 160, 67, 0.5);
  transform: translateY(-1px);
}

/* Spinner bleibt exakt an Stelle des Paper-Plane */
.send-btn i {
  width: 1em;
  text-align: center;
}

/* Animation optional */
.send-btn.sending {
  opacity: 0.8;
  pointer-events: none;
}

@media (max-width: 768px) {
  main {
    padding-top: calc(env(safe-area-inset-top, 0px) + 0.25rem) !important;
  }
  .container {
    margin-top: 0 !important;
  }
}