/* ---------------------------------------------------
   Letterpage – Global Theme (unchanged)
--------------------------------------------------- */
/* ---------------------------------------------------
   Letterpage – Global Theme (updated for VIOLETT)
--------------------------------------------------- */

/* ---------------------------------------------------
   LETTERPAGE – Global Theme (VIOLETT)
--------------------------------------------------- */

:root {
  --font-main: "Inter", system-ui, sans-serif;

  /* Light Theme */
  --bg: #f5f5f7;
  --bg-card: #ffffff;
  --bg-accent: #f5e6ff;
  --text: #222;
  --text-muted: #555;
  --border: #dcdcdc;

  /* LETTERPAGE Brand */
  --brand: #C800FF;
  --brand-glow: rgba(200, 0, 255, 0.25);
}

[data-theme="dark"] {
  --bg: #0f0f12;
  --bg-card: #1a1a1f;
  --bg-accent: #2a1f33;
  --text: #e6e6e6;
  --text-muted: #aaa;
  --border: #333;

  /* LETTERPAGE Brand Dark */
  --brand: #A855F7;
  --brand-glow: rgba(168, 85, 247, 0.35);
}


/* ---------------------------------------------------
   Base Layout
--------------------------------------------------- */

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.2rem;
}

/* ---------------------------------------------------
   Header & Branding
--------------------------------------------------- */

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.brand-logo {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  padding: 0.8rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 0 12px var(--brand-glow);
}

.brand-text h1 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.3;
}

.brand-text span {
  color: var(--brand);
}

.tagline {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: var(--text-muted);
}
.tag {
  display: inline-block;
  background: #f3f4f6;
  color: #374151;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  margin: 4px;
  text-decoration: none;
}

.tag a {
  color: inherit;
  text-decoration: none;
}

.tag:hover {
  background: #e5e7eb;
}

/* ---------------------------------------------------
   Cards
--------------------------------------------------- */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.4rem;
  border-radius: 0.8rem;
  margin: 1.4rem 0;
}

.card-accent {
  border-left: 4px solid var(--brand);
  box-shadow: 0 0 12px var(--brand-glow);
}

/* ---------------------------------------------------
   Buttons
--------------------------------------------------- */

.glow-button {
  display: inline-block;
  padding: 0.9rem 1.4rem;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  border-radius: 0.5rem;
  margin-top: 1rem;
  font-weight: 600;
  box-shadow: 0 0 12px var(--brand-glow);
  transition: 0.2s;
  text-align: center;
}

.glow-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px var(--brand-glow);
}

.wb-button-min {
  padding: 0.5rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  cursor: pointer;
  color: var(--text);
  transition: 0.2s;
  font-size: 0.9rem;
}

.wb-button-min:hover {
  background: var(--bg-accent);
}

/* ---------------------------------------------------
   Footer
--------------------------------------------------- */

/* ============================================================
   LETTERPAGE FOOTER
   ============================================================ */

.footer{
    margin-top:3rem;
    padding:2rem 0 1rem;

    border-top:1px solid var(--border);

    display:grid;
    grid-template-columns:
        repeat(auto-fit,minmax(240px,1fr));

    gap:1.25rem;

    align-items:start;
}

.footer-section{
    align-self:start;
}

.footer-title{
    margin:0 0 .75rem;
    font-size:1.75rem;
    font-weight:700;
    color:var(--text);
}

.footer-sub{
    color:var(--text-muted);
    font-size:.9rem;
}

.footer-heading{
    margin:0 0 .75rem;
    font-size:1.05rem;
    font-weight:700;
    color:var(--brand);
}

.footer-text{
    color:var(--text-muted);
    font-size:.92rem;
    line-height:1.6;
}

.footer address{
    font-style:normal;
}

.footer a{
    color:var(--brand);
    text-decoration:none;
    transition:.2s ease;
}

.footer a:hover{
    text-decoration:underline;
}

.footer a:focus-visible{
    outline:2px solid var(--brand);
    outline-offset:2px;
    border-radius:4px;
}

/* ------------------------------------------------------------
   Kontaktliste
------------------------------------------------------------ */

.contact-list{
    margin:0;
    padding-left:1.2rem;
    line-height:1.8;
}

.contact-list li{
    margin-bottom:.25rem;
}

/* ------------------------------------------------------------
   Community
------------------------------------------------------------ */

.footer-community{
    margin-top:.75rem;
}

/* ------------------------------------------------------------
   Trust Center
------------------------------------------------------------ */

.footer-column{
    margin-top:.75rem;
    padding:.85rem 1rem;

    border:1px solid rgba(168,85,247,.20);

    border-radius:10px;

    background:rgba(168,85,247,.04);
}

.footer-highlight{
    display:block;

    margin-bottom:.6rem;

    color:var(--brand);

    font-weight:700;

    text-decoration:none;
}

.footer-small{
    font-size:.85rem;
    color:var(--text-muted);
    margin:.35rem 0;
}

.footer-note{
    font-size:.82rem;
    color:var(--text-muted);
    line-height:1.5;
}

/* ------------------------------------------------------------
   Governance-Dateien
------------------------------------------------------------ */

.footer-tech-links{
    margin-top:.75rem;

    font-size:.82rem;

    opacity:.8;
}

.footer-tech-links a{
    color:var(--text-muted);
}

.footer-tech-links a:hover{
    color:var(--brand);
}

/* ------------------------------------------------------------
   Footer Bottom
------------------------------------------------------------ */

.footer-bottom{

    grid-column:1 / -1;

    margin-top:1rem;
    padding-top:1rem;

    text-align:center;

    border-top:1px solid var(--border);

    color:var(--text-muted);

    font-size:.85rem;
}

/* ------------------------------------------------------------
   Mobil
------------------------------------------------------------ */

@media (max-width:700px){

    .footer{
        grid-template-columns:1fr;
        gap:1rem;
    }

    .footer-bottom{
        margin-top:.5rem;
    }

}
/* ---------------------------------------------------
   SPMA / Transparenz
--------------------------------------------------- */

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-column h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.footer-highlight {
  display: inline-block;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.footer-highlight:hover {
  text-decoration: underline;
}

.footer-small {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-note {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.footer a {
  color: var(--brand);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------
   Responsive – Smartphone Optimierung
--------------------------------------------------- */

@media (max-width: 700px) {

  .page {
    padding: 1rem;
  }

  .brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logo {
    font-size: 1.2rem;
    padding: 0.7rem 0.9rem;
  }

  .brand-text h1 {
    font-size: 1.3rem;
  }

  .card {
    padding: 1.2rem;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 1.0rem;
  }

  .glow-button {
    width: 100%;
  }

  ul, ol {
    padding-left: 1rem;
  }
}
.lang-switcher img {
    width: 28px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #ff115e;
    padding: 1px;
    box-shadow: 0 0 8px rgba(255, 17, 94, 0.55);
    transition: 0.15s ease;
}
.lang-switcher img:hover {
    transform: scale(1.12);
    box-shadow: 0 0 12px rgba(255, 17, 94, 0.85);
}
.lang-switcher {
    position: absolute;
    top: 5px;
    right: 20px; /* jetzt bezieht sich right auf den Header */
}
/* ---------------------------------------------------
   LETTERPAGE – 404 Page Styles
   (modular, sicher, global integriert)
--------------------------------------------------- */

.lp-404 {
  background: #050608;
  color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-family: var(--font-main);
}

.lp-404 .wrap {
  max-width: 1200px;
  padding: 2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(200, 0, 255, 0.35); /* LETTERPAGE Violett */
}

.lp-404 h1 {
  margin-top: 0;
  font-size: 1.8rem;
  letter-spacing: 0.03em;
}

.lp-404 p {
  line-height: 1.5;
  color: #d7d7d7;
}

/* Buttons */
.lp-404 a {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: var(--brand); /* LETTERPAGE Brand */
  color: #000;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 0 12px var(--brand-glow);
}

/* Footer */
.lp-404 footer {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: rgba(245,245,245,0.65);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  text-align: center;
  opacity: 0.85;
}

.lp-404 footer .claim {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffe08a;
  font-size: 13px;
  opacity: 0.95;
}
.contact-list{
    margin-bottom:12px;
}

/* ============================================================
   CONTENT CREATOR EDITION
   ============================================================ */

.creator-grid{
    display:grid;
    grid-template-columns:
        repeat(auto-fit,minmax(260px,1fr));

    gap:20px;
    margin-top:20px;
}

.creator-plan{

    position:relative;

    padding:20px;

    border-radius:12px;

    background:var(--bg-card);

    border:1px solid var(--border);
}

.creator-plan:hover{

    border-color:var(--brand);

    box-shadow:0 0 18px var(--brand-glow);
}

.creator-plan.featured{

    border:2px solid var(--brand);

    box-shadow:0 0 18px var(--brand-glow);
}

.creator-price{

    font-size:1.6rem;
    font-weight:700;

    color:var(--brand);

    margin:12px 0;
}

.creator-badge{

    position:absolute;

    top:10px;
    right:10px;

    padding:4px 10px;

    border-radius:999px;

    background:var(--brand);

    color:#fff;

    font-size:.75rem;
    font-weight:700;
}

.creator-lead{

    font-size:1.1rem;
    font-weight:500;

    color:var(--text);

    margin-bottom:1rem;
}

.creator-highlight{

    margin-top:25px;

    padding:18px;

    border-radius:10px;

    background:rgba(168,85,247,.06);

    border:1px solid rgba(168,85,247,.25);

    text-align:center;
}

.creator-highlight code{

    color:var(--brand);

    font-weight:600;
}

.content-creator-edition h2{

    color:var(--brand);
}
.content-creator-edition{

    background:
        radial-gradient(
            circle at top right,
            rgba(168,85,247,.12),
            transparent 50%
        );
}
table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 8px 4px;
}

td {
    padding: 8px 4px;
    padding-right:20px;
}
th:nth-child(2){
    text-align:left;
}

td:nth-child(2){
    text-align:right;
    width:220px;
}
.log-table td:last-child{
    width:220px;
}
.policy-row{
    display:flex;
    justify-content:space-between;

    padding:10px 0;

    border-bottom:1px solid var(--border);
}
.pricing-row{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:12px 0;

    border-bottom:1px solid var(--border);
}
.pricing-list{
    margin-top:20px;
}

.pricing-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:14px 18px;

    margin-bottom:8px;

    border-radius:8px;

    border:1px solid var(--border);

    background:var(--bg-card);
}

.pricing-row.featured{

    border:2px solid var(--brand);

    box-shadow:0 0 12px var(--brand-glow);
}

.pricing-name{

    font-weight:600;
}

.pricing-price{

    font-size:1.3rem;

    font-weight:700;

    color:var(--brand);
}

.pricing-price span{

    font-size:.85rem;

    color:var(--text-muted);

    margin-left:4px;
}