:root{
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --muted2:#64748b;
  --line:#e2e8f0;
  --blue:#2563eb;
  --card:#ffffff;
  --shadow: 0 10px 30px rgba(2,6,23,.06);
  --radius:18px;
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Arial;
  color:var(--text);
  background:var(--bg);
}

a{ color:var(--blue); text-decoration:none; }
a:hover{ text-decoration:underline; }

.wrap{ max-width: 980px; margin:0 auto; padding: 42px 18px 70px; }

.brandline{
  font-size: 44px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.6px;
  margin-bottom: 8px;
}

.top{
  display:flex; justify-content:space-between; gap:12px;
  flex-wrap:wrap; align-items:center; margin-bottom: 22px;
}

.brand{ display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing:.2px; }
.dot{ width:10px; height:10px; border-radius:999px; background:var(--blue); display:inline-block; }
.nav{ display:flex; gap:14px; font-size:14px; color:var(--muted); flex-wrap:wrap; }

.hero{ margin-top: 14px; }
h1{ margin:0 0 10px; font-size:34px; line-height:1.15; letter-spacing:-.3px; }
.sub{ margin:0 0 18px; color:var(--muted); max-width: 75ch; }

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:16px;
  margin-top: 22px;
}

.card{
  grid-column: span 12;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  background:var(--card);
  box-shadow: var(--shadow);
}

.split{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}

.badge{
  display:inline-block;
  font-size:12px;
  padding:3px 9px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  font-weight:500;
}

.controls{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin: 14px 0 10px;
}

.search{
  flex: 1 1 320px;
  border:1px solid var(--line);
  border-radius:999px;
  padding:10px 14px;
  font:inherit;
  outline:none;
}

.search:focus{
  border-color: rgba(37,99,235,.35);
  box-shadow: 0 0 0 4px rgba(37,99,235,.10);
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--line);
  border-radius:999px;
  padding:10px 14px;
  background:#fff;
  font-weight:600;
  cursor:pointer;
}

.az{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top: 10px;
}

.az a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 34px;
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  font-weight:600;
  font-size:13px;
  text-decoration:none;
}

.az a.active{
  border-color: rgba(37,99,235,.25);
  background: rgba(37,99,235,.06);
  color: var(--text);
}

.tools{
  margin-top: 14px;
  display:grid;
  gap:10px;
}

.tool{
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px 12px;
  display:flex;
  gap:12px;
  align-items:flex-start;
  justify-content:space-between;
}

.tool .meta{
  min-width:0;
}

.tool .name{
  font-weight:800;
  letter-spacing:-.2px;
  margin:0 0 2px;
}

.tool .desc{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

.tool .tag{
  font-size:12px;
  color:var(--muted2);
  border:1px solid var(--line);
  border-radius:999px;
  padding:3px 9px;
  white-space:nowrap;
}

.note{
  margin-top: 14px;
  font-size:13px;
  color:var(--muted2);
}

.footer{
  margin-top: 26px;
  padding-top: 18px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:13px;
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.small{ font-size:13px; }
.muted{ color:var(--muted); }

.sr-only{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0);
  white-space:nowrap; border:0;
}

.framebox{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  box-shadow: 0 10px 30px rgba(2,6,23,.06);

  resize: both;        /* ← DAS ist der Schlüssel */
  overflow: hidden;

  min-height: 520px;
  max-width: 100%;
}

.framebox .toolframe{
  width:100%;
  height:100%;
  min-height:520px;
  border:0;
  display:block;
}

/* Mobile: Resize deaktivieren (optional, aber sinnvoll) */
@media (max-width: 760px){
  .framebox{ resize:none; }
  .framebox .toolframe{ min-height:620px; }
}
