/* Optional: schöne Schreibschrift (Google Font)   */
@import url("https://fonts.googleapis.com/css2?family=Literata:wght@400;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant:wght@400;600&display=swap");


h1, h2, h3 { font-family: "Cormorant", Georgia, serif; margin: 0 0 10px 0; }
h1 { font-size: 42px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; color: var(--muted); margin-top: 14px; }
	  
	  

    :root{
      --bg: #0b0f14;
      --panel: #101826;
      --panel2:#0e1622;
      --text: #e8eef7;
      --muted:#a9b4c4;
      --line: rgba(232,238,247,.14);
      --accent:#78b7ff;
      --accent2:#9ff0c6;
      --shadow: 0 10px 30px rgba(0,0,0,.35);
      --radius: 16px;
	  --border: #444;            /* Dezente dunkle Rahmen */
	  --card-bg: rgba(255,255,255,0.94);
      --field-bg: rgba(255,255,255,0.12);
    }

    *{ box-sizing:border-box; }
    body{
      margin:0;
      font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
      background: radial-gradient(1200px 800px at 20% -10%, rgba(120,183,255,.14), transparent 60%),
                  radial-gradient(900px 600px at 90% 10%, rgba(159,240,198,.10), transparent 55%),
                  var(--bg);
      color:var(--text);
      line-height:1.5;
    }
    a{ color:inherit; text-decoration:none; }
    .wrap{
      max-width: 1100px;
      padding: 18px 18px 70px;
      margin: 0 auto;
    }
.meta { opacity: .75; font-size: 13px;
        font-family: "Cormorant", Georgia, serif;}
    /* Top navigation */
    .topbar{
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: blur(10px);
      background: rgba(11,15,20,.72);
      border-bottom: 1px solid rgba(232,238,247,.10);
     
    }
    .topbar-inner{
      max-width: 1100px;
      margin: 0 auto;
      padding: 10px 18px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
    }
    .brand{
      display:flex;
      align-items:baseline;
      gap:1px;
      font-weight: 800;
      letter-spacing:.08em;
      text-transform: uppercase;
      font-size: 14px;
    }
    .brand small{
      font-weight:600;
      letter-spacing:0;
      text-transform:none;
      color: var(--muted);
      font-size: 12px;
    }
    .nav{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      justify-content:flex-end;
    }
    .nav a{
      font-size: 13px;
      color: var(--muted);
      border: 1px solid rgba(232,238,247,.12);
      background: rgba(0,0,0,.14);
      padding: 7px 10px;
      border-radius: 999px;
      transition: transform .12s ease, border-color .12s ease, background .12s ease, color .12s ease;
    }
    .nav a:hover{
      transform: translateY(-1px);
      color: var(--text);
      border-color: rgba(120,183,255,.35);
      background: rgba(120,183,255,.10);
    }
    .nav a.primary{
      color: rgba(232,238,247,.95);
      border-color: rgba(120,183,255,.35);
      background: rgba(120,183,255,.12);
    }
		  


    /* Hero */
    .hero{
      margin-top: 18px;
      border: 1px solid var(--line);
      background: linear-gradient(180deg, rgba(16,24,38,.95), rgba(14,22,34,.92));
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 22px 22px 18px;
      position: relative;
      overflow:hidden;
    }
    .hero:before{
      content:"";
      position:absolute;
      inset:-120px -140px auto auto;
      width: 320px;
      height: 320px;
      background: radial-gradient(circle at 30% 30%, rgba(120,183,255,.25), transparent 60%);
      transform: rotate(12deg);
      pointer-events:none;
    }
    .kicker{
      font-size: 13px;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--muted);
      margin:0 0 8px;
    }
    h1{
      font-size: clamp(26px, 3.2vw, 42px);
      margin: 0 0 10px;
    }
    .lead{
      margin:0;
      color: var(--muted);
      max-width: 80ch;
    }
    .chips{
      display:flex;
      flex-wrap:wrap;
      gap:10px;
      margin-top:14px;
    }
    .chip{
      border: 1px solid var(--line);
      background: rgba(0,0,0,.18);
      padding: 8px 10px;
      border-radius: 999px;
      font-size: 13px;
      color: var(--muted);
    }

    /* Grid tiles */
    .tiles{
      margin-top: 18px;
      display:grid;
      grid-template-columns: 1fr;
      gap: 14px;
    }
    @media (min-width: 820px){
      .tiles{ grid-template-columns: 1.2fr 1fr; gap: 16px; }
    }

    .tile{
      border: 1px solid rgba(232,238,247,.12);
      background: linear-gradient(180deg, rgba(14,22,34,.92), rgba(12,18,28,.92));
      border-radius: var(--radius);
      box-shadow: 0 6px 20px rgba(0,0,0,.25);
      padding: 16px;
      overflow:hidden;
      position:relative;
      animation: fadeUp .45s ease both;
    }
    @keyframes fadeUp{
      from{ opacity:0; transform: translateY(8px); }
      to{ opacity:1; transform: translateY(0); }
    }

    .tile-head{
      display:flex;
      align-items:flex-start;
      justify-content:space-between;
      gap: 12px;
      margin-bottom: 10px;
    }
    .tile h2{
      margin:0;
      font-size: 30px;
      line-height: 1.25;
    }
    .tile p{
      margin: 0 0 12px;
      color: var(--muted);
      font-size: 14px;
      max-width: 85ch;
    }

    .preview{
      border: 1px solid rgba(232,238,247,.14);
      border-radius: 14px;
      background:
        linear-gradient(135deg, rgba(120,183,255,.16), rgba(159,240,198,.10)),
        repeating-linear-gradient(0deg, rgba(255,255,255,.05), rgba(255,255,255,.05) 2px, transparent 2px, transparent 7px);
      height: 170px;
      display:flex;
      align-items:center;
      justify-content:center;
      color: rgba(232,238,247,.75);
      font-weight:700;
      letter-spacing:.06em;
      text-transform: uppercase;
      font-size: 12px;
      margin-top: 10px;
      transition: transform .15s ease, box-shadow .15s ease;
    }
		  .preview{
  width:100%;
  overflow:hidden;
  border-radius:12px;
}

.preview-webcam{
  aspect-ratio: 2 / 1;
}
.preview-air{
  aspect-ratio: 3 / 1;
}

.preview img{
  width:100%;
  height:100%;
  object-fit:cover;
	filter:brightness(0.82);
}

    .tile:hover .preview{
      transform: translateY(-2px);
      box-shadow: 0 10px 25px rgba(0,0,0,.35);
    }

    .actions{
      display:flex;
      flex-wrap:wrap;
      gap:10px;
      align-items:center;
      margin-top: 10px;
    }
    .btn{
      display:inline-flex;
      align-items:center;
      gap:8px;
      padding: 9px 12px;
      border-radius: 12px;
      border: 1px solid rgba(232,238,247,.14);
      background: rgba(0,0,0,.18);
      font-weight: 700;
      font-size: 13px;
      color: var(--text);
      transition: transform .12s ease, border-color .12s ease, background .12s ease;
    }
    .btn:hover{
      transform: translateY(-1px);
      border-color: rgba(120,183,255,.35);
      background: rgba(120,183,255,.10);
    }
    .btn.secondary:hover{
      border-color: rgba(159,240,198,.30);
      background: rgba(159,240,198,.10);
    }
    .tagline{
      font-size: 12px;
      color: var(--muted);
    }
		  
button.btn {
  all: unset;              /* entfernt Browser-Standardstyles */
  display: inline-flex;    /* wieder herstellen */
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgba(232,238,247,.14);
  background: rgba(0,0,0,.18);
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;         /* wichtig für UX */
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
		  
		  
		  
		  
		  
		  .coverstrip{
  display:flex;
  justify-content:center;
  align-items:flex-end;
  gap:18px;
  padding:20px 10px;
  position:relative;
}

/* Grundstil der Cover */
.coverstrip img{
  height:160px;
  border-radius:8px;
  box-shadow:0 14px 30px rgba(0,0,0,.45);
  transition:transform .25s ease, box-shadow .25s ease;
}

/* leichte Variation für „natürlichen“ Look */
.coverstrip img:nth-child(odd){
  transform:rotate(-1.2deg);
}

.coverstrip img:nth-child(even){
  transform:rotate(1.2deg);
}

/* Hover-Effekt */
.coverstrip img:hover{
  transform:translateY(-8px) scale(1.03) rotate(0deg);
  box-shadow:0 24px 40px rgba(0,0,0,.6);
  z-index:5;
}
.coverstrip::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at center,
      rgba(120,183,255,.08),
      transparent 70%);
  pointer-events:none;
}
.tile-image{
  width:100%;
  aspect-ratio: 2 / 1;   /* gewünschtes Format */
  overflow:hidden;
  border-radius:12px;
}

.tile-image img{
  width:100%;
  height:100%;
  object-fit:cover;      /* schneidet automatisch passend zu */
  display:block;
}


		  
		  

    /* Wide tile row */
    .row{
      margin-top: 14px;
      display:grid;
      grid-template-columns: 1fr;
      gap: 14px;
    }
    @media (min-width: 820px){
      .row{ grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
    }

    /* Footer note */
    footer{
      margin-top: 18px;
      color: var(--muted);
      font-size: 13px;
      padding: 0 2px;
    }
    code{ color: rgba(232,238,247,.85); }
		  
		  
		  
		  
		  
input, select, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--field-bg);
  font-family: "Literata", Georgia, serif;
  font-size: 14px;
  line-height: 1.5;
  outline: none;
	  color: white;
}

input:focus, select:focus, textarea:focus{
  border-color: #b8b8b8;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

textarea{
  min-height: 180px;
  resize: vertical;
}		  
		  
		  
.hidden {
  display: none;
}
		  
.link-default {
  font-family: "Cormorant", Georgia, serif;	
  color: white;
  text-decoration: none;
  cursor: pointer;
}

.link-default:hover {
  text-decoration: underline;
  color: white;
}
		  
.chapter-card{
  display:block;
  padding:14px 16px;
  border-radius:12px;
  border:1px solid #ddd;
  background: rgba(255,255,255,0.08);
  margin:10px 0;
  text-decoration:none;
  color:inherit;
  transition: all 0.15s ease;
}

.chapter-card:hover{
  background: rgba(205,205,255,0.1);
  border-color:#afafaf;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  transform: translateY(-1px);
  text-decoration:none;
}

.chapter-title{
  font-size:17px;
  font-weight:600;
  margin-bottom:6px;
}

.chapter-meta{
  display:flex;
  gap:8px;
}

.badge{
  font-size:12px;
  padding:3px 8px;
  border-radius:8px;
  background:#eee;
  color:#666;
}

.badge.ok{
  background:#e6f7ea;
  color:#2f7a3f;
}
	  
/* Checkboxen (und Radios) nicht auf 100% ziehen */
input[type="checkbox"],
input[type="radio"]{
  width: auto;
  padding: 0;
}
		  
fieldset > div{
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
fieldset label{
  display: block;
}	
		  
#aiOverlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.aiBox{
    background: #1c1c1c;
    color: #fff;
    padding: 25px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    font-family: system-ui, Arial;
}

.aiLogo{
    width: 80px;
    margin-bottom: 12px;
}

.aiText{
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 14px;
}

.aiSpinner{
    width: 36px;
    height: 36px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin: 0 auto;
}

@keyframes spin{
    to { transform: rotate(360deg); }
}
.link-style {
    background: none;
    border: none;
    padding: 0;
    color: gray;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
	font-size: 14px;
    font-family: "Cormorant", Georgia, serif;
}

.link-style:hover {
	text-decoration: underline;
}
		  
		  .err{
  background: rgba(255, 0, 0, 0.06);
  border: 1px solid rgba(255, 0, 0, 0.18);
  padding: 10px;
  border-radius: 10px;
}

.ok{
  background: rgba(0, 160, 60, 0.08);
  border: 1px solid rgba(0, 160, 60, 0.20);
  padding: 10px;
  border-radius: 10px;
}
		  
		  .card.agb {
  line-height: 1.6;
  font-size: 15px;
  max-width: 850px;
}

.card.agb h3 {
  margin-bottom: 20px;
}

.card.agb h4 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 16px;
}

.card.agb p {
  margin: 6px 0;
}

.card.agb ul {
  margin: 8px 0 12px 20px;
}