/* ==================== Panels ==================== */
#about-masel {
  max-width: 900px;
  margin: 5rem auto 1.8rem;
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  background: var(--glass-bg-soft);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  overflow: visible;
}

.about-card {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "intro"
    "title"
    "main"
    "image";
  row-gap: clamp(0.8rem, 1.5vw, 1.15rem);
  column-gap: clamp(1rem, 1.8vw, 1.4rem);
  align-items: start;
  position: relative;
}

#about-masel.about-card::before {
  content: none;
}

.about-card > * {
  position: relative;
  z-index: 1;
}

.about-content {
  min-width: 0;
  max-width: 64ch;
}

.about-intro {
  grid-area: intro;
}

.about-intro p:last-child {
  margin-bottom: 0;
}

.about-main {
  grid-area: main;
}

.about-main-title {
  grid-area: title;
}

.about-content .panel-header:first-child h1 {
  text-shadow: 0 0 10px rgba(58, 228, 255, 0.14);
}

.about-content .panel-header:first-child h1::before {
  content: "ABOUT";
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(58, 228, 255, 0.72);
}

.about-content p {
  color: rgba(194, 199, 221, 0.94);
}

.about-content strong {
  color: var(--text);
}

.about-quote {
  font-style: italic;
  color: var(--accent);
  border-left: 2px solid var(--accent-soft);
  padding-left: 1rem;
  margin: 1rem 0 1.2rem;
  font-size: 1.02em;
  letter-spacing: 0.01em;
}

.panel-header.second {
  margin-top: 1.4rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-subtle);
}

.about-main-title.panel-header.second {
  margin-top: 0.15rem;
  margin-bottom: 0.1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.panel-header.second h2 {
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(58, 228, 255, 0.86);
}

.about-cta {
  margin-top: 1.25rem;
  margin-bottom: 0;
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-strip);
  border: 1px solid var(--border-subtle);
  background: var(--glass-bg-soft);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.about-cta-title {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.about-cta-sub {
  margin: 0.38rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.about-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.52rem 0.85rem;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.about-cta-btn:hover {
  transform: translateY(-1px);
}

.about-cta-btn--primary {
  color: #031018;
  background: linear-gradient(135deg, #3ae4ff, #4af2c5);
  box-shadow:
    0 0 16px rgba(58, 228, 255, 0.55),
    0 8px 20px rgba(0, 0, 0, 0.3);
}

.about-cta-btn--ghost {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.about-cta-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.install-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  padding: 0.52rem 0.85rem;
  font: inherit;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(58, 228, 255, 0.06);
  border: 1px solid rgba(58, 228, 255, 0.3);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease;
}
.install-btn:hover:not(:disabled) {
  background: rgba(58, 228, 255, 0.12);
  border-color: rgba(58, 228, 255, 0.55);
  transform: translateY(-1px);
}
.install-btn:disabled {
  opacity: 0.6;
  cursor: progress;
}
.install-status {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.install-help {
  border: 1px solid rgba(58, 228, 255, 0.25);
  border-radius: 14px;
  padding: 0;
  background: linear-gradient(180deg, #0e1320 0%, #060912 100%);
  color: var(--text);
  max-width: 480px;
  width: calc(100vw - 32px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 24px rgba(58, 228, 255, 0.18);
}
.install-help::backdrop {
  background: rgba(3, 5, 10, 0.78);
  backdrop-filter: blur(4px);
}
.install-help-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(58, 228, 255, 0.18);
}
.install-help-head h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
}
.install-help-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.2rem 0.5rem;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}
.install-help-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.install-help-body {
  padding: 1rem 1.2rem 1.2rem;
  font-size: 0.94rem;
  line-height: 1.5;
}
.install-help-intro {
  margin: 0 0 0.8rem;
  color: var(--muted);
}
.install-help-browser {
  margin: 0.2rem 0 0.6rem;
  font-size: 1rem;
  color: var(--accent);
  font-weight: 500;
}
.install-help-steps {
  margin: 0 0 0.6rem;
  padding-left: 1.2rem;
  color: rgba(194, 199, 221, 0.94);
}
.install-help-steps li {
  margin-bottom: 0.4rem;
}
.install-help-other {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.install-help-other > summary {
  cursor: pointer;
  color: var(--accent);
  font-size: 0.88rem;
  list-style: none;
  user-select: none;
  padding: 0.3rem 0;
}
.install-help-other > summary::-webkit-details-marker { display: none; }
.install-help-other > summary::before {
  content: "▸ ";
  display: inline-block;
  transition: transform 0.15s ease;
}
.install-help-other[open] > summary::before {
  content: "▾ ";
}
.install-help-other-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}
.install-help-other-list button {
  background: rgba(58, 228, 255, 0.08);
  border: 1px solid rgba(58, 228, 255, 0.2);
  color: var(--accent);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.install-help-other-list button:hover {
  background: rgba(58, 228, 255, 0.18);
  border-color: rgba(58, 228, 255, 0.4);
}

.about-image {
  grid-area: image;
  display: flex;
  align-items: stretch;
  margin: 1rem auto;
  width: 100%;
  max-width: 400px;
  justify-self: center;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  min-height: 310px;
  position: relative;
}

.about-image::after {
  content: none;
}

.about-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.03) contrast(1.02);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.about-card:hover .about-image img {
  transform: scale(1.01);
  filter: saturate(1.06) contrast(1.03);
}

.support-strip {
  max-width: 900px;
  margin: 0 auto 1.8rem;
  padding: 0 1.2rem;
}

.support-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-strip);
  border: 1px solid var(--border-subtle);
  background: var(--glass-bg-soft);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.support-strip-inner p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.pdf-export-strip {
  max-width: 900px;
  margin: 0 auto 1.7rem;
  padding: 0 1.2rem;
}

.pdf-export-inner {
  display: flex;
  flex-wrap: wrap;
  margin-top: 4rem;
  justify-content: space-between;
  align-items: center;
  gap: 0.9rem 1.2rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-strip);
  border: 1px solid var(--border-subtle);
  background: var(--glass-bg-soft);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.pdf-export-title {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 700;
}

.pdf-export-sub {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: var(--muted-soft);
}

.pdf-export-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pdf-export-status {
  min-width: 220px;
  padding: 0.46rem 0.6rem;
  border-radius: var(--radius-input);
  border: 1px solid var(--glass-border);
  background: rgba(10, 13, 24, 0.55);
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.35;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.pdf-export-status[data-state="loading"] {
  border-color: rgba(58, 228, 255, 0.65);
  color: #8befff;
}

.pdf-export-status[data-state="success"] {
  border-color: rgba(74, 242, 197, 0.68);
  color: #4af2c5;
}

.pdf-export-status[data-state="ready"] {
  border-color: rgba(74, 242, 197, 0.45);
  color: #7df0c4;
}

.pdf-export-status[data-state="warning"] {
  border-color: rgba(152, 170, 198, 0.56);
  color: #b4c3da;
}

.pdf-export-status[data-state="error"] {
  border-color: rgba(255, 75, 110, 0.72);
  color: #ff7c96;
}

@media (min-width: 901px) {
  .about-card {
    grid-template-columns: minmax(0, 1fr) clamp(200px, 24vw, 280px);
    grid-template-areas:
      "intro intro"
      "title title"
      "main image";
    row-gap: clamp(0.75rem, 1.2vw, 1rem);
    column-gap: clamp(1rem, 1.8vw, 1.4rem);
  }

  .about-image {
    width: 100%;
    max-width: 280px;
    min-height: 0;
    aspect-ratio: 3 / 4;
    justify-self: center;
    align-self: start;
    margin-top: 0;
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
  }

  .about-image::after {
    content: none;
  }
}

.panel {
  width: 100%;
  margin: 0;
  background: var(--glass-bg-soft);
  border-radius: var(--radius-card);
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.panel::before {
  content: none;
}

.panel::after {
  content: none;
}

.panel--highlight {
  /* Editorial Minimalism: kein Sonderlook mehr */
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.tool-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  padding-right: 4rem;
}

.tool-title-icon {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
}

.group-image  .tool-title-icon { color: #00bfff; }
.group-power  .tool-title-icon { color: #ff8c00; }
.group-signal .tool-title-icon { color: #00f2a9; }
.group-light  .tool-title-icon { color: #8e2de2; }
.group-audio  .tool-title-icon { color: #ff416c; }

.tool-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.32rem 0.82rem;
  border-radius: 999px;
  font-size: 0.75rem;
  line-height: 1.1;
  white-space: nowrap;
  z-index: 1;
}

.tool-share-btn.is-feedback {
  color: var(--text);
  border-color: rgba(58, 228, 255, 0.7);
  background: rgba(58, 228, 255, 0.18);
}

/* ==================== Tool Navigation ==================== */
/* Flip (Homescreen) standardmäßig (Desktop/Tablet) ausblenden */
.page-flip {
  display: none;
}

/* Desktop / Tablet Tools-Navigation */
.tools-nav {
  max-width: 900px;
  margin: 1rem auto 2rem;
  padding: 0.4rem 0.5rem;
  border-radius: 999px;
  background: var(--glass-bg-soft);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
  font-size: 0.8rem;
  box-sizing: border-box;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.pill-nav {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  color: var(--muted-soft);
  background: rgba(10, 12, 22, 0.7);
  text-decoration: none;
  transition:
    background 0.16s ease,
    color 0.16s ease,
    border-color 0.16s ease,
    transform 0.08s ease,
    opacity 0.16s ease;
  white-space: nowrap;
  cursor: pointer;
}

.pill-nav::before {
  content: none;
}

.pill-nav:hover {
  border-color: rgba(58, 228, 255, 0.7);
  color: var(--text);
  background: rgba(20, 26, 48, 0.85);
  transform: translateY(-1px);
}

.pill-nav:active {
  transform: translateY(0);
}

.pill-nav:focus-visible {
  outline: none;
  border-color: rgba(58, 228, 255, 1);
  box-shadow: 0 0 0 2px rgba(58, 228, 255, 0.5);
  color: var(--text);
}

.pill-nav.is-active {
  border-color: rgba(58, 228, 255, 1);
  color: #020309;
  background: linear-gradient(135deg, #3ae4ff, #4af2c5);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.45rem 0 1rem;
}

.pill {
  font-size: 0.72rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  background: rgba(8, 10, 20, 0.9);
}

.pill strong {
  color: var(--accent);
}

.tool-usecase {
  font-size: 0.9rem;
  color: var(--muted-soft);
  margin: 0.15rem 0 0.5rem;
}

